diff options
Diffstat (limited to 'net-misc/tokyotyrant')
-rw-r--r-- | net-misc/tokyotyrant/Manifest | 7 | ||||
-rw-r--r-- | net-misc/tokyotyrant/files/fix_makefiles-1.4.41.patch | 85 | ||||
-rw-r--r-- | net-misc/tokyotyrant/files/fix_testsuite.patch | 104 | ||||
-rw-r--r-- | net-misc/tokyotyrant/files/tokyotyrant.confd | 15 | ||||
-rw-r--r-- | net-misc/tokyotyrant/files/tokyotyrant.initd | 38 | ||||
-rw-r--r-- | net-misc/tokyotyrant/metadata.xml | 8 | ||||
-rw-r--r-- | net-misc/tokyotyrant/tokyotyrant-1.1.41-r2.ebuild | 64 |
7 files changed, 0 insertions, 321 deletions
diff --git a/net-misc/tokyotyrant/Manifest b/net-misc/tokyotyrant/Manifest deleted file mode 100644 index 704a854ad0c4..000000000000 --- a/net-misc/tokyotyrant/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX fix_makefiles-1.4.41.patch 3247 BLAKE2B 6951d7a58fe844b5f29db84fecffb7c9670a8de366cd1b8c2ff854d6d61b14c0cbd552fc1676d3339407c371926670f0d5cd4f2abc490c2ef106b4211c59356f SHA512 0b9a1cc16f999a0a89c5e58fdc7e9aa98c66c9357804c46bb4657279434d59c3928d37ddc774fba53a8bccdd1fd530efa5f418388cb18805a5ffc81fc3405a4b -AUX fix_testsuite.patch 6594 BLAKE2B 415936e5b506e0fe979395ac9167f42a09d0a037064f537f362aa1fdd4f143e99a14572153ba5657ea03a25c6911de8038b40c8240ae950d2fa3caad1ea9a30e SHA512 2d64147c4721d5d59589e8a038fbcffb4db61f35e5bcbc4f29e806df616d4534cc281fe6a9ac00cf74cda6677b60bc6f1b44f2085d703affb9ccf81717026cd0 -AUX tokyotyrant.confd 361 BLAKE2B b1fd84606e4f3e5c528ef8fb1c4cff4c4b7ac5568fdd25951a3cdc6e5c72bba09e8ed0f9596e6ba543f2c459d17673c17ef965e63af1496df7829c5ec462e29a SHA512 5e762267eba0f214a47d385c41d32b9a2a82c7ece41c42266ad980a936080528b42d7f86fd2b32679f65e97f6b1b6a3a74d8d7c4465cc9b2739c4d1746f04cf0 -AUX tokyotyrant.initd 800 BLAKE2B 4a09d86f8dbf70ebcc38c72a9f55ee42004a94ea4c7428312b50ce60f5b89cb29a197d4293754e549ee7615f230e9d15c0cd0f1d10608974cd36aabce4d89508 SHA512 e00874a33eeab7228815e303d9a028e9ce50dde96012db397bcf11a530acecbb9a3252468d2745e239e1b7a7e873f3bb87962c585cea122e011a981fdf0ba9bf -DIST tokyotyrant-1.1.41.tar.gz 196196 BLAKE2B adfeb14146a4078d01d75608c8deb206de60b956b73d7cab2d2b29b2daf9ef7be7c3ab932984460fc07858e836421932472eaef801d0d79f4e8dd3ed7ab37580 SHA512 fb181ecab19981733b4b478614f9b28d7f1f776bafe6c58c4bc3e26ed294301a6242d7cd1d47b7d6b55a93305474d2e8e0a75f2f01af21a8bc93d158c8f8179e -EBUILD tokyotyrant-1.1.41-r2.ebuild 1177 BLAKE2B 8edfe177dd4acd0aa12283c517973c622d5e2ff0a2763ef8658baf4b92df9fd010349e2ac7fcd0ef0a46d1e608e030a77d63c34ea0ef202a738ddfd38bbcaa42 SHA512 9c729c7a9c1d3f52e5e47dcafbc8bb7292ceb71a431b0d115b9c8f3b63ccc14bc433bd2d89337022a2ce1ac2001bb32be47495cf5b89dd66f56b0fbeeaa6e783 -MISC metadata.xml 247 BLAKE2B 5a20af3c9732ef7dba68131a08988652f5c93a6d186a82c4deb1bb9c06dc3ae73152a0d241cc346637f7b11caf4676da43301ba596c67b66669535e71db0b03e SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 diff --git a/net-misc/tokyotyrant/files/fix_makefiles-1.4.41.patch b/net-misc/tokyotyrant/files/fix_makefiles-1.4.41.patch deleted file mode 100644 index 40d26cc5f93a..000000000000 --- a/net-misc/tokyotyrant/files/fix_makefiles-1.4.41.patch +++ /dev/null @@ -1,85 +0,0 @@ -diff --git a/Makefile.in b/Makefile.in -index b388455..52d3bc3 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -58,8 +58,8 @@ CFLAGS = @MYCFLAGS@ - LDFLAGS = @MYLDFLAGS@ - CMDLDFLAGS = @MYCMDLDFLAGS@ - LIBS = @LIBS@ --LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:. --RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@ -+LDENV = -+RUNENV = @MYLDLIBPATHENV@=.:$(LIBDIR) - POSTCMD = @MYPOSTCMD@ - - -@@ -120,10 +120,6 @@ install : - cp -Rf $(LIBRARYFILES) $(DESTDIR)$(LIBDIR) - mkdir -p $(DESTDIR)$(BINDIR) - cp -Rf $(COMMANDFILES) $(DESTDIR)$(BINDIR) -- mkdir -p $(DESTDIR)$(SBINDIR) -- cp -Rf $(INITFILES) $(DESTDIR)$(SBINDIR) -- mkdir -p $(DESTDIR)$(DATADIR) -- cp -Rf $(SCREXTFILES) $(DOCUMENTFILES) $(DESTDIR)$(DATADIR) - mkdir -p $(DESTDIR)$(MAN1DIR) - cd man && cp -Rf $(MAN1FILES) $(DESTDIR)$(MAN1DIR) - mkdir -p $(DESTDIR)$(MAN3DIR) -@@ -132,7 +128,6 @@ install : - cd man && cp -Rf $(MAN8FILES) $(DESTDIR)$(MAN8DIR) - mkdir -p $(DESTDIR)$(PCDIR) - cp -Rf $(PCFILES) $(DESTDIR)$(PCDIR) -- [ "$$UID" == 0 ] && ldconfig || true - @printf '\n' - @printf '#================================================================\n' - @printf '# Thanks for using Tokyo Tyrant.\n' -diff --git a/configure.in b/configure.in -index fbe0c71..809a839 100644 ---- a/configure.in -+++ b/configure.in -@@ -28,33 +28,15 @@ MYDOCUMENTFILES="COPYING ChangeLog THANKS doc tokyotyrant.idl" - MYPCFILES="tokyotyrant.pc" - - # Building flags --MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2" -+MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char" - MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include" - MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__" --MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib" -+MYLDFLAGS="-L. -L\$(LIBDIR)" - MYCMDLDFLAGS="" - MYRUNPATH="\$(LIBDIR)" - MYLDLIBPATHENV="LD_LIBRARY_PATH" - MYPOSTCMD="true" - --# Building paths --PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" --PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb" --CPATH="$HOME/include:/usr/local/include:$CPATH" --LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH" --LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" --PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" --export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH --if type pkg-config > /dev/null 2>&1 --then -- PATH="$PATH:`pkg-config --variable=bindir tokyocabinet`" -- CPATH="$CPATH:`pkg-config --variable=includedir tokyocabinet`" -- LIBRARY_PATH="$LIBRARY_PATH:`pkg-config --variable=libdir tokyocabinet`" -- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`pkg-config --variable=libdir tokyocabinet`" --fi -- -- -- - #================================================================ - # Options - #================================================================ -diff --git a/tokyotyrant.pc.in b/tokyotyrant.pc.in -index efb3749..efec1f6 100644 ---- a/tokyotyrant.pc.in -+++ b/tokyotyrant.pc.in -@@ -10,5 +10,5 @@ datadir=@datadir@ - Name: Tokyo Tyrant - Description: network interface of Tokyo Cabinet - Version: @PACKAGE_VERSION@ --Libs: -L${libdir} -ltokyotyrant @LIBS@ -+Libs: -L${libdir} -ltokyotyrant - Cflags: -I${includedir} diff --git a/net-misc/tokyotyrant/files/fix_testsuite.patch b/net-misc/tokyotyrant/files/fix_testsuite.patch deleted file mode 100644 index 7ee9dc801cb6..000000000000 --- a/net-misc/tokyotyrant/files/fix_testsuite.patch +++ /dev/null @@ -1,104 +0,0 @@ ---- a/Makefile.in 2009-10-14 10:33:16.000000000 +0200 -+++ b/Makefile.in.new 2009-10-14 10:27:39.000000000 +0200 -@@ -166,48 +166,49 @@ - - - check : -+ $(RUNENV) $(RUNCMD) ./ttserver -dmn -host 127.0.0.1 -port 19781 -pid /tmp/tttest.pid /tmp/tttest.tch - $(RUNENV) $(RUNCMD) ./tcrmgr version -- $(RUNENV) $(RUNCMD) ./tcrtest write -cnum 5 -tout 5 -rnd 127.0.0.1 50000 -- $(RUNENV) $(RUNCMD) ./tcrtest write -cnum 5 -tout 5 -nr -rnd 127.0.0.1 50000 -- $(RUNENV) $(RUNCMD) ./tcrtest write -cnum 5 -tout 5 127.0.0.1 50000 -- $(RUNENV) $(RUNCMD) ./tcrtest read -cnum 5 -tout 5 127.0.0.1 -- $(RUNENV) $(RUNCMD) ./tcrtest read -cnum 5 -tout 5 -mul 5 127.0.0.1 -- $(RUNENV) $(RUNCMD) ./tcrtest remove -cnum 5 -tout 5 127.0.0.1 -- $(RUNENV) $(RUNCMD) ./tcrtest rcat -cnum 5 -tout 5 127.0.0.1 50000 -- $(RUNENV) $(RUNCMD) ./tcrtest rcat -cnum 5 -tout 5 -shl 50 127.0.0.1 50000 -- $(RUNENV) $(RUNCMD) ./tcrmgr vanish 127.0.0.1 -- $(RUNENV) $(RUNCMD) ./tcrtest rcat -cnum 5 -tout 5 -dad 127.0.0.1 50000 -- $(RUNENV) $(RUNCMD) ./tcrtest rcat -cnum 5 -tout 5 -ext putcat -xlr 127.0.0.1 50000 -- $(RUNENV) $(RUNCMD) ./tcrtest misc -cnum 5 -tout 5 127.0.0.1 5000 -- $(RUNENV) $(RUNCMD) ./tcrtest wicked -cnum 5 -tout 5 127.0.0.1 5000 -- $(RUNENV) $(RUNCMD) ./tcrmgr inform 127.0.0.1 -- $(RUNENV) $(RUNCMD) ./tcrmgr vanish 127.0.0.1 -- $(RUNENV) $(RUNCMD) ./tcrmttest write -tnum 5 127.0.0.1 5000 -- $(RUNENV) $(RUNCMD) ./tcrmttest read -tnum 5 127.0.0.1 -- $(RUNENV) $(RUNCMD) ./tcrmttest remove -tnum 5 127.0.0.1 -- $(RUNENV) $(RUNCMD) ./tcrmttest write -tnum 5 -ext putcat -rnd 127.0.0.1 5000 -- $(RUNENV) $(RUNCMD) ./tcrmttest typical -tnum 5 127.0.0.1 5000 -- $(RUNENV) $(RUNCMD) ./tcrmgr vanish 127.0.0.1 -- $(RUNENV) $(RUNCMD) ./tcrmgr put 127.0.0.1 one first -- $(RUNENV) $(RUNCMD) ./tcrmgr put 127.0.0.1 two second -- $(RUNENV) $(RUNCMD) ./tcrmgr put -dk 127.0.0.1 three third -- $(RUNENV) $(RUNCMD) ./tcrmgr put -dc 127.0.0.1 three third -- $(RUNENV) $(RUNCMD) ./tcrmgr put -dc 127.0.0.1 three third -- $(RUNENV) $(RUNCMD) ./tcrmgr put -dc 127.0.0.1 three third -- $(RUNENV) $(RUNCMD) ./tcrmgr put 127.0.0.1 four fourth -- $(RUNENV) $(RUNCMD) ./tcrmgr put -dk 127.0.0.1 five fifth -- $(RUNENV) $(RUNCMD) ./tcrmgr out 127.0.0.1 one -- $(RUNENV) $(RUNCMD) ./tcrmgr out 127.0.0.1 two -- $(RUNENV) $(RUNCMD) ./tcrmgr get 127.0.0.1 three > check.out -- $(RUNENV) $(RUNCMD) ./tcrmgr get 127.0.0.1 four > check.out -- $(RUNENV) $(RUNCMD) ./tcrmgr get 127.0.0.1 five > check.out -- $(RUNENV) $(RUNCMD) ./tcrmgr mget 127.0.0.1 one two three four five > check.out -- $(RUNENV) $(RUNCMD) ./tcrmgr misc 127.0.0.1 putlist six sixth seven seventh -- $(RUNENV) $(RUNCMD) ./tcrmgr misc 127.0.0.1 outlist six -- $(RUNENV) $(RUNCMD) ./tcrmgr misc 127.0.0.1 getlist three four five six > check.out -- $(RUNENV) $(RUNCMD) ./tcrmgr list -pv 127.0.0.1 > check.out -- $(RUNENV) $(RUNCMD) ./tcrmgr list -pv -fm f 127.0.0.1 > check.out -- $(RUNENV) $(RUNCMD) ./tcrmgr http -ih http://127.0.0.1:1978/five > check.out -+ $(RUNENV) $(RUNCMD) ./tcrtest write -port 19781 -cnum 5 -tout 5 -rnd 127.0.0.1 50000 -+ $(RUNENV) $(RUNCMD) ./tcrtest write -port 19781 -cnum 5 -tout 5 -nr -rnd 127.0.0.1 50000 -+ $(RUNENV) $(RUNCMD) ./tcrtest write -port 19781 -cnum 5 -tout 5 127.0.0.1 50000 -+ $(RUNENV) $(RUNCMD) ./tcrtest read -port 19781 -cnum 5 -tout 5 127.0.0.1 -+ $(RUNENV) $(RUNCMD) ./tcrtest read -port 19781 -cnum 5 -tout 5 -mul 5 127.0.0.1 -+ $(RUNENV) $(RUNCMD) ./tcrtest remove -port 19781 -cnum 5 -tout 5 127.0.0.1 -+ $(RUNENV) $(RUNCMD) ./tcrtest rcat -port 19781 -cnum 5 -tout 5 127.0.0.1 50000 -+ $(RUNENV) $(RUNCMD) ./tcrtest rcat -port 19781 -cnum 5 -tout 5 -shl 50 127.0.0.1 50000 -+ $(RUNENV) $(RUNCMD) ./tcrmgr vanish -port 19781 127.0.0.1 -+ $(RUNENV) $(RUNCMD) ./tcrtest rcat -port 19781 -cnum 5 -tout 5 -dad 127.0.0.1 50000 -+ $(RUNENV) $(RUNCMD) ./tcrtest rcat -port 19781 -cnum 5 -tout 5 -ext putcat -xlr 127.0.0.1 50000 -+ $(RUNENV) $(RUNCMD) ./tcrtest misc -port 19781 -cnum 5 -tout 5 127.0.0.1 5000 -+ $(RUNENV) $(RUNCMD) ./tcrtest wicked -port 19781 -cnum 5 -tout 5 127.0.0.1 5000 -+ $(RUNENV) $(RUNCMD) ./tcrmgr inform -port 19781 127.0.0.1 -+ $(RUNENV) $(RUNCMD) ./tcrmgr vanish -port 19781 127.0.0.1 -+ $(RUNENV) $(RUNCMD) ./tcrmttest write -port 19781 -tnum 5 127.0.0.1 5000 -+ $(RUNENV) $(RUNCMD) ./tcrmttest read -port 19781 -tnum 5 127.0.0.1 -+ $(RUNENV) $(RUNCMD) ./tcrmttest remove -port 19781 -tnum 5 127.0.0.1 -+ $(RUNENV) $(RUNCMD) ./tcrmttest write -port 19781 -tnum 5 -ext putcat -rnd 127.0.0.1 5000 -+ $(RUNENV) $(RUNCMD) ./tcrmttest typical -port 19781 -tnum 5 127.0.0.1 5000 -+ $(RUNENV) $(RUNCMD) ./tcrmgr vanish -port 19781 127.0.0.1 -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 127.0.0.1 one first -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 127.0.0.1 two second -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 -dk 127.0.0.1 three third -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 -dc 127.0.0.1 three third -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 -dc 127.0.0.1 three third -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 -dc 127.0.0.1 three third -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 127.0.0.1 four fourth -+ $(RUNENV) $(RUNCMD) ./tcrmgr put -port 19781 -dk 127.0.0.1 five fifth -+ $(RUNENV) $(RUNCMD) ./tcrmgr out -port 19781 127.0.0.1 one -+ $(RUNENV) $(RUNCMD) ./tcrmgr out -port 19781 127.0.0.1 two -+ $(RUNENV) $(RUNCMD) ./tcrmgr get -port 19781 127.0.0.1 three > check.out -+ $(RUNENV) $(RUNCMD) ./tcrmgr get -port 19781 127.0.0.1 four > check.out -+ $(RUNENV) $(RUNCMD) ./tcrmgr get -port 19781 127.0.0.1 five > check.out -+ $(RUNENV) $(RUNCMD) ./tcrmgr mget -port 19781 127.0.0.1 one two three four five > check.out -+ $(RUNENV) $(RUNCMD) ./tcrmgr misc -port 19781 127.0.0.1 putlist six sixth seven seventh -+ $(RUNENV) $(RUNCMD) ./tcrmgr misc -port 19781 127.0.0.1 outlist six -+ $(RUNENV) $(RUNCMD) ./tcrmgr misc -port 19781 127.0.0.1 getlist three four five six > check.out -+ $(RUNENV) $(RUNCMD) ./tcrmgr list -port 19781 -pv 127.0.0.1 > check.out -+ $(RUNENV) $(RUNCMD) ./tcrmgr list -port 19781 -pv -fm f 127.0.0.1 > check.out -+ $(RUNENV) $(RUNCMD) ./tcrmgr http -ih http://127.0.0.1:19781/five > check.out - rm -rf ulog ; mkdir -p ulog - $(RUNENV) $(RUNCMD) ./ttultest write -lim 10000 ulog 5000 - $(RUNENV) $(RUNCMD) ./ttultest write -lim 10000 -as ulog 5000 -@@ -215,6 +216,10 @@ - rm -rf ulog ; mkdir -p ulog - $(RUNENV) $(RUNCMD) ./ttultest thread -lim 10000 ulog 5 5000 - $(RUNENV) $(RUNCMD) ./ttultest thread -lim 10000 -as ulog 5 5000 -+ -+ kill `cat /tmp/tttest.pid` -+ rm /tmp/tttest.tch -+ - @printf '\n' - @printf '#================================================================\n' - @printf '# Checking completed.\n' diff --git a/net-misc/tokyotyrant/files/tokyotyrant.confd b/net-misc/tokyotyrant/files/tokyotyrant.confd deleted file mode 100644 index b6417134f47c..000000000000 --- a/net-misc/tokyotyrant/files/tokyotyrant.confd +++ /dev/null @@ -1,15 +0,0 @@ -# Tokyo tyrant config - -# Listening options -TT_HOST=127.0.0.1 -TT_PORT=1978 - -# Database file - please refer to man ttserver for alternatives -TT_DB="/var/lib/tokyotyrant/casket.tch#bnum=1000000#opts=ld" - -# ttserver accepts a wide range of options, put them here -TT_OPTS="" - -# don't change these -TT_PID=/var/run/tokyotyrant/db.pid -TT_LOG=/var/log/tokyotyrant/db.log
\ No newline at end of file diff --git a/net-misc/tokyotyrant/files/tokyotyrant.initd b/net-misc/tokyotyrant/files/tokyotyrant.initd deleted file mode 100644 index f754d4901bfc..000000000000 --- a/net-misc/tokyotyrant/files/tokyotyrant.initd +++ /dev/null @@ -1,38 +0,0 @@ -#!/sbin/openrc-run - -extra_commands="configtest reload" - -depend() { - need net -} - -start() { - configtest || return 1 - ebegin "Starting tokyo tyrant" - start-stop-daemon --start --exec /usr/bin/ttserver -- \ - -pid ${TT_PID} -dmn -host ${TT_HOST} -log ${TT_LOG} \ - -port ${TT_PORT} ${TT_OPTS} ${TT_DB} - eend $? "Failed to start tokyo tyrant" -} - -stop() { - configtest || return 1 - ebegin "Stopping tokyo tyrant" - start-stop-daemon --stop --pidfile ${TT_PID} - eend $? "Failed to stop tokyo tyrant" - rm -f ${TT_PID} -} - -reload() { - configtest || return 1 - ebegin "Gracefully restarting tokyo tyrant" - kill -HUP `cat ${TT_PID}` &>/dev/null - eend $? "Failed to reload tokyo tyrant" -} - -configtest() { - if [ -z "${TT_DB}" ] || [ -z "${TT_PORT}" ] ; then - eerror "Please check your configuration" - eend $? - fi -} diff --git a/net-misc/tokyotyrant/metadata.xml b/net-misc/tokyotyrant/metadata.xml deleted file mode 100644 index 40aa45df2b01..000000000000 --- a/net-misc/tokyotyrant/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>patrick@gentoo.org</email> - <name>Patrick Lauer</name> - </maintainer> -</pkgmetadata> diff --git a/net-misc/tokyotyrant/tokyotyrant-1.1.41-r2.ebuild b/net-misc/tokyotyrant/tokyotyrant-1.1.41-r2.ebuild deleted file mode 100644 index 1da7a34c2009..000000000000 --- a/net-misc/tokyotyrant/tokyotyrant-1.1.41-r2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit user - -DESCRIPTION="A network interface to Tokyo Cabinet" -HOMEPAGE="https://fallabs.com/tokyotyrant/" -SRC_URI="https://fallabs.com/tokyotyrant/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86 ~ppc-macos ~x86-macos" -IUSE="debug examples lua" - -DEPEND="dev-db/tokyocabinet - sys-libs/zlib - lua? ( dev-lang/lua )" -RDEPEND="${DEPEND}" - -pkg_setup() { - if use !prefix ; then - enewgroup tyrant - enewuser tyrant -1 -1 /var/lib/${PN} tyrant - fi -} - -src_prepare() { - default - eapply "${FILESDIR}"/fix_makefiles-1.4.41.patch - eapply "${FILESDIR}"/fix_testsuite.patch -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable lua) -} - -src_install() { - rm ttservctl || die "Install failed" - default - - for x in /var/{lib,run,log}/${PN}; do - dodir "${x}" || die "Install failed" - use prefix || fowners tyrant:tyrant "${x}" - done - - if use examples; then - insinto /usr/share/${PF}/example - doins -r example/ - fi - - dodoc -r doc - - newinitd "${FILESDIR}/${PN}.initd" ${PN} - newconfd "${FILESDIR}/${PN}.confd" ${PN} - -} - -src_test() { - emake -j1 check -} |