summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbrannon2012-06-08 21:14:44 +0000
committercbrannon2012-06-08 21:14:44 +0000
commit65d726aa0233ccb8b632755119cc179e6b16dd8a (patch)
tree276e7285b51b92cca831efccd709f73085c41686
parent118e8fb5bfdbbabe0b3364ed846bbf501473d5c7 (diff)
downloadaur-65d726aa0233ccb8b632755119cc179e6b16dd8a.tar.gz
upgpkg: ddclient 3.8.1-4
Rebuilt for the systemd-arch-units todo list. git-svn-id: file:///srv/repos/svn-community/svn@72111 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r--.SRCINFO4
-rw-r--r--ChangeLog5
-rw-r--r--PKGBUILD5
-rw-r--r--ddclient.service11
4 files changed, 23 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc81e675b122..a4bfebde7d1b 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 = 3
+ pkgrel = 4
url = http://ddclient.sourceforge.net/
install = ddclient.install
arch = any
@@ -13,10 +13,12 @@ pkgbase = 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
pkgname = ddclient
diff --git a/ChangeLog b/ChangeLog
index 921d429e4445..8b355f5b8e88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-08 Chris Brannon <chris@the-brannons.com>
+ * ddclient 3.8.1-4
+ Added the systemd unit from the soon-to-be-defunct systemd-arch-units
+ package.
+
2012-03-12 Chris Brannon <chris@the-brannons.com>
* ddclient 3.8.1-3
Applied a patch to use iproute2, rather than net-tools.
diff --git a/PKGBUILD b/PKGBUILD
index 00d2bc39362c..f7cf30f6ec8a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=ddclient
pkgver=3.8.1
-pkgrel=3
+pkgrel=4
pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services."
arch=('any')
url="http://ddclient.sourceforge.net/"
@@ -15,6 +15,7 @@ install=ddclient.install
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
ddclient.rc
ddclient.conf.d
+ ddclient.service
iproute2.patch)
build() {
@@ -38,8 +39,10 @@ package() {
install -D -m644 sample-etc_cron.d_ddclient ${pkgdir}/etc/ddclient/samples/sample-etc_cron.d_ddclient
install -D -m644 sample-etc_dhcpc_dhcpcd-eth0.exe ${pkgdir}/etc/ddclient/samples/sample-etc_dhcpc_dhcpcd-eth0.exe
install -D -m644 sample-etc_ppp_ip-up.local ${pkgdir}/etc/ddclient/samples/sample-etc_ppp_ip-up.local
+ install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
}
md5sums=('7fa417bc65f8f0e6ce78418a4f631988'
'10af4667b7269132b8f0cdfc26864d89'
'b8f39c82827776da948b76ef83544d33'
+ 'fde631ff027c03179e9cdd483def324d'
'e0c8a07e9b7a69e73cecd8626f16e8f0')
diff --git a/ddclient.service b/ddclient.service
new file mode 100644
index 000000000000..85ab6f9c4385
--- /dev/null
+++ b/ddclient.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Dynamic DNS Update Client
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/ddclient.pid
+ExecStart=/usr/sbin/ddclient -daemon 300 -syslog -pid /run/ddclient.pid
+
+[Install]
+WantedBy=multi-user.target