aboutsummaryrefslogtreecommitdiffstats
path: root/main/aports-build
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-14 07:09:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-14 07:09:51 +0000
commit9f732c02548dee0e47ea1d6a004f63debe48d03a (patch)
tree5c3ff094237aed459a232b3ae0e0b2cf0479c088 /main/aports-build
parent56b3381ebbf1e988e2cabdf2704b3d7f40f2270a (diff)
downloadaports-9f732c02548dee0e47ea1d6a004f63debe48d03a.tar.bz2
aports-9f732c02548dee0e47ea1d6a004f63debe48d03a.tar.xz
main/aports-build: depend on network
Diffstat (limited to 'main/aports-build')
-rw-r--r--main/aports-build/APKBUILD8
-rw-r--r--main/aports-build/aports-build.initd4
2 files changed, 8 insertions, 4 deletions
diff --git a/main/aports-build/APKBUILD b/main/aports-build/APKBUILD
index a3d0523eb7..7bba9a471f 100644
--- a/main/aports-build/APKBUILD
+++ b/main/aports-build/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aports-build
pkgver=0.3
-pkgrel=1
+pkgrel=2
pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux"
url="http://alpinelinux.org"
arch="noarch"
@@ -40,11 +40,11 @@ package() {
}
md5sums="da5b3655b94700461cd8780d0197634f aports-build
-40ff7be2ad647d22c4c8ebfe1fec8b1b aports-build.initd
+784238e965ca025c0c6ed13c8af01613 aports-build.initd
cdc49e0ef145de72131972a575f20e7b aports-build.confd"
sha256sums="cea8c0af310cf884528835ed728971c5cd4fa2e79ab04f0c49f3652843327f91 aports-build
-e6b228ccc0dcdf7f172ebd3777c5791b96f86a8c96a4df95df2dd3c9051b91fe aports-build.initd
+88215b5969e5ffeda549c6e31de4563569ddee2ac3220c381d40f382d43f8323 aports-build.initd
519744cdb4be83e5da1c22d4aa93c7ef97d66e03565e84b710bc21c94b82047e aports-build.confd"
sha512sums="07aae9a60d65f8162c7ff2709ad16300007890a16fe081d7cc827b931a3c6172175266a0fc08182f5ca5d80ed0b5748801c5fbb2fc23dba3e29659aecbb27d5a aports-build
-af5cd8e2647f3b9aa03020d5cea996a750b48b2b3a4d208f5ef683538aba3ecada677b9a0071385c85ec66803b8ed055b1d58853ccfe198c1c5beaad99d97d86 aports-build.initd
+2ef2fa6de4118209ab93a56216f106ac32078df762f4d67e900976c28bea96d44806f4679ef966472a3eb05fdaf1648aab17c0eaa897e8a06b1272766f29d22b aports-build.initd
fbe8ed4b1fbfc979de62302873e99c67bab751a7fcd921c3b23815f535cedb34c717e82b3c223f88e06498a573cbd147a73db7bf5adbb5e1947ac75fcb8edcb4 aports-build.confd"
diff --git a/main/aports-build/aports-build.initd b/main/aports-build/aports-build.initd
index bb849af54c..cf7852edb6 100644
--- a/main/aports-build/aports-build.initd
+++ b/main/aports-build/aports-build.initd
@@ -9,6 +9,10 @@ pidfile=/var/run/aports-build/mqtt-exec.pid
command_args="-h ${mqtt_broker:-msg.alpinelinux.org} -t $mqtt_topic -- /usr/bin/aports-build"
start_stop_daemon_args="--stdout /dev/null --stderr /dev/null --background --make-pid --user buildozer"
+depend() {
+ need net
+}
+
start_pre() {
local h=$(getent passwd buildozer | cut -d: -f6)
checkpath --owner buildozer --directory ${pidfile%/*}