1 |
dragonheart 08/11/06 08:10:02 |
2 |
|
3 |
Modified: libgcrypt-1.4.0-r1.ebuild ChangeLog |
4 |
Added: libgcrypt-1.4.3-r1.ebuild |
5 |
Removed: libgcrypt-1.4.3.ebuild |
6 |
Log: |
7 |
hash calculation fix as per upstream http://marc.info/?l=gcrypt-devel&m=122591162816263&w=2 |
8 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.11 dev-libs/libgcrypt/libgcrypt-1.4.0-r1.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.0-r1.ebuild?rev=1.11&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.0-r1.ebuild?rev=1.11&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.0-r1.ebuild?r1=1.10&r2=1.11 |
16 |
|
17 |
Index: libgcrypt-1.4.0-r1.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.0-r1.ebuild,v |
20 |
retrieving revision 1.10 |
21 |
retrieving revision 1.11 |
22 |
diff -u -r1.10 -r1.11 |
23 |
--- libgcrypt-1.4.0-r1.ebuild 31 Jan 2008 15:00:42 -0000 1.10 |
24 |
+++ libgcrypt-1.4.0-r1.ebuild 6 Nov 2008 08:10:02 -0000 1.11 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2008 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.0-r1.ebuild,v 1.10 2008/01/31 15:00:42 alonbl Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.0-r1.ebuild,v 1.11 2008/11/06 08:10:02 dragonheart Exp $ |
30 |
|
31 |
inherit eutils autotools |
32 |
|
33 |
@@ -22,6 +22,8 @@ |
34 |
src_unpack() { |
35 |
unpack ${A} |
36 |
cd "${S}" |
37 |
+ # http://marc.info/?l=gcrypt-devel&m=122591162816263&w=2 |
38 |
+ epatch "${FILESDIR}"/${P}-HMAC-SHA-384-512.patch |
39 |
|
40 |
if use idea; then |
41 |
if use bindist; then |
42 |
|
43 |
|
44 |
|
45 |
1.116 dev-libs/libgcrypt/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.116&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.116&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/ChangeLog?r1=1.115&r2=1.116 |
50 |
|
51 |
Index: ChangeLog |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v |
54 |
retrieving revision 1.115 |
55 |
retrieving revision 1.116 |
56 |
diff -u -r1.115 -r1.116 |
57 |
--- ChangeLog 3 Nov 2008 17:07:51 -0000 1.115 |
58 |
+++ ChangeLog 6 Nov 2008 08:10:02 -0000 1.116 |
59 |
@@ -1,6 +1,15 @@ |
60 |
# ChangeLog for dev-libs/libgcrypt |
61 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.115 2008/11/03 17:07:51 dragonheart Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.116 2008/11/06 08:10:02 dragonheart Exp $ |
64 |
+ |
65 |
+*libgcrypt-1.4.3-r1 (06 Nov 2008) |
66 |
+ |
67 |
+ 06 Nov 2008; Daniel Black <dragonheart@g.o> |
68 |
+ +files/libgcrypt-1.4.0-HMAC-SHA-384-512.patch, |
69 |
+ +files/libgcrypt-1.4.3-HMAC-SHA-384-512.patch, libgcrypt-1.4.0-r1.ebuild, |
70 |
+ -libgcrypt-1.4.3.ebuild, +libgcrypt-1.4.3-r1.ebuild: |
71 |
+ hash calculation fix as per upstream |
72 |
+ http://marc.info/?l=gcrypt-devel&m=122591162816263&w=2 |
73 |
|
74 |
*libgcrypt-1.4.3 (03 Nov 2008) |
75 |
|
76 |
|
77 |
|
78 |
|
79 |
1.1 dev-libs/libgcrypt/libgcrypt-1.4.3-r1.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.3-r1.ebuild?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.3-r1.ebuild?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: libgcrypt-1.4.3-r1.ebuild |
85 |
=================================================================== |
86 |
# Copyright 1999-2008 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.3-r1.ebuild,v 1.1 2008/11/06 08:10:02 dragonheart Exp $ |
89 |
|
90 |
inherit autotools eutils |
91 |
|
92 |
DESCRIPTION="general purpose crypto library based on the code used in GnuPG" |
93 |
HOMEPAGE="http://www.gnupg.org/" |
94 |
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2 |
95 |
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2 |
96 |
!bindist? ( idea? ( mirror://gentoo/${PN}-1.4.0-idea.diff.bz2 ) )" |
97 |
|
98 |
LICENSE="LGPL-2.1" |
99 |
SLOT="0" |
100 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
101 |
IUSE="bindist idea" |
102 |
|
103 |
RDEPEND=">=dev-libs/libgpg-error-1.5" |
104 |
DEPEND="${RDEPEND}" |
105 |
|
106 |
src_unpack() { |
107 |
unpack ${A} |
108 |
cd "${S}" |
109 |
# http://marc.info/?l=gcrypt-devel&m=122591162816263&w=2 |
110 |
epatch "${FILESDIR}"/${P}-HMAC-SHA-384-512.patch |
111 |
|
112 |
if use idea; then |
113 |
if use bindist; then |
114 |
elog "Skipping IDEA support to comply with binary distribution (bug #148907)." |
115 |
else |
116 |
ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html" |
117 |
epatch "${WORKDIR}/${PN}-1.4.0-idea.diff" |
118 |
AT_M4DIR="m4" eautoreconf |
119 |
fi |
120 |
fi |
121 |
} |
122 |
|
123 |
src_compile() { |
124 |
# --disable-padlock-support for bug #201917 |
125 |
econf \ |
126 |
--disable-padlock-support \ |
127 |
--disable-dependency-tracking \ |
128 |
--with-pic \ |
129 |
--enable-noexecstack |
130 |
emake || die "emake failed" |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
emake DESTDIR="${D}" install || die "emake install failed" |
135 |
dodoc AUTHORS ChangeLog NEWS README* THANKS TODO |
136 |
} |
137 |
|
138 |
pkg_postinst() { |
139 |
if use !bindist && use idea; then |
140 |
ewarn "-----------------------------------------------------------------------------------" |
141 |
ewarn "IDEA" |
142 |
ewarn "you have compiled ${PN} with support for the IDEA algorithm, this code" |
143 |
ewarn "is distributed under the GPL in countries where it is permitted to do so" |
144 |
ewarn "by law." |
145 |
ewarn |
146 |
ewarn "Please read http://www.gnupg.org/(en)/faq/why-not-idea.html for more information." |
147 |
ewarn |
148 |
ewarn "If you are in a country where the IDEA algorithm is patented, you are permitted" |
149 |
ewarn "to use it at no cost for 'non revenue generating data transfer between private" |
150 |
ewarn "individuals'." |
151 |
ewarn |
152 |
ewarn "Countries where the patent applies are listed here" |
153 |
ewarn "http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm#Security" |
154 |
ewarn "-----------------------------------------------------------------------------------" |
155 |
fi |
156 |
} |