1 |
commit: b8acb8683963d55c329c4a96edcb89f52d122819 |
2 |
Author: Stefan Strogin <steils <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 2 01:40:03 2020 +0000 |
4 |
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 2 01:40:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=b8acb868 |
7 |
|
8 |
net-libs/serf: drop package fixed in gentoo.git |
9 |
|
10 |
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org> |
11 |
|
12 |
net-libs/serf/Manifest | 1 - |
13 |
net-libs/serf/files/serf-1.3.8-openssl.patch | 28 ---------- |
14 |
net-libs/serf/files/serf-1.3.8-static-lib.patch | 49 ----------------- |
15 |
net-libs/serf/files/serf-1.3.9-libressl.patch | 11 ---- |
16 |
net-libs/serf/metadata.xml | 11 ---- |
17 |
net-libs/serf/serf-1.3.9.ebuild | 72 ------------------------- |
18 |
6 files changed, 172 deletions(-) |
19 |
|
20 |
diff --git a/net-libs/serf/Manifest b/net-libs/serf/Manifest |
21 |
deleted file mode 100644 |
22 |
index 28e866e..0000000 |
23 |
--- a/net-libs/serf/Manifest |
24 |
+++ /dev/null |
25 |
@@ -1 +0,0 @@ |
26 |
-DIST serf-1.3.9.tar.bz2 145132 BLAKE2B 59776f85b409b2eaea81f3e07b0301515e20cbd2aa0ef05c1c38aa8152a6d5627e526e4bc160abb1fd438e9fa46f97096c639860729d2ea8e0b2fcfcf8222002 SHA512 9f5418d991840a08d293d1ecba70cd9534a207696d002f22dbe62354e7b005955112a0d144a76c89c7f7ad3b4c882e54974441fafa0c09c4aa25c49c021ca75d |
27 |
|
28 |
diff --git a/net-libs/serf/files/serf-1.3.8-openssl.patch b/net-libs/serf/files/serf-1.3.8-openssl.patch |
29 |
deleted file mode 100644 |
30 |
index 4cc3719..0000000 |
31 |
--- a/net-libs/serf/files/serf-1.3.8-openssl.patch |
32 |
+++ /dev/null |
33 |
@@ -1,28 +0,0 @@ |
34 |
-the build doesn't actually use the openssl var for anything useful. |
35 |
-it blindly adds it to the -I/-L paths which causes problems when you |
36 |
-cross-compile and when you link (it also adds it to -rpath). punt |
37 |
-the setting and forget about it. |
38 |
- |
39 |
---- a/SConstruct |
40 |
-+++ b/SConstruct |
41 |
-@@ -354,8 +354,6 @@ else: |
42 |
- apr_libs = '' |
43 |
- apu_libs = '' |
44 |
- |
45 |
-- env.Append(CPPPATH=['$OPENSSL/include']) |
46 |
-- env.Append(LIBPATH=['$OPENSSL/lib']) |
47 |
- |
48 |
- |
49 |
- # If build with gssapi, get its information and define SERF_HAVE_GSSAPI |
50 |
-@@ -369,8 +369,9 @@ if sys.platform == 'win32': |
51 |
- # On some systems, the -R values that APR describes never make it into actual |
52 |
- # RPATH flags. We'll manually map all directories in LIBPATH into new |
53 |
- # flags to set RPATH values. |
54 |
--for d in env['LIBPATH']: |
55 |
-- env.Append(RPATH=':'+d) |
56 |
-+if env.get('LIBPATH', None): |
57 |
-+ for d in env['LIBPATH']: |
58 |
-+ env.Append(RPATH=':'+d) |
59 |
- |
60 |
- # Set up the construction of serf-*.pc |
61 |
- pkgconfig = env.Textfile('serf-%d.pc' % (MAJOR,), |
62 |
|
63 |
diff --git a/net-libs/serf/files/serf-1.3.8-static-lib.patch b/net-libs/serf/files/serf-1.3.8-static-lib.patch |
64 |
deleted file mode 100644 |
65 |
index 1538328..0000000 |
66 |
--- a/net-libs/serf/files/serf-1.3.8-static-lib.patch |
67 |
+++ /dev/null |
68 |
@@ -1,49 +0,0 @@ |
69 |
-respect the active archiver tool instead of using `ar` all the time. |
70 |
-same for `ranlib`. |
71 |
- |
72 |
-also add support for BUILD_STATIC bool for controlling the libserf.a. |
73 |
- |
74 |
---- a/SConstruct |
75 |
-+++ b/SConstruct |
76 |
-@@ -103,6 +103,9 @@ |
77 |
- BoolVariable('APR_STATIC', |
78 |
- "Enable using a static compiled APR", |
79 |
- False), |
80 |
-+ RawListVariable('AR', "Command name or path of the archiver", None), |
81 |
-+ RawListVariable('RANLIB', "Command name or path of the archiver indexer", None), |
82 |
-+ BoolVariable('BUILD_STATIC', 'Build libserf static library', True), |
83 |
- RawListVariable('CC', "Command name or path of the C compiler", None), |
84 |
- RawListVariable('CFLAGS', "Extra flags for the C compiler (space-separated)", |
85 |
- None), |
86 |
-@@ -193,6 +196,7 @@ if gssapi and os.path.isdir(gssapi): |
87 |
- |
88 |
- debug = env.get('DEBUG', None) |
89 |
- aprstatic = env.get('APR_STATIC', None) |
90 |
-+build_static = env.get('BUILD_STATIC', True) |
91 |
- |
92 |
- Help(opts.GenerateHelpText(env)) |
93 |
- opts.Save(SAVED_CONFIG, env) |
94 |
-@@ -384,7 +388,9 @@ pkgconfig = env.Textfile('serf-%d.pc' % (MAJOR,), |
95 |
- env.get('GSSAPI_LIBS', '')), |
96 |
- }) |
97 |
- |
98 |
--env.Default(lib_static, lib_shared, pkgconfig) |
99 |
-+env.Default(lib_shared, pkgconfig) |
100 |
-+if build_static: |
101 |
-+ env.Default(lib_static) |
102 |
- |
103 |
- if CALLOUT_OKAY: |
104 |
- conf = Configure(env) |
105 |
-@@ -420,8 +420,10 @@ if sys.platform == 'darwin': |
106 |
- % (target_install_shared_path, |
107 |
- install_shared_path))) |
108 |
- |
109 |
--env.Alias('install-lib', [install_static, install_shared, |
110 |
-- ]) |
111 |
-+install_libs = [install_shared] |
112 |
-+if build_static: |
113 |
-+ install_libs.append(install_static) |
114 |
-+env.Alias('install-lib', install_libs) |
115 |
- env.Alias('install-inc', env.Install(incdir, HEADER_FILES)) |
116 |
- env.Alias('install-pc', env.Install(os.path.join(libdir, 'pkgconfig'), |
117 |
- pkgconfig)) |
118 |
|
119 |
diff --git a/net-libs/serf/files/serf-1.3.9-libressl.patch b/net-libs/serf/files/serf-1.3.9-libressl.patch |
120 |
deleted file mode 100644 |
121 |
index 7a89cea..0000000 |
122 |
--- a/net-libs/serf/files/serf-1.3.9-libressl.patch |
123 |
+++ /dev/null |
124 |
@@ -1,11 +0,0 @@ |
125 |
---- ./buckets/ssl_buckets.c.orig |
126 |
-+++ ./buckets/ssl_buckets.c |
127 |
-@@ -52,7 +52,7 @@ |
128 |
- #define APR_ARRAY_PUSH(ary,type) (*((type *)apr_array_push(ary))) |
129 |
- #endif |
130 |
- |
131 |
--#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000L |
132 |
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) |
133 |
- #define USE_OPENSSL_1_1_API |
134 |
- #endif |
135 |
- |
136 |
|
137 |
diff --git a/net-libs/serf/metadata.xml b/net-libs/serf/metadata.xml |
138 |
deleted file mode 100644 |
139 |
index 9e50e18..0000000 |
140 |
--- a/net-libs/serf/metadata.xml |
141 |
+++ /dev/null |
142 |
@@ -1,11 +0,0 @@ |
143 |
-<?xml version="1.0" encoding="UTF-8"?> |
144 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
145 |
-<pkgmetadata> |
146 |
- <maintainer type="person"> |
147 |
- <email>arfrever.fta@×××××.com</email> |
148 |
- </maintainer> |
149 |
- <maintainer type="project"> |
150 |
- <email>proxy-maint@g.o</email> |
151 |
- <name>Proxy Maintainers</name> |
152 |
- </maintainer> |
153 |
-</pkgmetadata> |
154 |
|
155 |
diff --git a/net-libs/serf/serf-1.3.9.ebuild b/net-libs/serf/serf-1.3.9.ebuild |
156 |
deleted file mode 100644 |
157 |
index c78437d..0000000 |
158 |
--- a/net-libs/serf/serf-1.3.9.ebuild |
159 |
+++ /dev/null |
160 |
@@ -1,72 +0,0 @@ |
161 |
-# Copyright 2008-2018 Arfrever Frehtes Taifersar Arahesis and others |
162 |
-# Distributed under the terms of the GNU General Public License v2 |
163 |
- |
164 |
-EAPI="5" |
165 |
- |
166 |
-inherit eutils scons-utils toolchain-funcs flag-o-matic |
167 |
- |
168 |
-DESCRIPTION="HTTP client library" |
169 |
-HOMEPAGE="https://serf.apache.org/" |
170 |
-SRC_URI="mirror://apache/${PN}/${P}.tar.bz2" |
171 |
- |
172 |
-LICENSE="Apache-2.0" |
173 |
-SLOT="1" |
174 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
175 |
-IUSE="kerberos static-libs libressl" |
176 |
-RESTRICT="test" |
177 |
- |
178 |
-RDEPEND="dev-libs/apr:1= |
179 |
- dev-libs/apr-util:1= |
180 |
- !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) |
181 |
- sys-libs/zlib:0= |
182 |
- kerberos? ( virtual/krb5 )" |
183 |
-DEPEND="${RDEPEND} |
184 |
- >=dev-util/scons-2.3.0" |
185 |
- |
186 |
-src_prepare() { |
187 |
- epatch "${FILESDIR}/${PN}-1.3.8-static-lib.patch" |
188 |
- epatch "${FILESDIR}/${PN}-1.3.8-openssl.patch" |
189 |
- |
190 |
- if use libressl; then |
191 |
- epatch "${FILESDIR}/${PN}-1.3.9-libressl.patch" |
192 |
- fi |
193 |
- |
194 |
- # https://code.google.com/p/serf/issues/detail?id=133 |
195 |
- sed -e "/env.Append(CCFLAGS=\['-O2'\])/d" -i SConstruct |
196 |
- |
197 |
- # need limits.h for PATH_MAX (only when EXTENSIONS is enabled) |
198 |
- [[ ${CHOST} == *-solaris* ]] && append-cppflags -D__EXTENSIONS__ |
199 |
-} |
200 |
- |
201 |
-src_compile() { |
202 |
- myesconsargs=( |
203 |
- PREFIX="${EPREFIX}/usr" |
204 |
- LIBDIR="${EPREFIX}/usr/$(get_libdir)" |
205 |
- # These config scripts are sent through a shell with an empty env |
206 |
- # which breaks the SYSROOT usage in them. Set the vars inline to |
207 |
- # avoid that. |
208 |
- APR="SYSROOT='${SYSROOT}' ${SYSROOT}${EPREFIX}/usr/bin/apr-1-config" |
209 |
- APU="SYSROOT='${SYSROOT}' ${SYSROOT}${EPREFIX}/usr/bin/apu-1-config" |
210 |
- BUILD_STATIC=$(usex static-libs) |
211 |
- AR="$(tc-getAR)" |
212 |
- RANLIB="$(tc-getRANLIB)" |
213 |
- CC="$(tc-getCC)" |
214 |
- CPPFLAGS="${CPPFLAGS}" |
215 |
- CFLAGS="${CFLAGS}" |
216 |
- LINKFLAGS="${LDFLAGS}" |
217 |
- ) |
218 |
- |
219 |
- if use kerberos; then |
220 |
- myesconsargs+=( GSSAPI="${SYSROOT}${EPREFIX}/usr/bin/krb5-config" ) |
221 |
- fi |
222 |
- |
223 |
- escons |
224 |
-} |
225 |
- |
226 |
-src_test() { |
227 |
- escons check |
228 |
-} |
229 |
- |
230 |
-src_install() { |
231 |
- escons install --install-sandbox="${D}" |
232 |
-} |