summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/ddclient/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-07 04:56:13 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-07 04:56:13 (GMT)
commitaeb48ca0a00c85d704294b81688f21075913f0a5 (patch)
tree8b120375c7bbdbacd024860813d3be24d2ad7931 /abs/extra-testing/ddclient/PKGBUILD
parente0926c92cac73ce52146f7f7964fc95d7f9e08bc (diff)
downloadlinhes_pkgbuild-aeb48ca0a00c85d704294b81688f21075913f0a5.zip
linhes_pkgbuild-aeb48ca0a00c85d704294b81688f21075913f0a5.tar.gz
linhes_pkgbuild-aeb48ca0a00c85d704294b81688f21075913f0a5.tar.bz2
adding ddclient for dynamic dns support
Diffstat (limited to 'abs/extra-testing/ddclient/PKGBUILD')
-rw-r--r--abs/extra-testing/ddclient/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra-testing/ddclient/PKGBUILD b/abs/extra-testing/ddclient/PKGBUILD
new file mode 100644
index 0000000..121d2c5
--- /dev/null
+++ b/abs/extra-testing/ddclient/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD,v 1.13 2008/08/07 07:11:09 abhidg Exp $
+# Maintainer: Abhishek Dasgupta <abhidg@gmail.com>
+# Contributor: David Rosenstrauch <darose@darose.net>
+
+pkgname=ddclient
+pkgver=3.7.3
+pkgrel=2
+pkgdesc="Update dynamic DNS entries for accounts on many dynamic DNS services."
+arch=('i686' 'x86_64')
+url="http://ddclient.sourceforge.net/"
+license=('GPL2')
+depends=('perl' 'perl-io-socket-ssl')
+backup=('etc/ddclient/ddclient.conf' 'etc/conf.d/ddclient')
+install=ddclient.install
+source=(http://downloads.sourceforge.net/sourceforge/ddclient/ddclient-$pkgver.tar.bz2 ddclient.rc ddclient.conf.d)
+
+build() {
+ cd ${srcdir}/ddclient-${pkgver}
+
+ # core files
+ install -D -m755 ddclient ${pkgdir}/usr/sbin/ddclient
+ install -D -m755 ${srcdir}/ddclient.rc ${pkgdir}/etc/rc.d/ddclient
+ install -D -m600 sample-etc_ddclient.conf ${pkgdir}/etc/ddclient/ddclient.conf
+ install -D -m644 ${srcdir}/ddclient.conf.d ${pkgdir}/etc/conf.d/ddclient
+ install -d ${pkgdir}/var/cache/ddclient
+
+ # additional instructions, sample configs
+ install -D -m644 README ${pkgdir}/etc/ddclient/samples/README
+ 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
+}
+md5sums=('f6a55bc68cf73ffe7e80d2fa5cd44f85'
+ '7035bf8132f3517a59167f61ee5e8b90'
+ 'b8f39c82827776da948b76ef83544d33')