summaryrefslogtreecommitdiffstats
path: root/abs/extra/inadyn
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/inadyn')
-rw-r--r--abs/extra/inadyn/PKGBUILD18
-rw-r--r--abs/extra/inadyn/run4
2 files changed, 22 insertions, 0 deletions
diff --git a/abs/extra/inadyn/PKGBUILD b/abs/extra/inadyn/PKGBUILD
new file mode 100644
index 0000000..405f34d
--- /dev/null
+++ b/abs/extra/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/inadyn/run b/abs/extra/inadyn/run
new file mode 100644
index 0000000..7046c12
--- /dev/null
+++ b/abs/extra/inadyn/run
@@ -0,0 +1,4 @@
+#!/bin/bash
+exec 2>&1
+. /etc/systemconfig
+exec /usr/sbin/inadyn -u $DDnslogin -p $DDnspassword -a $DDnshostname --syslog