aboutsummaryrefslogtreecommitdiffstats
path: root/main/squid
diff options
context:
space:
mode:
Diffstat (limited to 'main/squid')
-rw-r--r--main/squid/APKBUILD6
-rw-r--r--main/squid/squid.pre-install6
2 files changed, 10 insertions, 2 deletions
diff --git a/main/squid/APKBUILD b/main/squid/APKBUILD
index 111d9ef52e..2462ca2b81 100644
--- a/main/squid/APKBUILD
+++ b/main/squid/APKBUILD
@@ -3,10 +3,12 @@
pkgname=squid
pkgver=2.7.6
_ver=2.7.STABLE6
-pkgrel=7
+pkgrel=8
pkgdesc="A full-featured Web proxy cache server."
url="http://www.squid-cache.org"
-install="squid.post-install"
+install="squid.pre-install squid.post-install"
+pkgusers="squid"
+pkggroups="squid"
license="GPL-2"
depends="$pkgname-errors-english logrotate"
makedepends="openssl-dev perl-dev autoconf automake"
diff --git a/main/squid/squid.pre-install b/main/squid/squid.pre-install
new file mode 100644
index 0000000000..322d21deab
--- /dev/null
+++ b/main/squid/squid.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+adduser -D squid -H /var/cache/squid 2>/dev/null
+addgroup winbind 2>/dev/null
+addgroup squid winbind
+exit 0