diff options
author | 2006-09-28 03:37:47 +0000 | |
---|---|---|
committer | 2006-09-28 03:37:47 +0000 | |
commit | 6adc6c92d957926698ca59ef987fd88db4139ee1 (patch) | |
tree | 742f63f1a7cbf687ffc10713b64fc2cd7e6938d6 /app-crypt | |
parent | Remove sys-cluster/torque:scp, it uses crypt now. (diff) | |
download | gentoo-2-6adc6c92d957926698ca59ef987fd88db4139ee1.tar.gz gentoo-2-6adc6c92d957926698ca59ef987fd88db4139ee1.tar.bz2 gentoo-2-6adc6c92d957926698ca59ef987fd88db4139ee1.zip |
New upstream; Resolves Bug #142596.
(Portage version: 2.1.1)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/cfs/ChangeLog | 9 | ||||
-rw-r--r-- | app-crypt/cfs/cfs-1.4.1.17.ebuild | 81 | ||||
-rw-r--r-- | app-crypt/cfs/files/digest-cfs-1.4.1.14 | 4 | ||||
-rw-r--r-- | app-crypt/cfs/files/digest-cfs-1.4.1.17 | 6 |
4 files changed, 97 insertions, 3 deletions
diff --git a/app-crypt/cfs/ChangeLog b/app-crypt/cfs/ChangeLog index 826cfd874f58..452225038c54 100644 --- a/app-crypt/cfs/ChangeLog +++ b/app-crypt/cfs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-crypt/cfs -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/cfs/ChangeLog,v 1.5 2005/01/01 12:27:00 eradicator Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/cfs/ChangeLog,v 1.6 2006/09/28 03:37:47 mkennedy Exp $ + +*cfs-1.4.1.17 (28 Sep 2006) + + 28 Sep 2006; Matthew Kennedy <mkennedy@gentoo.org> +cfs-1.4.1.17.ebuild: + New upstream; Resolves Bug #142596. 14 Oct 2004; David Holm <dholm@gentoo.org> cfs-1.4.1.14.ebuild: Added to ~ppc. diff --git a/app-crypt/cfs/cfs-1.4.1.17.ebuild b/app-crypt/cfs/cfs-1.4.1.17.ebuild new file mode 100644 index 000000000000..d3bdf23e9f78 --- /dev/null +++ b/app-crypt/cfs/cfs-1.4.1.17.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2006 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.ebuild,v 1.1 2006/09/28 03:37:47 mkennedy Exp $ + +inherit eutils + +MY_PV=${PV:0:5} +DEB_PV=${PV:6:2} + +# 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/unstable/utils/cfs + http://www.crypto.com/software/" +SRC_URI="http://ftp.debian.org/debian/pool/main/c/cfs/cfs_${MY_PV}.orig.tar.gz + http://ftp.debian.org/debian/pool/main/c/cfs/cfs_${MY_PV}-${DEB_PV}.diff.gz" +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86 ~ppc" +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 + fi +} + +src_unpack() { + unpack ${A} + epatch cfs_${MY_PV}-${DEB_PV}.diff +} + +src_compile() { + make cfs COPT="${CFLAGS} -DPROTOTYPES -g" || die +} + +src_install() { + make install_cfs BINDIR=${D}/usr/bin ETCDIR=${D}/usr/sbin || die + insinto /etc/conf.d + newins ${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] + exeinto /etc/init.d/ + newexe ${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 /usr/share/doc/${PF}/README.Gentoo.gz for" + einfo "information on how to get started with CFS on Gentoo." +} diff --git a/app-crypt/cfs/files/digest-cfs-1.4.1.14 b/app-crypt/cfs/files/digest-cfs-1.4.1.14 index c9af8cabe261..7c8229d01d81 100644 --- a/app-crypt/cfs/files/digest-cfs-1.4.1.14 +++ b/app-crypt/cfs/files/digest-cfs-1.4.1.14 @@ -1,2 +1,4 @@ -MD5 3ce2e01211dafe7bfb44849894926eda cfs_1.4.1.orig.tar.gz 98376 MD5 ec2c4a65dc8fcda74a38d702fc3409d1 cfs_1.4.1-14.diff.gz 17787 +MD5 3ce2e01211dafe7bfb44849894926eda cfs_1.4.1.orig.tar.gz 98376 +RMD160 c78b17d920a4c2c3b9382da533a87ca7bea9d8d5 cfs_1.4.1.orig.tar.gz 98376 +SHA256 86b52891c2cff4c80e4c3779337e690c54a6b8e132611269576c3d8d31ec4e74 cfs_1.4.1.orig.tar.gz 98376 diff --git a/app-crypt/cfs/files/digest-cfs-1.4.1.17 b/app-crypt/cfs/files/digest-cfs-1.4.1.17 new file mode 100644 index 000000000000..0c66830b28cf --- /dev/null +++ b/app-crypt/cfs/files/digest-cfs-1.4.1.17 @@ -0,0 +1,6 @@ +MD5 7679881e36a9b643f2f13bae4f6180f3 cfs_1.4.1-17.diff.gz 18581 +RMD160 9fcd6c905f29de64e538c2fbc76c2894e57f14b6 cfs_1.4.1-17.diff.gz 18581 +SHA256 c0938cd88dd603b6ade9dc3cd3073dcd8e3a08e8a16685e62e383681a9506ade cfs_1.4.1-17.diff.gz 18581 +MD5 3ce2e01211dafe7bfb44849894926eda cfs_1.4.1.orig.tar.gz 98376 +RMD160 c78b17d920a4c2c3b9382da533a87ca7bea9d8d5 cfs_1.4.1.orig.tar.gz 98376 +SHA256 86b52891c2cff4c80e4c3779337e690c54a6b8e132611269576c3d8d31ec4e74 cfs_1.4.1.orig.tar.gz 98376 |