1 |
mgorny 14/02/28 19:59:59 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: libgcrypt-1.5.3-r100.ebuild |
5 |
libgcrypt-1.6.1-r1.ebuild |
6 |
Log: |
7 |
Introduce multilib support and a binary compatibility slot. |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
10 |
|
11 |
Revision Changes Path |
12 |
1.6 dev-libs/libgcrypt/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/metadata.xml?rev=1.6&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/metadata.xml?rev=1.6&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/metadata.xml?r1=1.5&r2=1.6 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/metadata.xml,v |
21 |
retrieving revision 1.5 |
22 |
retrieving revision 1.6 |
23 |
diff -u -r1.5 -r1.6 |
24 |
--- metadata.xml 15 Jul 2010 22:25:23 -0000 1.5 |
25 |
+++ metadata.xml 28 Feb 2014 19:59:59 -0000 1.6 |
26 |
@@ -1,5 +1,10 @@ |
27 |
<?xml version="1.0" encoding="UTF-8"?> |
28 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
29 |
<pkgmetadata> |
30 |
- <herd>crypto</herd> |
31 |
+ <herd restrict="dev-libs/libgcrypt:0">crypto</herd> |
32 |
+ <maintainer restrict="dev-libs/libgcrypt:11"> |
33 |
+ <email>multilib@g.o</email> |
34 |
+ <name>gx86-multilib project</name> |
35 |
+ <description>Maintaining the binary compatibility slot.</description> |
36 |
+ </maintainer> |
37 |
</pkgmetadata> |
38 |
|
39 |
|
40 |
|
41 |
1.203 dev-libs/libgcrypt/ChangeLog |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.203&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/ChangeLog?rev=1.203&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/ChangeLog?r1=1.202&r2=1.203 |
46 |
|
47 |
Index: ChangeLog |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v |
50 |
retrieving revision 1.202 |
51 |
retrieving revision 1.203 |
52 |
diff -u -r1.202 -r1.203 |
53 |
--- ChangeLog 4 Feb 2014 02:43:46 -0000 1.202 |
54 |
+++ ChangeLog 28 Feb 2014 19:59:59 -0000 1.203 |
55 |
@@ -1,6 +1,13 @@ |
56 |
# ChangeLog for dev-libs/libgcrypt |
57 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.202 2014/02/04 02:43:46 radhermit Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.203 2014/02/28 19:59:59 mgorny Exp $ |
60 |
+ |
61 |
+*libgcrypt-1.5.3-r100 (28 Feb 2014) |
62 |
+*libgcrypt-1.6.1-r1 (28 Feb 2014) |
63 |
+ |
64 |
+ 28 Feb 2014; Michał Górny <mgorny@g.o> +libgcrypt-1.5.3-r100.ebuild, |
65 |
+ +libgcrypt-1.6.1-r1.ebuild, metadata.xml: |
66 |
+ Introduce multilib support and a binary compatibility slot. |
67 |
|
68 |
04 Feb 2014; Tim Harder <radhermit@g.o> -libgcrypt-1.4.6.ebuild, |
69 |
-libgcrypt-1.4.6-r1.ebuild, -libgcrypt-1.5.0.ebuild, |
70 |
|
71 |
|
72 |
|
73 |
1.1 dev-libs/libgcrypt/libgcrypt-1.5.3-r100.ebuild |
74 |
|
75 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.3-r100.ebuild?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.3-r100.ebuild?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: libgcrypt-1.5.3-r100.ebuild |
79 |
=================================================================== |
80 |
# Copyright 1999-2014 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.3-r100.ebuild,v 1.1 2014/02/28 19:59:59 mgorny Exp $ |
83 |
|
84 |
EAPI=5 |
85 |
AUTOTOOLS_AUTORECONF=1 |
86 |
|
87 |
inherit autotools-multilib |
88 |
|
89 |
DESCRIPTION="General purpose crypto library based on the code used in GnuPG" |
90 |
HOMEPAGE="http://www.gnupg.org/" |
91 |
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2 |
92 |
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2" |
93 |
|
94 |
LICENSE="LGPL-2.1 MIT" |
95 |
SLOT="11/11" # subslot = soname major version |
96 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
97 |
IUSE="static-libs" |
98 |
|
99 |
RDEPEND=">=dev-libs/libgpg-error-1.8 |
100 |
!dev-libs/libgcrypt:0/11 |
101 |
abi_x86_32? ( |
102 |
!<=app-emulation/emul-linux-x86-baselibs-20131008-r19 |
103 |
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32] |
104 |
)" |
105 |
DEPEND="${RDEPEND}" |
106 |
|
107 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
108 |
|
109 |
PATCHES=( |
110 |
"${FILESDIR}"/${PN}-1.5.0-uscore.patch |
111 |
"${FILESDIR}"/${PN}-multilib-syspath.patch |
112 |
) |
113 |
|
114 |
src_configure() { |
115 |
local myeconfargs=( |
116 |
--disable-padlock-support # bug 201917 |
117 |
--disable-dependency-tracking |
118 |
--enable-noexecstack |
119 |
--disable-O-flag-munging |
120 |
$(use_enable static-libs static) |
121 |
|
122 |
# disabled due to various applications requiring privileges |
123 |
# after libgcrypt drops them (bug #468616) |
124 |
--without-capabilities |
125 |
|
126 |
# http://trac.videolan.org/vlc/ticket/620 |
127 |
# causes bus-errors on sparc64-solaris |
128 |
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") |
129 |
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm") |
130 |
) |
131 |
autotools-multilib_src_configure |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
autotools-multilib_src_install |
136 |
|
137 |
rm -r "${ED%/}"/usr/{bin,include,lib*/*.so,share} || die |
138 |
} |
139 |
|
140 |
|
141 |
|
142 |
1.1 dev-libs/libgcrypt/libgcrypt-1.6.1-r1.ebuild |
143 |
|
144 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.1-r1.ebuild?rev=1.1&view=markup |
145 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.1-r1.ebuild?rev=1.1&content-type=text/plain |
146 |
|
147 |
Index: libgcrypt-1.6.1-r1.ebuild |
148 |
=================================================================== |
149 |
# Copyright 1999-2014 Gentoo Foundation |
150 |
# Distributed under the terms of the GNU General Public License v2 |
151 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.1-r1.ebuild,v 1.1 2014/02/28 19:59:59 mgorny Exp $ |
152 |
|
153 |
EAPI=5 |
154 |
AUTOTOOLS_AUTORECONF=1 |
155 |
|
156 |
inherit autotools-multilib flag-o-matic |
157 |
|
158 |
DESCRIPTION="General purpose crypto library based on the code used in GnuPG" |
159 |
HOMEPAGE="http://www.gnupg.org/" |
160 |
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2 |
161 |
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2" |
162 |
|
163 |
LICENSE="LGPL-2.1 MIT" |
164 |
SLOT="0/20" # subslot = soname major version |
165 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
166 |
IUSE="static-libs" |
167 |
|
168 |
RDEPEND=">=dev-libs/libgpg-error-1.11 |
169 |
abi_x86_32? ( |
170 |
!<=app-emulation/emul-linux-x86-baselibs-20131008-r19 |
171 |
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32] |
172 |
)" |
173 |
DEPEND="${RDEPEND}" |
174 |
|
175 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
176 |
|
177 |
PATCHES=( |
178 |
"${FILESDIR}"/${P}-uscore.patch |
179 |
"${FILESDIR}"/${PN}-multilib-syspath.patch |
180 |
"${FILESDIR}"/${PN}-1.6.0-serial-tests.patch |
181 |
) |
182 |
|
183 |
MULTILIB_CHOST_TOOLS=( |
184 |
/usr/bin/libgcrypt-config |
185 |
) |
186 |
|
187 |
multilib_src_configure() { |
188 |
if [[ ${CHOST} == *-solaris* ]] ; then |
189 |
# ASM code uses GNU ELF syntax, divide in particular, we need to |
190 |
# allow this via ASFLAGS, since we don't have a flag-o-matic |
191 |
# function for that, we'll have to abuse cflags for this |
192 |
append-cflags -Wa,--divide |
193 |
fi |
194 |
local myeconfargs=( |
195 |
--disable-padlock-support # bug 201917 |
196 |
--disable-dependency-tracking |
197 |
--enable-noexecstack |
198 |
--disable-O-flag-munging |
199 |
$(use_enable static-libs static) |
200 |
|
201 |
# disabled due to various applications requiring privileges |
202 |
# after libgcrypt drops them (bug #468616) |
203 |
--without-capabilities |
204 |
|
205 |
# http://trac.videolan.org/vlc/ticket/620 |
206 |
# causes bus-errors on sparc64-solaris |
207 |
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") |
208 |
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm") |
209 |
) |
210 |
autotools-utils_src_configure |
211 |
} |