aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-04 11:38:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-04 11:38:23 +0000
commit71c9b353c3abb5b773fac70ac6d94210abed0651 (patch)
tree180d942e027525b280e0c5665afcb850609a9670
parentc207bdc1dfd1f7f0f43ab8896bc57b4987e0f92c (diff)
downloadaports-71c9b353c3abb5b773fac70ac6d94210abed0651.tar.bz2
aports-71c9b353c3abb5b773fac70ac6d94210abed0651.tar.xz
main/haproxy: use /sbin/nologin as shell
-rw-r--r--main/haproxy/APKBUILD2
-rw-r--r--main/haproxy/haproxy.pre-upgrade2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/haproxy/APKBUILD b/main/haproxy/APKBUILD
index 83aa4d0c3d..21f0fd9d1e 100644
--- a/main/haproxy/APKBUILD
+++ b/main/haproxy/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=haproxy
pkgver=1.4.24
-pkgrel=1
+pkgrel=2
pkgdesc="A TCP/HTTP reverse proxy for high availability environments"
url="http://haproxy.1wt.eu"
arch="all"
diff --git a/main/haproxy/haproxy.pre-upgrade b/main/haproxy/haproxy.pre-upgrade
index 33e0164aff..bb1249fc31 100644
--- a/main/haproxy/haproxy.pre-upgrade
+++ b/main/haproxy/haproxy.pre-upgrade
@@ -1,7 +1,7 @@
#!/bin/sh
addgroup haproxy 2>/dev/null
-adduser -S -H -h /var/lib/haproxy -s /bin/false -D \
+adduser -S -H -h /var/lib/haproxy -s /sbin/nologin -D \
-G haproxy haproxy 2>/dev/null
# move config to new location