summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsteel2013-05-30 16:25:37 +0000
committersvntogit2013-05-30 16:25:37 +0000
commit957d2fd8c58b061a73abbd6c414ee45170e753cc (patch)
tree9846a5b0daaeaec77b7f3decd6178c4c30a97f2f
parent4a25e604454ffcccb60b708ef4d248a5c21cdc8c (diff)
downloadaur-957d2fd8c58b061a73abbd6c414ee45170e753cc.tar.gz
Move files to /usr/bin/
git-svn-id: file:///srv/repos/svn-community/svn@91973 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
-rw-r--r--usrbin.patch13
3 files changed, 23 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fc83abcc6b3..87f6cf546e2 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 = 6
+ pkgrel = 7
url = http://ddclient.sourceforge.net
install = ddclient.install
arch = any
@@ -12,9 +12,11 @@ pkgbase = ddclient
source = http://downloads.sourceforge.net/sourceforge/ddclient/ddclient-3.8.1.tar.bz2
source = ddclient.service
source = iproute2.patch
+ source = usrbin.patch
md5sums = 7fa417bc65f8f0e6ce78418a4f631988
md5sums = fde631ff027c03179e9cdd483def324d
md5sums = e0c8a07e9b7a69e73cecd8626f16e8f0
+ md5sums = 65e294485a18b8d3f752a124913579f1
pkgname = ddclient
diff --git a/PKGBUILD b/PKGBUILD
index fd4b8b7a9bc..7276634151a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=ddclient
pkgver=3.8.1
-pkgrel=6
+pkgrel=7
pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services"
arch=('any')
url="http://ddclient.sourceforge.net"
@@ -15,22 +15,25 @@ backup=('etc/ddclient/ddclient.conf')
install=ddclient.install
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
ddclient.service
- iproute2.patch)
+ iproute2.patch
+ usrbin.patch)
md5sums=('7fa417bc65f8f0e6ce78418a4f631988'
'fde631ff027c03179e9cdd483def324d'
- 'e0c8a07e9b7a69e73cecd8626f16e8f0')
+ 'e0c8a07e9b7a69e73cecd8626f16e8f0'
+ '65e294485a18b8d3f752a124913579f1')
build() {
cd "$srcdir"/ddclient-$pkgver
patch -p1 < "$srcdir"/iproute2.patch
+ patch -Np0 -i "$srcdir"/usrbin.patch
}
package() {
cd "$srcdir"/ddclient-$pkgver
# core files
- install -Dm755 ddclient "$pkgdir"/usr/sbin/ddclient
+ install -Dm755 ddclient "$pkgdir"/usr/bin/ddclient
install -Dm600 sample-etc_ddclient.conf "$pkgdir"/etc/ddclient/ddclient.conf
install -d "$pkgdir"/var/cache/ddclient
diff --git a/usrbin.patch b/usrbin.patch
new file mode 100644
index 00000000000..1ee90c5430c
--- /dev/null
+++ b/usrbin.patch
@@ -0,0 +1,13 @@
+--- sample-etc_cron.d_ddclient.orig 2013-05-12 13:04:10.958327840 +0100
++++ sample-etc_cron.d_ddclient 2013-05-12 13:04:38.588178156 +0100
+@@ -10,8 +10,8 @@
+ ######################################################################
+ ## force an update twice a month (only if you are not using daemon-mode)
+ ##
+-## 30 23 1,15 * * root /usr/sbin/ddclient -daemon=0 -syslog -quiet -force
++## 30 23 1,15 * * root /usr/bin/ddclient -daemon=0 -syslog -quiet -force
+ ######################################################################
+ ## retry failed updates every hour (only if you are not using daemon-mode)
+ ##
+-## 0 * * * * root /usr/sbin/ddclient -daemon=0 -syslog -quiet retry
++## 0 * * * * root /usr/bin/ddclient -daemon=0 -syslog -quiet retry