diff options
author | John Piasetzki | 2015-06-30 02:15:47 +0000 |
---|---|---|
committer | John Piasetzki | 2015-06-30 02:15:47 +0000 |
commit | a399929ec481a1e85b98260550d5be6884cf894c (patch) | |
tree | bd69a48b9b35b8a793bbe8b3842bb1743236357b | |
download | aur-a399929ec481a1e85b98260550d5be6884cf894c.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | dyndns.service | 13 | ||||
-rw-r--r-- | dyndnsd | 3 |
4 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6fd9f5663581 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = dyndns + pkgdesc = dyndns (Dynamic DNS) syncing shell script with systemd script + pkgver = 1.0.1 + pkgrel = 2 + url = http://john.piasetzki.name/projects/dyndns + arch = any + license = unknown + depends = curl + source = http://john.piasetzki.name/projects/dyndns/dyndns-1.0.1 + source = dyndns.service + source = dyndnsd + md5sums = 17312c8594295c723f8d4021b282f168 + md5sums = bdb2511c0e00fa8a346dfce72887e7a7 + md5sums = 2fc56497ed300dc095e65ecfd0391512 + +pkgname = dyndns + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..046dccfc0c68 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: John Piasetzki <john@piasetzki.name> +pkgname=dyndns +pkgver=1.0.1 +pkgrel=2 +pkgdesc="dyndns (Dynamic DNS) syncing shell script with systemd script" +arch=('any') +url="http://john.piasetzki.name/projects/dyndns" +license=('unknown') +groups=() +depends=('curl') +makedepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("http://john.piasetzki.name/projects/$pkgname/$pkgname-$pkgver" + 'dyndns.service' 'dyndnsd') +noextract= +md5sums=('17312c8594295c723f8d4021b282f168' + 'bdb2511c0e00fa8a346dfce72887e7a7' + '2fc56497ed300dc095e65ecfd0391512') + + +package() { + install -Dm755 $pkgname-$pkgver $pkgdir/usr/bin/dyndns + install -D -m644 ${srcdir}/dyndnsd ${pkgdir}/etc/conf.d/dyndnsd + install -D -m644 ${srcdir}/dyndns.service ${pkgdir}/usr/lib/systemd/system/dyndns.service +} diff --git a/dyndns.service b/dyndns.service new file mode 100644 index 000000000000..3b1b2c1065bd --- /dev/null +++ b/dyndns.service @@ -0,0 +1,13 @@ +[Unit] +Description=Dyndns Service +After=network.target + +[Service] +Type=forking +User=nobody +EnvironmentFile=/etc/conf.d/dyndnsd +ExecStart=/usr/bin/dyndns -D -u ${username} -p ${password} ${host} +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/dyndnsd b/dyndnsd new file mode 100644 index 000000000000..4fa0f16d0d82 --- /dev/null +++ b/dyndnsd @@ -0,0 +1,3 @@ +username=<username> +password=<password> +host=<host> |