1 |
alonbl 14/06/30 18:57:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnupg-1.4.18.ebuild |
5 |
Removed: gnupg-1.4.17.ebuild |
6 |
Log: |
7 |
Version bump, bug#514718 |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key BF20DC51) |
10 |
|
11 |
Revision Changes Path |
12 |
1.521 app-crypt/gnupg/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.521&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.521&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/ChangeLog?r1=1.520&r2=1.521 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v |
21 |
retrieving revision 1.520 |
22 |
retrieving revision 1.521 |
23 |
diff -u -r1.520 -r1.521 |
24 |
--- ChangeLog 30 Jun 2014 18:25:56 -0000 1.520 |
25 |
+++ ChangeLog 30 Jun 2014 18:57:10 -0000 1.521 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for app-crypt/gnupg |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.520 2014/06/30 18:25:56 alonbl Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.521 2014/06/30 18:57:10 alonbl Exp $ |
31 |
+ |
32 |
+*gnupg-1.4.18 (30 Jun 2014) |
33 |
+ |
34 |
+ 30 Jun 2014; Alon Bar-Lev <alonbl@g.o> +gnupg-1.4.18.ebuild, |
35 |
+ -gnupg-1.4.17.ebuild: |
36 |
+ Version bump, bug#514718 |
37 |
|
38 |
*gnupg-2.0.25 (30 Jun 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 app-crypt/gnupg/gnupg-1.4.18.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/gnupg-1.4.18.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/gnupg-1.4.18.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gnupg-1.4.18.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.18.ebuild,v 1.1 2014/06/30 18:57:10 alonbl Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
|
56 |
inherit eutils flag-o-matic toolchain-funcs |
57 |
|
58 |
ECCVER="0.2.0" |
59 |
ECCVER_GNUPG="1.4.9" |
60 |
ECC_PATCH="${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff" |
61 |
MY_P=${P/_/} |
62 |
|
63 |
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement" |
64 |
HOMEPAGE="http://www.gnupg.org/" |
65 |
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" |
70 |
IUSE="bzip2 curl ldap mta nls readline selinux smartcard static usb zlib linguas_ru" |
71 |
|
72 |
COMMON_DEPEND=" |
73 |
ldap? ( net-nds/openldap ) |
74 |
bzip2? ( app-arch/bzip2 ) |
75 |
zlib? ( sys-libs/zlib ) |
76 |
curl? ( net-misc/curl ) |
77 |
mta? ( virtual/mta ) |
78 |
readline? ( sys-libs/readline ) |
79 |
smartcard? ( =virtual/libusb-0* ) |
80 |
usb? ( =virtual/libusb-0* )" |
81 |
|
82 |
RDEPEND="!static? ( ${COMMON_DEPEND} ) |
83 |
selinux? ( sec-policy/selinux-gpg ) |
84 |
nls? ( virtual/libintl )" |
85 |
|
86 |
DEPEND="${COMMON_DEPEND} |
87 |
dev-lang/perl |
88 |
nls? ( sys-devel/gettext )" |
89 |
|
90 |
S="${WORKDIR}/${MY_P}" |
91 |
|
92 |
src_prepare() { |
93 |
# Install RU man page in right location |
94 |
sed -e "/^man_MANS =/s/ gpg\.ru\.1//" -i doc/Makefile.in || die "sed doc/Makefile.in failed" |
95 |
|
96 |
# bug#469388 |
97 |
sed -i -e 's/--batch --dearmor/--homedir . --batch --dearmor/' checks/Makefile.in |
98 |
|
99 |
# Fix PIC definitions |
100 |
sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c \ |
101 |
|| die "sed PIC failed" |
102 |
sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S || \ |
103 |
die "sed PIC failed" |
104 |
} |
105 |
|
106 |
src_configure() { |
107 |
# Certain sparc32 machines seem to have trouble building correctly with |
108 |
# -mcpu enabled. While this is not a gnupg problem, it is a temporary |
109 |
# fix until the gcc problem can be tracked down. |
110 |
if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then |
111 |
filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7 |
112 |
fi |
113 |
|
114 |
# 'USE=static' support was requested in #29299 |
115 |
use static && append-ldflags -static |
116 |
|
117 |
econf \ |
118 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
119 |
$(use_enable ldap) \ |
120 |
$(use_enable mta mailto) \ |
121 |
--enable-hkp \ |
122 |
--enable-finger \ |
123 |
$(use_with !zlib included-zlib) \ |
124 |
$(use_with curl libcurl /usr) \ |
125 |
$(use_enable nls) \ |
126 |
$(use_enable bzip2) \ |
127 |
$(use_enable smartcard card-support) \ |
128 |
$(use_enable selinux selinux-support) \ |
129 |
--without-capabilities \ |
130 |
$(use_with readline) \ |
131 |
$(use_with usb libusb /usr) \ |
132 |
--enable-static-rnd=linux \ |
133 |
--libexecdir="${EPREFIX}/usr/libexec" \ |
134 |
--enable-noexecstack \ |
135 |
CC_FOR_BUILD=$(tc-getBUILD_CC) \ |
136 |
${myconf} |
137 |
} |
138 |
|
139 |
src_install() { |
140 |
default |
141 |
|
142 |
# keep the documentation in /usr/share/doc/... |
143 |
rm -rf "${ED}usr/share/gnupg/FAQ" "${ED}usr/share/gnupg/faq.html" || die |
144 |
|
145 |
dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \ |
146 |
TODO VERSION doc/{FAQ,HACKING,DETAILS,OpenPGP} |
147 |
|
148 |
exeinto /usr/libexec/gnupg |
149 |
doexe tools/make-dns-cert |
150 |
|
151 |
# install RU documentation in right location |
152 |
if use linguas_ru; then |
153 |
cp doc/gpg.ru.1 "${T}/gpg.1" || die |
154 |
doman -i18n=ru "${T}/gpg.1" |
155 |
fi |
156 |
} |
157 |
|
158 |
pkg_postinst() { |
159 |
ewarn "If you are using a non-Linux system, or a kernel older than 2.6.9," |
160 |
ewarn "you MUST make the gpg binary setuid." |
161 |
echo |
162 |
# if use !bindist && use ecc; then |
163 |
# ewarn |
164 |
# ewarn "The elliptical curves patch is experimental" |
165 |
# ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html" |
166 |
# fi |
167 |
elog |
168 |
elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg" |
169 |
elog |
170 |
elog "If you wish to view images emerge:" |
171 |
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer" |
172 |
elog "Remember to use photo-viewer option in configuration file to activate the right viewer" |
173 |
} |