summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schury2015-06-08 11:24:01 +0200
committerDavid Schury2015-06-08 11:24:01 +0200
commit82f19aa2dc7726c2657bd534bc52e768308d7968 (patch)
tree4c55cb2609cafdd6ebc105a4921b537dfd16d4ae
downloadaur-82f19aa2dc7726c2657bd534bc52e768308d7968.tar.gz
Initial import
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD43
-rw-r--r--inadyn.conf39
-rw-r--r--inadyn.service11
-rw-r--r--missing_changelog.patch24
5 files changed, 144 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..321b3a3f46f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = inadyn-fork
+ pkgdesc = Simple dynamic DNS client - fork of the original INADYN implementation from Narcis Ilisei
+ pkgver = 1.99.13
+ pkgrel = 1
+ url = http://troglobit.com/inadyn.html
+ arch = x86_64
+ arch = i686
+ arch = armv6h
+ license = GPL
+ depends = openssl
+ provides = inadyn
+ conflicts = inadyn-opendns
+ conflicts = inadyn
+ conflicts = inadyn-mt
+ conflicts = inadyn-fork-git
+ backup = etc/inadyn.conf
+ source = https://github.com/troglobit/inadyn/releases/download/1.99.13/inadyn-1.99.13.tar.xz
+ source = inadyn.conf
+ source = inadyn.service
+ source = missing_changelog.patch
+ sha256sums = 9e003790a0c3b4fbe10e5744adacc839ceca1a469e3bf461b464097b30a67c34
+ sha256sums = 919f87ea87b58e4ddfaf3346ffbcf899b8d9dcee5a0e9440e17e5db9552bba53
+ sha256sums = 4587f4ae2a4215f9ba67d5b3b7d0aa120a9ebd31677472fa68d8792f42d7135f
+ sha256sums = 8925258f5ce0307c4e6a3280f9ce29d4df93775dbc91515b6ad1ae8448b803f4
+
+pkgname = inadyn-fork
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..478d8ffb588
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: David Schury <dasc at posteo de>
+# Contributor: reMiND <detanator_at_gmail_com>
+# Contributor: Eric Engestrom <aur [at] engestrom [dot] ch>
+# Contributor: trile7 at gmail dot com
+
+pkgname=inadyn-fork
+_name=inadyn
+pkgver=1.99.13
+pkgrel=1
+pkgdesc='Simple dynamic DNS client - fork of the original INADYN implementation from Narcis Ilisei'
+url='http://troglobit.com/inadyn.html'
+arch=('x86_64' 'i686' 'armv6h')
+license=('GPL')
+depends=('openssl')
+backup=('etc/inadyn.conf')
+conflicts=('inadyn-opendns' 'inadyn' 'inadyn-mt' 'inadyn-fork-git')
+provides=('inadyn')
+source=(https://github.com/troglobit/inadyn/releases/download/$pkgver/${_name}-$pkgver.tar.xz
+ inadyn.conf
+ inadyn.service
+ missing_changelog.patch)
+sha256sums=('9e003790a0c3b4fbe10e5744adacc839ceca1a469e3bf461b464097b30a67c34'
+ '919f87ea87b58e4ddfaf3346ffbcf899b8d9dcee5a0e9440e17e5db9552bba53'
+ '4587f4ae2a4215f9ba67d5b3b7d0aa120a9ebd31677472fa68d8792f42d7135f'
+ '8925258f5ce0307c4e6a3280f9ce29d4df93775dbc91515b6ad1ae8448b803f4')
+
+prepare(){
+ cd ${_name}-$pkgver
+ patch -Np1 -i ../missing_changelog.patch
+}
+
+build(){
+ cd ${_name}-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin --enable-openssl
+ make
+}
+
+package(){
+ cd ${_name}-$pkgver
+ make DESTDIR=$pkgdir install
+ install -Dm644 ../inadyn.service $pkgdir/usr/lib/systemd/system/inadyn.service
+ install -Dm600 ../inadyn.conf $pkgdir/etc/inadyn.conf
+}
diff --git a/inadyn.conf b/inadyn.conf
new file mode 100644
index 00000000000..8d8d612a088
--- /dev/null
+++ b/inadyn.conf
@@ -0,0 +1,39 @@
+# inadyn.conf
+# For more details see 'man inadyn.conf' and 'man inadyn'
+# Check IP urls: checkip.dyndns.com ; checkip.two-dns.de ; myip.dnsomatic.com
+
+# Runs in background. Output to syslog or to log file [if specified].
+background
+# Set dbg level. 0 to 5
+verbose 1
+# How often the IP is checked, in seconds
+period 60
+# How often the IP should be updated even if it is not changed
+forced-update 3600
+# Initial delay at program startup. Default is 0 seconds.
+startup-delay 5
+#logfile /var/log/ddns.log
+#pidfile /var/run/ddns.pid
+
+# example for dyndns.org
+
+#system default@dyndns.org
+# ssl
+# username xxxx
+# password yyyy
+# alias HOST
+
+# example for no-ip.com sevice
+
+#system default@no-ip.com
+# username xxxx
+# password yyyy
+# alias HOST
+
+# example for dnsomatic sevice
+
+#system default@dnsomatic.com
+# ssl
+# username xxxx
+# password yyyy
+# alias HOST
diff --git a/inadyn.service b/inadyn.service
new file mode 100644
index 00000000000..fd44aa134d3
--- /dev/null
+++ b/inadyn.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Inadyn DNS service updater
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/inadyn --background --config /etc/inadyn.conf
+PIDFile=/run/inadyn/inadyn.pid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/missing_changelog.patch b/missing_changelog.patch
new file mode 100644
index 00000000000..fdec9502411
--- /dev/null
+++ b/missing_changelog.patch
@@ -0,0 +1,24 @@
+diff -rNu inadyn-1.99.13.orig/ChangeLog inadyn-1.99.13/ChangeLog
+--- inadyn-1.99.13.orig/ChangeLog 2015-06-07 09:23:51.920562406 +0200
++++ inadyn-1.99.13/ChangeLog 1970-01-01 01:00:00.000000000 +0100
+@@ -1,8 +0,0 @@
+-ChangeLog
+-=========
+-
+-No active change log is kept, see the GIT log for changes since v1.96.2
+-
+- https://github.com/troglobit/inadyn/commits/master
+-
+-//The Inadyn maintainers
+diff -rNu inadyn-1.99.13.orig/CHANGELOG inadyn-1.99.13/CHANGELOG
+--- inadyn-1.99.13.orig/CHANGELOG 1970-01-01 01:00:00.000000000 +0100
++++ inadyn-1.99.13/CHANGELOG 2014-10-06 00:35:50.000000000 +0200
+@@ -0,0 +1,8 @@
++ChangeLog
++=========
++
++No active change log is kept, see the GIT log for changes since v1.96.2
++
++ https://github.com/troglobit/inadyn/commits/master
++
++//The Inadyn maintainers