Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/tokyotyrant/files/, profiles/, net-misc/tokyotyrant/
Date: Thu, 26 Sep 2019 14:49:47
Message-Id: 1569509358.b58d61c1d8d88460d3ed844de0df8b3699dc11e7.mgorny@gentoo
1 commit: b58d61c1d8d88460d3ed844de0df8b3699dc11e7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 26 14:45:58 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 26 14:49:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b58d61c1
7
8 net-misc/tokyotyrant: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/681044
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 net-misc/tokyotyrant/Manifest | 1 -
14 .../tokyotyrant/files/fix_makefiles-1.4.41.patch | 85 -----------------
15 net-misc/tokyotyrant/files/fix_testsuite.patch | 104 ---------------------
16 net-misc/tokyotyrant/files/tokyotyrant.confd | 15 ---
17 net-misc/tokyotyrant/files/tokyotyrant.initd | 38 --------
18 net-misc/tokyotyrant/metadata.xml | 8 --
19 net-misc/tokyotyrant/tokyotyrant-1.1.41-r2.ebuild | 64 -------------
20 profiles/package.mask | 7 --
21 8 files changed, 322 deletions(-)
22
23 diff --git a/net-misc/tokyotyrant/Manifest b/net-misc/tokyotyrant/Manifest
24 deleted file mode 100644
25 index fce612ee0a6..00000000000
26 --- a/net-misc/tokyotyrant/Manifest
27 +++ /dev/null
28 @@ -1 +0,0 @@
29 -DIST tokyotyrant-1.1.41.tar.gz 196196 BLAKE2B adfeb14146a4078d01d75608c8deb206de60b956b73d7cab2d2b29b2daf9ef7be7c3ab932984460fc07858e836421932472eaef801d0d79f4e8dd3ed7ab37580 SHA512 fb181ecab19981733b4b478614f9b28d7f1f776bafe6c58c4bc3e26ed294301a6242d7cd1d47b7d6b55a93305474d2e8e0a75f2f01af21a8bc93d158c8f8179e
30
31 diff --git a/net-misc/tokyotyrant/files/fix_makefiles-1.4.41.patch b/net-misc/tokyotyrant/files/fix_makefiles-1.4.41.patch
32 deleted file mode 100644
33 index 40d26cc5f93..00000000000
34 --- a/net-misc/tokyotyrant/files/fix_makefiles-1.4.41.patch
35 +++ /dev/null
36 @@ -1,85 +0,0 @@
37 -diff --git a/Makefile.in b/Makefile.in
38 -index b388455..52d3bc3 100644
39 ---- a/Makefile.in
40 -+++ b/Makefile.in
41 -@@ -58,8 +58,8 @@ CFLAGS = @MYCFLAGS@
42 - LDFLAGS = @MYLDFLAGS@
43 - CMDLDFLAGS = @MYCMDLDFLAGS@
44 - LIBS = @LIBS@
45 --LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
46 --RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
47 -+LDENV =
48 -+RUNENV = @MYLDLIBPATHENV@=.:$(LIBDIR)
49 - POSTCMD = @MYPOSTCMD@
50 -
51 -
52 -@@ -120,10 +120,6 @@ install :
53 - cp -Rf $(LIBRARYFILES) $(DESTDIR)$(LIBDIR)
54 - mkdir -p $(DESTDIR)$(BINDIR)
55 - cp -Rf $(COMMANDFILES) $(DESTDIR)$(BINDIR)
56 -- mkdir -p $(DESTDIR)$(SBINDIR)
57 -- cp -Rf $(INITFILES) $(DESTDIR)$(SBINDIR)
58 -- mkdir -p $(DESTDIR)$(DATADIR)
59 -- cp -Rf $(SCREXTFILES) $(DOCUMENTFILES) $(DESTDIR)$(DATADIR)
60 - mkdir -p $(DESTDIR)$(MAN1DIR)
61 - cd man && cp -Rf $(MAN1FILES) $(DESTDIR)$(MAN1DIR)
62 - mkdir -p $(DESTDIR)$(MAN3DIR)
63 -@@ -132,7 +128,6 @@ install :
64 - cd man && cp -Rf $(MAN8FILES) $(DESTDIR)$(MAN8DIR)
65 - mkdir -p $(DESTDIR)$(PCDIR)
66 - cp -Rf $(PCFILES) $(DESTDIR)$(PCDIR)
67 -- [ "$$UID" == 0 ] && ldconfig || true
68 - @printf '\n'
69 - @printf '#================================================================\n'
70 - @printf '# Thanks for using Tokyo Tyrant.\n'
71 -diff --git a/configure.in b/configure.in
72 -index fbe0c71..809a839 100644
73 ---- a/configure.in
74 -+++ b/configure.in
75 -@@ -28,33 +28,15 @@ MYDOCUMENTFILES="COPYING ChangeLog THANKS doc tokyotyrant.idl"
76 - MYPCFILES="tokyotyrant.pc"
77 -
78 - # Building flags
79 --MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2"
80 -+MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char"
81 - MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include"
82 - MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__"
83 --MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib"
84 -+MYLDFLAGS="-L. -L\$(LIBDIR)"
85 - MYCMDLDFLAGS=""
86 - MYRUNPATH="\$(LIBDIR)"
87 - MYLDLIBPATHENV="LD_LIBRARY_PATH"
88 - MYPOSTCMD="true"
89 -
90 --# Building paths
91 --PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
92 --PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb"
93 --CPATH="$HOME/include:/usr/local/include:$CPATH"
94 --LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
95 --LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
96 --PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
97 --export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH
98 --if type pkg-config > /dev/null 2>&1
99 --then
100 -- PATH="$PATH:`pkg-config --variable=bindir tokyocabinet`"
101 -- CPATH="$CPATH:`pkg-config --variable=includedir tokyocabinet`"
102 -- LIBRARY_PATH="$LIBRARY_PATH:`pkg-config --variable=libdir tokyocabinet`"
103 -- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`pkg-config --variable=libdir tokyocabinet`"
104 --fi
105 --
106 --
107 --
108 - #================================================================
109 - # Options
110 - #================================================================
111 -diff --git a/tokyotyrant.pc.in b/tokyotyrant.pc.in
112 -index efb3749..efec1f6 100644
113 ---- a/tokyotyrant.pc.in
114 -+++ b/tokyotyrant.pc.in
115 -@@ -10,5 +10,5 @@ datadir=@datadir@
116 - Name: Tokyo Tyrant
117 - Description: network interface of Tokyo Cabinet
118 - Version: @PACKAGE_VERSION@
119 --Libs: -L${libdir} -ltokyotyrant @LIBS@
120 -+Libs: -L${libdir} -ltokyotyrant
121 - Cflags: -I${includedir}
122
123 diff --git a/net-misc/tokyotyrant/files/fix_testsuite.patch b/net-misc/tokyotyrant/files/fix_testsuite.patch
124 deleted file mode 100644
125 index 7ee9dc801cb..00000000000
126 --- a/net-misc/tokyotyrant/files/fix_testsuite.patch
127 +++ /dev/null
128 @@ -1,104 +0,0 @@
129 ---- a/Makefile.in 2009-10-14 10:33:16.000000000 +0200
130 -+++ b/Makefile.in.new 2009-10-14 10:27:39.000000000 +0200
131 -@@ -166,48 +166,49 @@
132 -
133 -
134 - check :
135 -+ $(RUNENV) $(RUNCMD) ./ttserver -dmn -host 127.0.0.1 -port 19781 -pid /tmp/tttest.pid /tmp/tttest.tch
136 - $(RUNENV) $(RUNCMD) ./tcrmgr version
137 -- $(RUNENV) $(RUNCMD) ./tcrtest write -cnum 5 -tout 5 -rnd 127.0.0.1 50000
138 -- $(RUNENV) $(RUNCMD) ./tcrtest write -cnum 5 -tout 5 -nr -rnd 127.0.0.1 50000
139 -- $(RUNENV) $(RUNCMD) ./tcrtest write -cnum 5 -tout 5 127.0.0.1 50000
140 -- $(RUNENV) $(RUNCMD) ./tcrtest read -cnum 5 -tout 5 127.0.0.1
141 -- $(RUNENV) $(RUNCMD) ./tcrtest read -cnum 5 -tout 5 -mul 5 127.0.0.1
142 -- $(RUNENV) $(RUNCMD) ./tcrtest remove -cnum 5 -tout 5 127.0.0.1
143 -- $(RUNENV) $(RUNCMD) ./tcrtest rcat -cnum 5 -tout 5 127.0.0.1 50000
144 -- $(RUNENV) $(RUNCMD) ./tcrtest rcat -cnum 5 -tout 5 -shl 50 127.0.0.1 50000
145 -- $(RUNENV) $(RUNCMD) ./tcrmgr vanish 127.0.0.1
146 -- $(RUNENV) $(RUNCMD) ./tcrtest rcat -cnum 5 -tout 5 -dad 127.0.0.1 50000
147 -- $(RUNENV) $(RUNCMD) ./tcrtest rcat -cnum 5 -tout 5 -ext putcat -xlr 127.0.0.1 50000
148 -- $(RUNENV) $(RUNCMD) ./tcrtest misc -cnum 5 -tout 5 127.0.0.1 5000
149 -- $(RUNENV) $(RUNCMD) ./tcrtest wicked -cnum 5 -tout 5 127.0.0.1 5000
150 -- $(RUNENV) $(RUNCMD) ./tcrmgr inform 127.0.0.1
151 -- $(RUNENV) $(RUNCMD) ./tcrmgr vanish 127.0.0.1
152 -- $(RUNENV) $(RUNCMD) ./tcrmttest write -tnum 5 127.0.0.1 5000
153 -- $(RUNENV) $(RUNCMD) ./tcrmttest read -tnum 5 127.0.0.1
154 -- $(RUNENV) $(RUNCMD) ./tcrmttest remove -tnum 5 127.0.0.1
155 -- $(RUNENV) $(RUNCMD) ./tcrmttest write -tnum 5 -ext putcat -rnd 127.0.0.1 5000
156 -- $(RUNENV) $(RUNCMD) ./tcrmttest typical -tnum 5 127.0.0.1 5000
157 -- $(RUNENV) $(RUNCMD) ./tcrmgr vanish 127.0.0.1
158 -- $(RUNENV) $(RUNCMD) ./tcrmgr put 127.0.0.1 one first
159 -- $(RUNENV) $(RUNCMD) ./tcrmgr put 127.0.0.1 two second
160 -- $(RUNENV) $(RUNCMD) ./tcrmgr put -dk 127.0.0.1 three third
161 -- $(RUNENV) $(RUNCMD) ./tcrmgr put -dc 127.0.0.1 three third
162 -- $(RUNENV) $(RUNCMD) ./tcrmgr put -dc 127.0.0.1 three third
163 -- $(RUNENV) $(RUNCMD) ./tcrmgr put -dc 127.0.0.1 three third
164 -- $(RUNENV) $(RUNCMD) ./tcrmgr put 127.0.0.1 four fourth
165 -- $(RUNENV) $(RUNCMD) ./tcrmgr put -dk 127.0.0.1 five fifth
166 -- $(RUNENV) $(RUNCMD) ./tcrmgr out 127.0.0.1 one
167 -- $(RUNENV) $(RUNCMD) ./tcrmgr out 127.0.0.1 two
168 -- $(RUNENV) $(RUNCMD) ./tcrmgr get 127.0.0.1 three > check.out
169 -- $(RUNENV) $(RUNCMD) ./tcrmgr get 127.0.0.1 four > check.out
170 -- $(RUNENV) $(RUNCMD) ./tcrmgr get 127.0.0.1 five > check.out
171 -- $(RUNENV) $(RUNCMD) ./tcrmgr mget 127.0.0.1 one two three four five > check.out
172 -- $(RUNENV) $(RUNCMD) ./tcrmgr misc 127.0.0.1 putlist six sixth seven seventh
173 -- $(RUNENV) $(RUNCMD) ./tcrmgr misc 127.0.0.1 outlist six
174 -- $(RUNENV) $(RUNCMD) ./tcrmgr misc 127.0.0.1 getlist three four five six > check.out
175 -- $(RUNENV) $(RUNCMD) ./tcrmgr list -pv 127.0.0.1 > check.out
176 -- $(RUNENV) $(RUNCMD) ./tcrmgr list -pv -fm f 127.0.0.1 > check.out
177 -- $(RUNENV) $(RUNCMD) ./tcrmgr http -ih http://127.0.0.1:1978/five > check.out
178 -+ $(RUNENV) $(RUNCMD) ./tcrtest write -port 19781 -cnum 5 -tout 5 -rnd 127.0.0.1 50000
179 -+ $(RUNENV) $(RUNCMD) ./tcrtest write -port 19781 -cnum 5 -tout 5 -nr -rnd 127.0.0.1 50000
180 -+ $(RUNENV) $(RUNCMD) ./tcrtest write -port 19781 -cnum 5 -tout 5 127.0.0.1 50000
181 -+ $(RUNENV) $(RUNCMD) ./tcrtest read -port 19781 -cnum 5 -tout 5 127.0.0.1
182 -+ $(RUNENV) $(RUNCMD) ./tcrtest read -port 19781 -cnum 5 -tout 5 -mul 5 127.0.0.1
183 -+ $(RUNENV) $(RUNCMD) ./tcrtest remove -port 19781 -cnum 5 -tout 5 127.0.0.1
184 -+ $(RUNENV) $(RUNCMD) ./tcrtest rcat -port 19781 -cnum 5 -tout 5 127.0.0.1 50000
185 -+ $(RUNENV) $(RUNCMD) ./tcrtest rcat -port 19781 -cnum 5 -tout 5 -shl 50 127.0.0.1 50000
186 -+ $(RUNENV) $(RUNCMD) ./tcrmgr vanish -port 19781 127.0.0.1
187 -+ $(RUNENV) $(RUNCMD) ./tcrtest rcat -port 19781 -cnum 5 -tout 5 -dad 127.0.0.1 50000
188 -+ $(RUNENV) $(RUNCMD) ./tcrtest rcat -port 19781 -cnum 5 -tout 5 -ext putcat -xlr 127.0.0.1 50000
189 -+ $(RUNENV) $(RUNCMD) ./tcrtest misc -port 19781 -cnum 5 -tout 5 127.0.0.1 5000
190 -+ $(RUNENV) $(RUNCMD) ./tcrtest wicked -port 19781 -cnum 5 -tout 5 127.0.0.1 5000
191 -+ $(RUNENV) $(RUNCMD) ./tcrmgr inform -port 19781 127.0.0.1
192 -+ $(RUNENV) $(RUNCMD) ./tcrmgr vanish -port 19781 127.0.0.1
193 -+ $(RUNENV) $(RUNCMD) ./tcrmttest write -port 19781 -tnum 5 127.0.0.1 5000
194 -+ $(RUNENV) $(RUNCMD) ./tcrmttest read -port 19781 -tnum 5 127.0.0.1
195 -+ $(RUNENV) $(RUNCMD) ./tcrmttest remove -port 19781 -tnum 5 127.0.0.1
196 -+ $(RUNENV) $(RUNCMD) ./tcrmttest write -port 19781 -tnum 5 -ext putcat -rnd 127.0.0.1 5000
197 -+ $(RUNENV) $(RUNCMD) ./tcrmttest typical -port 19781 -tnum 5 127.0.0.1 5000
198 -+ $(RUNENV) $(RUNCMD) ./tcrmgr vanish -port 19781 127.0.0.1
199 -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 127.0.0.1 one first
200 -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 127.0.0.1 two second
201 -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 -dk 127.0.0.1 three third
202 -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 -dc 127.0.0.1 three third
203 -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 -dc 127.0.0.1 three third
204 -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 -dc 127.0.0.1 three third
205 -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 127.0.0.1 four fourth
206 -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 -dk 127.0.0.1 five fifth
207 -+ $(RUNENV) $(RUNCMD) ./tcrmgr out -port 19781 127.0.0.1 one
208 -+ $(RUNENV) $(RUNCMD) ./tcrmgr out -port 19781 127.0.0.1 two
209 -+ $(RUNENV) $(RUNCMD) ./tcrmgr get -port 19781 127.0.0.1 three > check.out
210 -+ $(RUNENV) $(RUNCMD) ./tcrmgr get -port 19781 127.0.0.1 four > check.out
211 -+ $(RUNENV) $(RUNCMD) ./tcrmgr get -port 19781 127.0.0.1 five > check.out
212 -+ $(RUNENV) $(RUNCMD) ./tcrmgr mget -port 19781 127.0.0.1 one two three four five > check.out
213 -+ $(RUNENV) $(RUNCMD) ./tcrmgr misc -port 19781 127.0.0.1 putlist six sixth seven seventh
214 -+ $(RUNENV) $(RUNCMD) ./tcrmgr misc -port 19781 127.0.0.1 outlist six
215 -+ $(RUNENV) $(RUNCMD) ./tcrmgr misc -port 19781 127.0.0.1 getlist three four five six > check.out
216 -+ $(RUNENV) $(RUNCMD) ./tcrmgr list -port 19781 -pv 127.0.0.1 > check.out
217 -+ $(RUNENV) $(RUNCMD) ./tcrmgr list -port 19781 -pv -fm f 127.0.0.1 > check.out
218 -+ $(RUNENV) $(RUNCMD) ./tcrmgr http -ih http://127.0.0.1:19781/five > check.out
219 - rm -rf ulog ; mkdir -p ulog
220 - $(RUNENV) $(RUNCMD) ./ttultest write -lim 10000 ulog 5000
221 - $(RUNENV) $(RUNCMD) ./ttultest write -lim 10000 -as ulog 5000
222 -@@ -215,6 +216,10 @@
223 - rm -rf ulog ; mkdir -p ulog
224 - $(RUNENV) $(RUNCMD) ./ttultest thread -lim 10000 ulog 5 5000
225 - $(RUNENV) $(RUNCMD) ./ttultest thread -lim 10000 -as ulog 5 5000
226 -+
227 -+ kill `cat /tmp/tttest.pid`
228 -+ rm /tmp/tttest.tch
229 -+
230 - @printf '\n'
231 - @printf '#================================================================\n'
232 - @printf '# Checking completed.\n'
233
234 diff --git a/net-misc/tokyotyrant/files/tokyotyrant.confd b/net-misc/tokyotyrant/files/tokyotyrant.confd
235 deleted file mode 100644
236 index b6417134f47..00000000000
237 --- a/net-misc/tokyotyrant/files/tokyotyrant.confd
238 +++ /dev/null
239 @@ -1,15 +0,0 @@
240 -# Tokyo tyrant config
241 -
242 -# Listening options
243 -TT_HOST=127.0.0.1
244 -TT_PORT=1978
245 -
246 -# Database file - please refer to man ttserver for alternatives
247 -TT_DB="/var/lib/tokyotyrant/casket.tch#bnum=1000000#opts=ld"
248 -
249 -# ttserver accepts a wide range of options, put them here
250 -TT_OPTS=""
251 -
252 -# don't change these
253 -TT_PID=/var/run/tokyotyrant/db.pid
254 -TT_LOG=/var/log/tokyotyrant/db.log
255 \ No newline at end of file
256
257 diff --git a/net-misc/tokyotyrant/files/tokyotyrant.initd b/net-misc/tokyotyrant/files/tokyotyrant.initd
258 deleted file mode 100644
259 index f754d4901bf..00000000000
260 --- a/net-misc/tokyotyrant/files/tokyotyrant.initd
261 +++ /dev/null
262 @@ -1,38 +0,0 @@
263 -#!/sbin/openrc-run
264 -
265 -extra_commands="configtest reload"
266 -
267 -depend() {
268 - need net
269 -}
270 -
271 -start() {
272 - configtest || return 1
273 - ebegin "Starting tokyo tyrant"
274 - start-stop-daemon --start --exec /usr/bin/ttserver -- \
275 - -pid ${TT_PID} -dmn -host ${TT_HOST} -log ${TT_LOG} \
276 - -port ${TT_PORT} ${TT_OPTS} ${TT_DB}
277 - eend $? "Failed to start tokyo tyrant"
278 -}
279 -
280 -stop() {
281 - configtest || return 1
282 - ebegin "Stopping tokyo tyrant"
283 - start-stop-daemon --stop --pidfile ${TT_PID}
284 - eend $? "Failed to stop tokyo tyrant"
285 - rm -f ${TT_PID}
286 -}
287 -
288 -reload() {
289 - configtest || return 1
290 - ebegin "Gracefully restarting tokyo tyrant"
291 - kill -HUP `cat ${TT_PID}` &>/dev/null
292 - eend $? "Failed to reload tokyo tyrant"
293 -}
294 -
295 -configtest() {
296 - if [ -z "${TT_DB}" ] || [ -z "${TT_PORT}" ] ; then
297 - eerror "Please check your configuration"
298 - eend $?
299 - fi
300 -}
301
302 diff --git a/net-misc/tokyotyrant/metadata.xml b/net-misc/tokyotyrant/metadata.xml
303 deleted file mode 100644
304 index 40aa45df2b0..00000000000
305 --- a/net-misc/tokyotyrant/metadata.xml
306 +++ /dev/null
307 @@ -1,8 +0,0 @@
308 -<?xml version="1.0" encoding="UTF-8"?>
309 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
310 -<pkgmetadata>
311 - <maintainer type="person">
312 - <email>patrick@g.o</email>
313 - <name>Patrick Lauer</name>
314 - </maintainer>
315 -</pkgmetadata>
316
317 diff --git a/net-misc/tokyotyrant/tokyotyrant-1.1.41-r2.ebuild b/net-misc/tokyotyrant/tokyotyrant-1.1.41-r2.ebuild
318 deleted file mode 100644
319 index 1da7a34c200..00000000000
320 --- a/net-misc/tokyotyrant/tokyotyrant-1.1.41-r2.ebuild
321 +++ /dev/null
322 @@ -1,64 +0,0 @@
323 -# Copyright 1999-2019 Gentoo Authors
324 -# Distributed under the terms of the GNU General Public License v2
325 -
326 -EAPI=7
327 -
328 -inherit user
329 -
330 -DESCRIPTION="A network interface to Tokyo Cabinet"
331 -HOMEPAGE="https://fallabs.com/tokyotyrant/"
332 -SRC_URI="https://fallabs.com/tokyotyrant/${P}.tar.gz"
333 -
334 -LICENSE="LGPL-2.1"
335 -SLOT="0"
336 -KEYWORDS="amd64 x86 ~ppc-macos ~x86-macos"
337 -IUSE="debug examples lua"
338 -
339 -DEPEND="dev-db/tokyocabinet
340 - sys-libs/zlib
341 - lua? ( dev-lang/lua )"
342 -RDEPEND="${DEPEND}"
343 -
344 -pkg_setup() {
345 - if use !prefix ; then
346 - enewgroup tyrant
347 - enewuser tyrant -1 -1 /var/lib/${PN} tyrant
348 - fi
349 -}
350 -
351 -src_prepare() {
352 - default
353 - eapply "${FILESDIR}"/fix_makefiles-1.4.41.patch
354 - eapply "${FILESDIR}"/fix_testsuite.patch
355 -}
356 -
357 -src_configure() {
358 - econf \
359 - $(use_enable debug) \
360 - $(use_enable lua)
361 -}
362 -
363 -src_install() {
364 - rm ttservctl || die "Install failed"
365 - default
366 -
367 - for x in /var/{lib,run,log}/${PN}; do
368 - dodir "${x}" || die "Install failed"
369 - use prefix || fowners tyrant:tyrant "${x}"
370 - done
371 -
372 - if use examples; then
373 - insinto /usr/share/${PF}/example
374 - doins -r example/
375 - fi
376 -
377 - dodoc -r doc
378 -
379 - newinitd "${FILESDIR}/${PN}.initd" ${PN}
380 - newconfd "${FILESDIR}/${PN}.confd" ${PN}
381 -
382 -}
383 -
384 -src_test() {
385 - emake -j1 check
386 -}
387
388 diff --git a/profiles/package.mask b/profiles/package.mask
389 index 4a379ddd756..07eed1bfccc 100644
390 --- a/profiles/package.mask
391 +++ b/profiles/package.mask
392 @@ -1128,13 +1128,6 @@ sci-libs/grib_api
393 # Removal in 30 days. Bug #692796.
394 dev-tcltk/tkTheme
395
396 -# Michał Górny <mgorny@g.o> (2019-08-27)
397 -# Discontinued upstream, in favor of Tokyo Tycoon. Last release
398 -# in 2010. Not touched by the Gentoo maintainer since 2010, with bugs
399 -# having to be addressed by other developers.
400 -# Removal in 30 days. Bug #681044.
401 -net-misc/tokyotyrant
402 -
403 # Miroslav Šulc <fordfrog@g.o> (2019-08-19)
404 # Depends on >=virtual/{jdk,jre}-11 which is masked
405 =www-servers/tomcat-9.0.24