[arch-commits] Commit in transmission/trunk (3 files)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Fri May 31 11:05:07 EDT 2013


    Date: Friday, May 31, 2013 @ 17:05:07
  Author: foutrelis
Revision: 186894

upgpkg: transmission 2.77-3

Drop rc.d script.

Modified:
  transmission/trunk/PKGBUILD
Deleted:
  transmission/trunk/transmissiond
  transmission/trunk/transmissiond.conf

--------------------+
 PKGBUILD           |    9 ++-------
 transmissiond      |   46 ----------------------------------------------
 transmissiond.conf |    4 ----
 3 files changed, 2 insertions(+), 57 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-31 14:14:53 UTC (rev 186893)
+++ PKGBUILD	2013-05-31 15:05:07 UTC (rev 186894)
@@ -4,17 +4,15 @@
 pkgbase=transmission
 pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
 pkgver=2.77
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url="http://www.transmissionbt.com/"
 license=('MIT')
 makedepends=('gtk3' 'intltool' 'curl' 'qt4' 'libevent')
 source=(http://mirrors.m0k.org/transmission/files/$pkgbase-$pkgver.tar.xz
-        transmissiond transmissiond.conf transmission.systemd
+        transmission.systemd
         transmission.tmpfiles)
 md5sums=('60c0e77a1852656215f7102a437b2a3d'
-         '7d6186ee2a852ae3d44980f05063e194'
-         'db72b02fee139e8ab416324e6c044d76'
          '5c289c8901221a94be74665368ab5c2c'
          '23f2320361ad54373c3a4551ef634fe8')
 
@@ -30,7 +28,6 @@
 package_transmission-cli() {
   pkgdesc="Fast, easy, and free BitTorrent client (CLI tools, daemon and web client)"
   depends=('curl' 'libevent')
-  backup=('etc/conf.d/transmissiond')
   install=transmission-cli.install
 
   cd $pkgbase-$pkgver
@@ -40,8 +37,6 @@
       make -C "$dir" DESTDIR="$pkgdir" install
   done
 
-  install -D -m755 "$srcdir/transmissiond" "$pkgdir/etc/rc.d/transmissiond"
-  install -D -m644 "$srcdir/transmissiond.conf" "$pkgdir/etc/conf.d/transmissiond"
   install -D -m644 "$srcdir/transmission.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/transmission.conf"
   install -D -m644 "$srcdir/transmission.systemd" "$pkgdir/usr/lib/systemd/system/transmission.service"
   install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-cli/COPYING"

Deleted: transmissiond
===================================================================
--- transmissiond	2013-05-31 14:14:53 UTC (rev 186893)
+++ transmissiond	2013-05-31 15:05:07 UTC (rev 186894)
@@ -1,46 +0,0 @@
-#!/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 -s /bin/sh -c "/usr/bin/transmission-daemon $TRANS_ARGS" "${TRANS_USER:-transmission}"
-    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
-    while [ ! -z "$PID" -a -d "/proc/$PID" ]; do sleep 1; done
-    $0 start
-    ;;
-  reload)
-      stat_busy "Reloading config"
-      [ ! -z "$PID" ] && kill -HUP $PID &> /dev/null
-      if [ $? -gt 0 ]; then
-          stat_fail
-      else
-          stat_done
-      fi
-      ;;
-  *)
-    echo "usage: $0 {start|stop|restart|reload}"
-esac
-exit 0

Deleted: transmissiond.conf
===================================================================
--- transmissiond.conf	2013-05-31 14:14:53 UTC (rev 186893)
+++ transmissiond.conf	2013-05-31 15:05:07 UTC (rev 186894)
@@ -1,4 +0,0 @@
-# example configuration file
-
-# TRANS_USER="transmission"
-# TRANS_ARGS=""



More information about the arch-commits mailing list