summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-04-28 16:47:48 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-04-28 16:49:58 +0200
commit2fcac6f83a5335f3f31c1504709a4a9e4e500afd (patch)
tree964dd9e8a8cb18518dfb228afbd7b2f7607ac11a /net-print/cups
parentacct-group/lpadmin: Initial commit (diff)
downloadgentoo-2fcac6f83a5335f3f31c1504709a4a9e4e500afd.tar.gz
gentoo-2fcac6f83a5335f3f31c1504709a4a9e4e500afd.tar.bz2
gentoo-2fcac6f83a5335f3f31c1504709a4a9e4e500afd.zip
net-print/cups: Revbump to get rid of user eclass
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-print/cups')
-rw-r--r--net-print/cups/cups-2.3.3-r1.ebuild (renamed from net-print/cups/cups-2.3.3.ebuild)9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-print/cups/cups-2.3.3.ebuild b/net-print/cups/cups-2.3.3-r1.ebuild
index 241cb46e426..69919acb60a 100644
--- a/net-print/cups/cups-2.3.3.ebuild
+++ b/net-print/cups/cups-2.3.3-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python2_7 )
-inherit autotools flag-o-matic linux-info xdg multilib-minimal pam user systemd toolchain-funcs
+inherit autotools flag-o-matic linux-info xdg multilib-minimal pam systemd toolchain-funcs
MY_PV="${PV/_rc/rc}"
MY_PV="${MY_PV/_beta/b}"
@@ -56,11 +56,13 @@ CDEPEND="
DEPEND="${CDEPEND}"
BDEPEND="
acct-group/lp
+ acct-group/lpadmin
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
"
RDEPEND="${CDEPEND}
acct-group/lp
+ acct-group/lpadmin
selinux? ( sec-policy/selinux-cups )
"
@@ -89,8 +91,9 @@ S="${WORKDIR}/${MY_P}"
pkg_setup() {
#enewgroup lp -> acct-group/lp
- enewuser lp -1 -1 -1 lp
- enewgroup lpadmin 106
+ # user lp already provided by baselayout
+ #enewuser lp -1 -1 -1 lp
+ #enewgroup lpadmin 106
if use kernel_linux; then
linux-info_pkg_setup