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

Jonathan Steel jsteel at nymeria.archlinux.org
Sun May 12 04:35:54 EDT 2013


    Date: Sunday, May 12, 2013 @ 10:35:53
  Author: jsteel
Revision: 90402

Remove old initscipts rc.d files

Modified:
  ddclient/trunk/PKGBUILD
Deleted:
  ddclient/trunk/ddclient.conf.d
  ddclient/trunk/ddclient.rc

-----------------+
 PKGBUILD        |   10 ++--------
 ddclient.conf.d |    2 --
 ddclient.rc     |   41 -----------------------------------------
 3 files changed, 2 insertions(+), 51 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-12 08:26:37 UTC (rev 90401)
+++ PKGBUILD	2013-05-12 08:35:53 UTC (rev 90402)
@@ -5,22 +5,18 @@
 
 pkgname=ddclient
 pkgver=3.8.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services"
 arch=('any')
 url="http://ddclient.sourceforge.net"
 license=('GPL2')
 depends=('perl-io-socket-ssl' 'perl-digest-sha1')
-backup=('etc/ddclient/ddclient.conf' 'etc/conf.d/ddclient')
+backup=('etc/ddclient/ddclient.conf')
 install=ddclient.install
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
-        ddclient.rc
-        ddclient.conf.d
         ddclient.service
         iproute2.patch)
 md5sums=('7fa417bc65f8f0e6ce78418a4f631988'
-         '10af4667b7269132b8f0cdfc26864d89'
-         'b8f39c82827776da948b76ef83544d33'
          'fde631ff027c03179e9cdd483def324d'
          'e0c8a07e9b7a69e73cecd8626f16e8f0')
 
@@ -35,9 +31,7 @@
 
   # core files
   install -Dm755 ddclient "$pkgdir"/usr/sbin/ddclient
-  install -Dm755 "$srcdir"/ddclient.rc "$pkgdir"/etc/rc.d/ddclient
   install -Dm600 sample-etc_ddclient.conf "$pkgdir"/etc/ddclient/ddclient.conf
-  install -Dm644 "$srcdir"/ddclient.conf.d "$pkgdir"/etc/conf.d/ddclient
   install -d "$pkgdir"/var/cache/ddclient
 
   # additional instructions, sample configs

Deleted: ddclient.conf.d
===================================================================
--- ddclient.conf.d	2013-05-12 08:26:37 UTC (rev 90401)
+++ ddclient.conf.d	2013-05-12 08:35:53 UTC (rev 90402)
@@ -1,2 +0,0 @@
-# Parameters passed to ddclient
-EXTRA_ARGS="-daemon 300"

Deleted: ddclient.rc
===================================================================
--- ddclient.rc	2013-05-12 08:26:37 UTC (rev 90401)
+++ ddclient.rc	2013-05-12 08:35:53 UTC (rev 90402)
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-[ -f /etc/conf.d/ddclient ] && . /etc/conf.d/ddclient
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PIDFILE=/var/run/ddclient.pid
-  PID=`cat $PIDFILE 2>/dev/null`
-
-# Is ddclient running?
-
-case "$1" in
-  start)
-    stat_busy "Starting ddclient"
-    [ -z "$PID" ] && /usr/sbin/ddclient ${EXTRA_ARGS}
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon ddclient
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping ddclient"
-    [ -n "$PID" ] && kill -15 $PID >/dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon ddclient
-      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