[arch-commits] Commit in munin/trunk (PKGBUILD munin-node.init)

Dan McGee dan at nymeria.archlinux.org
Sat Feb 9 23:01:42 UTC 2013


    Date: Sunday, February 10, 2013 @ 00:01:41
  Author: dan
Revision: 177842

upgpkg: munin 2.0.11.1-1

Remove init script also

Modified:
  munin/trunk/PKGBUILD
Deleted:
  munin/trunk/munin-node.init

-----------------+
 PKGBUILD        |    7 ++-----
 munin-node.init |   42 ------------------------------------------
 2 files changed, 2 insertions(+), 47 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-09 19:41:54 UTC (rev 177841)
+++ PKGBUILD	2013-02-09 23:01:41 UTC (rev 177842)
@@ -4,7 +4,7 @@
 
 pkgname=('munin' 'munin-node')
 pkgbase=munin
-pkgver=2.0.10
+pkgver=2.0.11.1
 pkgrel=1
 pkgdesc="A distributed monitoring/graphing tool"
 arch=('any')
@@ -17,7 +17,6 @@
 source=(http://downloads.sourceforge.net/sourceforge/munin/munin-$pkgver.tar.gz
         Makefile.config
         munin-cron-entry
-        munin-node.init
         logrotate.munin
         logrotate.munin-node
         munin.tmpfiles.conf
@@ -67,17 +66,15 @@
 
 	cd "$srcdir/munin-$pkgver"
 	make DESTDIR="$pkgdir" install-common-prime install-node-prime install-plugins-prime
-	install -D -m755 ../munin-node.init "$pkgdir"/etc/rc.d/munin-node
 	install -D -m644 ../logrotate.munin-node "$pkgdir"/etc/logrotate.d/munin-node
 	install -D -m644 ../munin.tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/munin-node.conf
     install -D -m644 ../munin-node.service "$pkgdir"/usr/lib/systemd/system/munin-node.service
 	rm -rf "$pkgdir/run/"
 }
 
-md5sums=('2d13a013e617b7b30d3fe5162c2085e6'
+md5sums=('551109d4843764f00b39cf74b14fecf5'
          'fb3cc403e298ae6b73c280c4d3af7b49'
          'dc9c83aa2a278466fb475364462f4119'
-         '24a5fc7192729484c5190ddd76a3e9ab'
          'eb2f1e6e746e85ce1e91111f40086be0'
          'cdf139f2b6ae36852113f3411caa6e99'
          'd124f46e353a7966df093ba803235789'

Deleted: munin-node.init
===================================================================
--- munin-node.init	2013-02-09 19:41:54 UTC (rev 177841)
+++ munin-node.init	2013-02-09 23:01:41 UTC (rev 177842)
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID munin-node`
-# set the path to prevent insecure path warnings from perl -T
-PATH='/bin:/usr/bin:/sbin:/usr/sbin'
-
-case "$1" in
-  start)
-    stat_busy "Starting munin-node"
-	[ -d /var/run/munin ] || mkdir -p /var/run/munin
-    munin-node >/dev/null
-    stat_done
-    add_daemon munin-node
-    ;;
-  stop)
-    stat_busy "Stopping munin-node"
-    if [ ! -z "$PID" ]; then
-      kill $PID &> /dev/null
-      if [ $? -gt 0 ]; then
-        stat_fail
-        exit 1
-      else
-        stat_done
-        rm_daemon munin-node
-      fi
-    else
-      stat_fail
-      exit 1
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"
-    ;;
-esac




More information about the arch-commits mailing list