diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-27 06:05:47 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-27 06:05:47 -0300 |
commit | d73f07b0acf8bae623e1e112a7cb3744a84a92ee (patch) | |
tree | 87a2b353ea5229bbe309ea9db9d43bf24e2a6fd8 /social/tokyotyrant | |
parent | c001329b017288676a28aa6078bf16ad42e318e9 (diff) | |
parent | 0ff008e3c9dcc5ef088f481dfff3dcd121575598 (diff) | |
download | abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.tar.gz abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.tar.bz2 abslibre-d73f07b0acf8bae623e1e112a7cb3744a84a92ee.zip |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'social/tokyotyrant')
-rw-r--r-- | social/tokyotyrant/PKGBUILD | 33 | ||||
-rw-r--r-- | social/tokyotyrant/tokyotyrant.conf | 21 | ||||
-rw-r--r-- | social/tokyotyrant/tokyotyrant.rc | 41 |
3 files changed, 0 insertions, 95 deletions
diff --git a/social/tokyotyrant/PKGBUILD b/social/tokyotyrant/PKGBUILD deleted file mode 100644 index 3ac35e02f..000000000 --- a/social/tokyotyrant/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# # Maintainer (Arch): Angel Velasquez <angvp@archlinux.org> -# Contributor (Arch): Paul Sadauskas <psadauskas@gmail.com> - -pkgname=tokyotyrant -pkgver=1.1.41 -pkgrel=2 -pkgdesc="Network interface to TokyoCabinet" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.fallabs.com" -license=('LGPL') -makedepends=('gcc>=3.1' 'make' 'pkgconfig') -depends=('zlib' 'bzip2' 'tokyocabinet>=1.4.27') -source=("http://fallabs.com/$pkgname/$pkgname-$pkgver.tar.gz" - "tokyotyrant.rc" - "tokyotyrant.conf") - -md5sums=('a47e58897bd1cbbac173d5a66cc32ae3' - '3ed9229c9cfb8e1b3055b814d5038799' - '2558846ece69d1f265ee1ba5728c39cd') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="$pkgdir" install - install -m 644 -D ${srcdir}/tokyotyrant.conf $pkgdir/etc/conf.d/ttserver - install -m 755 -D ${srcdir}/tokyotyrant.rc $pkgdir/etc/rc.d/ttserver -} - diff --git a/social/tokyotyrant/tokyotyrant.conf b/social/tokyotyrant/tokyotyrant.conf deleted file mode 100644 index 77c299a81..000000000 --- a/social/tokyotyrant/tokyotyrant.conf +++ /dev/null @@ -1,21 +0,0 @@ -# /etc/conf.d/ttserver: config file for /etc/init.d/ttserver - -# TCP port TokyoTyrant server should listen on -TYRANT_PORT="1978" - -# Location of the TokyoTyrant server database -# Also put addional options here, eg, #bnum -# See 'ttserver' man page -TYRANT_DB="/var/lib/tokyotyrant/tokyotyrant.tch" - -# Location of the TokyoTyrant server log file -TYRANT_LOG_FILE="/var/log/ttserver.log" - -# Location of the TokyoTyrant server PID file -TYRANT_PID_FILE="/var/run/ttserver.pid" - -# Pass extra options to TokyoTyrant server -# Example: TYRANT_EXTRA_OPTS="-ld" - enables logging of debug messages -# See the 'ttserver' man page for more -TYRANT_EXTRA_OPTS="" - diff --git a/social/tokyotyrant/tokyotyrant.rc b/social/tokyotyrant/tokyotyrant.rc deleted file mode 100644 index eaecb0af0..000000000 --- a/social/tokyotyrant/tokyotyrant.rc +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -# source config -[ -f /etc/conf.d/ttserver ] && . /etc/conf.d/ttserver - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Starting TokyoTyrant Server" - /usr/bin/ttserver ${TYRANT_EXTRA_OPTS} -dmn -pid ${TYRANT_PID_FILE} -log ${TYRANT_LOG_FILE} -port ${TYRANT_PORT} ${TYRANT_DB} - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon ttserver - stat_done - fi - ;; - stop) - stat_busy "Stopping TokyoTyrant Server" - if [ -f $TYRANT_PID_FILE ]; then - pid=`cat "$TYRANT_PID_FILE"` - kill -TERM "$pid" - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon ttserver - stat_done - fi - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 |