summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsteel2013-05-12 08:35:53 +0000
committersvntogit2013-05-12 08:35:53 +0000
commit4a25e604454ffcccb60b708ef4d248a5c21cdc8c (patch)
tree4d26f9aa802cabb741a755c1150066e64eb88098
parente99f572b873b8d2559c91045aacada9edfbae93e (diff)
downloadaur-4a25e604454ffcccb60b708ef4d248a5c21cdc8c.tar.gz
Remove old initscipts rc.d files
git-svn-id: file:///srv/repos/svn-community/svn@90402 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD10
-rw-r--r--ddclient.conf.d2
-rw-r--r--ddclient.rc41
4 files changed, 3 insertions, 57 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a22c6561675..fc83abcc6b3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ddclient
pkgdesc = Update dynamic DNS entries for accounts on many dynamic DNS services
pkgver = 3.8.1
- pkgrel = 5
+ pkgrel = 6
url = http://ddclient.sourceforge.net
install = ddclient.install
arch = any
@@ -9,15 +9,10 @@ pkgbase = ddclient
depends = perl-io-socket-ssl
depends = perl-digest-sha1
backup = etc/ddclient/ddclient.conf
- backup = etc/conf.d/ddclient
source = http://downloads.sourceforge.net/sourceforge/ddclient/ddclient-3.8.1.tar.bz2
- source = ddclient.rc
- source = ddclient.conf.d
source = ddclient.service
source = iproute2.patch
md5sums = 7fa417bc65f8f0e6ce78418a4f631988
- md5sums = 10af4667b7269132b8f0cdfc26864d89
- md5sums = b8f39c82827776da948b76ef83544d33
md5sums = fde631ff027c03179e9cdd483def324d
md5sums = e0c8a07e9b7a69e73cecd8626f16e8f0
diff --git a/PKGBUILD b/PKGBUILD
index 35859c7320e..fd4b8b7a9bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 @@ package() {
# 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
diff --git a/ddclient.conf.d b/ddclient.conf.d
deleted file mode 100644
index 8b754a3c270..00000000000
--- a/ddclient.conf.d
+++ /dev/null
@@ -1,2 +0,0 @@
-# Parameters passed to ddclient
-EXTRA_ARGS="-daemon 300"
diff --git a/ddclient.rc b/ddclient.rc
deleted file mode 100644
index c9331d08395..00000000000
--- a/ddclient.rc
+++ /dev/null
@@ -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