Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
Package-Manager: Portage-2.3.89, Repoman-2.3.11
EAPI=7
-inherit autotools db-use user
+inherit autotools db-use
DESCRIPTION="Combined filter, redirector and access controller plugin for Squid"
HOMEPAGE="http://www.squidguard.org"
IUSE="ldap"
-RDEPEND="|| (
+RDEPEND="
+ acct-group/squid
+ acct-user/squid
+ || (
sys-libs/db:5.3
sys-libs/db:4.8
)
die "No suitable BerkDB versions found, aborting"
}
-pkg_setup() {
- enewgroup squid
- enewuser squid -1 -1 /var/cache/squid squid
-}
-
src_prepare() {
eapply \
"${FILESDIR}/${P}-gentoo.patch"