1 |
commit: 6a25a3b04cc6a80443c19d86724da1e4cac858db |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 6 14:45:26 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 6 14:45:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a25a3b0 |
7 |
|
8 |
net-misc/memcached: cleanup |
9 |
|
10 |
Bug: https://bugs.gentoo.org/685866 |
11 |
Package-Manager: Portage-2.3.66, Repoman-2.3.14 |
12 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
13 |
|
14 |
net-misc/memcached/Manifest | 6 -- |
15 |
net-misc/memcached/memcached-1.4.39.ebuild | 93 ----------------------------- |
16 |
net-misc/memcached/memcached-1.5.10.ebuild | 95 ------------------------------ |
17 |
net-misc/memcached/memcached-1.5.11.ebuild | 95 ------------------------------ |
18 |
net-misc/memcached/memcached-1.5.12.ebuild | 95 ------------------------------ |
19 |
net-misc/memcached/memcached-1.5.13.ebuild | 95 ------------------------------ |
20 |
net-misc/memcached/memcached-1.5.2.ebuild | 94 ----------------------------- |
21 |
7 files changed, 573 deletions(-) |
22 |
|
23 |
diff --git a/net-misc/memcached/Manifest b/net-misc/memcached/Manifest |
24 |
index f2b0fb61ee4..4d5089de04a 100644 |
25 |
--- a/net-misc/memcached/Manifest |
26 |
+++ b/net-misc/memcached/Manifest |
27 |
@@ -1,8 +1,2 @@ |
28 |
-DIST memcached-1.4.39.tar.gz 403751 BLAKE2B fc6082eb9b6dc5ee41c42ded9bcde03ebfe87d1c8ed9acbc6e61cb8889604c6c2715e49556473a1b9215974150b0ccb03d5dbb7210108c87d8e67f19eaccbd87 SHA512 055d39d9d681adebb9a6a255bce5d550b61df0a1981f0105f8ffcc936e2053bca60360d755b65d79af836ba1ca71d4c739c67e20a2e0e7110ada183a7b0b63d6 |
29 |
-DIST memcached-1.5.10.tar.gz 465169 BLAKE2B cfdd4cba4baf3c628b6cb655bbc91fc493b7183c2b403516cd68f7d7deff3ce2f9ba6bce2c92d9b1f0863d2da593f7f51def50afd7827996c109641efa71eaf1 SHA512 5b6217ab90492cb4b3f6597c935a4028697f1d071516d647a70f6ba9353db16184ef229935733e669d4120d34d72f6f2415edcfd3ec899e06eab9d3f494f11f1 |
30 |
-DIST memcached-1.5.11.tar.gz 457692 BLAKE2B 248e1b1e6aa54db06d18086add51964b8fc6b9966875de35fcdc322631e276becbc9bd694e1c7ea04822ccabd5796422f1f505bc046a08b3b69b76bf9fef1b42 SHA512 1d641383a9d5c6a1f074a1f30493d50fb3384f29d07078dc827fcb1f9e70f6c07f12a3c6c2a128905ffddf2c414998afbbe3456d8cd4fe43e43606bf9933d822 |
31 |
-DIST memcached-1.5.12.tar.gz 457719 BLAKE2B 6ad223cc62b3514f42eb91851cb906aa6c22f1bed65aed8b9bd5f11d8201bd1e946ddf980e26f4a2a8380f1da03ad7a4e9ad68f2c830bbfa948fe117b2689c3c SHA512 95927fcc06e83e46a050dd50c85e50faf41e6d1f6901b757f7a842b7727a596054082a512a3b830729171556e8a995f037d39d991df2198a80a4e61a6efa1fd8 |
32 |
-DIST memcached-1.5.13.tar.gz 483697 BLAKE2B fb4f58cbeb518941a92dc213ce2d30dda501bc84c61ae5fa520c1a3a5cfd58ed92128ea098430d57b2a3db69f0d8e8a77dd38ea7edf4440b3f6c484d3b3fb966 SHA512 77ea80135f572ff49d030ea1da01b31aa6513589e75c370ef306a986a79129358062730dfebe6801487eeb20b1367aed4096514e882ef35425c764434493fa7b |
33 |
DIST memcached-1.5.14.tar.gz 485076 BLAKE2B 729b4b708e921184bfedadbb02b0304eb09dcebbbd1420605deb608dcd7dea25a8982ca0f387f237a1a6412b4682372018c593396ef9bff5aa0fa901c0fdafd6 SHA512 d06083d971d0a40195b4dfb252a3bf7c3a0d20b2dcad56726ff9e0b87ba84024309300516dad40181f1b7af4d9c4f35924383977c5e1ff9b5f13d2ef05f684ed |
34 |
DIST memcached-1.5.16.tar.gz 487868 BLAKE2B b9889866b8adbbbf23785f0da35f6f6b3cd5c842c6167beab3dd5385d6ed53e4607a2ffc18cd815005f2a1d67a3a549c780411b93d34335c541f4999d793b8a0 SHA512 999872c4c68e0210feab76f74c9487fbfb652cf3e6b7fa347f882767aad41ea6d8ba3ee056494409c054d673fc209032d8a890605810b2c6c9048d26d50751a0 |
35 |
-DIST memcached-1.5.2.tar.gz 407715 BLAKE2B d9d6bc3fde4ca47954dbcec520af73a823ff33cd21149cf4a8fd234c383382b83a089196fd168f178aaaa7f764ac4b0b72a4bf8f50867bdc377e95a622f399a1 SHA512 439e1dbf3b15fd014446abb5fd130eb914a72b7372f65a00388da83f30486e8658de75b87626b0c512397457aca9b60057fcedb83d84c628b53137d2a2167c0d |
36 |
|
37 |
diff --git a/net-misc/memcached/memcached-1.4.39.ebuild b/net-misc/memcached/memcached-1.4.39.ebuild |
38 |
deleted file mode 100644 |
39 |
index a9ce2f91be3..00000000000 |
40 |
--- a/net-misc/memcached/memcached-1.4.39.ebuild |
41 |
+++ /dev/null |
42 |
@@ -1,93 +0,0 @@ |
43 |
-# Copyright 1999-2018 Gentoo Foundation |
44 |
-# Distributed under the terms of the GNU General Public License v2 |
45 |
- |
46 |
-EAPI=5 |
47 |
-inherit autotools eutils flag-o-matic systemd user |
48 |
- |
49 |
-MY_PV="${PV/_rc/-rc}" |
50 |
-MY_P="${PN}-${MY_PV}" |
51 |
- |
52 |
-DESCRIPTION="High-performance, distributed memory object caching system" |
53 |
-HOMEPAGE="http://memcached.org/" |
54 |
-SRC_URI="https://www.memcached.org/files/${MY_P}.tar.gz |
55 |
- https://www.memcached.org/files/old/${MY_P}.tar.gz" |
56 |
- |
57 |
-LICENSE="BSD" |
58 |
-SLOT="0" |
59 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
60 |
-IUSE="test slabs-reassign debug sasl selinux" # hugetlbfs later |
61 |
- |
62 |
-RDEPEND=">=dev-libs/libevent-1.4:= |
63 |
- dev-lang/perl |
64 |
- sasl? ( dev-libs/cyrus-sasl ) |
65 |
- selinux? ( sec-policy/selinux-memcached )" |
66 |
-DEPEND="${RDEPEND} |
67 |
- test? ( virtual/perl-Test-Harness >=dev-perl/Cache-Memcached-1.24 )" |
68 |
- |
69 |
-S="${WORKDIR}/${MY_P}" |
70 |
- |
71 |
-src_prepare() { |
72 |
- epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch" |
73 |
- epatch "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch" |
74 |
- epatch "${FILESDIR}/${PN}-1.4.4-as-needed.patch" |
75 |
- epatch "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch" |
76 |
- sed -i -e 's,-Werror,,g' configure.ac || die |
77 |
- sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac || die |
78 |
- eautoreconf |
79 |
- use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN |
80 |
- |
81 |
- # Tweak upstream systemd unit to use Gentoo variables/envfile. |
82 |
- # As noted by bug #587440 |
83 |
- sed -i -e '/^ExecStart/{ |
84 |
- s,{USER},{MEMCACHED_RUNAS},g; |
85 |
- s,{CACHESIZE},{MEMUSAGE},g; |
86 |
- s,OPTIONS,MISC_OPTS,g; |
87 |
- }; |
88 |
- /Environment=/{s,OPTIONS,MISC_OPTS,g;}; |
89 |
- /EnvironmentFile=/{s,/sysconfig/,/conf.d/,g;}; |
90 |
- ' \ |
91 |
- "${S}"/scripts/memcached.service |
92 |
-} |
93 |
- |
94 |
-src_configure() { |
95 |
- econf \ |
96 |
- --disable-docs \ |
97 |
- $(use_enable sasl) |
98 |
- # The xml2rfc tool to build the additional docs requires TCL :-( |
99 |
- # `use_enable doc docs` |
100 |
-} |
101 |
- |
102 |
-src_compile() { |
103 |
- # There is a heavy degree of per-object compile flags |
104 |
- # Users do NOT know better than upstream. Trying to compile the testapp and |
105 |
- # the -debug version with -DNDEBUG _WILL_ fail. |
106 |
- append-flags -UNDEBUG -pthread |
107 |
- emake testapp memcached-debug CFLAGS="${CFLAGS}" |
108 |
- filter-flags -UNDEBUG |
109 |
- emake |
110 |
-} |
111 |
- |
112 |
-src_install() { |
113 |
- emake DESTDIR="${D}" install |
114 |
- dobin scripts/memcached-tool |
115 |
- use debug && dobin memcached-debug |
116 |
- |
117 |
- dodoc AUTHORS ChangeLog NEWS README.md doc/{CONTRIBUTORS,*.txt} |
118 |
- |
119 |
- newconfd "${FILESDIR}/memcached.confd" memcached |
120 |
- newinitd "${FILESDIR}/memcached.init2" memcached |
121 |
- systemd_dounit "${S}/scripts/memcached.service" |
122 |
-} |
123 |
- |
124 |
-pkg_postinst() { |
125 |
- enewuser memcached -1 -1 /dev/null daemon |
126 |
- |
127 |
- elog "With this version of Memcached Gentoo now supports multiple instances." |
128 |
- elog "To enable this you should create a symlink in /etc/init.d/ for each instance" |
129 |
- elog "to /etc/init.d/memcached and create the matching conf files in /etc/conf.d/" |
130 |
- elog "Please see Gentoo bug #122246 for more info" |
131 |
-} |
132 |
- |
133 |
-src_test() { |
134 |
- emake -j1 test |
135 |
-} |
136 |
|
137 |
diff --git a/net-misc/memcached/memcached-1.5.10.ebuild b/net-misc/memcached/memcached-1.5.10.ebuild |
138 |
deleted file mode 100644 |
139 |
index 3a72e14b2f8..00000000000 |
140 |
--- a/net-misc/memcached/memcached-1.5.10.ebuild |
141 |
+++ /dev/null |
142 |
@@ -1,95 +0,0 @@ |
143 |
-# Copyright 1999-2018 Gentoo Foundation |
144 |
-# Distributed under the terms of the GNU General Public License v2 |
145 |
- |
146 |
-EAPI=6 |
147 |
-inherit autotools eutils flag-o-matic systemd user |
148 |
- |
149 |
-MY_PV="${PV/_rc/-rc}" |
150 |
-MY_P="${PN}-${MY_PV}" |
151 |
- |
152 |
-DESCRIPTION="High-performance, distributed memory object caching system" |
153 |
-HOMEPAGE="http://memcached.org/" |
154 |
-SRC_URI="https://www.memcached.org/files/${MY_P}.tar.gz |
155 |
- https://www.memcached.org/files/old/${MY_P}.tar.gz" |
156 |
- |
157 |
-LICENSE="BSD" |
158 |
-SLOT="0" |
159 |
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
160 |
-IUSE="debug sasl seccomp selinux slabs-reassign test" # hugetlbfs later |
161 |
- |
162 |
-RDEPEND=">=dev-libs/libevent-1.4:= |
163 |
- dev-lang/perl |
164 |
- sasl? ( dev-libs/cyrus-sasl ) |
165 |
- seccomp? ( sys-libs/libseccomp ) |
166 |
- selinux? ( sec-policy/selinux-memcached )" |
167 |
-DEPEND="${RDEPEND} |
168 |
- test? ( virtual/perl-Test-Harness >=dev-perl/Cache-Memcached-1.24 )" |
169 |
- |
170 |
-S="${WORKDIR}/${MY_P}" |
171 |
- |
172 |
-src_prepare() { |
173 |
- epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch" |
174 |
- epatch "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch" |
175 |
- epatch "${FILESDIR}/${PN}-1.4.4-as-needed.patch" |
176 |
- epatch "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch" |
177 |
- sed -i -e 's,-Werror,,g' configure.ac || die |
178 |
- sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac || die |
179 |
- eautoreconf |
180 |
- use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN |
181 |
- |
182 |
- # Tweak upstream systemd unit to use Gentoo variables/envfile. |
183 |
- # As noted by bug #587440 |
184 |
- sed -i -e '/^ExecStart/{ |
185 |
- s,{USER},{MEMCACHED_RUNAS},g; |
186 |
- s,{CACHESIZE},{MEMUSAGE},g; |
187 |
- s,OPTIONS,MISC_OPTS,g; |
188 |
- }; |
189 |
- /Environment=/{s,OPTIONS,MISC_OPTS,g;}; |
190 |
- /EnvironmentFile=/{s,/sysconfig/,/conf.d/,g;}; |
191 |
- ' \ |
192 |
- "${S}"/scripts/memcached.service |
193 |
- default |
194 |
-} |
195 |
- |
196 |
-src_configure() { |
197 |
- econf \ |
198 |
- --disable-docs \ |
199 |
- $(use_enable sasl) |
200 |
- # The xml2rfc tool to build the additional docs requires TCL :-( |
201 |
- # `use_enable doc docs` |
202 |
-} |
203 |
- |
204 |
-src_compile() { |
205 |
- # There is a heavy degree of per-object compile flags |
206 |
- # Users do NOT know better than upstream. Trying to compile the testapp and |
207 |
- # the -debug version with -DNDEBUG _WILL_ fail. |
208 |
- append-flags -UNDEBUG -pthread |
209 |
- emake testapp memcached-debug CFLAGS="${CFLAGS}" |
210 |
- filter-flags -UNDEBUG |
211 |
- emake |
212 |
-} |
213 |
- |
214 |
-src_install() { |
215 |
- emake DESTDIR="${D}" install |
216 |
- dobin scripts/memcached-tool |
217 |
- use debug && dobin memcached-debug |
218 |
- |
219 |
- dodoc AUTHORS ChangeLog NEWS README.md doc/{CONTRIBUTORS,*.txt} |
220 |
- |
221 |
- newconfd "${FILESDIR}/memcached.confd" memcached |
222 |
- newinitd "${FILESDIR}/memcached.init2" memcached |
223 |
- systemd_dounit "${S}/scripts/memcached.service" |
224 |
-} |
225 |
- |
226 |
-pkg_postinst() { |
227 |
- enewuser memcached -1 -1 /dev/null daemon |
228 |
- |
229 |
- elog "With this version of Memcached Gentoo now supports multiple instances." |
230 |
- elog "To enable this you should create a symlink in /etc/init.d/ for each instance" |
231 |
- elog "to /etc/init.d/memcached and create the matching conf files in /etc/conf.d/" |
232 |
- elog "Please see Gentoo bug #122246 for more info" |
233 |
-} |
234 |
- |
235 |
-src_test() { |
236 |
- emake -j1 test |
237 |
-} |
238 |
|
239 |
diff --git a/net-misc/memcached/memcached-1.5.11.ebuild b/net-misc/memcached/memcached-1.5.11.ebuild |
240 |
deleted file mode 100644 |
241 |
index ca83bdfe6a2..00000000000 |
242 |
--- a/net-misc/memcached/memcached-1.5.11.ebuild |
243 |
+++ /dev/null |
244 |
@@ -1,95 +0,0 @@ |
245 |
-# Copyright 1999-2018 Gentoo Authors |
246 |
-# Distributed under the terms of the GNU General Public License v2 |
247 |
- |
248 |
-EAPI=6 |
249 |
-inherit autotools eutils flag-o-matic systemd user |
250 |
- |
251 |
-MY_PV="${PV/_rc/-rc}" |
252 |
-MY_P="${PN}-${MY_PV}" |
253 |
- |
254 |
-DESCRIPTION="High-performance, distributed memory object caching system" |
255 |
-HOMEPAGE="http://memcached.org/" |
256 |
-SRC_URI="https://www.memcached.org/files/${MY_P}.tar.gz |
257 |
- https://www.memcached.org/files/old/${MY_P}.tar.gz" |
258 |
- |
259 |
-LICENSE="BSD" |
260 |
-SLOT="0" |
261 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
262 |
-IUSE="debug sasl seccomp selinux slabs-reassign test" # hugetlbfs later |
263 |
- |
264 |
-RDEPEND=">=dev-libs/libevent-1.4:= |
265 |
- dev-lang/perl |
266 |
- sasl? ( dev-libs/cyrus-sasl ) |
267 |
- seccomp? ( sys-libs/libseccomp ) |
268 |
- selinux? ( sec-policy/selinux-memcached )" |
269 |
-DEPEND="${RDEPEND} |
270 |
- test? ( virtual/perl-Test-Harness >=dev-perl/Cache-Memcached-1.24 )" |
271 |
- |
272 |
-S="${WORKDIR}/${MY_P}" |
273 |
- |
274 |
-src_prepare() { |
275 |
- epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch" |
276 |
- epatch "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch" |
277 |
- epatch "${FILESDIR}/${PN}-1.4.4-as-needed.patch" |
278 |
- epatch "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch" |
279 |
- sed -i -e 's,-Werror,,g' configure.ac || die |
280 |
- sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac || die |
281 |
- eautoreconf |
282 |
- use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN |
283 |
- |
284 |
- # Tweak upstream systemd unit to use Gentoo variables/envfile. |
285 |
- # As noted by bug #587440 |
286 |
- sed -i -e '/^ExecStart/{ |
287 |
- s,{USER},{MEMCACHED_RUNAS},g; |
288 |
- s,{CACHESIZE},{MEMUSAGE},g; |
289 |
- s,OPTIONS,MISC_OPTS,g; |
290 |
- }; |
291 |
- /Environment=/{s,OPTIONS,MISC_OPTS,g;}; |
292 |
- /EnvironmentFile=/{s,/sysconfig/,/conf.d/,g;}; |
293 |
- ' \ |
294 |
- "${S}"/scripts/memcached.service |
295 |
- default |
296 |
-} |
297 |
- |
298 |
-src_configure() { |
299 |
- econf \ |
300 |
- --disable-docs \ |
301 |
- $(use_enable sasl) |
302 |
- # The xml2rfc tool to build the additional docs requires TCL :-( |
303 |
- # `use_enable doc docs` |
304 |
-} |
305 |
- |
306 |
-src_compile() { |
307 |
- # There is a heavy degree of per-object compile flags |
308 |
- # Users do NOT know better than upstream. Trying to compile the testapp and |
309 |
- # the -debug version with -DNDEBUG _WILL_ fail. |
310 |
- append-flags -UNDEBUG -pthread |
311 |
- emake testapp memcached-debug CFLAGS="${CFLAGS}" |
312 |
- filter-flags -UNDEBUG |
313 |
- emake |
314 |
-} |
315 |
- |
316 |
-src_install() { |
317 |
- emake DESTDIR="${D}" install |
318 |
- dobin scripts/memcached-tool |
319 |
- use debug && dobin memcached-debug |
320 |
- |
321 |
- dodoc AUTHORS ChangeLog NEWS README.md doc/{CONTRIBUTORS,*.txt} |
322 |
- |
323 |
- newconfd "${FILESDIR}/memcached.confd" memcached |
324 |
- newinitd "${FILESDIR}/memcached.init2" memcached |
325 |
- systemd_dounit "${S}/scripts/memcached.service" |
326 |
-} |
327 |
- |
328 |
-pkg_postinst() { |
329 |
- enewuser memcached -1 -1 /dev/null daemon |
330 |
- |
331 |
- elog "With this version of Memcached Gentoo now supports multiple instances." |
332 |
- elog "To enable this you should create a symlink in /etc/init.d/ for each instance" |
333 |
- elog "to /etc/init.d/memcached and create the matching conf files in /etc/conf.d/" |
334 |
- elog "Please see Gentoo bug #122246 for more info" |
335 |
-} |
336 |
- |
337 |
-src_test() { |
338 |
- emake -j1 test |
339 |
-} |
340 |
|
341 |
diff --git a/net-misc/memcached/memcached-1.5.12.ebuild b/net-misc/memcached/memcached-1.5.12.ebuild |
342 |
deleted file mode 100644 |
343 |
index 58651a0f497..00000000000 |
344 |
--- a/net-misc/memcached/memcached-1.5.12.ebuild |
345 |
+++ /dev/null |
346 |
@@ -1,95 +0,0 @@ |
347 |
-# Copyright 1999-2018 Gentoo Authors |
348 |
-# Distributed under the terms of the GNU General Public License v2 |
349 |
- |
350 |
-EAPI=6 |
351 |
-inherit autotools eutils flag-o-matic systemd user |
352 |
- |
353 |
-MY_PV="${PV/_rc/-rc}" |
354 |
-MY_P="${PN}-${MY_PV}" |
355 |
- |
356 |
-DESCRIPTION="High-performance, distributed memory object caching system" |
357 |
-HOMEPAGE="http://memcached.org/" |
358 |
-SRC_URI="https://www.memcached.org/files/${MY_P}.tar.gz |
359 |
- https://www.memcached.org/files/old/${MY_P}.tar.gz" |
360 |
- |
361 |
-LICENSE="BSD" |
362 |
-SLOT="0" |
363 |
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
364 |
-IUSE="debug sasl seccomp selinux slabs-reassign test" # hugetlbfs later |
365 |
- |
366 |
-RDEPEND=">=dev-libs/libevent-1.4:= |
367 |
- dev-lang/perl |
368 |
- sasl? ( dev-libs/cyrus-sasl ) |
369 |
- seccomp? ( sys-libs/libseccomp ) |
370 |
- selinux? ( sec-policy/selinux-memcached )" |
371 |
-DEPEND="${RDEPEND} |
372 |
- test? ( virtual/perl-Test-Harness >=dev-perl/Cache-Memcached-1.24 )" |
373 |
- |
374 |
-S="${WORKDIR}/${MY_P}" |
375 |
- |
376 |
-src_prepare() { |
377 |
- epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch" |
378 |
- epatch "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch" |
379 |
- epatch "${FILESDIR}/${PN}-1.4.4-as-needed.patch" |
380 |
- epatch "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch" |
381 |
- sed -i -e 's,-Werror,,g' configure.ac || die |
382 |
- sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac || die |
383 |
- eautoreconf |
384 |
- use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN |
385 |
- |
386 |
- # Tweak upstream systemd unit to use Gentoo variables/envfile. |
387 |
- # As noted by bug #587440 |
388 |
- sed -i -e '/^ExecStart/{ |
389 |
- s,{USER},{MEMCACHED_RUNAS},g; |
390 |
- s,{CACHESIZE},{MEMUSAGE},g; |
391 |
- s,OPTIONS,MISC_OPTS,g; |
392 |
- }; |
393 |
- /Environment=/{s,OPTIONS,MISC_OPTS,g;}; |
394 |
- /EnvironmentFile=/{s,/sysconfig/,/conf.d/,g;}; |
395 |
- ' \ |
396 |
- "${S}"/scripts/memcached.service |
397 |
- default |
398 |
-} |
399 |
- |
400 |
-src_configure() { |
401 |
- econf \ |
402 |
- --disable-docs \ |
403 |
- $(use_enable sasl) |
404 |
- # The xml2rfc tool to build the additional docs requires TCL :-( |
405 |
- # `use_enable doc docs` |
406 |
-} |
407 |
- |
408 |
-src_compile() { |
409 |
- # There is a heavy degree of per-object compile flags |
410 |
- # Users do NOT know better than upstream. Trying to compile the testapp and |
411 |
- # the -debug version with -DNDEBUG _WILL_ fail. |
412 |
- append-flags -UNDEBUG -pthread |
413 |
- emake testapp memcached-debug CFLAGS="${CFLAGS}" |
414 |
- filter-flags -UNDEBUG |
415 |
- emake |
416 |
-} |
417 |
- |
418 |
-src_install() { |
419 |
- emake DESTDIR="${D}" install |
420 |
- dobin scripts/memcached-tool |
421 |
- use debug && dobin memcached-debug |
422 |
- |
423 |
- dodoc AUTHORS ChangeLog NEWS README.md doc/{CONTRIBUTORS,*.txt} |
424 |
- |
425 |
- newconfd "${FILESDIR}/memcached.confd" memcached |
426 |
- newinitd "${FILESDIR}/memcached.init2" memcached |
427 |
- systemd_dounit "${S}/scripts/memcached.service" |
428 |
-} |
429 |
- |
430 |
-pkg_postinst() { |
431 |
- enewuser memcached -1 -1 /dev/null daemon |
432 |
- |
433 |
- elog "With this version of Memcached Gentoo now supports multiple instances." |
434 |
- elog "To enable this you should create a symlink in /etc/init.d/ for each instance" |
435 |
- elog "to /etc/init.d/memcached and create the matching conf files in /etc/conf.d/" |
436 |
- elog "Please see Gentoo bug #122246 for more info" |
437 |
-} |
438 |
- |
439 |
-src_test() { |
440 |
- emake -j1 test |
441 |
-} |
442 |
|
443 |
diff --git a/net-misc/memcached/memcached-1.5.13.ebuild b/net-misc/memcached/memcached-1.5.13.ebuild |
444 |
deleted file mode 100644 |
445 |
index be11449af3c..00000000000 |
446 |
--- a/net-misc/memcached/memcached-1.5.13.ebuild |
447 |
+++ /dev/null |
448 |
@@ -1,95 +0,0 @@ |
449 |
-# Copyright 1999-2019 Gentoo Authors |
450 |
-# Distributed under the terms of the GNU General Public License v2 |
451 |
- |
452 |
-EAPI=6 |
453 |
-inherit autotools eutils flag-o-matic systemd user |
454 |
- |
455 |
-MY_PV="${PV/_rc/-rc}" |
456 |
-MY_P="${PN}-${MY_PV}" |
457 |
- |
458 |
-DESCRIPTION="High-performance, distributed memory object caching system" |
459 |
-HOMEPAGE="http://memcached.org/" |
460 |
-SRC_URI="https://www.memcached.org/files/${MY_P}.tar.gz |
461 |
- https://www.memcached.org/files/old/${MY_P}.tar.gz" |
462 |
- |
463 |
-LICENSE="BSD" |
464 |
-SLOT="0" |
465 |
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
466 |
-IUSE="debug sasl seccomp selinux slabs-reassign test" # hugetlbfs later |
467 |
- |
468 |
-RDEPEND=">=dev-libs/libevent-1.4:= |
469 |
- dev-lang/perl |
470 |
- sasl? ( dev-libs/cyrus-sasl ) |
471 |
- seccomp? ( sys-libs/libseccomp ) |
472 |
- selinux? ( sec-policy/selinux-memcached )" |
473 |
-DEPEND="${RDEPEND} |
474 |
- test? ( virtual/perl-Test-Harness >=dev-perl/Cache-Memcached-1.24 )" |
475 |
- |
476 |
-S="${WORKDIR}/${MY_P}" |
477 |
- |
478 |
-src_prepare() { |
479 |
- epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch" |
480 |
- epatch "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch" |
481 |
- epatch "${FILESDIR}/${PN}-1.4.4-as-needed.patch" |
482 |
- epatch "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch" |
483 |
- sed -i -e 's,-Werror,,g' configure.ac || die |
484 |
- sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac || die |
485 |
- eautoreconf |
486 |
- use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN |
487 |
- |
488 |
- # Tweak upstream systemd unit to use Gentoo variables/envfile. |
489 |
- # As noted by bug #587440 |
490 |
- sed -i -e '/^ExecStart/{ |
491 |
- s,{USER},{MEMCACHED_RUNAS},g; |
492 |
- s,{CACHESIZE},{MEMUSAGE},g; |
493 |
- s,OPTIONS,MISC_OPTS,g; |
494 |
- }; |
495 |
- /Environment=/{s,OPTIONS,MISC_OPTS,g;}; |
496 |
- /EnvironmentFile=/{s,/sysconfig/,/conf.d/,g;}; |
497 |
- ' \ |
498 |
- "${S}"/scripts/memcached.service |
499 |
- default |
500 |
-} |
501 |
- |
502 |
-src_configure() { |
503 |
- econf \ |
504 |
- --disable-docs \ |
505 |
- $(use_enable sasl) |
506 |
- # The xml2rfc tool to build the additional docs requires TCL :-( |
507 |
- # `use_enable doc docs` |
508 |
-} |
509 |
- |
510 |
-src_compile() { |
511 |
- # There is a heavy degree of per-object compile flags |
512 |
- # Users do NOT know better than upstream. Trying to compile the testapp and |
513 |
- # the -debug version with -DNDEBUG _WILL_ fail. |
514 |
- append-flags -UNDEBUG -pthread |
515 |
- emake testapp memcached-debug CFLAGS="${CFLAGS}" |
516 |
- filter-flags -UNDEBUG |
517 |
- emake |
518 |
-} |
519 |
- |
520 |
-src_install() { |
521 |
- emake DESTDIR="${D}" install |
522 |
- dobin scripts/memcached-tool |
523 |
- use debug && dobin memcached-debug |
524 |
- |
525 |
- dodoc AUTHORS ChangeLog NEWS README.md doc/{CONTRIBUTORS,*.txt} |
526 |
- |
527 |
- newconfd "${FILESDIR}/memcached.confd" memcached |
528 |
- newinitd "${FILESDIR}/memcached.init2" memcached |
529 |
- systemd_dounit "${S}/scripts/memcached.service" |
530 |
-} |
531 |
- |
532 |
-pkg_postinst() { |
533 |
- enewuser memcached -1 -1 /dev/null daemon |
534 |
- |
535 |
- elog "With this version of Memcached Gentoo now supports multiple instances." |
536 |
- elog "To enable this you should create a symlink in /etc/init.d/ for each instance" |
537 |
- elog "to /etc/init.d/memcached and create the matching conf files in /etc/conf.d/" |
538 |
- elog "Please see Gentoo bug #122246 for more info" |
539 |
-} |
540 |
- |
541 |
-src_test() { |
542 |
- emake -j1 test |
543 |
-} |
544 |
|
545 |
diff --git a/net-misc/memcached/memcached-1.5.2.ebuild b/net-misc/memcached/memcached-1.5.2.ebuild |
546 |
deleted file mode 100644 |
547 |
index c3a62d5ae79..00000000000 |
548 |
--- a/net-misc/memcached/memcached-1.5.2.ebuild |
549 |
+++ /dev/null |
550 |
@@ -1,94 +0,0 @@ |
551 |
-# Copyright 1999-2018 Gentoo Foundation |
552 |
-# Distributed under the terms of the GNU General Public License v2 |
553 |
- |
554 |
-EAPI=6 |
555 |
-inherit autotools eutils flag-o-matic systemd user |
556 |
- |
557 |
-MY_PV="${PV/_rc/-rc}" |
558 |
-MY_P="${PN}-${MY_PV}" |
559 |
- |
560 |
-DESCRIPTION="High-performance, distributed memory object caching system" |
561 |
-HOMEPAGE="http://memcached.org/" |
562 |
-SRC_URI="https://www.memcached.org/files/${MY_P}.tar.gz |
563 |
- https://www.memcached.org/files/old/${MY_P}.tar.gz" |
564 |
- |
565 |
-LICENSE="BSD" |
566 |
-SLOT="0" |
567 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
568 |
-IUSE="test slabs-reassign debug sasl selinux" # hugetlbfs later |
569 |
- |
570 |
-RDEPEND=">=dev-libs/libevent-1.4:= |
571 |
- dev-lang/perl |
572 |
- sasl? ( dev-libs/cyrus-sasl ) |
573 |
- selinux? ( sec-policy/selinux-memcached )" |
574 |
-DEPEND="${RDEPEND} |
575 |
- test? ( virtual/perl-Test-Harness >=dev-perl/Cache-Memcached-1.24 )" |
576 |
- |
577 |
-S="${WORKDIR}/${MY_P}" |
578 |
- |
579 |
-src_prepare() { |
580 |
- epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch" |
581 |
- epatch "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch" |
582 |
- epatch "${FILESDIR}/${PN}-1.4.4-as-needed.patch" |
583 |
- epatch "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch" |
584 |
- sed -i -e 's,-Werror,,g' configure.ac || die |
585 |
- sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac || die |
586 |
- eautoreconf |
587 |
- use slabs-reassign && append-flags -DALLOW_SLABS_REASSIGN |
588 |
- |
589 |
- # Tweak upstream systemd unit to use Gentoo variables/envfile. |
590 |
- # As noted by bug #587440 |
591 |
- sed -i -e '/^ExecStart/{ |
592 |
- s,{USER},{MEMCACHED_RUNAS},g; |
593 |
- s,{CACHESIZE},{MEMUSAGE},g; |
594 |
- s,OPTIONS,MISC_OPTS,g; |
595 |
- }; |
596 |
- /Environment=/{s,OPTIONS,MISC_OPTS,g;}; |
597 |
- /EnvironmentFile=/{s,/sysconfig/,/conf.d/,g;}; |
598 |
- ' \ |
599 |
- "${S}"/scripts/memcached.service |
600 |
- default |
601 |
-} |
602 |
- |
603 |
-src_configure() { |
604 |
- econf \ |
605 |
- --disable-docs \ |
606 |
- $(use_enable sasl) |
607 |
- # The xml2rfc tool to build the additional docs requires TCL :-( |
608 |
- # `use_enable doc docs` |
609 |
-} |
610 |
- |
611 |
-src_compile() { |
612 |
- # There is a heavy degree of per-object compile flags |
613 |
- # Users do NOT know better than upstream. Trying to compile the testapp and |
614 |
- # the -debug version with -DNDEBUG _WILL_ fail. |
615 |
- append-flags -UNDEBUG -pthread |
616 |
- emake testapp memcached-debug CFLAGS="${CFLAGS}" |
617 |
- filter-flags -UNDEBUG |
618 |
- emake |
619 |
-} |
620 |
- |
621 |
-src_install() { |
622 |
- emake DESTDIR="${D}" install |
623 |
- dobin scripts/memcached-tool |
624 |
- use debug && dobin memcached-debug |
625 |
- |
626 |
- dodoc AUTHORS ChangeLog NEWS README.md doc/{CONTRIBUTORS,*.txt} |
627 |
- |
628 |
- newconfd "${FILESDIR}/memcached.confd" memcached |
629 |
- newinitd "${FILESDIR}/memcached.init2" memcached |
630 |
- systemd_dounit "${S}/scripts/memcached.service" |
631 |
-} |
632 |
- |
633 |
-pkg_postinst() { |
634 |
- enewuser memcached -1 -1 /dev/null daemon |
635 |
- |
636 |
- elog "With this version of Memcached Gentoo now supports multiple instances." |
637 |
- elog "To enable this you should create a symlink in /etc/init.d/ for each instance" |
638 |
- elog "to /etc/init.d/memcached and create the matching conf files in /etc/conf.d/" |
639 |
- elog "Please see Gentoo bug #122246 for more info" |
640 |
-} |
641 |
- |
642 |
-src_test() { |
643 |
- emake -j1 test |
644 |
-} |