1 |
commit: 98e32c25f969eb621e10f5703b41f6085d21cc0c |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 28 17:54:07 2018 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 28 17:54:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=98e32c25 |
7 |
|
8 |
dev-libs/libgcrypt: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.52.2-prefix, Repoman-2.3.12 |
11 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libgcrypt/Manifest | 2 - |
14 |
dev-libs/libgcrypt/libgcrypt-1.8.1.ebuild | 82 -------------------------- |
15 |
dev-libs/libgcrypt/libgcrypt-1.8.2-r2.ebuild | 86 ---------------------------- |
16 |
3 files changed, 170 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/libgcrypt/Manifest b/dev-libs/libgcrypt/Manifest |
19 |
index de5ea41b06..1b337719f4 100644 |
20 |
--- a/dev-libs/libgcrypt/Manifest |
21 |
+++ b/dev-libs/libgcrypt/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST libgcrypt-1.8.1.tar.bz2 2967344 BLAKE2B f259d08427f76238576e3897a821d457b6ff47c99716301b54b20a21ae7574a7ef1f4aa62947c443efb8274d5cb3d64dc1d9c4ea45568f6df6f29c2c1717860b SHA512 27c9d2fd9cba5afca71d421c9299d6942463975fae0bd10d4ff42cda2d7ea213e6b73c071a40fcf23ff52a93394cc7505ab332f8a4a3321826460e471eda5b4e |
24 |
-DIST libgcrypt-1.8.2.tar.bz2 2966534 BLAKE2B 1a0768dc1c4fc64913256575ec9ebe77fe8c4297c648972c93865271f0a18e60954d2f37c264bad5f1941b5e80753f34349ded9626e5c26ab469cc076da9ac2e SHA512 1e8c414f95bf6b50e778102ca7c1b3b1f30d8320826d9fff747a0a098ef85499cdc3e6de736853b9cd4e5dadda35c7c0a291e13643dcac5eaef44f2ddc7a6c09 |
25 |
DIST libgcrypt-1.8.4.tar.bz2 2990108 BLAKE2B 97a1f9382adf23cd4ac491a392882f2e712fddd4f0d95a4fafb9cc70aa41ffa7b7b6a371b8368e9c99e3e1849b9d38078abc55703d4d8b25289f3c662e6ba8a1 SHA512 b831fc337eb14806897e224b0d1e78d1f8e9db91dffa818a015a4aa104144e2d971e5a855904907ee2bb9990a9d526de32d6787e1cae98e28a65c3258b2b1ea1 |
26 |
|
27 |
diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.1.ebuild |
28 |
deleted file mode 100644 |
29 |
index 00233a5c4d..0000000000 |
30 |
--- a/dev-libs/libgcrypt/libgcrypt-1.8.1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,82 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
- |
38 |
-inherit autotools flag-o-matic ltprune multilib-minimal |
39 |
- |
40 |
-DESCRIPTION="General purpose crypto library based on the code used in GnuPG" |
41 |
-HOMEPAGE="http://www.gnupg.org/" |
42 |
-SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" |
43 |
- |
44 |
-LICENSE="LGPL-2.1 MIT" |
45 |
-SLOT="0/20" # subslot = soname major version |
46 |
-KEYWORDS="~ppc-aix ~x64-cygwin ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
47 |
-IUSE="doc static-libs" |
48 |
- |
49 |
-RDEPEND=">=dev-libs/libgpg-error-1.25[${MULTILIB_USEDEP}] |
50 |
- abi_x86_32? ( |
51 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r19 |
52 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32] |
53 |
- )" |
54 |
-DEPEND="${RDEPEND} |
55 |
- doc? ( virtual/texi2dvi )" |
56 |
- |
57 |
-DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
58 |
- |
59 |
-PATCHES=( |
60 |
- "${FILESDIR}"/${PN}-1.6.1-uscore.patch |
61 |
- "${FILESDIR}"/${PN}-multilib-syspath.patch |
62 |
-) |
63 |
- |
64 |
-MULTILIB_CHOST_TOOLS=( |
65 |
- /usr/bin/libgcrypt-config |
66 |
-) |
67 |
- |
68 |
-src_prepare() { |
69 |
- # missing attribute(sysv_abi) for Cygwin? |
70 |
- [[ ${CHOST} == *-cygwin* ]] && rm -f mpi/*/*.S |
71 |
- default |
72 |
- # always use -no-undefined even if upstream is not convinced yet |
73 |
- sed -i -e 's/^no_undefined\s*=\s*$/& -no-undefined/' src/Makefile.am || die |
74 |
- eautoreconf |
75 |
-} |
76 |
- |
77 |
-multilib_src_configure() { |
78 |
- if [[ ${CHOST} == *86*-solaris* ]] ; then |
79 |
- # ASM code uses GNU ELF syntax, divide in particular, we need to |
80 |
- # allow this via ASFLAGS, since we don't have a flag-o-matic |
81 |
- # function for that, we'll have to abuse cflags for this |
82 |
- append-cflags -Wa,--divide |
83 |
- fi |
84 |
- local myeconfargs=( |
85 |
- --disable-dependency-tracking |
86 |
- --enable-noexecstack |
87 |
- --disable-O-flag-munging |
88 |
- $(use_enable static-libs static) |
89 |
- |
90 |
- # disabled due to various applications requiring privileges |
91 |
- # after libgcrypt drops them (bug #468616) |
92 |
- --without-capabilities |
93 |
- |
94 |
- $([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm") |
95 |
- # no cygwin patch yet |
96 |
- $([[ ${CHOST} == *-cygwin* ]] && echo gcry_cv_gcc_win64_platform_as_ok=no) |
97 |
- ) |
98 |
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
99 |
-} |
100 |
- |
101 |
-multilib_src_compile() { |
102 |
- default |
103 |
- multilib_is_native_abi && use doc && VARTEXFONTS="${T}/fonts" emake -C doc gcrypt.pdf |
104 |
-} |
105 |
- |
106 |
-multilib_src_install() { |
107 |
- emake DESTDIR="${D}" install |
108 |
- multilib_is_native_abi && use doc && dodoc doc/gcrypt.pdf |
109 |
-} |
110 |
- |
111 |
-multilib_src_install_all() { |
112 |
- default |
113 |
- prune_libtool_files |
114 |
-} |
115 |
|
116 |
diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.2-r2.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.2-r2.ebuild |
117 |
deleted file mode 100644 |
118 |
index a4fd7956f7..0000000000 |
119 |
--- a/dev-libs/libgcrypt/libgcrypt-1.8.2-r2.ebuild |
120 |
+++ /dev/null |
121 |
@@ -1,86 +0,0 @@ |
122 |
-# Copyright 1999-2018 Gentoo Foundation |
123 |
-# Distributed under the terms of the GNU General Public License v2 |
124 |
- |
125 |
-EAPI=6 |
126 |
- |
127 |
-inherit autotools flag-o-matic ltprune multilib-minimal toolchain-funcs |
128 |
- |
129 |
-DESCRIPTION="General purpose crypto library based on the code used in GnuPG" |
130 |
-HOMEPAGE="http://www.gnupg.org/" |
131 |
-SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" |
132 |
- |
133 |
-LICENSE="LGPL-2.1 MIT" |
134 |
-SLOT="0/20" # subslot = soname major version |
135 |
-KEYWORDS="~ppc-aix ~x64-cygwin ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
136 |
-IUSE="doc o-flag-munging static-libs" |
137 |
- |
138 |
-RDEPEND=">=dev-libs/libgpg-error-1.25[${MULTILIB_USEDEP}] |
139 |
- abi_x86_32? ( |
140 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r19 |
141 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32] |
142 |
- )" |
143 |
-DEPEND="${RDEPEND} |
144 |
- doc? ( virtual/texi2dvi )" |
145 |
- |
146 |
-PATCHES=( |
147 |
- "${FILESDIR}"/${PN}-1.6.1-uscore.patch |
148 |
- "${FILESDIR}"/${PN}-multilib-syspath.patch |
149 |
-) |
150 |
- |
151 |
-MULTILIB_CHOST_TOOLS=( |
152 |
- /usr/bin/libgcrypt-config |
153 |
-) |
154 |
- |
155 |
-src_prepare() { |
156 |
- # missing attribute(sysv_abi) for Cygwin? |
157 |
- [[ ${CHOST} == *-cygwin* ]] && rm -f mpi/*/*.S |
158 |
- default |
159 |
- # always use -no-undefined even if upstream is not convinced yet |
160 |
- sed -i -e 's/^no_undefined\s*=\s*$/& -no-undefined/' src/Makefile.am || die |
161 |
- eautoreconf |
162 |
-} |
163 |
- |
164 |
-multilib_src_configure() { |
165 |
- if [[ ${CHOST} == *86*-solaris* ]] ; then |
166 |
- # ASM code uses GNU ELF syntax, divide in particular, we need to |
167 |
- # allow this via ASFLAGS, since we don't have a flag-o-matic |
168 |
- # function for that, we'll have to abuse cflags for this |
169 |
- append-cflags -Wa,--divide |
170 |
- fi |
171 |
- local myeconfargs=( |
172 |
- --disable-dependency-tracking |
173 |
- --enable-noexecstack |
174 |
- $(use_enable o-flag-munging) |
175 |
- $(use_enable static-libs static) |
176 |
- |
177 |
- # disabled due to various applications requiring privileges |
178 |
- # after libgcrypt drops them (bug #468616) |
179 |
- --without-capabilities |
180 |
- |
181 |
- # http://trac.videolan.org/vlc/ticket/620 |
182 |
- # causes bus-errors on sparc64-solaris |
183 |
- $([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") |
184 |
- $([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm") |
185 |
- # no cygwin patch yet |
186 |
- $([[ ${CHOST} == *-cygwin* ]] && \ |
187 |
- echo "gcry_cv_gcc_win64_platform_as_ok=no") |
188 |
- |
189 |
- GPG_ERROR_CONFIG="${EPREFIX}/usr/bin/${CHOST}-gpg-error-config" |
190 |
- ) |
191 |
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
192 |
-} |
193 |
- |
194 |
-multilib_src_compile() { |
195 |
- default |
196 |
- multilib_is_native_abi && use doc && VARTEXFONTS="${T}/fonts" emake -C doc gcrypt.pdf |
197 |
-} |
198 |
- |
199 |
-multilib_src_install() { |
200 |
- emake DESTDIR="${D}" install |
201 |
- multilib_is_native_abi && use doc && dodoc doc/gcrypt.pdf |
202 |
-} |
203 |
- |
204 |
-multilib_src_install_all() { |
205 |
- default |
206 |
- prune_libtool_files |
207 |
-} |