1 |
alonbl 13/10/03 19:20:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnupg-2.0.21-r1.ebuild |
5 |
Log: |
6 |
Cleanup ebuild, add epatch_user, resolves bug#486882 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key BF20DC51) |
9 |
|
10 |
Revision Changes Path |
11 |
1.487 app-crypt/gnupg/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.487&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.487&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/ChangeLog?r1=1.486&r2=1.487 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v |
20 |
retrieving revision 1.486 |
21 |
retrieving revision 1.487 |
22 |
diff -u -r1.486 -r1.487 |
23 |
--- ChangeLog 19 Aug 2013 16:59:42 -0000 1.486 |
24 |
+++ ChangeLog 3 Oct 2013 19:20:06 -0000 1.487 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-crypt/gnupg |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.486 2013/08/19 16:59:42 radhermit Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.487 2013/10/03 19:20:06 alonbl Exp $ |
30 |
+ |
31 |
+*gnupg-2.0.21-r1 (03 Oct 2013) |
32 |
+ |
33 |
+ 03 Oct 2013; Alon Bar-Lev <alonbl@g.o> +gnupg-2.0.21-r1.ebuild: |
34 |
+ Cleanup ebuild, add epatch_user, resolves bug#486882 |
35 |
|
36 |
19 Aug 2013; Tim Harder <radhermit@g.o> -gnupg-1.4.13.ebuild, |
37 |
-gnupg-1.4.13-r1.ebuild, -gnupg-2.0.19.ebuild, -gnupg-2.0.19-r1.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-crypt/gnupg/gnupg-2.0.21-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/gnupg-2.0.21-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/gnupg-2.0.21-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: gnupg-2.0.21-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.21-r1.ebuild,v 1.1 2013/10/03 19:20:06 alonbl Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
|
54 |
inherit eutils flag-o-matic toolchain-funcs |
55 |
|
56 |
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement" |
57 |
HOMEPAGE="http://www.gnupg.org/" |
58 |
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2" |
59 |
# SRC_URI="ftp://ftp.gnupg.org/gcrypt/${PN}/${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 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
64 |
IUSE="adns bzip2 doc ldap nls mta readline static selinux smartcard usb" |
65 |
|
66 |
COMMON_DEPEND_LIBS=" |
67 |
>=dev-libs/libassuan-2 |
68 |
>=dev-libs/libgcrypt-1.4 |
69 |
>=dev-libs/libgpg-error-1.11 |
70 |
>=dev-libs/libksba-1.0.7 |
71 |
>=dev-libs/pth-1.3.7 |
72 |
>=net-misc/curl-7.10 |
73 |
sys-libs/zlib |
74 |
adns? ( >=net-libs/adns-1.4 ) |
75 |
bzip2? ( app-arch/bzip2 ) |
76 |
readline? ( sys-libs/readline ) |
77 |
smartcard? ( usb? ( virtual/libusb:0 ) ) |
78 |
ldap? ( net-nds/openldap )" |
79 |
COMMON_DEPEND_BINS="|| ( app-crypt/pinentry app-crypt/pinentry-qt )" |
80 |
|
81 |
# Existence of executables is checked during configuration. |
82 |
DEPEND="${COMMON_DEPEND_LIBS} |
83 |
${COMMON_DEPEND_BINS} |
84 |
static? ( |
85 |
>=dev-libs/libassuan-2[static-libs] |
86 |
>=dev-libs/libgcrypt-1.4[static-libs] |
87 |
>=dev-libs/libgpg-error-1.7[static-libs] |
88 |
>=dev-libs/libksba-1.0.7[static-libs] |
89 |
>=dev-libs/pth-1.3.7[static-libs] |
90 |
>=net-misc/curl-7.10[static-libs] |
91 |
sys-libs/zlib[static-libs] |
92 |
bzip2? ( app-arch/bzip2[static-libs] ) |
93 |
) |
94 |
nls? ( sys-devel/gettext ) |
95 |
doc? ( sys-apps/texinfo )" |
96 |
|
97 |
RDEPEND="!static? ( ${COMMON_DEPEND_LIBS} ) |
98 |
${COMMON_DEPEND_BINS} |
99 |
mta? ( virtual/mta ) |
100 |
!<=app-crypt/gnupg-2.0.1 |
101 |
selinux? ( sec-policy/selinux-gpg ) |
102 |
nls? ( virtual/libintl )" |
103 |
|
104 |
REQUIRED_USE="smartcard? ( !static )" |
105 |
|
106 |
src_prepare() { |
107 |
epatch "${FILESDIR}/${PN}-2.0.17-gpgsm-gencert.patch" |
108 |
epatch_user |
109 |
} |
110 |
|
111 |
src_configure() { |
112 |
local myconf=() |
113 |
|
114 |
# 'USE=static' support was requested: |
115 |
# gnupg1: bug #29299 |
116 |
# gnupg2: bug #159623 |
117 |
use static && append-ldflags -static |
118 |
|
119 |
if use smartcard; then |
120 |
myconf+=( |
121 |
--enable-scdaemon |
122 |
$(use_enable usb ccid-driver) |
123 |
) |
124 |
else |
125 |
myconf+=( --disable-scdaemon ) |
126 |
fi |
127 |
|
128 |
econf \ |
129 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
130 |
--enable-gpg \ |
131 |
--enable-gpgsm \ |
132 |
--enable-agent \ |
133 |
"${myconf[@]}" \ |
134 |
$(use_with adns) \ |
135 |
$(use_enable bzip2) \ |
136 |
$(use_enable !elibc_SunOS symcryptrun) \ |
137 |
$(use_enable nls) \ |
138 |
$(use_enable mta mailto) \ |
139 |
$(use_enable ldap) \ |
140 |
$(use_with readline) \ |
141 |
CC_FOR_BUILD="$(tc-getBUILD_CC)" |
142 |
} |
143 |
|
144 |
src_compile() { |
145 |
default |
146 |
|
147 |
if use doc; then |
148 |
cd doc |
149 |
emake html |
150 |
fi |
151 |
} |
152 |
|
153 |
src_install() { |
154 |
default |
155 |
|
156 |
emake DESTDIR="${D}" -f doc/Makefile uninstall-nobase_dist_docDATA |
157 |
rm "${ED}"/usr/share/gnupg/help* || die |
158 |
|
159 |
dodoc ChangeLog NEWS README THANKS TODO VERSION doc/FAQ doc/DETAILS \ |
160 |
doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER doc/help* |
161 |
|
162 |
dosym gpg2 /usr/bin/gpg |
163 |
dosym gpgv2 /usr/bin/gpgv |
164 |
dosym gpg2keys_hkp /usr/libexec/gpgkeys_hkp |
165 |
dosym gpg2keys_finger /usr/libexec/gpgkeys_finger |
166 |
dosym gpg2keys_curl /usr/libexec/gpgkeys_curl |
167 |
if use ldap; then |
168 |
dosym gpg2keys_ldap /usr/libexec/gpgkeys_ldap |
169 |
fi |
170 |
echo ".so man1/gpg2.1" > "${ED}"/usr/share/man/man1/gpg.1 |
171 |
echo ".so man1/gpgv2.1" > "${ED}"/usr/share/man/man1/gpgv.1 |
172 |
|
173 |
dodir /etc/env.d |
174 |
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg |
175 |
|
176 |
if use doc; then |
177 |
dohtml doc/gnupg.html/* doc/*.png |
178 |
fi |
179 |
} |
180 |
|
181 |
pkg_postinst() { |
182 |
elog "If you wish to view images emerge:" |
183 |
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer" |
184 |
elog "Remember to use photo-viewer option in configuration file to activate" |
185 |
elog "the right viewer." |
186 |
elog |
187 |
|
188 |
if use smartcard; then |
189 |
elog "To use your OpenPGP smartcard (or token) with GnuPG you need one of" |
190 |
use usb && elog " - a CCID-compatible reader, used directly through libusb;" |
191 |
elog " - sys-apps/pcsc-lite and a compatible reader device;" |
192 |
elog " - dev-libs/openct and a compatible reader device;" |
193 |
elog " - a reader device and drivers exporting either PC/SC or CT-API interfaces." |
194 |
elog "" |
195 |
elog "General hint: you probably want to try installing sys-apps/pcsc-lite and" |
196 |
elog "app-crypt/ccid first." |
197 |
fi |
198 |
|
199 |
ewarn "Please remember to restart gpg-agent if a different version" |
200 |
ewarn "of the agent is currently used. If you are unsure of the gpg" |
201 |
ewarn "agent you are using please run 'killall gpg-agent'," |
202 |
ewarn "and to start a fresh daemon just run 'gpg-agent --daemon'." |
203 |
} |