From 7f88afbbba19a79ea408459eac443289baed8443 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Fri, 6 Mar 2009 15:26:07 -0600
Subject: 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.

---
 abs/extra-testing/inadyn/PKGBUILD | 18 ++++++++++++++++++
 abs/extra-testing/inadyn/run      |  4 ++++
 2 files changed, 22 insertions(+)
 create mode 100644 abs/extra-testing/inadyn/PKGBUILD
 create mode 100644 abs/extra-testing/inadyn/run

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
-- 
cgit v0.12

