1 |
commit: 9b84eb85b8704ce760b7d099c77f5e5a1705dc35 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 24 21:17:35 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 24 21:17:52 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b84eb85 |
7 |
|
8 |
sys-cluster/neutron: clean up pkgcheck issues |
9 |
|
10 |
Closes: https://bugs.gentoo.org/705828 |
11 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
12 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
13 |
|
14 |
sys-cluster/neutron/neutron-2019.2.9999.ebuild | 13 +++++-------- |
15 |
1 file changed, 5 insertions(+), 8 deletions(-) |
16 |
|
17 |
diff --git a/sys-cluster/neutron/neutron-2019.2.9999.ebuild b/sys-cluster/neutron/neutron-2019.2.9999.ebuild |
18 |
index ba485cb5c83..518d9465fd1 100644 |
19 |
--- a/sys-cluster/neutron/neutron-2019.2.9999.ebuild |
20 |
+++ b/sys-cluster/neutron/neutron-2019.2.9999.ebuild |
21 |
@@ -5,7 +5,7 @@ EAPI=7 |
22 |
PYTHON_COMPAT=( python3_{6,7} ) |
23 |
# still no 34 :( https://bugs.launchpad.net/neutron/+bug/1630439 |
24 |
|
25 |
-inherit distutils-r1 linux-info user |
26 |
+inherit distutils-r1 linux-info |
27 |
|
28 |
DESCRIPTION="A virtual network service for Openstack" |
29 |
HOMEPAGE="https://launchpad.net/neutron" |
30 |
@@ -118,7 +118,9 @@ RDEPEND=" |
31 |
net-misc/radvd |
32 |
>=net-misc/dibbler-1.0.1 |
33 |
) |
34 |
- dhcp? ( net-dns/dnsmasq[dhcp-tools] )" |
35 |
+ dhcp? ( net-dns/dnsmasq[dhcp-tools] ) |
36 |
+ acct-group/neutron |
37 |
+ acct-user/neutron" |
38 |
|
39 |
#PATCHES=( |
40 |
#) |
41 |
@@ -135,11 +137,6 @@ pkg_pretend() { |
42 |
fi |
43 |
} |
44 |
|
45 |
-pkg_setup() { |
46 |
- enewgroup neutron |
47 |
- enewuser neutron -1 -1 /var/lib/neutron neutron |
48 |
-} |
49 |
- |
50 |
pkg_config() { |
51 |
fperms 0700 /var/log/neutron |
52 |
fowners neutron:neutron /var/log neutron |
53 |
@@ -157,7 +154,7 @@ python_install_all() { |
54 |
if use server; then |
55 |
newinitd "${FILESDIR}/neutron.initd" "neutron-server" |
56 |
newconfd "${FILESDIR}/neutron-server.confd" "neutron-server" |
57 |
- dosym /etc/neutron/plugin.ini /etc/neutron/plugins/ml2/ml2_conf.ini |
58 |
+ dosym ../../plugin.ini /etc/neutron/plugins/ml2/ml2_conf.ini |
59 |
fi |
60 |
if use dhcp; then |
61 |
newinitd "${FILESDIR}/neutron.initd" "neutron-dhcp-agent" |