diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-08-10 22:30:13 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-08-10 22:30:13 +0000 |
commit | e006a6fdc8026a38ea5beb85c2aa64ca119a4051 (patch) | |
tree | 522ebf8023de1db2f1b706c88a8d74f49528c42d /app-crypt/cfs | |
parent | Version bump. Bug #332129. Thanks to Dane Smith <smithdanea@gmail.com> for th... (diff) | |
download | historical-e006a6fdc8026a38ea5beb85c2aa64ca119a4051.tar.gz historical-e006a6fdc8026a38ea5beb85c2aa64ca119a4051.tar.bz2 historical-e006a6fdc8026a38ea5beb85c2aa64ca119a4051.zip |
Respect LDFLAGS. Bug #331939. Thanks to Dane Smith <smithdanea@gmail.com> for the patch
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'app-crypt/cfs')
-rw-r--r-- | app-crypt/cfs/ChangeLog | 11 | ||||
-rw-r--r-- | app-crypt/cfs/Manifest | 13 | ||||
-rw-r--r-- | app-crypt/cfs/cfs-1.4.1.17-r1.ebuild | 82 |
3 files changed, 93 insertions, 13 deletions
diff --git a/app-crypt/cfs/ChangeLog b/app-crypt/cfs/ChangeLog index 1aa303544d29..3d182cbb040f 100644 --- a/app-crypt/cfs/ChangeLog +++ b/app-crypt/cfs/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-crypt/cfs -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/cfs/ChangeLog,v 1.11 2008/12/17 00:15:51 halcy0n Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/cfs/ChangeLog,v 1.12 2010/08/10 22:30:13 hwoarang Exp $ + +*cfs-1.4.1.17-r1 (10 Aug 2010) + + 10 Aug 2010; Markos Chandras <hwoarang@gentoo.org> + +cfs-1.4.1.17-r1.ebuild: + Respect LDFLAGS. Bug #331939. Thanks to Dane Smith <smithdanea@gmail.com> + for the patch 17 Dec 2008; Mark Loeser <halcy0n@gentoo.org> cfs-1.4.1.14.ebuild, cfs-1.4.1.17.ebuild: diff --git a/app-crypt/cfs/Manifest b/app-crypt/cfs/Manifest index 345c68a2e526..996fc22ff8ef 100644 --- a/app-crypt/cfs/Manifest +++ b/app-crypt/cfs/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX README.Gentoo 1584 RMD160 d1e5ed6ab7496e8cf67a768c6e4d284e6fa0d4d9 SHA1 3da888f5938d55ede9ccb866457fe1a7a2b4c1e3 SHA256 b8499aa748482950b72d1623519753b55ef1b3d01bb07cfa03c503df3482a733 AUX cfsd.conf 341 RMD160 937c589da93c0ac762944958fac927f65aaddd4f SHA1 15632e7e695657913b0749946d77bfc8ca354f90 SHA256 d3839a8d9d551d38a9cc18f949a5fe8dd27f9daa36d83aa86e1ce5157f050c51 AUX cfsd.init 671 RMD160 2cbdf921f424d010e592e9b80906fea576468228 SHA1 a9049b9b23272787269cfbdf1ecf2d88fe641916 SHA256 1344bbdb6ebca144bde0347f41328728cbc158ae0d2aedeeda617fac41edd8fa @@ -8,13 +5,7 @@ DIST cfs_1.4.1-14.diff.gz 17787 RMD160 6b26105f7fa7c34f40be4b6b881599b36bcefb35 DIST cfs_1.4.1-17.diff.gz 18581 RMD160 9fcd6c905f29de64e538c2fbc76c2894e57f14b6 SHA1 427924e1ab9cd92b2118b62164344922de19f13a SHA256 c0938cd88dd603b6ade9dc3cd3073dcd8e3a08e8a16685e62e383681a9506ade DIST cfs_1.4.1.orig.tar.gz 98376 RMD160 c78b17d920a4c2c3b9382da533a87ca7bea9d8d5 SHA1 ef3dcebcd21071cb04634ce0b3214e7967dde188 SHA256 86b52891c2cff4c80e4c3779337e690c54a6b8e132611269576c3d8d31ec4e74 EBUILD cfs-1.4.1.14.ebuild 2229 RMD160 0b0673381524381f1efc5194ee7d80bb4721276c SHA1 bc0a66b28ec7727b24c84fd4b646d8343d6c5c34 SHA256 463e24380b6a4cd8a7a9f252e6bf6aa573bca848f77119af207c5220993c53ac +EBUILD cfs-1.4.1.17-r1.ebuild 2323 RMD160 67946c8acabb9b15f8fba45ae49f10776d549773 SHA1 842ccc36760c57314315a64111ae169262794b68 SHA256 66b156f082f9955050c44694915bd7d3cbde88155efeffedfaecf4f34761e0d4 EBUILD cfs-1.4.1.17.ebuild 2226 RMD160 65e3d78076612c84fc2a1d4a991d1420433aa48c SHA1 7112630a5da11b639347c60f025f0d5db127256c SHA256 81bca9175b871d0376316245acc0a373cfc82bae58046a54a003ce546ae4ea6b -MISC ChangeLog 1622 RMD160 6dea5695aa4c8900cbb295a2853b48cffd48912a SHA1 a7aff8c9e8dec2aae645cdd66b74d5d3720d4aed SHA256 fb4eb2dc7137a607397ba1102390e38deb9ee9ab5fc314220e2547146b31cc25 +MISC ChangeLog 1828 RMD160 8e2ee11022d1227efc5af3bf4584672c80fff446 SHA1 822a6e98524a1d7fd1cb15b15eb2409ed19f0d4c SHA256 0fe1c65a4cacdec10ef8e2115c6b0d9002606119a5d766e8559ad5c25affe43c MISC metadata.xml 233 RMD160 d81ec1a0582856aeac5ef3bfec5c80d9850216f6 SHA1 9b94f113e7f382076b1749c2a856e409c96cade3 SHA256 dce03f6cdd96135caf3c971a5ca4a8c916f44532fe8cfb6df88b7bdade407e8b ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEUEARECAAYFAklIRMMACgkQCRZPokWLroTQgACfSDhFk6uvd146bnFHl9KVwrr6 -0isAljy7YJrEwaknB/knpA2sPimYT9I= -=1Y14 ------END PGP SIGNATURE----- diff --git a/app-crypt/cfs/cfs-1.4.1.17-r1.ebuild b/app-crypt/cfs/cfs-1.4.1.17-r1.ebuild new file mode 100644 index 000000000000..8013fe118956 --- /dev/null +++ b/app-crypt/cfs/cfs-1.4.1.17-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/cfs/cfs-1.4.1.17-r1.ebuild,v 1.1 2010/08/10 22:30:13 hwoarang Exp $ + +inherit eutils versionator + +MY_PV="$(get_version_component_range 1-3)" +DEB_PV="$(get_version_component_range 4)" + +# This is a port of the Debian port of CFS which includes several +# useful patches. Many thanks to the Debian developers. + +DESCRIPTION="Cryptographic Filesystem" +HOMEPAGE="http://packages.debian.org/stable/utils/cfs + http://www.crypto.com/software/" +SRC_URI="mirror://debian/pool/main/c/cfs/cfs_${MY_PV}.orig.tar.gz + mirror://debian/pool/main/c/cfs/cfs_${MY_PV}-${DEB_PV}.diff.gz" +LICENSE="as-is" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" +DEPEND="net-fs/nfs-utils" + +S=${WORKDIR}/${PN}-${MY_PV}.orig + +# Originally from the common-lisp-common.eclass: + +do-debian-credits() { + docinto debian + for i in copyright README.Debian changelog; do + # be silent, since all files are not always present + dodoc "${S}"/debian/${i} &>/dev/null || true + done + docinto . +} + +cfsd-running() { + test -n "$(mount |grep '\(/var/cfs\|/var/lib/cfs/\.cfsfs\)')" +} + +pkg_setup() { + if cfsd-running; then + eerror "It seems that the null directory or CFS root is currently in use." + eerror "You must shutdown CFS before merging this port or at least unmount" + eerror "the CFS root before using this port." + die "cfs is still running!" + fi +} + +src_unpack() { + unpack ${A} + epatch cfs_${MY_PV}-${DEB_PV}.diff + cd "${S}" + sed -i 's/$(CC)/$(CC) $(LDFLAGS)/g' Makefile || die "sed failed" +} + +src_compile() { + make cfs CC=$(tc-getCC) COPT="${CFLAGS} -DPROTOTYPES -g" || die "make failed!" +} + +src_install() { + make install_cfs BINDIR="${D}"/usr/bin ETCDIR="${D}"/usr/sbin || \ + die "make install failed!" + newconfd "${FILESDIR}"/cfsd.conf cfsd +# exeinto /var/lib/cfs +# doexe debian/cfs_*mount.sh + keepdir /var/run/cfs + keepdir /var/cfs + keepdir /var/lib/cfs/.cfsfs + chmod 0 "${D}"/var/lib/cfs/.cfsfs + doman *.[18] + newinitd "${FILESDIR}"/cfsd.init cfsd + do-debian-credits + dodoc LEVELS README* VERSION + dodoc "${FILESDIR}"/README.Gentoo +} + +pkg_postinst() { + rm -f /var/lib/cfs/.cfsfs/.keep + einfo "Please read the Gentoo README in /usr/share/doc/${PF}/ for" + einfo "information on how to get started with CFS on Gentoo." +} |