summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2020-01-24 15:17:35 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2020-01-24 15:17:52 -0600
commit9b84eb85b8704ce760b7d099c77f5e5a1705dc35 (patch)
tree077b8103116e035d72e71935cbb02d0c887289a0 /sys-cluster/neutron
parentnet-misc/memcached: fix building with gcc 10 (diff)
downloadgentoo-9b84eb85b8704ce760b7d099c77f5e5a1705dc35.tar.gz
gentoo-9b84eb85b8704ce760b7d099c77f5e5a1705dc35.tar.bz2
gentoo-9b84eb85b8704ce760b7d099c77f5e5a1705dc35.zip
sys-cluster/neutron: clean up pkgcheck issues
Closes: https://bugs.gentoo.org/705828 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'sys-cluster/neutron')
-rw-r--r--sys-cluster/neutron/neutron-2019.2.9999.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys-cluster/neutron/neutron-2019.2.9999.ebuild b/sys-cluster/neutron/neutron-2019.2.9999.ebuild
index ba485cb5c83..518d9465fd1 100644
--- a/sys-cluster/neutron/neutron-2019.2.9999.ebuild
+++ b/sys-cluster/neutron/neutron-2019.2.9999.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
# still no 34 :( https://bugs.launchpad.net/neutron/+bug/1630439
-inherit distutils-r1 linux-info user
+inherit distutils-r1 linux-info
DESCRIPTION="A virtual network service for Openstack"
HOMEPAGE="https://launchpad.net/neutron"
@@ -118,7 +118,9 @@ RDEPEND="
net-misc/radvd
>=net-misc/dibbler-1.0.1
)
- dhcp? ( net-dns/dnsmasq[dhcp-tools] )"
+ dhcp? ( net-dns/dnsmasq[dhcp-tools] )
+ acct-group/neutron
+ acct-user/neutron"
#PATCHES=(
#)
@@ -135,11 +137,6 @@ pkg_pretend() {
fi
}
-pkg_setup() {
- enewgroup neutron
- enewuser neutron -1 -1 /var/lib/neutron neutron
-}
-
pkg_config() {
fperms 0700 /var/log/neutron
fowners neutron:neutron /var/log neutron
@@ -157,7 +154,7 @@ python_install_all() {
if use server; then
newinitd "${FILESDIR}/neutron.initd" "neutron-server"
newconfd "${FILESDIR}/neutron-server.confd" "neutron-server"
- dosym /etc/neutron/plugin.ini /etc/neutron/plugins/ml2/ml2_conf.ini
+ dosym ../../plugin.ini /etc/neutron/plugins/ml2/ml2_conf.ini
fi
if use dhcp; then
newinitd "${FILESDIR}/neutron.initd" "neutron-dhcp-agent"