aboutsummaryrefslogtreecommitdiffstats
path: root/main/haproxy/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-08-24 09:49:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-24 09:49:29 +0000
commit3eb6f59243de90ff9ba2138e820e902603ad1996 (patch)
tree94b02e65973b8cc98d18d402ba68b0d5b7bbec13 /main/haproxy/APKBUILD
parentef4d70929c7b687a7b974e9ae438f6b8a164f16f (diff)
downloadaports-3eb6f59243de90ff9ba2138e820e902603ad1996.tar.bz2
aports-3eb6f59243de90ff9ba2138e820e902603ad1996.tar.xz
main/haproxy: better example config
also move the homedir for haproxy user to /var/lib/haproxy
Diffstat (limited to 'main/haproxy/APKBUILD')
-rw-r--r--main/haproxy/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/haproxy/APKBUILD b/main/haproxy/APKBUILD
index 2b7f820cf6..f89237b629 100644
--- a/main/haproxy/APKBUILD
+++ b/main/haproxy/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=haproxy
pkgver=1.4.22
-pkgrel=1
+pkgrel=2
pkgdesc="A TCP/HTTP reverse proxy for high availability environments"
url="http://haproxy.1wt.eu"
arch="all"
@@ -24,11 +24,11 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" PREFIX=/usr DOCDIR=/usr/share/doc/haproxy \
install
- install -d "$pkgdir"/usr/share/haproxy
+ install -d "$pkgdir"/var/lib/haproxy
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/haproxy.cfg "$pkgdir"/etc/haproxy/haproxy.cfg
}
md5sums="a0b007c76f6a78524f3b3dd5e704979c haproxy-1.4.22.tar.gz
81319456a35408bf47443e9c314d2e94 haproxy.initd
-f043f27db8081ee135fb452920405c51 haproxy.cfg"
+1f337186b0e1ba5ee82760cb437fb810 haproxy.cfg"