Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/gnupg: gnupg-2.0.13.ebuild ChangeLog
Date: Fri, 04 Sep 2009 12:51:20
Message-Id: E1Mjd4e-000090-RW@stork.gentoo.org
1 arfrever 09/09/04 17:59:48
2
3 Modified: ChangeLog
4 Added: gnupg-2.0.13.ebuild
5 Log:
6 Version bump.
7 (Portage version: 14182-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.350 app-crypt/gnupg/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.350&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/ChangeLog?rev=1.350&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/ChangeLog?r1=1.349&r2=1.350
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v
19 retrieving revision 1.349
20 retrieving revision 1.350
21 diff -u -r1.349 -r1.350
22 --- ChangeLog 3 Sep 2009 20:23:42 -0000 1.349
23 +++ ChangeLog 4 Sep 2009 17:59:48 -0000 1.350
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.349 2009/09/03 20:23:42 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.350 2009/09/04 17:59:48 arfrever Exp $
29 +
30 +*gnupg-2.0.13 (04 Sep 2009)
31 +
32 + 04 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +gnupg-2.0.13.ebuild:
34 + Version bump.
35
36 *gnupg-1.4.10 (03 Sep 2009)
37
38
39
40
41 1.1 app-crypt/gnupg/gnupg-2.0.13.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/gnupg-2.0.13.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/gnupg/gnupg-2.0.13.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gnupg-2.0.13.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-2.0.13.ebuild,v 1.1 2009/09/04 17:59:48 arfrever Exp $
51
52 EAPI="2"
53
54 inherit 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 ~x86-fbsd"
64 IUSE="adns bzip2 caps doc ldap nls openct pcsc-lite static selinux smartcard"
65
66 COMMON_DEPEND_LIBS="
67 >=dev-libs/pth-1.3.7
68 >=dev-libs/libgcrypt-1.4
69 >=dev-libs/libksba-1.0.2
70 >=dev-libs/libgpg-error-1.7
71 >=net-misc/curl-7.10
72 adns? ( >=net-libs/adns-1.4 )
73 bzip2? ( app-arch/bzip2 )
74 pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )
75 openct? ( >=dev-libs/openct-0.5.0 )
76 smartcard? ( =virtual/libusb-0* )
77 ldap? ( net-nds/openldap )"
78 COMMON_DEPEND_BINS="app-crypt/pinentry"
79
80 # existence of bins are checked during configure
81 DEPEND="${COMMON_DEPEND_LIBS}
82 ${COMMON_DEPEND_BINS}
83 >=dev-libs/libassuan-1.0.4
84 nls? ( sys-devel/gettext )
85 doc? ( sys-apps/texinfo )"
86
87 RDEPEND="!static? ( ${COMMON_DEPEND_LIBS} )
88 ${COMMON_DEPEND_BINS}
89 virtual/mta
90 !app-crypt/gpg-agent
91 !<=app-crypt/gnupg-2.0.1
92 selinux? ( sec-policy/selinux-gnupg )
93 nls? ( virtual/libintl )"
94
95 src_configure() {
96 # 'USE=static' support was requested:
97 # gnupg1: bug #29299
98 # gnupg2: bug #159623
99 use static && append-ldflags -static
100
101 econf \
102 --docdir="/usr/share/doc/${PF}" \
103 --enable-symcryptrun \
104 --enable-gpg \
105 --enable-gpgsm \
106 --enable-agent \
107 $(use_with adns) \
108 $(use_enable bzip2) \
109 $(use_enable smartcard scdaemon) \
110 $(use_enable nls) \
111 $(use_enable ldap) \
112 $(use_with caps capabilities) \
113 CC_FOR_BUILD=$(tc-getBUILD_CC)
114 }
115
116 src_compile() {
117 emake || die "emake failed"
118 if use doc; then
119 cd doc
120 emake html || die "emake html failed"
121 fi
122 }
123
124 src_install() {
125 emake DESTDIR="${D}" install || die "emake install failed"
126 dodoc ChangeLog NEWS README THANKS TODO VERSION
127
128 mv "${D}/usr/share/gnupg"/help* "${D}/usr/share/doc/${PF}"
129 ecompressdir "/usr/share/doc/${P}"
130
131 dosym gpg2 /usr/bin/gpg
132 dosym gpgv2 /usr/bin/gpgv
133 dosym gpg2keys_hkp /usr/libexec/gpgkeys_hkp
134 dosym gpg2keys_finger /usr/libexec/gpgkeys_finger
135 dosym gpg2keys_curl /usr/libexec/gpgkeys_curl
136 use ldap && dosym gpg2keys_ldap /usr/libexec/gpgkeys_ldap
137 echo ".so man1/gpg2.1" > "${D}/usr/share/man/man1/gpg.1"
138 echo ".so man1/gpgv2.1" > "${D}/usr/share/man/man1/gpgv.1"
139
140 use doc && dohtml doc/gnupg.html/* doc/*jpg doc/*png
141 }
142
143 pkg_postinst() {
144 elog "If you wish to view images emerge:"
145 elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
146 elog "Remember to use photo-viewer option in configuration file to activate"
147 elog "the right viewer"
148 }