1 |
alonbl 08/03/27 06:06:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnupg-2.0.9.ebuild gnupg-1.4.9.ebuild |
5 |
Removed: gnupg-2.0.8-r2.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.318 app-crypt/gnupg/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.318&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.318&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/ChangeLog?r1=1.317&r2=1.318 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v |
20 |
retrieving revision 1.317 |
21 |
retrieving revision 1.318 |
22 |
diff -u -r1.317 -r1.318 |
23 |
--- ChangeLog 7 Mar 2008 07:33:20 -0000 1.317 |
24 |
+++ ChangeLog 27 Mar 2008 06:06:04 -0000 1.318 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for app-crypt/gnupg |
27 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.317 2008/03/07 07:33:20 alonbl Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.318 2008/03/27 06:06:04 alonbl Exp $ |
30 |
+ |
31 |
+*gnupg-2.0.9 (27 Mar 2008) |
32 |
+*gnupg-1.4.9 (27 Mar 2008) |
33 |
+ |
34 |
+ 27 Mar 2008; Alon Bar-Lev <alonbl@g.o> |
35 |
+ -files/gnupg-2.0.8-qualified.patch, +gnupg-1.4.9.ebuild, |
36 |
+ -gnupg-2.0.8-r2.ebuild, +gnupg-2.0.9.ebuild: |
37 |
+ Version bump |
38 |
|
39 |
07 Mar 2008; Alon Bar-Lev <alonbl@g.o> gnupg-2.0.7-r1.ebuild, |
40 |
gnupg-2.0.8-r2.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 app-crypt/gnupg/gnupg-2.0.9.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/gnupg-2.0.9.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/gnupg-2.0.9.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gnupg-2.0.9.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.9.ebuild,v 1.1 2008/03/27 06:06:04 alonbl Exp $ |
54 |
|
55 |
inherit flag-o-matic eutils |
56 |
|
57 |
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement" |
58 |
HOMEPAGE="http://www.gnupg.org/" |
59 |
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-3" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
64 |
IUSE="bzip2 doc ldap nls openct pcsc-lite smartcard selinux" |
65 |
|
66 |
COMMON_DEPEND=" |
67 |
virtual/libc |
68 |
>=dev-libs/pth-1.3.7 |
69 |
>=dev-libs/libgcrypt-1.2.2 |
70 |
>=dev-libs/libksba-1.0.2 |
71 |
>=dev-libs/libgpg-error-1.4 |
72 |
>=net-misc/curl-7.7.2 |
73 |
bzip2? ( app-arch/bzip2 ) |
74 |
pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 ) |
75 |
openct? ( >=dev-libs/openct-0.5.0 ) |
76 |
ldap? ( net-nds/openldap ) |
77 |
app-crypt/pinentry" |
78 |
|
79 |
DEPEND="${COMMON_DEPEND} |
80 |
>=dev-libs/libassuan-1.0.4 |
81 |
nls? ( sys-devel/gettext ) |
82 |
doc? ( sys-apps/texinfo )" |
83 |
|
84 |
RDEPEND="${COMMON_DEPEND} |
85 |
!app-crypt/gpg-agent |
86 |
!<=app-crypt/gnupg-2.0.1 |
87 |
virtual/mta |
88 |
selinux? ( sec-policy/selinux-gnupg ) |
89 |
nls? ( virtual/libintl )" |
90 |
|
91 |
src_compile() { |
92 |
econf \ |
93 |
--docdir="/usr/share/doc/${PF}" \ |
94 |
--enable-symcryptrun \ |
95 |
--enable-gpg \ |
96 |
--enable-gpgsm \ |
97 |
--enable-agent \ |
98 |
$(use_enable bzip2) \ |
99 |
$(use_enable smartcard scdaemon) \ |
100 |
$(use_enable nls) \ |
101 |
$(use_enable ldap) \ |
102 |
--disable-capabilities \ |
103 |
|| die |
104 |
emake || die |
105 |
if use doc; then |
106 |
cd doc |
107 |
emake html || die |
108 |
fi |
109 |
} |
110 |
|
111 |
src_install() { |
112 |
make DESTDIR="${D}" install || die |
113 |
dodoc ChangeLog NEWS README THANKS TODO VERSION |
114 |
|
115 |
mv "${D}/usr/share/gnupg"/{help*,faq*,FAQ} "${D}/usr/share/doc/${PF}" |
116 |
prepalldocs |
117 |
|
118 |
dosym gpg2 /usr/bin/gpg |
119 |
dosym gpgv2 /usr/bin/gpgv |
120 |
dosym gpg2keys_hkp /usr/libexec/gpgkeys_hkp |
121 |
dosym gpg2keys_finger /usr/libexec/gpgkeys_finger |
122 |
dosym gpg2keys_curl /usr/libexec/gpgkeys_curl |
123 |
use ldap && dosym gpg2keys_ldap /usr/libexec/gpgkeys_ldap |
124 |
echo ".so man1/gpg2.1" > "${D}/usr/share/man/man1/gpg.1" |
125 |
echo ".so man1/gpgv2.1" > "${D}/usr/share/man/man1/gpgv.1" |
126 |
|
127 |
use doc && dohtml doc/gnupg.html/* doc/*jpg doc/*png |
128 |
} |
129 |
|
130 |
pkg_postinst() { |
131 |
elog "If you wish to view images emerge:" |
132 |
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer" |
133 |
elog "Remember to use photo-viewer option in configuration file to activate" |
134 |
elog "the right viewer" |
135 |
} |
136 |
|
137 |
|
138 |
|
139 |
1.1 app-crypt/gnupg/gnupg-1.4.9.ebuild |
140 |
|
141 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/gnupg-1.4.9.ebuild?rev=1.1&view=markup |
142 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/gnupg-1.4.9.ebuild?rev=1.1&content-type=text/plain |
143 |
|
144 |
Index: gnupg-1.4.9.ebuild |
145 |
=================================================================== |
146 |
# Copyright 1999-2008 Gentoo Foundation |
147 |
# Distributed under the terms of the GNU General Public License v2 |
148 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.9.ebuild,v 1.1 2008/03/27 06:06:04 alonbl Exp $ |
149 |
|
150 |
inherit eutils flag-o-matic |
151 |
|
152 |
ECCVER="0.2.0" |
153 |
ECCVER_GNUPG="1.4.8" |
154 |
ECC_PATCH="${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff" |
155 |
MY_P=${P/_/} |
156 |
|
157 |
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement" |
158 |
HOMEPAGE="http://www.gnupg.org/" |
159 |
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2 |
160 |
!bindist? ( |
161 |
idea? ( ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz ) |
162 |
ecc? ( http://www.calcurco.cat/eccGnuPG/src/${ECC_PATCH}.bz2 ) |
163 |
)" |
164 |
|
165 |
LICENSE="GPL-2" |
166 |
SLOT="0" |
167 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
168 |
IUSE="bzip2 bindist curl ecc idea ldap nls readline selinux smartcard static usb zlib linguas_ru" |
169 |
|
170 |
COMMON_DEPEND=" |
171 |
ldap? ( net-nds/openldap ) |
172 |
bzip2? ( app-arch/bzip2 ) |
173 |
zlib? ( sys-libs/zlib ) |
174 |
curl? ( net-misc/curl ) |
175 |
virtual/mta |
176 |
readline? ( sys-libs/readline ) |
177 |
smartcard? ( dev-libs/libusb ) |
178 |
usb? ( dev-libs/libusb )" |
179 |
|
180 |
RDEPEND="!static? ( ${COMMON_DEPEND} ) |
181 |
selinux? ( sec-policy/selinux-gnupg ) |
182 |
nls? ( virtual/libintl )" |
183 |
|
184 |
DEPEND="${COMMON_DEPEND} |
185 |
dev-lang/perl |
186 |
nls? ( sys-devel/gettext )" |
187 |
|
188 |
S="${WORKDIR}/${MY_P}" |
189 |
|
190 |
src_unpack() { |
191 |
unpack ${A} |
192 |
cd "${S}" |
193 |
|
194 |
if use idea; then |
195 |
if use bindist; then |
196 |
einfo "Skipping IDEA support to comply with binary distribution (bug #148907)." |
197 |
else |
198 |
ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html" |
199 |
mv "${WORKDIR}"/idea.c "${S}"/cipher/idea.c || \ |
200 |
ewarn "failed to insert IDEA module" |
201 |
fi |
202 |
fi |
203 |
|
204 |
if use ecc; then |
205 |
if use bindist; then |
206 |
einfo "Skipping ECC patch to comply with binary distribution (bug #148907)." |
207 |
else |
208 |
sed -i \ |
209 |
"s/- VERSION='${ECCVER_GNUPG}'/- VERSION='${PV}'/" \ |
210 |
"${WORKDIR}/${ECC_PATCH}" |
211 |
sed -i \ |
212 |
"s/+ VERSION='${ECCVER_GNUPG}-ecc${ECCVER}'/+ VERSION='${PV}-ecc${ECCVER}'/" \ |
213 |
"${WORKDIR}/${ECC_PATCH}" |
214 |
|
215 |
epatch "${WORKDIR}/${ECC_PATCH}" |
216 |
fi |
217 |
fi |
218 |
|
219 |
# install RU man page in right location |
220 |
epatch "${FILESDIR}"/${PN}-1.4.6-badruman.patch |
221 |
|
222 |
# Fix PIC definitions |
223 |
sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c |
224 |
sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S |
225 |
} |
226 |
|
227 |
src_compile() { |
228 |
# Certain sparc32 machines seem to have trouble building correctly with |
229 |
# -mcpu enabled. While this is not a gnupg problem, it is a temporary |
230 |
# fix until the gcc problem can be tracked down. |
231 |
if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then |
232 |
filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7 |
233 |
fi |
234 |
|
235 |
# 'USE=static' support was requested in #29299 |
236 |
use static &&append-ldflags -static |
237 |
|
238 |
econf \ |
239 |
--docdir="/usr/share/doc/${PF}" \ |
240 |
$(use_enable ldap) \ |
241 |
--enable-mailto \ |
242 |
--enable-hkp \ |
243 |
--enable-finger \ |
244 |
$(use_with !zlib included-zlib) \ |
245 |
$(use_with curl libcurl /usr) \ |
246 |
$(use_enable nls) \ |
247 |
$(use_enable bzip2) \ |
248 |
$(use_enable smartcard card-support) \ |
249 |
$(use_enable selinux selinux-support) \ |
250 |
--disable-capabilities \ |
251 |
$(use_with readline) \ |
252 |
$(use_with usb libusb /usr) \ |
253 |
$(use_enable static) \ |
254 |
--enable-static-rnd=linux \ |
255 |
--libexecdir=/usr/libexec \ |
256 |
--enable-noexecstack \ |
257 |
${myconf} || die |
258 |
# this is because it will run some tests directly |
259 |
emake || die |
260 |
} |
261 |
|
262 |
src_install() { |
263 |
make DESTDIR="${D}" install || die |
264 |
|
265 |
# keep the documentation in /usr/share/doc/... |
266 |
rm -rf "${D}/usr/share/gnupg/FAQ" "${D}/usr/share/gnupg/faq.html" |
267 |
|
268 |
dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \ |
269 |
TODO VERSION doc/{FAQ,HACKING,DETAILS,OpenPGP,faq.raw} |
270 |
|
271 |
dohtml doc/faq.html |
272 |
|
273 |
exeinto /usr/libexec/gnupg |
274 |
doexe tools/make-dns-cert |
275 |
|
276 |
# install RU documentation in right location |
277 |
if use linguas_ru; then |
278 |
cp doc/gpg.ru.1 "${T}/gpg.1" |
279 |
doman -i18n=ru "${T}/gpg.1" |
280 |
fi |
281 |
} |
282 |
|
283 |
pkg_postinst() { |
284 |
ewarn "If you are using a non-Linux system, or a kernel older than 2.6.9," |
285 |
ewarn "you MUST make the gpg binary setuid." |
286 |
echo |
287 |
if use !bindist && use idea; then |
288 |
elog |
289 |
elog "IDEA" |
290 |
elog "you have compiled ${PN} with support for the IDEA algorithm, this code" |
291 |
elog "is distributed under the GPL in countries where it is permitted to do so" |
292 |
elog "by law." |
293 |
elog |
294 |
elog "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html for more information." |
295 |
elog |
296 |
ewarn "If you are in a country where the IDEA algorithm is patented, you are permitted" |
297 |
ewarn "to use it at no cost for 'non revenue generating data transfer between private" |
298 |
ewarn "individuals'." |
299 |
ewarn |
300 |
ewarn "Countries where the patent applies are listed here" |
301 |
ewarn "http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm#Security" |
302 |
ewarn |
303 |
ewarn "Further information and other licenses are availble from http://www.mediacrypt.com/" |
304 |
ewarn |
305 |
fi |
306 |
if use !bindist && use ecc; then |
307 |
ewarn |
308 |
ewarn "The elliptical curves patch is experimental" |
309 |
ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html" |
310 |
fi |
311 |
elog |
312 |
elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg" |
313 |
elog |
314 |
elog "If you wish to view images emerge:" |
315 |
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer" |
316 |
elog "Remember to use photo-viewer option in configuration file to activate the right viewer" |
317 |
} |
318 |
|
319 |
|
320 |
|
321 |
-- |
322 |
gentoo-commits@l.g.o mailing list |