aboutsummaryrefslogtreecommitdiffstats
path: root/main/ez-ipupdate
diff options
context:
space:
mode:
Diffstat (limited to 'main/ez-ipupdate')
-rw-r--r--main/ez-ipupdate/APKBUILD21
-rw-r--r--main/ez-ipupdate/ez-ipupdate.initd1
-rw-r--r--main/ez-ipupdate/ez-ipupdate.post-install5
3 files changed, 16 insertions, 11 deletions
diff --git a/main/ez-ipupdate/APKBUILD b/main/ez-ipupdate/APKBUILD
index 2e81bc0f1f..d4332416f0 100644
--- a/main/ez-ipupdate/APKBUILD
+++ b/main/ez-ipupdate/APKBUILD
@@ -2,16 +2,18 @@
# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
pkgname=ez-ipupdate
pkgver=3.0.10
-pkgrel=3
+pkgrel=4
pkgdesc="utility for updating your host name for many of the dynamic DNS services (ez-ip.net, dyndns.org, etc)"
url="http://ez-ipupdate.com/"
arch="all"
license="GPL"
depends=""
makedepends=""
-install="$pkgname.pre-install $pkgname.post-install"
+pkgusers="ipupdate"
+pkggroups="ipupdate"
+install="$pkgname.pre-install"
subpackages=""
-source="http://ez-ipupdate.com/dist/$pkgname-$pkgver.tar.gz
+source="http://dev.alpinelinux.org/archive/ez-ipupdate/$pkgname-$pkgver.tar.gz
ez-ipupdate.confd
ez-ipupdate.initd
errno.patch
@@ -39,11 +41,18 @@ package() {
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
- install -d "$pkgdir"/var/lib/$pkgname
- install -d "$pkgdir"/var/run/$pkgname
+ install -d -o ipupdate -g ipupdate "$pkgdir"/var/lib/$pkgname
}
md5sums="6505c9d18ef6b5ce13fe2a668eb5724b ez-ipupdate-3.0.10.tar.gz
e6e06780b1896f2250132cc16cd10710 ez-ipupdate.confd
-6a8250dd9c7810c1968f80c90715b747 ez-ipupdate.initd
+a27ea7ceff60527c7a4ba4bb4f74df7e ez-ipupdate.initd
1fede0dcb5d9ca108855df0a9d213413 errno.patch"
+sha256sums="f7ff9bf972139b303616018a6937aa4c6df4e93c935ffd004b30845e2ad41ea6 ez-ipupdate-3.0.10.tar.gz
+27bc2bfb01a29b9b94ae53e5f520baabcc93ff832e89f1aedfc76078201480b0 ez-ipupdate.confd
+fd0c0df3f46df42529faeed7d1028abad06cd122b54940f8eda4ec47591a872b ez-ipupdate.initd
+4b72ddf41197f9122f118c061e304b9a6492bd3f0c6827b10ade56357a0b4608 errno.patch"
+sha512sums="dfcbdb2f6a53c3781c31d04269e36819b6bcdb53dfcf065f66c36de310420da7c7dc107a18bc8c7d75cfe1e2964bc9a1e3289502295ad386eee12e8a83a6b388 ez-ipupdate-3.0.10.tar.gz
+510f7c6cfb6b9c08ecf8940d80ef7ec46acbbd57c0deed7304348e91616affa3381429118aa1e7d5315d61478e54c70599eed2e414cbc75b7df2b8f276648452 ez-ipupdate.confd
+7dafbfaf2ab814ea2213180e96e67ed772946d35dc62313af866b43417bbc2496488d9278be4dd0e1f0a9513f1d2d20113d723cddbf3d4c3197dacf093ee6e36 ez-ipupdate.initd
+906f25047ae422beeb80b07af07e8516c97cb51dc49298357b11e03919b562f474bc4b45f2eb636e6c7e0e2de787569d1bac387913a046fc4e6d0dffa2a5c502 errno.patch"
diff --git a/main/ez-ipupdate/ez-ipupdate.initd b/main/ez-ipupdate/ez-ipupdate.initd
index 89faa9e72f..c0cd09dd19 100644
--- a/main/ez-ipupdate/ez-ipupdate.initd
+++ b/main/ez-ipupdate/ez-ipupdate.initd
@@ -23,6 +23,7 @@ depend() {
}
start() {
+ checkpath --directory /var/run/$NAME --owner $DAEMON_USER
ebegin "Starting ${NAME}"
start-stop-daemon --start --quiet \
--pidfile /var/run/${NAME}/${NAME}.pid \
diff --git a/main/ez-ipupdate/ez-ipupdate.post-install b/main/ez-ipupdate/ez-ipupdate.post-install
deleted file mode 100644
index 846c21102b..0000000000
--- a/main/ez-ipupdate/ez-ipupdate.post-install
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-chown ipupdate:ipupdate var/run/ez-ipupdate var/lib/ez-ipupdate
-exit 0
-