diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-04 01:05:30 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-04 01:05:30 (GMT) |
commit | e8abb760a6703b527a8d9794c591713ce27240c3 (patch) | |
tree | 471692be8541b4cf4cc36369df0bff5ab683fd54 /abs/extra-testing/community | |
parent | 098cbdb908a3ca58a09879e786df38ebe5a1c898 (diff) | |
download | linhes_pkgbuild-e8abb760a6703b527a8d9794c591713ce27240c3.zip linhes_pkgbuild-e8abb760a6703b527a8d9794c591713ce27240c3.tar.gz linhes_pkgbuild-e8abb760a6703b527a8d9794c591713ce27240c3.tar.bz2 |
Bittorent CLI client.
Diffstat (limited to 'abs/extra-testing/community')
5 files changed, 142 insertions, 0 deletions
diff --git a/abs/extra-testing/community/transmission-cli/ChangeLog b/abs/extra-testing/community/transmission-cli/ChangeLog new file mode 100644 index 0000000..57a8a01 --- /dev/null +++ b/abs/extra-testing/community/transmission-cli/ChangeLog @@ -0,0 +1,60 @@ +2008-12-27 Alexander Fehr <pizzapunk gmail com> + + * transmission-cli-1.42-1: + New upstream release. + +2008-11-26 Alexander Fehr <pizzapunk gmail com> + + * transmission-cli-1.40-1: + New upstream release. + Enabled web client. + +2008-09-17 Alexander Fehr <pizzapunk gmail com> + + * transmission-cli-1.34-1: + New upstream release. + +2008-08-23 Alexander Fehr <pizzapunk gmail com> + + * transmission-cli-1.33-1: + New upstream release. + +2008-08-09 Alexander Fehr <pizzapunk gmail com> + + * transmission-cli-1.32-1: + New upstream release. + +2008-08-07 Alexander Fehr <pizzapunk gmail com> + + * transmission-cli-1.31-1: + New upstream release. + Replaced transmission-remote -q with kill in init script. + Removed install message on upgrade. + +2008-07-20 Alexander Fehr <pizzapunk gmail com> + + * transmission-cli-1.22-1: + New upstream release. + Renamed from transmission to transmission-cli. + New maintainer. + Split out GTK+ GUI into transmission-gtk. + Changed url. + Added make dependency on intltool. + Cleaned up init script. + Cleaned up install file. + +2008-01-07 Varun Acharya <varun@archlinux.org> + + * transmission-1.00-1: + Adopted and moved to extra. + +2007-06-26 Alessio 'mOLOk' Bolognino <themolok@gmail.com> + + * transmission-0.72-4: + I had to use gentoo's sources because the tarball provided by the official site is broken. + transmission-{daemon,remote} are back. + +2007-06-19 Alessio 'mOLOk' Bolognino <themolok@gmail.com> + + * transmission-0.72-3: + Rebuild against libevent-1.3b. diff --git a/abs/extra-testing/community/transmission-cli/PKGBUILD b/abs/extra-testing/community/transmission-cli/PKGBUILD new file mode 100644 index 0000000..a3791fc --- /dev/null +++ b/abs/extra-testing/community/transmission-cli/PKGBUILD @@ -0,0 +1,35 @@ +# $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=1.42 +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') +makedepends=('intltool') +replaces=('transmission') +backup=('etc/conf.d/transmissiond') +install=transmission-cli.install +source=(http://mirrors.m0k.org/transmission/files/transmission-$pkgver.tar.bz2 + transmissiond + transmissiond.conf) +md5sums=('c083bdcb01426466e80ee339bccd9351' + 'e2326d412e25b4449ff663a5d4015e1a' + '7b019a710493ec4f8b54a1f528e1981d') + +build() { + cd "$srcdir/transmission-$pkgver" + + ./configure --prefix=/usr --disable-gtk --disable-wx || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + + install -D -m755 "$srcdir/transmissiond" "$pkgdir/etc/rc.d/transmissiond" || return 1 + install -D -m644 "$srcdir/transmissiond.conf" "$pkgdir/etc/conf.d/transmissiond" || return 1 + + install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-cli/COPYING" || return 1 +} diff --git a/abs/extra-testing/community/transmission-cli/transmission-cli.install b/abs/extra-testing/community/transmission-cli/transmission-cli.install new file mode 100644 index 0000000..cb6bf60 --- /dev/null +++ b/abs/extra-testing/community/transmission-cli/transmission-cli.install @@ -0,0 +1,9 @@ +post_install() { + cat << _EOF + + If you want to run the Transmission daemon at boot, + add transmissiond to the DAEMONS array in /etc/rc.conf. + You have to set the user in /etc/conf.d/transmissiond. + +_EOF +} diff --git a/abs/extra-testing/community/transmission-cli/transmissiond b/abs/extra-testing/community/transmission-cli/transmissiond new file mode 100644 index 0000000..b2c9322 --- /dev/null +++ b/abs/extra-testing/community/transmission-cli/transmissiond @@ -0,0 +1,37 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/transmissiond + +PID=`pidof -o %PPID /usr/bin/transmission-daemon` +case "$1" in + start) + stat_busy "Starting Transmission Daemon" + [ -z "$PID" ] && su -l -c "/usr/bin/transmission-daemon" $TRANS_USER + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon transmissiond + stat_done + fi + ;; + stop) + stat_busy "Stopping Transmission Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon transmissiond + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/extra-testing/community/transmission-cli/transmissiond.conf b/abs/extra-testing/community/transmission-cli/transmissiond.conf new file mode 100644 index 0000000..8f1275b --- /dev/null +++ b/abs/extra-testing/community/transmission-cli/transmissiond.conf @@ -0,0 +1 @@ +TRANS_USER="" |