From 2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 May 2013 01:18:40 -0700 Subject: Tue May 14 01:18:40 PDT 2013 --- community/igmpproxy/PKGBUILD | 7 ++----- community/igmpproxy/igmpproxy.rc.d | 38 -------------------------------------- 2 files changed, 2 insertions(+), 43 deletions(-) delete mode 100644 community/igmpproxy/igmpproxy.rc.d (limited to 'community/igmpproxy') diff --git a/community/igmpproxy/PKGBUILD b/community/igmpproxy/PKGBUILD index ab3e7e291..1e2002b0c 100644 --- a/community/igmpproxy/PKGBUILD +++ b/community/igmpproxy/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 80944 2012-12-07 13:00:49Z spupykin $ +# $Id: PKGBUILD 90675 2013-05-13 14:26:33Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Jan "heftig" Steffens # Contributor: sda 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 @@ license=('GPL') 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 @@ build() { 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 } diff --git a/community/igmpproxy/igmpproxy.rc.d b/community/igmpproxy/igmpproxy.rc.d deleted file mode 100644 index 5b88e94f1..000000000 --- a/community/igmpproxy/igmpproxy.rc.d +++ /dev/null @@ -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 -- cgit v1.2.3-54-g00ecf