summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2019-12-08 13:58:30 -0500
committerAnthony G. Basile <blueness@gentoo.org>2019-12-08 13:58:50 -0500
commit3f422335bfd4df7b1ddcf80ea7405228a388976a (patch)
treee4ef75d7dd27ecdcbed8ab3a8f483e8a3e2b77ad /net-dns/avahi
parentdev-python/pyproj: Drop -fno-strict-aliasing workaround (diff)
downloadgentoo-3f422335bfd4df7b1ddcf80ea7405228a388976a.tar.gz
gentoo-3f422335bfd4df7b1ddcf80ea7405228a388976a.tar.bz2
gentoo-3f422335bfd4df7b1ddcf80ea7405228a388976a.zip
net-dns/avahi: port to GLEP 81, bug #701212
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'net-dns/avahi')
-rw-r--r--net-dns/avahi/avahi-0.7-r4.ebuild (renamed from net-dns/avahi/avahi-0.7-r3.ebuild)23
1 files changed, 10 insertions, 13 deletions
diff --git a/net-dns/avahi/avahi-0.7-r3.ebuild b/net-dns/avahi/avahi-0.7-r4.ebuild
index 9295cc5587f..3891e557578 100644
--- a/net-dns/avahi/avahi-0.7-r3.ebuild
+++ b/net-dns/avahi/avahi-0.7-r4.ebuild
@@ -6,7 +6,7 @@ EAPI="7"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="gdbm"
-inherit autotools eutils flag-o-matic multilib multilib-minimal mono-env python-r1 systemd user
+inherit autotools eutils flag-o-matic multilib multilib-minimal mono-env python-r1 systemd
DESCRIPTION="System which facilitates service discovery on a local network"
HOMEPAGE="http://avahi.org/"
@@ -51,7 +51,15 @@ DEPEND="
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
)
"
-RDEPEND="${DEPEND}
+RDEPEND="
+ acct-user/avahi
+ acct-group/avahi
+ acct-group/netdev
+ autoipd? (
+ acct-user/avahi-autoipd
+ acct-group/avahi-autoipd
+ )
+ ${DEPEND}
howl-compat? ( !net-misc/howl )
mdnsresponder-compat? ( !net-misc/mDNSResponder )
selinux? ( sec-policy/selinux-avahi )
@@ -71,17 +79,6 @@ PATCHES=(
"${FILESDIR}/${P}-CVE-2017-6519.patch"
)
-pkg_preinst() {
- enewgroup netdev
- enewgroup avahi
- enewuser avahi -1 -1 -1 avahi
-
- if use autoipd; then
- enewgroup avahi-autoipd
- enewuser avahi-autoipd -1 -1 -1 avahi-autoipd
- fi
-}
-
pkg_setup() {
use mono && mono-env_pkg_setup
}