[arch-commits] Commit in distcc/trunk (PKGBUILD distccd)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 10:21:14 EDT 2013


    Date: Monday, May 13, 2013 @ 16:21:14
  Author: spupykin
Revision: 90656

upgpkg: distcc 3.1-11

upd

Modified:
  distcc/trunk/PKGBUILD
Deleted:
  distcc/trunk/distccd

----------+
 PKGBUILD |    5 +----
 distccd  |   38 --------------------------------------
 2 files changed, 1 insertion(+), 42 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 14:21:09 UTC (rev 90655)
+++ PKGBUILD	2013-05-13 14:21:14 UTC (rev 90656)
@@ -5,7 +5,7 @@
 
 pkgname=distcc
 pkgver=3.1
-pkgrel=10
+pkgrel=11
 pkgdesc="A distributed C, C++, Obj C compiler"
 arch=('i686' 'x86_64')
 url="http://code.google.com/p/distcc/"
@@ -17,11 +17,9 @@
 backup=('etc/conf.d/distccd'
 	'etc/distcc/hosts')
 source=(http://distcc.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2
-	distccd
 	distccd.conf.d
 	distccd.service)
 md5sums=('a1a9d3853df7133669fffec2a9aab9f3'
-         '1c918474372c09304772c20c4de484fa'
          '239aae53250e3e35288cba566bc0bbf1'
          '09f0688da9c1840e518d2593bd5c3830')
 
@@ -46,7 +44,6 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}/" INCLUDESERVER_PYTHON=/usr/bin/python2 install
   install -D -m644 ${srcdir}/distccd.conf.d ${pkgdir}/etc/conf.d/distccd
-  install -D -m755 ${srcdir}/distccd ${pkgdir}/etc/rc.d/distccd
 
   install -d ${pkgdir}/usr/lib/${pkgname}/bin
   ln -sf /usr/bin/${pkgname} ${pkgdir}/usr/lib/${pkgname}/bin/cc

Deleted: distccd
===================================================================
--- distccd	2013-05-13 14:21:09 UTC (rev 90655)
+++ distccd	2013-05-13 14:21:14 UTC (rev 90656)
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-[ -f /etc/conf.d/distccd ] && . /etc/conf.d/distccd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/distccd`
-case "$1" in
-  start)
-    stat_busy "Starting distcc Daemon"
-    [ -z "$PID" ] && /usr/bin/distccd --daemon ${DISTCC_ARGS}
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon distccd
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping distcc Daemon"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon distccd
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"  
-esac
-exit 0



More information about the arch-commits mailing list