aboutsummaryrefslogtreecommitdiffstats
path: root/main/subversion
diff options
context:
space:
mode:
authorJesse Young <jlyo@jlyo.org>2011-11-25 12:46:26 -0600
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-01 07:15:51 +0000
commitae1967b66eba132dd8c9fa5b5f57712d012b6647 (patch)
treefca1c166178cd340ea41b6d3794cf58c4152f2f4 /main/subversion
parent379338be8b4cd31b24080f7f01ae14fe124a84ae (diff)
downloadaports-ae1967b66eba132dd8c9fa5b5f57712d012b6647.tar.bz2
aports-ae1967b66eba132dd8c9fa5b5f57712d012b6647.tar.xz
Replace instances of "--chuid" to "--user" in initd scripts
Fixes #776 Signed-off-by: Jesse Young <jlyo@jlyo.org>
Diffstat (limited to 'main/subversion')
-rw-r--r--main/subversion/APKBUILD6
-rw-r--r--main/subversion/svnserve.initd4
2 files changed, 5 insertions, 5 deletions
diff --git a/main/subversion/APKBUILD b/main/subversion/APKBUILD
index 7e31aa125e..ae9942962e 100644
--- a/main/subversion/APKBUILD
+++ b/main/subversion/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=subversion
pkgver=1.7.1
-pkgrel=0
+pkgrel=1
pkgdesc="Replacement for CVS, another versioning system (svn)"
url="http://subversion.tigris.org/"
arch="all"
@@ -38,7 +38,7 @@ build() {
--with-swig \
--disable-javahl \
--disable-static \
- --without-jdk
+ --without-jdk
make external-all || return 1
make local-all || return 1
@@ -79,4 +79,4 @@ pl() {
md5sums="8a4fa74385df85a9702141b6b68b8307 subversion-1.7.1.tar.bz2
e1127cb722daecb3c89adbaf9eed7adf subversion-1.7.0-deplibs.patch
d084a7558053784886bc858b94fa9186 svnserve.confd
-22c274fafb4817e31126f60f9d84039f svnserve.initd"
+c0327ac3f55c335db799a2269078f986 svnserve.initd"
diff --git a/main/subversion/svnserve.initd b/main/subversion/svnserve.initd
index f539a4e2c7..d76f6f3740 100644
--- a/main/subversion/svnserve.initd
+++ b/main/subversion/svnserve.initd
@@ -17,7 +17,7 @@ start() {
cd /
start-stop-daemon --start --quiet --background --make-pidfile \
--pidfile /var/run/svnserve.pid --exec /usr/bin/svnserve \
- --chuid ${SVNSERVE_USER:-apache}:${SVNSERVE_GROUP:-apache} -- \
+ --user ${SVNSERVE_USER:-apache}:${SVNSERVE_GROUP:-apache} -- \
--foreground --daemon ${SVNSERVE_OPTS:---root=/var/svn}
eend $?
}
@@ -35,7 +35,7 @@ setup() {
eend 1 "$root/repos already exist"
return 1
fi
-
+
svnadmin create "$root"/repos
chown -Rf "${SVNSERVE_USER}:${SVNSERVE_GROUP}" "$root/repos"
mkdir -p "$root/conf"