summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/deluge
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-01 18:26:09 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-01 18:26:22 (GMT)
commite2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37 (patch)
treebee3fe89f2988dd244e11791755e129aa8c03b14 /abs/extra/community/deluge
parent8132c218cfc1f1acb1c6d12154e0d4ca075e77f2 (diff)
downloadlinhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.zip
linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.gz
linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.bz2
Mass move of uncompiled packages to abs_not_built.
The will sit here for a bit, and then will be removed completely if no one claims them.
Diffstat (limited to 'abs/extra/community/deluge')
-rw-r--r--abs/extra/community/deluge/PKGBUILD40
-rw-r--r--abs/extra/community/deluge/__changelog1
-rw-r--r--abs/extra/community/deluge/deluge-web42
-rw-r--r--abs/extra/community/deluge/deluge.install29
-rw-r--r--abs/extra/community/deluge/deluged43
-rw-r--r--abs/extra/community/deluge/deluged.conf.d1
6 files changed, 0 insertions, 156 deletions
diff --git a/abs/extra/community/deluge/PKGBUILD b/abs/extra/community/deluge/PKGBUILD
deleted file mode 100644
index 3d36405..0000000
--- a/abs/extra/community/deluge/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 97661 2010-10-31 22:31:52Z ibiru $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Hugo Doria <hugo@archlinux.org>
-
-pkgname=deluge
-pkgver=1.3.1
-pkgrel=1
-pkgdesc="A bittorrent client written with python and pygtk"
-arch=('any')
-url="http://deluge-torrent.org/"
-license=('GPL3')
-depends=('pyxdg' 'python2-distribute' 'libtorrent-rasterbar>=0.15.0' 'twisted' 'pyopenssl' 'xdg-utils' 'python-chardet')
-makedepends=( 'intltool' 'pygtk' 'librsvg' 'python-mako')
-optdepends=('python-notify: libnotify notifications'
- 'pygtk: needed for gtk ui'
- 'librsvg: needed for gtk ui'
- 'python-mako: needed for web ui')
-source=(http://download.deluge-torrent.org/source/${pkgname}-${pkgver}.tar.bz2 deluged deluged.conf.d deluge-web)
-backup=(etc/conf.d/deluged)
-install=deluge.install
-md5sums=('496a9cfaf01e6cf7ab141498acf2d1f1'
- '7d5790eeb14cd0b47d1bb3e0a19c9935'
- '332d23fe0d21ce92b494efd73322856c'
- '6c913ec7322eaa60494ac9d53103005f')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python2 setup.py build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-
- install -d -m755 "${pkgdir}"/srv/deluge
- install -D -m644 deluge/data/pixmaps/deluge.svg "${pkgdir}"/usr/share/pixmaps/deluge.svg
- install -D -m755 "${srcdir}"/deluged "${pkgdir}"/etc/rc.d/deluged
- install -D -m755 "${srcdir}"/deluge-web "${pkgdir}"/etc/rc.d/deluge-web
- install -D -m644 "${srcdir}"/deluged.conf.d "${pkgdir}"/etc/conf.d/deluged
-}
diff --git a/abs/extra/community/deluge/__changelog b/abs/extra/community/deluge/__changelog
deleted file mode 100644
index c5602d9..0000000
--- a/abs/extra/community/deluge/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-change 'setuptools' dep to 'python2-distribute'
diff --git a/abs/extra/community/deluge/deluge-web b/abs/extra/community/deluge/deluge-web
deleted file mode 100644
index 587496f..0000000
--- a/abs/extra/community/deluge/deluge-web
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/deluged
-
-[[ -f /var/run/deluge-web.pid ]] && PID=$(cat /var/run/deluge-web.pid)
-[[ -d /proc/$PID ]] || PID=
-
-case "$1" in
- start)
- stat_busy "Starting Deluge WebUI"
- [[ -z $PID ]] && su -l -s /bin/sh -c "/usr/bin/deluge-web -f >/dev/null" $DELUGE_USER
- if [ $? -gt 0 ]; then
- stat_fail
- else
- sleep 1
- echo $(pgrep -u $DELUGE_USER deluge-web) > /var/run/deluge-web.pid
- add_daemon deluge-web
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Deluge WebUI"
- [[ ! -z $PID ]] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/deluge-web.pid
- rm_daemon deluge-web
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/abs/extra/community/deluge/deluge.install b/abs/extra/community/deluge/deluge.install
deleted file mode 100644
index 9377a63..0000000
--- a/abs/extra/community/deluge/deluge.install
+++ /dev/null
@@ -1,29 +0,0 @@
-post_install() {
- getent group deluge >/dev/null 2>&1 || usr/sbin/groupadd -g 125 deluge
- if getent passwd deluge > /dev/null 2>&1; then
- usr/sbin/usermod -c 'Deluge user' -d /srv/deluge -s /bin/false deluge > /dev/null 2>&1
- else
- usr/sbin/useradd -c 'Deluge user' -u 125 -g deluge -d /srv/deluge -s /bin/false deluge
- fi
- usr/bin/passwd -l deluge &>/dev/null
-
- chown deluge.deluge srv/deluge
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-
-cat << _EOF
->>> Deluge's daemon is running default with the "deluge" user. The default download directory is /srv/deluge/.
- You can change the user by editing /etc/conf.d/deluged
-_EOF
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- getent passwd deluge >/dev/null 2>&1 && userdel deluge
- getent group deluge >/dev/null 2>&1 && groupdel deluge
-
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
diff --git a/abs/extra/community/deluge/deluged b/abs/extra/community/deluge/deluged
deleted file mode 100644
index 096d36a..0000000
--- a/abs/extra/community/deluge/deluged
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/deluged
-
-[[ -f /var/run/deluged.pid ]] && PID=$(cat /var/run/deluged.pid)
-[[ -d /proc/$PID ]] || PID=
-
-case "$1" in
- start)
- stat_busy "Starting Deluge Daemon"
- [[ -z $PID ]] && su -l -s /bin/sh -c "/usr/bin/deluged >/dev/null" $DELUGE_USER
- if [ $? -gt 0 ]; then
- stat_fail
- else
- sleep 1
- echo $(pgrep -u $DELUGE_USER deluged) > /var/run/deluged.pid
- add_daemon deluged
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Deluge Daemon"
- [[ ! -z $PID ]] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/deluged.pid
- rm_daemon deluged
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
-
diff --git a/abs/extra/community/deluge/deluged.conf.d b/abs/extra/community/deluge/deluged.conf.d
deleted file mode 100644
index 7f4e873..0000000
--- a/abs/extra/community/deluge/deluged.conf.d
+++ /dev/null
@@ -1 +0,0 @@
-DELUGE_USER="deluge"