summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-06 21:26:07 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-06 21:26:07 (GMT)
commit7f88afbbba19a79ea408459eac443289baed8443 (patch)
tree79517f74bbd94e3af273d1903bf2aa9700ca3238 /abs/extra-testing
parentcaf0fa1d12384c6590bbf24e8b4e91fa2e192b2b (diff)
downloadlinhes_pkgbuild-7f88afbbba19a79ea408459eac443289baed8443.zip
linhes_pkgbuild-7f88afbbba19a79ea408459eac443289baed8443.tar.gz
linhes_pkgbuild-7f88afbbba19a79ea408459eac443289baed8443.tar.bz2
Adding inadyn.
This is a ddns client package that works and seems to work well. ddclient is not used because its 1) written in perl 2) does not understand the concept daemon without forking. 3) writtne in perl.
Diffstat (limited to 'abs/extra-testing')
-rw-r--r--abs/extra-testing/inadyn/PKGBUILD18
-rw-r--r--abs/extra-testing/inadyn/run4
2 files changed, 22 insertions, 0 deletions
diff --git a/abs/extra-testing/inadyn/PKGBUILD b/abs/extra-testing/inadyn/PKGBUILD
new file mode 100644
index 0000000..405f34d
--- /dev/null
+++ b/abs/extra-testing/inadyn/PKGBUILD
@@ -0,0 +1,18 @@
+pkgname=inadyn
+pkgver=1.96.2
+pkgrel=4
+pkgdesc="Simple dynamic DNS client"
+url="http://www.dyndns.com/support/kb/using_inadyn_with_dyndns_services.html"
+makedepends=('unzip')
+arch=('i686' 'x86_64')
+license=('GPL')
+source=(http://cdn.dyndns.com/$pkgname.zip run)
+
+
+build() {
+ cd $startdir/src/$pkgname
+ install -m755 -D bin/linux/$pkgname $startdir/pkg/usr/sbin/$pkgname
+ install -m644 -D man/$pkgname.8 $startdir/pkg/usr/man/man8/$pkgname.8
+ install -m644 -D man/$pkgname.conf.5 $startdir/pkg/usr/man/man5/$pkgname.conf.5
+ install -m755 -D ../run $startdir/pkg/etc/sv/inadyn/run
+}
diff --git a/abs/extra-testing/inadyn/run b/abs/extra-testing/inadyn/run
new file mode 100644
index 0000000..7046c12
--- /dev/null
+++ b/abs/extra-testing/inadyn/run
@@ -0,0 +1,4 @@
+#!/bin/bash
+exec 2>&1
+. /etc/systemconfig
+exec /usr/sbin/inadyn -u $DDnslogin -p $DDnspassword -a $DDnshostname --syslog