[arch-commits] Commit in igmpproxy/trunk (PKGBUILD igmpproxy.rc.d)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 10:26:16 EDT 2013


    Date: Monday, May 13, 2013 @ 16:26:15
  Author: spupykin
Revision: 90674

upgpkg: igmpproxy 0.1-2

upd

Modified:
  igmpproxy/trunk/PKGBUILD
Deleted:
  igmpproxy/trunk/igmpproxy.rc.d

----------------+
 PKGBUILD       |    5 +----
 igmpproxy.rc.d |   38 --------------------------------------
 2 files changed, 1 insertion(+), 42 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 14:26:11 UTC (rev 90673)
+++ PKGBUILD	2013-05-13 14:26:15 UTC (rev 90674)
@@ -5,7 +5,7 @@
 
 pkgname=igmpproxy
 pkgver=0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="a simple multicast router for Linux only using the IGMP protocol"
 arch=(i686 x86_64)
 url="http://sourceforge.net/projects/igmpproxy"
@@ -13,10 +13,8 @@
 depends=()
 backup=("etc/igmpproxy.conf")
 source=("http://downloads.sourceforge.net/sourceforge/igmpproxy/igmpproxy-$pkgver.tar.gz"
-	"igmpproxy.rc.d"
 	"igmpproxy.service")
 md5sums=('c56f41ec195bc1fe016369bf74efc5a1'
-         '642054dd586e5b0e7f660863e8131f57'
          '2ff8500f8a59cdfaf910e48cd54ab659')
 
 build() {
@@ -28,6 +26,5 @@
 package() {
   cd $srcdir/$pkgname-$pkgver
   make DESTDIR=$pkgdir install
-  install -Dm755 $srcdir/$pkgname.rc.d $pkgdir/etc/rc.d/$pkgname
   install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
 }

Deleted: igmpproxy.rc.d
===================================================================
--- igmpproxy.rc.d	2013-05-13 14:26:11 UTC (rev 90673)
+++ igmpproxy.rc.d	2013-05-13 14:26:15 UTC (rev 90674)
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/igmpproxy`
-case "$1" in
-  start)
-    stat_busy "Starting igmpproxy routing daemon"
-    if [ -z "$PID" ]; then 
-       /usr/sbin/igmpproxy /etc/igmpproxy.conf &
-    fi
-    if [ ! -z "$PID" -o $? -gt 0 ]; then
-      stat_fail
-    else
-      disown
-      add_daemon igmpproxy
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping igmpproxy routing daemon"
-    [ ! -z "$PID" ] && kill $PID &>/dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon igmpproxy
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"
-esac



More information about the arch-commits mailing list