net-proxy/squidguard-1.6.0: migrate from user eclass
authorSergey Popov <pinkbyte@gentoo.org>
Sun, 8 Mar 2020 16:56:47 +0000 (19:56 +0300)
committerSergey Popov <pinkbyte@gentoo.org>
Sun, 8 Mar 2020 16:57:56 +0000 (19:57 +0300)
Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
Package-Manager: Portage-2.3.89, Repoman-2.3.11

net-proxy/squidguard/squidguard-1.6.0.ebuild

index 30193a1ef08dcd75392090a1cd25f9421e970237..066fb4c60481f5f9e039352c191b00fb60765afa 100644 (file)
@@ -3,7 +3,7 @@
 
 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"
@@ -15,7 +15,10 @@ KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
 
 IUSE="ldap"
 
-RDEPEND="|| (
+RDEPEND="
+       acct-group/squid
+       acct-user/squid
+       || (
                sys-libs/db:5.3
                sys-libs/db:4.8
        )
@@ -36,11 +39,6 @@ suitable_db_version() {
        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"