summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/transmission-cli
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/extra-testing/community/transmission-cli
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/extra-testing/community/transmission-cli')
-rw-r--r--abs/extra-testing/community/transmission-cli/PKGBUILD41
-rwxr-xr-xabs/extra-testing/community/transmission-cli/run.transmissiond29
-rw-r--r--abs/extra-testing/community/transmission-cli/transmission-cli.install28
-rw-r--r--abs/extra-testing/community/transmission-cli/transmission.include15
-rw-r--r--abs/extra-testing/community/transmission-cli/transmissiond.conf2
5 files changed, 0 insertions, 115 deletions
diff --git a/abs/extra-testing/community/transmission-cli/PKGBUILD b/abs/extra-testing/community/transmission-cli/PKGBUILD
deleted file mode 100644
index 40af42a..0000000
--- a/abs/extra-testing/community/transmission-cli/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 23076 2009-01-02 11:33:41Z alexanderf $
-# Maintainer: Alexander Fehr <pizzapunk gmail com>
-# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
-
-pkgname=transmission-cli
-pkgver=2.04
-pkgrel=1
-pkgdesc="Fast, easy, and free BitTorrent client (CLI tools, daemon and web client)"
-arch=('i686' 'x86_64')
-url="http://www.transmissionbt.com/"
-license=('MIT')
-depends=('curl' 'libevent')
-makedepends=('intltool')
-replaces=('transmission')
-backup=('etc/conf.d/transmissiond')
-install=transmission-cli.install
-source=(http://mirrors.m0k.org/transmission/files/transmission-$pkgver.tar.bz2
- run.transmissiond
- transmission-cli.install
- transmission.include
- transmissiond.conf)
-
-build() {
- cd "$srcdir/transmission-$pkgver"
-
- ./configure --prefix=/usr --disable-gtk || return 1
- make || return 1
- make DESTDIR="$pkgdir" install || return 1
-
- mkdir -p -m744 "$pkgdir/etc/sv/transmissiond" || return 1
- mkdir -p -m777 "$pkgdir/myth/transmission" || return 1
- install -D -m755 "$srcdir/run.transmissiond" "$pkgdir/etc/sv/transmissiond/run" || return 1
- install -D -m644 "$srcdir/transmissiond.conf" "$pkgdir/etc/conf.d/transmissiond" || return 1
- install -D -m644 "$srcdir/transmission.include" "$pkgdir/etc/transmission/transmission.include" || return 1
- install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-cli/COPYING" || return 1
-}
-md5sums=('84fe15eb7e000fdc369def513299358b'
- 'b91534aaf2e403331c611c615ab2c03d'
- 'ff22c13dbd52565f9e88b1de22514eb9'
- 'b5a49ea375333cd0fee40f70dbac4c2e'
- 'd05567c7a4f9df9f28602d1356d5c05c')
diff --git a/abs/extra-testing/community/transmission-cli/run.transmissiond b/abs/extra-testing/community/transmission-cli/run.transmissiond
deleted file mode 100755
index 714c946..0000000
--- a/abs/extra-testing/community/transmission-cli/run.transmissiond
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/transmissiond
-
-CONFIGDIR=/home/$TRANS_USER/.config/transmission-daemon
-PID=`pidof -o %PPID /usr/bin/transmission-daemon`
-# Update the block lists - try to keep the bad guys out.
- cd ${CONFIGDIR}/blocklists
- if [ $? -eq 0 ]; then
- find . -mtime +4 -type f -name level1 -exec rm {} \;
- if [ ! -f ${CONFIGDIR}/blocklists/level1 ]; then
- # update blocklist
- # echo "updating blocklist, ~4MB"
- wget -q -O level1.gz http://download.m0k.org/transmission/files/level1.gz
- if [ -f level1.gz ]; then
- gunzip level1.gz
- if [ $? -eq 0 ]; then
- chmod go+r level1
- else
- rm -f level1*
- fi
- fi
- fi
- cd - 2>&1 >/dev/null
- fi
- stat_runit "Starting Transmission Daemon"
- [ -z "$PID" ] && exec su -l -c "/usr/bin/nice -n 19 /usr/bin/transmission-daemon $TRANS_OPTS" $TRANS_USER 2>/dev/null
diff --git a/abs/extra-testing/community/transmission-cli/transmission-cli.install b/abs/extra-testing/community/transmission-cli/transmission-cli.install
deleted file mode 100644
index 088ecc6..0000000
--- a/abs/extra-testing/community/transmission-cli/transmission-cli.install
+++ /dev/null
@@ -1,28 +0,0 @@
-post_install() {
- /bin/echo 'include "/etc/transmission/transmission.include"' >> /etc/lighttpd/conf.include
- killall -HUP lighttpd
-
- add_service.sh transmissiond
-
- cat << _EOF
-
- You can edit the user and options in /etc/conf.d/transmissiond.
-
- To access the web interface:
- http://localhost/transmission
-
- Configuration file editing information can be found at:
- http://trac.transmissionbt.com/wiki/ConfigFiles
-
-_EOF
-
-}
-
-pre_upgrade() {
- rm -f /usr/share/man/man1/transmission*
-
-}
-
-pre_remove() {
- remove_service.sh transmissiond
-}
diff --git a/abs/extra-testing/community/transmission-cli/transmission.include b/abs/extra-testing/community/transmission-cli/transmission.include
deleted file mode 100644
index 5cbf399..0000000
--- a/abs/extra-testing/community/transmission-cli/transmission.include
+++ /dev/null
@@ -1,15 +0,0 @@
-#Redirect from /transmission to /transmission/web
-url.rewrite-once += ( "^/transmission[/]?$" => "/transmission/web" )
-$HTTP["url"] =~ "^/transmission/" {
- #Serve static files from /usr/share/transmission
- server.document-root = "/usr/share/"
- #Forward RPC requests to the Transmission daemon
- proxy.server = (
- "/transmission/rpc" => (
- (
- "host" => "127.0.0.1",
- "port" => 9091
- )
- )
- )
-}
diff --git a/abs/extra-testing/community/transmission-cli/transmissiond.conf b/abs/extra-testing/community/transmission-cli/transmissiond.conf
deleted file mode 100644
index d642c01..0000000
--- a/abs/extra-testing/community/transmission-cli/transmissiond.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-TRANS_USER="mythtv"
-TRANS_OPTS="-f -ep -w /myth/transmission"