diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-09-15 06:54:39 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-09-15 06:54:39 +0000 |
commit | bee04eaed29d4637da7002e4491896237fc8a1d8 (patch) | |
tree | f99a0ba1be06748b135250a9d19315034441f7d8 /dev-libs/libmcal | |
parent | forgot to commit changelog (diff) | |
download | historical-bee04eaed29d4637da7002e4491896237fc8a1d8.tar.gz historical-bee04eaed29d4637da7002e4491896237fc8a1d8.tar.bz2 historical-bee04eaed29d4637da7002e4491896237fc8a1d8.zip |
Fix bug #61969 with PAM.
Diffstat (limited to 'dev-libs/libmcal')
-rw-r--r-- | dev-libs/libmcal/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libmcal/Manifest | 15 | ||||
-rw-r--r-- | dev-libs/libmcal/files/digest-libmcal-0.7-r3 | 2 | ||||
-rw-r--r-- | dev-libs/libmcal/libmcal-0.7-r3.ebuild | 65 |
4 files changed, 87 insertions, 2 deletions
diff --git a/dev-libs/libmcal/ChangeLog b/dev-libs/libmcal/ChangeLog index e5ab5a423329..3a190270b783 100644 --- a/dev-libs/libmcal/ChangeLog +++ b/dev-libs/libmcal/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libmcal # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcal/ChangeLog,v 1.16 2004/08/26 10:38:22 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcal/ChangeLog,v 1.17 2004/09/15 06:54:39 robbat2 Exp $ + +*libmcal-0.7-r3 (14 Sep 2004) + + 14 Sep 2004; Robin H. Johnson <robbat2@gentoo.org> +libmcal-0.7-r3.ebuild: + Fix bug #61969 with PAM. 26 Aug 2004; Robin H. Johnson <robbat2@gentoo.org> libmcal-0.7-r2.ebuild: stable on x86. diff --git a/dev-libs/libmcal/Manifest b/dev-libs/libmcal/Manifest index 5a2ebb714f88..8a66840d0ca1 100644 --- a/dev-libs/libmcal/Manifest +++ b/dev-libs/libmcal/Manifest @@ -1,9 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 7dec4de5b30f5431b608f0a99139babd libmcal-0.7-r3.ebuild 1881 MD5 7ca136ef0038667c616eecd92fd2eb5b libmcal-0.7-r2.ebuild 1785 MD5 9e501406a9f7a3ebcd9b668af6c07601 libmcal-0.7.ebuild 685 -MD5 4929c9ed7f0269490a795bb26e2a1561 ChangeLog 2233 +MD5 9867abef35cf793dba7ccc1975a1bdc4 ChangeLog 2369 MD5 d8f6c79e5b31dda631878ec0d6569030 libmcal-0.7-r1.ebuild 787 MD5 b0d485ea1a51fb83c70daedef2599272 metadata.xml 279 MD5 33ec0e0ab40e02bedea5e6b2b8ec51bc files/digest-libmcal-0.7-r1 62 MD5 e40f5b90c038f8c8703b83953b10012b files/digest-libmcal-0.7-r2 128 +MD5 e40f5b90c038f8c8703b83953b10012b files/digest-libmcal-0.7-r3 128 MD5 d438648eeab0ea0e90bdf8ea2f3321c6 files/libmcal-0.7-fpic.patch 1302 MD5 33ec0e0ab40e02bedea5e6b2b8ec51bc files/digest-libmcal-0.7 62 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.5 (GNU/Linux) +Comment: .//Manifest 1095231285 + +iD8DBQFBR+c9PpIsIjIzwiwRAhTmAKCq8wmv/Zg/2c3m0QOjajffLUs3igCfQ65I +13SY7U81vFAo5+sheSfqGmY= +=KU1N +-----END PGP SIGNATURE----- diff --git a/dev-libs/libmcal/files/digest-libmcal-0.7-r3 b/dev-libs/libmcal/files/digest-libmcal-0.7-r3 new file mode 100644 index 000000000000..fa36e3231f67 --- /dev/null +++ b/dev-libs/libmcal/files/digest-libmcal-0.7-r3 @@ -0,0 +1,2 @@ +MD5 8d8f16e59a7e859c1407df3d72052825 libmcal-0.7.tar.gz 49039 +MD5 c8c96f6cd574139b88a13f6084164cfa mcaldrivers-0.9.tar.gz 13445 diff --git a/dev-libs/libmcal/libmcal-0.7-r3.ebuild b/dev-libs/libmcal/libmcal-0.7-r3.ebuild new file mode 100644 index 000000000000..070322ea6a97 --- /dev/null +++ b/dev-libs/libmcal/libmcal-0.7-r3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcal/libmcal-0.7-r3.ebuild,v 1.1 2004/09/15 06:54:39 robbat2 Exp $ + +inherit eutils + +DRIVERS="mcaldrivers-0.9" +SRC_URI_BASE="mirror://sourceforge/libmcal" +DESCRIPTION="Modular Calendar Access Library" +HOMEPAGE="http://mcal.chek.com/" +SRC_URI="${SRC_URI_BASE}/${P}.tar.gz ${SRC_URI_BASE}/${DRIVERS}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha arm ~hppa ~amd64 ~ia64 ~s390" +IUSE="pam" + +DEPEND="pam? ( sys-libs/pam )" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + mv ${S}/../mcal-drivers/* ${S}/ + einfo "Using /var/spool/calendar instead of /var/calendar" + for i in FAQ-MCAL HOW-TO-MCAL mstore/mstore.c mstore/README mstore/Changelog; do + sed -e 's|/var/calendar|/var/spool/calendar|g' -i ${i} + done + cd ${S} + epatch ${FILESDIR}/${P}-fpic.patch +} + +src_compile() { + use pam && CFLAGS="${CFLAGS} -DUSE_PAM -lpam" LDFLAGS="${LDFLAGS} -lpam" + einfo "Setting up mstore back-end" + cd ${S}/mstore + emake CFLAGS="${CFLAGS} -I.." LDFLAGS="${LDFLAGS}" || die + + einfo "Setting up icap back-end" + cd ${S}/icap + emake CFLAGS="${CFLAGS} -I.." LDFLAGS="${LDFLAGS}" || die + + cd ${S} + myconf="--with-mstore --with-icap" + econf ${myconf} || die + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die +} + +src_install() { + einstall DESTDIR=${D} || die + dodoc CHANGELOG FAQ-MCAL FEATURE-IMPLEMENTATION HOW-TO-MCAL LICENSE README + newdoc mstore/README mstore-README + newdoc mstore/Changelog mstore-Changelog + newdoc icap/Changelog icap-Changelog + dohtml FUNCTION-REF.html + keepdir /var/spool/calendar + fperms 1777 /var/spool/calendar +} + +pkg_postinst() { + einfo "You should start adding users to your calendar. ( e.g. htpasswd -c /etc/mpasswd username )" + # enforce perms + chmod 1777 ${ROOT}/var/spool/calendar +} |