From 755022e91e421537995c02c67b55f27dc8165471 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 3 Sep 2009 07:06:42 +0000 Subject: main/squid: add squid user to winbind group This allows Active Directory authentication --- main/squid/APKBUILD | 6 ++++-- main/squid/squid.pre-install | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 main/squid/squid.pre-install (limited to 'main/squid') diff --git a/main/squid/APKBUILD b/main/squid/APKBUILD index 111d9ef52..2462ca2b8 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 000000000..322d21dea --- /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 -- cgit v1.2.3