1 |
alonbl 13/01/01 16:19:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnupg-1.4.13.ebuild |
5 |
Log: |
6 |
Version bump, per bug#449546, remove idea USE and handling as it is provided by package, minor cleanups |
7 |
|
8 |
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.439 app-crypt/gnupg/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.439&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.439&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/ChangeLog?r1=1.438&r2=1.439 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v |
20 |
retrieving revision 1.438 |
21 |
retrieving revision 1.439 |
22 |
diff -u -r1.438 -r1.439 |
23 |
--- ChangeLog 8 Sep 2012 01:58:50 -0000 1.438 |
24 |
+++ ChangeLog 1 Jan 2013 16:19:30 -0000 1.439 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-crypt/gnupg |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.438 2012/09/08 01:58:50 radhermit Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.439 2013/01/01 16:19:30 alonbl Exp $ |
31 |
+ |
32 |
+*gnupg-1.4.13 (01 Jan 2013) |
33 |
+ |
34 |
+ 01 Jan 2013; Alon Bar-Lev <alonbl@g.o> +gnupg-1.4.13.ebuild: |
35 |
+ Version bump, per bug#449546, remove idea USE and handling as it is provided |
36 |
+ by package, minor cleanups |
37 |
|
38 |
08 Sep 2012; Tim Harder <radhermit@g.o> metadata.xml: |
39 |
Remove redundant maintainer from metadata. |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-crypt/gnupg/gnupg-1.4.13.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/gnupg-1.4.13.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/gnupg/gnupg-1.4.13.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gnupg-1.4.13.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 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.13.ebuild,v 1.1 2013/01/01 16:19:30 alonbl Exp $ |
53 |
|
54 |
EAPI="4" |
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 |
# ecc? ( http://www.calcurco.cat/eccGnuPG/src/${ECC_PATCH}.bz2 ) |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" |
71 |
IUSE="bzip2 curl ldap nls readline selinux smartcard static usb zlib linguas_ru" |
72 |
#IUSE="bzip2 bindist curl ecc ldap nls readline selinux smartcard static usb zlib linguas_ru" |
73 |
|
74 |
COMMON_DEPEND=" |
75 |
ldap? ( net-nds/openldap ) |
76 |
bzip2? ( app-arch/bzip2 ) |
77 |
zlib? ( sys-libs/zlib ) |
78 |
curl? ( net-misc/curl ) |
79 |
virtual/mta |
80 |
readline? ( sys-libs/readline ) |
81 |
smartcard? ( =virtual/libusb-0* ) |
82 |
usb? ( =virtual/libusb-0* )" |
83 |
|
84 |
RDEPEND="!static? ( ${COMMON_DEPEND} ) |
85 |
selinux? ( sec-policy/selinux-gpg ) |
86 |
nls? ( virtual/libintl )" |
87 |
|
88 |
DEPEND="${COMMON_DEPEND} |
89 |
dev-lang/perl |
90 |
nls? ( sys-devel/gettext )" |
91 |
|
92 |
S="${WORKDIR}/${MY_P}" |
93 |
|
94 |
src_prepare() { |
95 |
# if use ecc; then |
96 |
# if use bindist; then |
97 |
# einfo "Skipping ECC patch to comply with binary distribution (bug #148907)." |
98 |
# else |
99 |
# sed -i \ |
100 |
# "s/- VERSION='${ECCVER_GNUPG}'/- VERSION='${PV}'/" \ |
101 |
# "${WORKDIR}/${ECC_PATCH}" |
102 |
# sed -i \ |
103 |
# "s/+ VERSION='${ECCVER_GNUPG}-ecc${ECCVER}'/+ VERSION='${PV}-ecc${ECCVER}'/" \ |
104 |
# "${WORKDIR}/${ECC_PATCH}" |
105 |
# |
106 |
# epatch "${WORKDIR}/${ECC_PATCH}" |
107 |
# fi |
108 |
# fi |
109 |
|
110 |
# Install RU man page in right location |
111 |
sed -e "/^man_MANS =/s/ gpg\.ru\.1//" -i doc/Makefile.in || die "sed doc/Makefile.in failed" |
112 |
|
113 |
# Fix PIC definitions |
114 |
sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c \ |
115 |
|| die "sed PIC failed" |
116 |
sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S || \ |
117 |
die "sed PIC failed" |
118 |
} |
119 |
|
120 |
src_configure() { |
121 |
# Certain sparc32 machines seem to have trouble building correctly with |
122 |
# -mcpu enabled. While this is not a gnupg problem, it is a temporary |
123 |
# fix until the gcc problem can be tracked down. |
124 |
if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then |
125 |
filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7 |
126 |
fi |
127 |
|
128 |
# 'USE=static' support was requested in #29299 |
129 |
use static && append-ldflags -static |
130 |
|
131 |
econf \ |
132 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
133 |
$(use_enable ldap) \ |
134 |
--enable-mailto \ |
135 |
--enable-hkp \ |
136 |
--enable-finger \ |
137 |
$(use_with !zlib included-zlib) \ |
138 |
$(use_with curl libcurl /usr) \ |
139 |
$(use_enable nls) \ |
140 |
$(use_enable bzip2) \ |
141 |
$(use_enable smartcard card-support) \ |
142 |
$(use_enable selinux selinux-support) \ |
143 |
--without-capabilities \ |
144 |
$(use_with readline) \ |
145 |
$(use_with usb libusb /usr) \ |
146 |
--enable-static-rnd=linux \ |
147 |
--libexecdir="${EPREFIX}/usr/libexec" \ |
148 |
--enable-noexecstack \ |
149 |
CC_FOR_BUILD=$(tc-getBUILD_CC) \ |
150 |
${myconf} |
151 |
} |
152 |
|
153 |
src_install() { |
154 |
emake DESTDIR="${D}" install |
155 |
|
156 |
# keep the documentation in /usr/share/doc/... |
157 |
rm -rf "${ED}usr/share/gnupg/FAQ" "${ED}usr/share/gnupg/faq.html" || die |
158 |
|
159 |
dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \ |
160 |
TODO VERSION doc/{FAQ,HACKING,DETAILS,OpenPGP} |
161 |
|
162 |
exeinto /usr/libexec/gnupg |
163 |
doexe tools/make-dns-cert |
164 |
|
165 |
# install RU documentation in right location |
166 |
if use linguas_ru; then |
167 |
cp doc/gpg.ru.1 "${T}/gpg.1" || die |
168 |
doman -i18n=ru "${T}/gpg.1" |
169 |
fi |
170 |
} |
171 |
|
172 |
pkg_postinst() { |
173 |
ewarn "If you are using a non-Linux system, or a kernel older than 2.6.9," |
174 |
ewarn "you MUST make the gpg binary setuid." |
175 |
echo |
176 |
# if use !bindist && use ecc; then |
177 |
# ewarn |
178 |
# ewarn "The elliptical curves patch is experimental" |
179 |
# ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html" |
180 |
# fi |
181 |
elog |
182 |
elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg" |
183 |
elog |
184 |
elog "If you wish to view images emerge:" |
185 |
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer" |
186 |
elog "Remember to use photo-viewer option in configuration file to activate the right viewer" |
187 |
} |