aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-03-28 09:37:28 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-03-28 09:37:28 +0000
commit3ea40feffa05b67bc39dbee6c23cebe97fb50f9d (patch)
tree1547e3555a2f0477ce5f9c5f17606ebbbe38457a
parentedb0fdb8f767f75f28dab48e173321c13dea607e (diff)
downloadaports-3ea40feffa05b67bc39dbee6c23cebe97fb50f9d.tar.bz2
aports-3ea40feffa05b67bc39dbee6c23cebe97fb50f9d.tar.xz
testing/smstools: fix user group
-rw-r--r--testing/smstools/APKBUILD8
-rw-r--r--testing/smstools/smstools.initd4
-rwxr-xr-xtesting/smstools/smstools.pre-install5
3 files changed, 9 insertions, 8 deletions
diff --git a/testing/smstools/APKBUILD b/testing/smstools/APKBUILD
index 0bdb625ba3..9b25ac34c6 100644
--- a/testing/smstools/APKBUILD
+++ b/testing/smstools/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=smstools
pkgver=3.1.15
-pkgrel=0
+pkgrel=1
_realname="${pkgname}${pkgver%\.[0-9]*\.[0-9]*}"
pkgdesc="SMS Gateway software which can send and receive short messages through GSM modems and mobile phones"
url="http://smstools3.kekekasvi.com/"
@@ -72,14 +72,14 @@ package() {
}
md5sums="0241ef60e646fac1a06254a848e61ed7 smstools3-3.1.15.tar.gz
-36849a432473d0919af772620101de12 smstools.initd
+77aee9b03c94800fa06b887968fd4e87 smstools.initd
6582c2d7961b5fd888f018b7287e401b smstools.conf
b6f3db0e9fbd38058c2effc43c54abb9 smstools.logrotate"
sha256sums="ed00ffaeaa312a5b4f969f4e97a64603a866bbe16e393ea02f5bf05234814d59 smstools3-3.1.15.tar.gz
-58f503cccfae18c40e13aa70a6aa653a14fa77b3268841f8643264203faf511c smstools.initd
+d112014d5bba3575d7e440086ca646e57731c17ad005218d11f9beeb0a231049 smstools.initd
fbf2f111d9ab8b3f0ede02fc426c0056a5ac6554972b948e011bb1f08fedd299 smstools.conf
f1c046c4b35c35777453cbaca32a982ed8511bf7d50a5190b9f57109e94c26e4 smstools.logrotate"
sha512sums="6a4cc852327fac27b00fc58def4bbc8caa395552586fe1b84f0f4a9f7f6b00008943b85c86de0821036629c58cf04840a189d711b4ac96f7ddaafd6b340b11fa smstools3-3.1.15.tar.gz
-3bece7305bf0ab64bf104d026821d9e441b802758cf890dd0fe18358d524db94e42304c0a87b0daa9a3cd7e17f9c604f7374a8ee9f58cb28adc3d6501d187ebd smstools.initd
+a8c25dd714c14f3bc0994c06736d74e5be16b9ef8e65c7913eb6c084ef076d1a34a8b4cb9f565532f046f40acbdd58776b5747f2ace17a4afd343ef5961e34bb smstools.initd
cf2a6d605f49df10d172bc412983312d37b315e42bdb82b2ce27eda4aaaec8526a6548db293457f48aa70b8d911a4169c77682f68850bef4c084b27ca478db9d smstools.conf
668eed2143c1f08fe1deb27a20496317c77160f3278d68fbc54ac8008c5d266c0a2dc39551fd1ced92706bfffc0bc5ee7581e452670e3bff92837e598b98b10e smstools.logrotate"
diff --git a/testing/smstools/smstools.initd b/testing/smstools/smstools.initd
index be1aa1deff..44f707a80d 100644
--- a/testing/smstools/smstools.initd
+++ b/testing/smstools/smstools.initd
@@ -11,14 +11,14 @@ start() {
if ! [ -d /var/run/smsd ]; then
ebegin "Creating /var/run/smsd for ${SVCNAME}"
mkdir /var/run/smsd \
- && chown smsd:sms /var/run/smsd \
+ && chown smsd:smsd /var/run/smsd \
&& chmod 770 /var/run/smsd
eend $?
fi
chown smsd:sms /var/log/smsd.log
ebegin "Starting smsd"
- start-stop-daemon -b -u smsd:sms --start --exec /usr/bin/smsd -- \
+ start-stop-daemon -b -u smsd:smsd --start --exec /usr/bin/smsd -- \
-c /etc/smsd.conf -p /var/run/smsd/smsd.pid \
-i /var/run/smsd/smsd.working
eend ${?}
diff --git a/testing/smstools/smstools.pre-install b/testing/smstools/smstools.pre-install
index 8455fc4913..4b6d538cc8 100755
--- a/testing/smstools/smstools.pre-install
+++ b/testing/smstools/smstools.pre-install
@@ -1,3 +1,4 @@
#!/bin/sh
-addgroup -S sms
-adduser -h /var/spool/sms -s /bin/false -G sms -G uucp -S -D smsd
+addgroup -S smsd
+adduser -h /var/spool/sms -s /bin/false -G smsd -S -D smsd
+adduser -G uucp smsd