diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2020-03-08 19:56:47 +0300 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2020-03-08 19:57:56 +0300 |
commit | c97a98e020135b01cd2509701a752b3f761371ff (patch) | |
tree | 7c268b493210e7fac84e259e4202c483f7070c56 /net-proxy | |
parent | dev-python/python-xlib: 0.26 + EAPI 7 + py38 (diff) | |
download | gentoo-c97a98e020135b01cd2509701a752b3f761371ff.tar.gz gentoo-c97a98e020135b01cd2509701a752b3f761371ff.tar.bz2 gentoo-c97a98e020135b01cd2509701a752b3f761371ff.zip |
net-proxy/squidguard-1.6.0: migrate from user eclass
Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
Package-Manager: Portage-2.3.89, Repoman-2.3.11
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/squidguard/squidguard-1.6.0.ebuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/net-proxy/squidguard/squidguard-1.6.0.ebuild b/net-proxy/squidguard/squidguard-1.6.0.ebuild index 30193a1ef08d..066fb4c60481 100644 --- a/net-proxy/squidguard/squidguard-1.6.0.ebuild +++ b/net-proxy/squidguard/squidguard-1.6.0.ebuild @@ -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" |