Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/cfs: cfs-1.4.1.17-r3.ebuild ChangeLog cfs-1.4.1.17-r2.ebuild cfs-1.4.1.17.ebuild cfs-1.4.1.17-r1.ebuild cfs-1.4.1.14.ebuild
Date: Sat, 31 Dec 2011 19:54:29
Message-Id: 20111231195420.13BDE2004B@flycatcher.gentoo.org
1 idl0r 11/12/31 19:54:20
2
3 Modified: ChangeLog
4 Added: cfs-1.4.1.17-r3.ebuild cfs-1.4.1.17-r2.ebuild
5 Removed: cfs-1.4.1.17.ebuild cfs-1.4.1.17-r1.ebuild
6 cfs-1.4.1.14.ebuild
7 Log:
8 Revbump. Don't use deprecated start-stop-daemon options, bug 377843.
9
10 (Portage version: 2.1.10.41/cvs/Linux i686, RepoMan options: --force)
11
12 Revision Changes Path
13 1.13 app-crypt/cfs/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/cfs/ChangeLog?rev=1.13&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/cfs/ChangeLog?rev=1.13&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/cfs/ChangeLog?r1=1.12&r2=1.13
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/app-crypt/cfs/ChangeLog,v
22 retrieving revision 1.12
23 retrieving revision 1.13
24 diff -u -r1.12 -r1.13
25 --- ChangeLog 10 Aug 2010 22:30:13 -0000 1.12
26 +++ ChangeLog 31 Dec 2011 19:54:19 -0000 1.13
27 @@ -1,6 +1,14 @@
28 # ChangeLog for app-crypt/cfs
29 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/cfs/ChangeLog,v 1.12 2010/08/10 22:30:13 hwoarang Exp $
31 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/cfs/ChangeLog,v 1.13 2011/12/31 19:54:19 idl0r Exp $
33 +
34 +*cfs-1.4.1.17-r3 (31 Dec 2011)
35 +*cfs-1.4.1.17-r2 (31 Dec 2011)
36 +
37 + 31 Dec 2011; Christian Ruppert <idl0r@g.o> -cfs-1.4.1.14.ebuild,
38 + -cfs-1.4.1.17.ebuild, -cfs-1.4.1.17-r1.ebuild, +cfs-1.4.1.17-r2.ebuild,
39 + +cfs-1.4.1.17-r3.ebuild, files/cfsd.init:
40 + Revbump. Don't use deprecated start-stop-daemon options, bug 377843.
41
42 *cfs-1.4.1.17-r1 (10 Aug 2010)
43
44
45
46
47 1.1 app-crypt/cfs/cfs-1.4.1.17-r3.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/cfs/cfs-1.4.1.17-r3.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/cfs/cfs-1.4.1.17-r3.ebuild?rev=1.1&content-type=text/plain
51
52 Index: cfs-1.4.1.17-r3.ebuild
53 ===================================================================
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/app-crypt/cfs/cfs-1.4.1.17-r3.ebuild,v 1.1 2011/12/31 19:54:19 idl0r Exp $
57
58 inherit eutils versionator
59
60 MY_PV="$(get_version_component_range 1-3)"
61 DEB_PV="$(get_version_component_range 4)"
62
63 # This is a port of the Debian port of CFS which includes several
64 # useful patches. Many thanks to the Debian developers.
65
66 DESCRIPTION="Cryptographic Filesystem"
67 HOMEPAGE="http://packages.debian.org/stable/utils/cfs
68 http://www.crypto.com/software/"
69 SRC_URI="mirror://debian/pool/main/c/cfs/cfs_${MY_PV}.orig.tar.gz
70 mirror://debian/pool/main/c/cfs/cfs_${MY_PV}-${DEB_PV}.diff.gz"
71 LICENSE="as-is"
72 SLOT="0"
73 KEYWORDS="~ppc ~x86"
74 IUSE=""
75 DEPEND="net-fs/nfs-utils"
76
77 S=${WORKDIR}/${PN}-${MY_PV}.orig
78
79 # Originally from the common-lisp-common.eclass:
80
81 do-debian-credits() {
82 docinto debian
83 for i in copyright README.Debian changelog; do
84 # be silent, since all files are not always present
85 dodoc "${S}"/debian/${i} &>/dev/null || true
86 done
87 docinto .
88 }
89
90 cfsd-running() {
91 test -n "$(mount |grep '\(/var/cfs\|/var/lib/cfs/\.cfsfs\)')"
92 }
93
94 pkg_setup() {
95 if cfsd-running; then
96 eerror "It seems that the null directory or CFS root is currently in use."
97 eerror "You must shutdown CFS before merging this port or at least unmount"
98 eerror "the CFS root before using this port."
99 die "cfs is still running!"
100 fi
101 }
102
103 src_unpack() {
104 unpack ${A}
105 epatch cfs_${MY_PV}-${DEB_PV}.diff
106 cd "${S}"
107 sed -i 's/$(CC)/$(CC) $(LDFLAGS)/g' Makefile || die "sed failed"
108 }
109
110 src_compile() {
111 make cfs CC=$(tc-getCC) COPT="${CFLAGS} -DPROTOTYPES -g" || die "make failed!"
112 }
113
114 src_install() {
115 make install_cfs BINDIR="${D}"/usr/bin ETCDIR="${D}"/usr/sbin || \
116 die "make install failed!"
117 newconfd "${FILESDIR}"/cfsd.conf cfsd
118 # exeinto /var/lib/cfs
119 # doexe debian/cfs_*mount.sh
120 keepdir /var/run/cfs
121 keepdir /var/cfs
122 keepdir /var/lib/cfs/.cfsfs
123 chmod 0 "${D}"/var/lib/cfs/.cfsfs
124 doman *.[18]
125 newinitd "${FILESDIR}"/cfsd.init cfsd
126 do-debian-credits
127 dodoc LEVELS README* VERSION
128 dodoc "${FILESDIR}"/README.Gentoo
129 }
130
131 pkg_postinst() {
132 rm -f /var/lib/cfs/.cfsfs/.keep
133 einfo "Please read the Gentoo README in /usr/share/doc/${PF}/ for"
134 einfo "information on how to get started with CFS on Gentoo."
135 }
136
137
138
139 1.1 app-crypt/cfs/cfs-1.4.1.17-r2.ebuild
140
141 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/cfs/cfs-1.4.1.17-r2.ebuild?rev=1.1&view=markup
142 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/cfs/cfs-1.4.1.17-r2.ebuild?rev=1.1&content-type=text/plain
143
144 Index: cfs-1.4.1.17-r2.ebuild
145 ===================================================================
146 # Copyright 1999-2011 Gentoo Foundation
147 # Distributed under the terms of the GNU General Public License v2
148 # $Header: /var/cvsroot/gentoo-x86/app-crypt/cfs/cfs-1.4.1.17-r2.ebuild,v 1.1 2011/12/31 19:54:19 idl0r Exp $
149
150 inherit eutils versionator
151
152 MY_PV="$(get_version_component_range 1-3)"
153 DEB_PV="$(get_version_component_range 4)"
154
155 # This is a port of the Debian port of CFS which includes several
156 # useful patches. Many thanks to the Debian developers.
157
158 DESCRIPTION="Cryptographic Filesystem"
159 HOMEPAGE="http://packages.debian.org/stable/utils/cfs
160 http://www.crypto.com/software/"
161 SRC_URI="mirror://debian/pool/main/c/cfs/cfs_${MY_PV}.orig.tar.gz
162 mirror://debian/pool/main/c/cfs/cfs_${MY_PV}-${DEB_PV}.diff.gz"
163 LICENSE="as-is"
164 SLOT="0"
165 KEYWORDS="~ppc x86"
166 IUSE=""
167 DEPEND="net-fs/nfs-utils"
168
169 S=${WORKDIR}/${PN}-${MY_PV}.orig
170
171 # Originally from the common-lisp-common.eclass:
172
173 do-debian-credits() {
174 docinto debian
175 for i in copyright README.Debian changelog; do
176 # be silent, since all files are not always present
177 dodoc "${S}"/debian/${i} &>/dev/null || true
178 done
179 docinto .
180 }
181
182 cfsd-running() {
183 test -n "$(mount |grep '\(/var/cfs\|/var/lib/cfs/\.cfsfs\)')"
184 }
185
186 pkg_setup() {
187 if cfsd-running; then
188 eerror "It seems that the null directory or CFS root is currently in use."
189 eerror "You must shutdown CFS before merging this port or at least unmount"
190 eerror "the CFS root before using this port."
191 die "cfs is still running!"
192 fi
193 }
194
195 src_unpack() {
196 unpack ${A}
197 epatch cfs_${MY_PV}-${DEB_PV}.diff
198 }
199
200 src_compile() {
201 make cfs COPT="${CFLAGS} -DPROTOTYPES -g" || die "make failed!"
202 }
203
204 src_install() {
205 make install_cfs BINDIR="${D}"/usr/bin ETCDIR="${D}"/usr/sbin || \
206 die "make install failed!"
207 newconfd "${FILESDIR}"/cfsd.conf cfsd
208 # exeinto /var/lib/cfs
209 # doexe debian/cfs_*mount.sh
210 keepdir /var/run/cfs
211 keepdir /var/cfs
212 keepdir /var/lib/cfs/.cfsfs
213 chmod 0 "${D}"/var/lib/cfs/.cfsfs
214 doman *.[18]
215 newinitd "${FILESDIR}"/cfsd.init cfsd
216 do-debian-credits
217 dodoc LEVELS README* VERSION
218 dodoc "${FILESDIR}"/README.Gentoo
219 }
220
221 pkg_postinst() {
222 rm -f /var/lib/cfs/.cfsfs/.keep
223 einfo "Please read the Gentoo README in /usr/share/doc/${PF}/ for"
224 einfo "information on how to get started with CFS on Gentoo."
225 }