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.0.ebuild
Date: Mon, 10 Dec 2007 21:12:52
Message-Id: E1J1pvi-0001BJ-Ri@stork.gentoo.org
1 alonbl 07/12/10 21:12:46
2
3 Modified: ChangeLog
4 Added: libgcrypt-1.4.0.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4_rc9)
8
9 Revision Changes Path
10 1.99 dev-libs/libgcrypt/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.99&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.99&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/ChangeLog?r1=1.98&r2=1.99
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v
19 retrieving revision 1.98
20 retrieving revision 1.99
21 diff -u -r1.98 -r1.99
22 --- ChangeLog 10 Nov 2007 18:36:07 -0000 1.98
23 +++ ChangeLog 10 Dec 2007 21:12:46 -0000 1.99
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/libgcrypt
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.98 2007/11/10 18:36:07 alonbl Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.99 2007/12/10 21:12:46 alonbl Exp $
29 +
30 +*libgcrypt-1.4.0 (10 Dec 2007)
31 +
32 + 10 Dec 2007; Alon Bar-Lev <alonbl@g.o> +libgcrypt-1.4.0.ebuild:
33 + Version bump
34
35 10 Nov 2007; Alon Bar-Lev <alonbl@g.o> -libgcrypt-1.1.12.ebuild,
36 -libgcrypt-1.1.94.ebuild, -libgcrypt-1.2.0.ebuild,
37
38
39
40 1.1 dev-libs/libgcrypt/libgcrypt-1.4.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: libgcrypt-1.4.0.ebuild
46 ===================================================================
47 # Copyright 1999-2007 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.0.ebuild,v 1.1 2007/12/10 21:12:46 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/${P}-idea.diff.bz2 ) )"
57
58 LICENSE="LGPL-2.1"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~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.0"
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}/${P}-idea.diff"
78 AT_M4DIR="m4" eautoreconf
79 fi
80 fi
81 }
82
83 src_compile() {
84 econf \
85 --disable-dependency-tracking \
86 --with-pic \
87 --enable-noexecstack \
88 $(use_enable nls) \
89 || die
90 emake || die
91 }
92
93 src_install() {
94 make DESTDIR="${D}" install || die
95 dodoc AUTHORS BUGS ChangeLog NEWS README* THANKS TODO VERSION
96 }
97
98 pkg_postinst() {
99 if use !bindist && use idea; then
100 ewarn "-----------------------------------------------------------------------------------"
101 ewarn "IDEA"
102 ewarn "you have compiled ${PN} with support for the IDEA algorithm, this code"
103 ewarn "is distributed under the GPL in countries where it is permitted to do so"
104 ewarn "by law."
105 ewarn
106 ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html for more information."
107 ewarn
108 ewarn "If you are in a country where the IDEA algorithm is patented, you are permitted"
109 ewarn "to use it at no cost for 'non revenue generating data transfer between private"
110 ewarn "individuals'."
111 ewarn
112 ewarn "Countries where the patent applies are listed here"
113 ewarn "http://www.mediacrypt.com/_contents/10_idea/101030_ea_pi.asp"
114 ewarn
115 ewarn "Further information and other licenses are availble from http://www.mediacrypt.com/"
116 ewarn "-----------------------------------------------------------------------------------"
117 fi
118 }
119
120
121
122 --
123 gentoo-commits@g.o mailing list