aboutsummaryrefslogtreecommitdiffstats
path: root/testing/namecoin/namecoin.pre-install
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2014-05-09 22:54:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-02 06:28:31 +0000
commitaafbc92638b9011b2d3ab7179345cb6134145d29 (patch)
tree28fa82eea55f85d5b80549b4bb44897aab5ff8be /testing/namecoin/namecoin.pre-install
parent71132bd1561a8d0fb1f92877033f67860d46d180 (diff)
downloadaports-aafbc92638b9011b2d3ab7179345cb6134145d29.tar.bz2
aports-aafbc92638b9011b2d3ab7179345cb6134145d29.tar.xz
testing/namecoin: new aport
Same init / pre / post scripts as with bitcoin: daemon runs in /var/lib/namecoin as namecoin:namecoin APKBUILD tidied up: source format corrected for github patches fixed to -p1 qt() fixed GUI builds as qt4 (there is no qt5 gui for namecoin yet) locale patch revised to include the fix for qt - revision proposed upstream. python-dev is not available on 32 bit MUSL so the build will fail there for both namecoin & bitcoin.
Diffstat (limited to 'testing/namecoin/namecoin.pre-install')
-rw-r--r--testing/namecoin/namecoin.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/namecoin/namecoin.pre-install b/testing/namecoin/namecoin.pre-install
new file mode 100644
index 000000000..33c72d146
--- /dev/null
+++ b/testing/namecoin/namecoin.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+addgroup -S namecoin 2>/dev/null
+adduser -S -h /var/lib/namecoin -g namecoin -G namecoin -D -s /sbin/nologin namecoin 2>/dev/null
+exit 0
+