[arch-commits] Commit in trac/trunk (PKGBUILD tracd)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 10:38:29 EDT 2013


    Date: Monday, May 13, 2013 @ 16:38:29
  Author: spupykin
Revision: 90726

upgpkg: trac 1.0.1-2

upd

Modified:
  trac/trunk/PKGBUILD
Deleted:
  trac/trunk/tracd

----------+
 PKGBUILD |    5 +----
 tracd    |   48 ------------------------------------------------
 2 files changed, 1 insertion(+), 52 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 14:38:23 UTC (rev 90725)
+++ PKGBUILD	2013-05-13 14:38:29 UTC (rev 90726)
@@ -4,7 +4,7 @@
 
 pkgname=trac
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Trac Integrated SCM & Project Management using Apache & Subversion."
 arch=('any')
 url="http://trac.edgewall.org/"
@@ -15,12 +15,10 @@
 backup=("etc/conf.d/tracd.conf")
 source=(http://ftp.edgewall.com/pub/trac/Trac-$pkgver.tar.gz
 	license.txt
-	tracd
 	tracd.service
 	tracd.conf)
 md5sums=('c869fa40e29fa4597e2c9c960de9f2f3'
          'af9a4064fd7a5759fee0fc288f749977'
-         '907d7bfeb5131f1bf7444b64d18e7eb2'
          '6dc659f6a4c0247173ae7fab4d8fee6e'
          '67db455554d661c725baf3057bd13534')
 
@@ -36,7 +34,6 @@
   done
 
   python2 setup.py install --prefix=/usr --root=$pkgdir
-  install -D -m755 ../tracd $pkgdir/etc/rc.d/tracd
   install -D -m644 ../tracd.conf $pkgdir/etc/conf.d/tracd.conf
   install -D -m644 ../license.txt $pkgdir/usr/share/licenses/trac/license.txt
   install -D -m0755 contrib/cgi-bin/trac.cgi $pkgdir/usr/share/trac/trac.cgi

Deleted: tracd
===================================================================
--- tracd	2013-05-13 14:38:23 UTC (rev 90725)
+++ tracd	2013-05-13 14:38:29 UTC (rev 90726)
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-. /etc/conf.d/tracd.conf
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-DAEMON_NAME=tracd
-
-if [ -z "$PORT" ]; then
-  PORT="-p 8080"
-else
-  PORT="-p $PORT"
-fi
-
-if [ -z "$AUTH" ]; then
-  AUTH=
-else
-  AUTH="--auth ${AUTH//;/ --auth }"
-fi
-
-case "$1" in
-  start)
-    if [ -z "$PROJECT" ]; then
-      echo "You need to set the project path in /etc/conf.d/${DAEMON_NAME}.conf"
-      exit 1
-    fi
-    stat_busy "Starting $DAEMON_NAME: "
-    tracd -d $HOSTNAME $PORT $AUTH $PROJECT
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon $DAEMON_NAME
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Shutting down $DAEMON_NAME: "
-    kill `ps ax|grep pyth|grep tracd|awk -- "{print \\$1;}"`
-    rm_daemon $DAEMON_NAME
-    stat_done
-    ;;
-  reload|restart)
-    $0 stop
-    $0 start
-    ;;
-  *)
-    echo "Usage: $0 {start|stop|restart|reload}"
-esac 



More information about the arch-commits mailing list