Gentoo Archives: gentoo-commits

From: "Alon Bar-Lev (alonbl)" <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libgcrypt: ChangeLog libgcrypt-1.4.1.ebuild
Date: Fri, 25 Apr 2008 17:06:06
Message-Id: E1JpRN5-0002QJ-J4@stork.gentoo.org
1 alonbl 08/04/25 17:06:03
2
3 Modified: ChangeLog
4 Added: libgcrypt-1.4.1.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.113 dev-libs/libgcrypt/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.113&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.113&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/ChangeLog?r1=1.112&r2=1.113
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v
19 retrieving revision 1.112
20 retrieving revision 1.113
21 diff -u -r1.112 -r1.113
22 --- ChangeLog 13 Feb 2008 10:56:01 -0000 1.112
23 +++ ChangeLog 25 Apr 2008 17:06:03 -0000 1.113
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/libgcrypt
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.112 2008/02/13 10:56:01 alonbl Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.113 2008/04/25 17:06:03 alonbl Exp $
29 +
30 +*libgcrypt-1.4.1 (25 Apr 2008)
31 +
32 + 25 Apr 2008; Alon Bar-Lev <alonbl@g.o> +libgcrypt-1.4.1.ebuild:
33 + Version bump
34
35 13 Feb 2008; Alon Bar-Lev <alonbl@g.o> -libgcrypt-1.2.2-r1.ebuild:
36 Cleanup
37
38
39
40 1.1 dev-libs/libgcrypt/libgcrypt-1.4.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: libgcrypt-1.4.1.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.1.ebuild,v 1.1 2008/04/25 17:06:03 alonbl Exp $
50
51 inherit eutils autotools
52
53 DESCRIPTION="general purpose crypto library based on the code used in GnuPG"
54 HOMEPAGE="http://www.gnupg.org/"
55 SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
56 !bindist? ( idea? ( mirror://gentoo/${PN}-1.4.0-idea.diff.bz2 ) )"
57
58 LICENSE="LGPL-2.1"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
61 IUSE="nls bindist idea"
62
63 RDEPEND="nls? ( virtual/libintl )
64 >=dev-libs/libgpg-error-1.5"
65 DEPEND="${RDEPEND}
66 nls? ( sys-devel/gettext )"
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71
72 if use idea; then
73 if use bindist; then
74 elog "Skipping IDEA support to comply with binary distribution (bug #148907)."
75 else
76 ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html"
77 epatch "${WORKDIR}/${PN}-1.4.0-idea.diff"
78 AT_M4DIR="m4" eautoreconf
79 fi
80 fi
81 }
82
83 src_compile() {
84 # --disable-padlock-support for bug#201917
85 econf \
86 --disable-padlock-support \
87 --disable-dependency-tracking \
88 --with-pic \
89 --enable-noexecstack \
90 $(use_enable nls) \
91 || die
92 emake || die
93 }
94
95 src_install() {
96 make DESTDIR="${D}" install || die
97 dodoc AUTHORS BUGS ChangeLog NEWS README* THANKS TODO VERSION
98 }
99
100 pkg_postinst() {
101 if use !bindist && use idea; then
102 ewarn "-----------------------------------------------------------------------------------"
103 ewarn "IDEA"
104 ewarn "you have compiled ${PN} with support for the IDEA algorithm, this code"
105 ewarn "is distributed under the GPL in countries where it is permitted to do so"
106 ewarn "by law."
107 ewarn
108 ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html for more information."
109 ewarn
110 ewarn "If you are in a country where the IDEA algorithm is patented, you are permitted"
111 ewarn "to use it at no cost for 'non revenue generating data transfer between private"
112 ewarn "individuals'."
113 ewarn
114 ewarn "Countries where the patent applies are listed here"
115 ewarn "http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm#Security"
116 ewarn "-----------------------------------------------------------------------------------"
117 fi
118 }
119
120
121
122 --
123 gentoo-commits@l.g.o mailing list