1 |
arfrever 09/09/03 20:23:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnupg-1.4.10.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 14182-svn/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.349 app-crypt/gnupg/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.349&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.349&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/ChangeLog?r1=1.348&r2=1.349 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v |
19 |
retrieving revision 1.348 |
20 |
retrieving revision 1.349 |
21 |
diff -u -r1.348 -r1.349 |
22 |
--- ChangeLog 21 Jun 2009 02:36:54 -0000 1.348 |
23 |
+++ ChangeLog 3 Sep 2009 20:23:42 -0000 1.349 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-crypt/gnupg |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.348 2009/06/21 02:36:54 arfrever Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.349 2009/09/03 20:23:42 arfrever Exp $ |
29 |
+ |
30 |
+*gnupg-1.4.10 (03 Sep 2009) |
31 |
+ |
32 |
+ 03 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 |
+ +gnupg-1.4.10.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*gnupg-2.0.12 (21 Jun 2009) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 app-crypt/gnupg/gnupg-1.4.10.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/gnupg-1.4.10.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/gnupg-1.4.10.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: gnupg-1.4.10.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.10.ebuild,v 1.1 2009/09/03 20:23:42 arfrever Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils flag-o-matic toolchain-funcs |
55 |
|
56 |
ECCVER="0.2.0" |
57 |
ECCVER_GNUPG="1.4.9" |
58 |
ECC_PATCH="${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff" |
59 |
MY_P=${P/_/} |
60 |
|
61 |
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement" |
62 |
HOMEPAGE="http://www.gnupg.org/" |
63 |
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2 |
64 |
!bindist? ( |
65 |
idea? ( mirror://gentoo/idea.c.gz ) |
66 |
)" |
67 |
# ecc? ( http://www.calcurco.cat/eccGnuPG/src/${ECC_PATCH}.bz2 ) |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
72 |
IUSE="bzip2 bindist curl idea ldap nls readline selinux smartcard static usb zlib linguas_ru" |
73 |
#IUSE="bzip2 bindist curl ecc idea ldap nls readline selinux smartcard static usb zlib linguas_ru" |
74 |
|
75 |
COMMON_DEPEND=" |
76 |
ldap? ( net-nds/openldap ) |
77 |
bzip2? ( app-arch/bzip2 ) |
78 |
zlib? ( sys-libs/zlib ) |
79 |
curl? ( net-misc/curl ) |
80 |
virtual/mta |
81 |
readline? ( sys-libs/readline ) |
82 |
smartcard? ( =virtual/libusb-0* ) |
83 |
usb? ( =virtual/libusb-0* )" |
84 |
|
85 |
RDEPEND="!static? ( ${COMMON_DEPEND} ) |
86 |
selinux? ( sec-policy/selinux-gnupg ) |
87 |
nls? ( virtual/libintl )" |
88 |
|
89 |
DEPEND="${COMMON_DEPEND} |
90 |
dev-lang/perl |
91 |
nls? ( sys-devel/gettext )" |
92 |
|
93 |
S="${WORKDIR}/${MY_P}" |
94 |
|
95 |
src_prepare() { |
96 |
if use idea; then |
97 |
if use bindist; then |
98 |
einfo "Skipping IDEA support to comply with binary distribution (bug #148907)." |
99 |
else |
100 |
ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html" |
101 |
mv "${WORKDIR}"/idea.c "${S}"/cipher/idea.c || \ |
102 |
ewarn "failed to insert IDEA module" |
103 |
fi |
104 |
fi |
105 |
|
106 |
# if use ecc; then |
107 |
# if use bindist; then |
108 |
# einfo "Skipping ECC patch to comply with binary distribution (bug #148907)." |
109 |
# else |
110 |
# sed -i \ |
111 |
# "s/- VERSION='${ECCVER_GNUPG}'/- VERSION='${PV}'/" \ |
112 |
# "${WORKDIR}/${ECC_PATCH}" |
113 |
# sed -i \ |
114 |
# "s/+ VERSION='${ECCVER_GNUPG}-ecc${ECCVER}'/+ VERSION='${PV}-ecc${ECCVER}'/" \ |
115 |
# "${WORKDIR}/${ECC_PATCH}" |
116 |
# |
117 |
# epatch "${WORKDIR}/${ECC_PATCH}" |
118 |
# fi |
119 |
# fi |
120 |
|
121 |
# Install RU man page in right location |
122 |
sed -e "/^man_MANS =/s/ gpg\.ru\.1//" -i doc/Makefile.in || die "sed doc/Makefile.in failed" |
123 |
|
124 |
# Fix PIC definitions |
125 |
sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c |
126 |
sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S |
127 |
} |
128 |
|
129 |
src_configure() { |
130 |
# Certain sparc32 machines seem to have trouble building correctly with |
131 |
# -mcpu enabled. While this is not a gnupg problem, it is a temporary |
132 |
# fix until the gcc problem can be tracked down. |
133 |
if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then |
134 |
filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7 |
135 |
fi |
136 |
|
137 |
# 'USE=static' support was requested in #29299 |
138 |
use static &&append-ldflags -static |
139 |
|
140 |
econf \ |
141 |
--docdir="/usr/share/doc/${PF}" \ |
142 |
$(use_enable ldap) \ |
143 |
--enable-mailto \ |
144 |
--enable-hkp \ |
145 |
--enable-finger \ |
146 |
$(use_with !zlib included-zlib) \ |
147 |
$(use_with curl libcurl /usr) \ |
148 |
$(use_enable nls) \ |
149 |
$(use_enable bzip2) \ |
150 |
$(use_enable smartcard card-support) \ |
151 |
$(use_enable selinux selinux-support) \ |
152 |
--disable-capabilities \ |
153 |
$(use_with readline) \ |
154 |
$(use_with usb libusb /usr) \ |
155 |
$(use_enable static) \ |
156 |
--enable-static-rnd=linux \ |
157 |
--libexecdir=/usr/libexec \ |
158 |
--enable-noexecstack \ |
159 |
CC_FOR_BUILD=$(tc-getBUILD_CC) \ |
160 |
${myconf} |
161 |
} |
162 |
|
163 |
src_install() { |
164 |
emake DESTDIR="${D}" install || die "emake install failed" |
165 |
|
166 |
# keep the documentation in /usr/share/doc/... |
167 |
rm -rf "${D}/usr/share/gnupg/FAQ" "${D}/usr/share/gnupg/faq.html" |
168 |
|
169 |
dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \ |
170 |
TODO VERSION doc/{FAQ,HACKING,DETAILS,OpenPGP,faq.raw} |
171 |
|
172 |
dohtml doc/faq.html |
173 |
|
174 |
exeinto /usr/libexec/gnupg |
175 |
doexe tools/make-dns-cert |
176 |
|
177 |
# install RU documentation in right location |
178 |
if use linguas_ru; then |
179 |
cp doc/gpg.ru.1 "${T}/gpg.1" |
180 |
doman -i18n=ru "${T}/gpg.1" |
181 |
fi |
182 |
} |
183 |
|
184 |
pkg_postinst() { |
185 |
ewarn "If you are using a non-Linux system, or a kernel older than 2.6.9," |
186 |
ewarn "you MUST make the gpg binary setuid." |
187 |
echo |
188 |
if use !bindist && use idea; then |
189 |
elog |
190 |
elog "IDEA" |
191 |
elog "you have compiled ${PN} with support for the IDEA algorithm, this code" |
192 |
elog "is distributed under the GPL in countries where it is permitted to do so" |
193 |
elog "by law." |
194 |
elog |
195 |
elog "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html for more information." |
196 |
elog |
197 |
ewarn "If you are in a country where the IDEA algorithm is patented, you are permitted" |
198 |
ewarn "to use it at no cost for 'non revenue generating data transfer between private" |
199 |
ewarn "individuals'." |
200 |
ewarn |
201 |
ewarn "Countries where the patent applies are listed here" |
202 |
ewarn "http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm#Security" |
203 |
ewarn |
204 |
ewarn "Further information and other licenses are availble from http://www.mediacrypt.com/" |
205 |
ewarn |
206 |
fi |
207 |
# if use !bindist && use ecc; then |
208 |
# ewarn |
209 |
# ewarn "The elliptical curves patch is experimental" |
210 |
# ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html" |
211 |
# fi |
212 |
elog |
213 |
elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg" |
214 |
elog |
215 |
elog "If you wish to view images emerge:" |
216 |
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer" |
217 |
elog "Remember to use photo-viewer option in configuration file to activate the right viewer" |
218 |
} |