1 |
commit: 0a79fc193e708d137b2935bd54475a8399d9642c |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 06:58:39 2021 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 06:58:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a79fc19 |
7 |
|
8 |
sys-cluster/neutron: 16.3.0 and 17.1.0 stable amd64/x86 with cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
sys-cluster/neutron/Manifest | 6 - |
14 |
sys-cluster/neutron/neutron-16.2.0.ebuild | 230 ------------------------------ |
15 |
sys-cluster/neutron/neutron-16.3.0.ebuild | 2 +- |
16 |
sys-cluster/neutron/neutron-17.0.0.ebuild | 227 ----------------------------- |
17 |
sys-cluster/neutron/neutron-17.1.0.ebuild | 2 +- |
18 |
5 files changed, 2 insertions(+), 465 deletions(-) |
19 |
|
20 |
diff --git a/sys-cluster/neutron/Manifest b/sys-cluster/neutron/Manifest |
21 |
index d8b09bdae5e..3d8259108d2 100644 |
22 |
--- a/sys-cluster/neutron/Manifest |
23 |
+++ b/sys-cluster/neutron/Manifest |
24 |
@@ -1,16 +1,10 @@ |
25 |
-DIST neutron-16.2.0.tar.gz 12771467 BLAKE2B d3dbfbffcf7321a195d3cadf0bd4864763f6a1c6c3022ec32d20ffeb1770d522446c78e2bad9c7dc281fdb67b445b3ecbf8908741dd7a42ebc1efde56af642bb SHA512 d5c39296c925af8b69e23a3faf75e99e6d4d2e5b1daf0da7883a75bcce1e41990392aa90499510c7dee552178cb908c1cd80add48ac894015255842d15711641 |
26 |
DIST neutron-16.3.0.tar.gz 12866714 BLAKE2B 67436c96f52a6d1a60d8af13ce7d8d7b375def861ca83fddca0986649c7f2df6bae41763459feb2bba7e6cd16fab0c0c7ad970582be6d8798350efab11216a3d SHA512 f1901b672925248e08a239fdaf4c691cfcae90d53858ab0eed46919464a2dad8d27e89c46fb47563744e2a569995f5fbc540c8b69eef0273d6a605ea13ef5051 |
27 |
-DIST neutron-17.0.0.tar.gz 12801363 BLAKE2B 7297e5832e19f6543bbfdcaed7f4240ed54bb976dc40f0bc90ffbc00e8d5b97b4f194fd9c451f08f7f6c431c66f99562f0fce63456ff66418aad73c3effb3bac SHA512 5a67896376110cdae407c4ba3b758b1b12883c1355e30e927e1c705c6ad3df5126c1555870f7e9b130b35663c5f748f33078c588b3c4b94750f47b5db58b0662 |
28 |
DIST neutron-17.1.0.tar.gz 12910659 BLAKE2B 30634389e9caf77e7bc36b61f26c8ff24013171f1dc0cef52e2ebb55363b526bb6146a578e21c027ef6902f8881985c5a06d4d0b98992e13720a8118cd876b05 SHA512 62bd2691878c93f9c51adfecf7f7aa6fbb51485a259a419e9797738626fb2527c167ea568cd54f5fdc60a5210c53fafb2b754817123742b27150ed1cfbffca2b |
29 |
-DIST neutron-configs-16.2.0.tar.gz 24350 BLAKE2B 8f6eeae762fa297651f07667387beac6677cfa9a6c0d13d3fc90ac09753022fd284fc56c53557ab83cda99ab4fe03acc2d2049e4bb62f9496b310b1cd6f42099 SHA512 b087b23a1aa19678d4b9a76ae82243d03fe82706712e8c37b759a8521062f79e83307769b4ba639f67aa402f8b03cdf12d3274d821c3f8ecfd17ded9f4f2c881 |
30 |
DIST neutron-configs-16.3.0.tar.gz 24350 BLAKE2B 8f6eeae762fa297651f07667387beac6677cfa9a6c0d13d3fc90ac09753022fd284fc56c53557ab83cda99ab4fe03acc2d2049e4bb62f9496b310b1cd6f42099 SHA512 b087b23a1aa19678d4b9a76ae82243d03fe82706712e8c37b759a8521062f79e83307769b4ba639f67aa402f8b03cdf12d3274d821c3f8ecfd17ded9f4f2c881 |
31 |
-DIST neutron-configs-17.0.0.tar.gz 30314 BLAKE2B 885d00259fde0200f6a52d91b18e884012c04cb06e5e4ba6c72b77fbb0a8df30d50efd6db16faa009328eac9b7c5fb31854feb81595a542b4ac5d8172c8056b6 SHA512 cf85a563c417e1fb01f7d329c7021c20782fe67f64c5dfd542deed07e09d6a717e472976df8f1f4c3bb4a6a10e8d8b8300f18e1a3759358b3db12f77dad7bd5b |
32 |
DIST neutron-configs-17.1.0.tar.gz 30314 BLAKE2B 885d00259fde0200f6a52d91b18e884012c04cb06e5e4ba6c72b77fbb0a8df30d50efd6db16faa009328eac9b7c5fb31854feb81595a542b4ac5d8172c8056b6 SHA512 cf85a563c417e1fb01f7d329c7021c20782fe67f64c5dfd542deed07e09d6a717e472976df8f1f4c3bb4a6a10e8d8b8300f18e1a3759358b3db12f77dad7bd5b |
33 |
DIST neutron-configs-2020.1.9999.tar.gz 24350 BLAKE2B 8f6eeae762fa297651f07667387beac6677cfa9a6c0d13d3fc90ac09753022fd284fc56c53557ab83cda99ab4fe03acc2d2049e4bb62f9496b310b1cd6f42099 SHA512 b087b23a1aa19678d4b9a76ae82243d03fe82706712e8c37b759a8521062f79e83307769b4ba639f67aa402f8b03cdf12d3274d821c3f8ecfd17ded9f4f2c881 |
34 |
DIST neutron-configs-2020.2.9999.tar.gz 30314 BLAKE2B 885d00259fde0200f6a52d91b18e884012c04cb06e5e4ba6c72b77fbb0a8df30d50efd6db16faa009328eac9b7c5fb31854feb81595a542b4ac5d8172c8056b6 SHA512 cf85a563c417e1fb01f7d329c7021c20782fe67f64c5dfd542deed07e09d6a717e472976df8f1f4c3bb4a6a10e8d8b8300f18e1a3759358b3db12f77dad7bd5b |
35 |
-DIST neutron-ml2-plugins-16.2.0.tar.gz 8887 BLAKE2B 5887027ce4585a523bb3379c002acdde1faa9ed24d0c83c931f2a387b56e8baf8352ae9f82ba46c85a6a3e5b1d68792da1e1ca1fae9b6dde525e6f6c67849ac4 SHA512 4ae70fe3e386932e0327333d29dc526b5f0f0f800ac14d17faa4c1e3fc2dd8524760b84bbb4767e73e70647984aa50702e5e47dc42deb47f66c47c5e3e965111 |
36 |
DIST neutron-ml2-plugins-16.3.0.tar.gz 8887 BLAKE2B 5887027ce4585a523bb3379c002acdde1faa9ed24d0c83c931f2a387b56e8baf8352ae9f82ba46c85a6a3e5b1d68792da1e1ca1fae9b6dde525e6f6c67849ac4 SHA512 4ae70fe3e386932e0327333d29dc526b5f0f0f800ac14d17faa4c1e3fc2dd8524760b84bbb4767e73e70647984aa50702e5e47dc42deb47f66c47c5e3e965111 |
37 |
-DIST neutron-ml2-plugins-17.0.0.tar.gz 9011 BLAKE2B d9f8cb4d26699ca44a4cf4cd422bd88b9bb5a2138a80fec469021491d87b158502801c2ce79316f52a900877f7706dc93c2a5a5a33c868918effeaa6b65a7931 SHA512 a225310f0f54991a079d515512189b3c08de22c5b13d58960ef24498401fc54b0878ed879d895e696b789e703a0bb3f4a184eccbbfb9ac9fe9447086cb952b37 |
38 |
DIST neutron-ml2-plugins-17.1.0.tar.gz 9011 BLAKE2B d9f8cb4d26699ca44a4cf4cd422bd88b9bb5a2138a80fec469021491d87b158502801c2ce79316f52a900877f7706dc93c2a5a5a33c868918effeaa6b65a7931 SHA512 a225310f0f54991a079d515512189b3c08de22c5b13d58960ef24498401fc54b0878ed879d895e696b789e703a0bb3f4a184eccbbfb9ac9fe9447086cb952b37 |
39 |
DIST neutron-ml2-plugins-2020.1.9999.tar.gz 8887 BLAKE2B 5887027ce4585a523bb3379c002acdde1faa9ed24d0c83c931f2a387b56e8baf8352ae9f82ba46c85a6a3e5b1d68792da1e1ca1fae9b6dde525e6f6c67849ac4 SHA512 4ae70fe3e386932e0327333d29dc526b5f0f0f800ac14d17faa4c1e3fc2dd8524760b84bbb4767e73e70647984aa50702e5e47dc42deb47f66c47c5e3e965111 |
40 |
DIST neutron-ml2-plugins-2020.2.9999.tar.gz 9011 BLAKE2B d9f8cb4d26699ca44a4cf4cd422bd88b9bb5a2138a80fec469021491d87b158502801c2ce79316f52a900877f7706dc93c2a5a5a33c868918effeaa6b65a7931 SHA512 a225310f0f54991a079d515512189b3c08de22c5b13d58960ef24498401fc54b0878ed879d895e696b789e703a0bb3f4a184eccbbfb9ac9fe9447086cb952b37 |
41 |
|
42 |
diff --git a/sys-cluster/neutron/neutron-16.2.0.ebuild b/sys-cluster/neutron/neutron-16.2.0.ebuild |
43 |
deleted file mode 100644 |
44 |
index 7aa084a661e..00000000000 |
45 |
--- a/sys-cluster/neutron/neutron-16.2.0.ebuild |
46 |
+++ /dev/null |
47 |
@@ -1,230 +0,0 @@ |
48 |
-# Copyright 1999-2020 Gentoo Authors |
49 |
-# Distributed under the terms of the GNU General Public License v2 |
50 |
- |
51 |
-EAPI=7 |
52 |
-PYTHON_COMPAT=( python3_7 ) |
53 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
54 |
- |
55 |
-inherit distutils-r1 linux-info |
56 |
- |
57 |
-DESCRIPTION="A virtual network service for Openstack" |
58 |
-HOMEPAGE="https://launchpad.net/neutron" |
59 |
-if [[ ${PV} == *9999 ]];then |
60 |
- inherit git-r3 |
61 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/ussuri/configs.tar.gz -> neutron-configs-${PV}.tar.gz |
62 |
- https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/ussuri/ml2_plugins.tar.gz -> neutron-ml2-plugins-${PV}.tar.gz" |
63 |
- EGIT_REPO_URI="https://github.com/openstack/neutron.git" |
64 |
- EGIT_BRANCH="stable/ussuri" |
65 |
-else |
66 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/ussuri/configs.tar.gz -> neutron-configs-${PV}.tar.gz |
67 |
- https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/ussuri/ml2_plugins.tar.gz -> neutron-ml2-plugins-${PV}.tar.gz |
68 |
- https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
69 |
- KEYWORDS="amd64 ~arm64 x86" |
70 |
-fi |
71 |
- |
72 |
-LICENSE="Apache-2.0" |
73 |
-SLOT="0" |
74 |
-IUSE="compute-only dhcp haproxy ipv6 l3 metadata openvswitch linuxbridge server sqlite +mysql postgres" |
75 |
-REQUIRED_USE="!compute-only? ( || ( mysql postgres sqlite ) ) |
76 |
- compute-only? ( !mysql !postgres !sqlite !dhcp !l3 !metadata !server |
77 |
- || ( openvswitch linuxbridge ) )" |
78 |
- |
79 |
-CDEPEND=">=dev-python/pbr-4.0.0[${PYTHON_USEDEP}]" |
80 |
-DEPEND="${CDEPEND} |
81 |
- app-admin/sudo" |
82 |
- |
83 |
-RDEPEND=" |
84 |
- ${CDEPEND} |
85 |
- >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] |
86 |
- >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] |
87 |
- >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] |
88 |
- >=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}] |
89 |
- >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
90 |
- >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] |
91 |
- !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] |
92 |
- >=dev-python/pecan-1.3.2[${PYTHON_USEDEP}] |
93 |
- >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] |
94 |
- >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
95 |
- >=dev-python/jinja-2.10[${PYTHON_USEDEP}] |
96 |
- >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] |
97 |
- >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] |
98 |
- >=dev-python/neutron-lib-2.2.0[${PYTHON_USEDEP}] |
99 |
- >=dev-python/python-neutronclient-6.3.0[${PYTHON_USEDEP}] |
100 |
- >=dev-python/tenacity-4.4.0[${PYTHON_USEDEP}] |
101 |
- compute-only? ( |
102 |
- >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}] |
103 |
- ) |
104 |
- sqlite? ( |
105 |
- >=dev-python/sqlalchemy-1.2.0[sqlite,${PYTHON_USEDEP}] |
106 |
- ) |
107 |
- mysql? ( |
108 |
- >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
109 |
- !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
110 |
- >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}] |
111 |
- ) |
112 |
- postgres? ( |
113 |
- >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
114 |
- >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}] |
115 |
- ) |
116 |
- >=dev-python/webob-1.8.2[${PYTHON_USEDEP}] |
117 |
- >=dev-python/keystoneauth-3.14.0[${PYTHON_USEDEP}] |
118 |
- >=dev-python/alembic-0.8.10[${PYTHON_USEDEP}] |
119 |
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
120 |
- >=dev-python/stevedore-1.20.1[${PYTHON_USEDEP}] |
121 |
- >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] |
122 |
- >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
123 |
- >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] |
124 |
- >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] |
125 |
- >=dev-python/oslo-db-4.37.0[${PYTHON_USEDEP}] |
126 |
- >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
127 |
- >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
128 |
- >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}] |
129 |
- >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
130 |
- >=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}] |
131 |
- >=dev-python/oslo-privsep-1.32.0[${PYTHON_USEDEP}] |
132 |
- >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] |
133 |
- >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] |
134 |
- >=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}] |
135 |
- !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] |
136 |
- >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}] |
137 |
- !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}] |
138 |
- >=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}] |
139 |
- >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] |
140 |
- >=dev-python/oslo-versionedobjects-1.35.1[${PYTHON_USEDEP}] |
141 |
- >=dev-python/osprofiler-2.3.0[${PYTHON_USEDEP}] |
142 |
- >=dev-python/os-ken-0.3.0[${PYTHON_USEDEP}] |
143 |
- >=dev-python/ovs-2.8.0[${PYTHON_USEDEP}] |
144 |
- >=dev-python/ovsdbapp-1.0.0[${PYTHON_USEDEP}] |
145 |
- >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] |
146 |
- >=dev-python/pyroute2-0.5.7[${PYTHON_USEDEP}] |
147 |
- >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}] |
148 |
- >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] |
149 |
- >=dev-python/openstacksdk-0.31.2[${PYTHON_USEDEP}] |
150 |
- >=dev-python/python-designateclient-2.7.0[${PYTHON_USEDEP}] |
151 |
- >=dev-python/os-xenapi-0.3.1[${PYTHON_USEDEP}] |
152 |
- >=dev-python/os-vif-1.15.1[${PYTHON_USEDEP}] |
153 |
- >=dev-python/futurist-1.2.0[${PYTHON_USEDEP}] |
154 |
- >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] |
155 |
- dev-python/pyudev[${PYTHON_USEDEP}] |
156 |
- sys-apps/iproute2 |
157 |
- net-misc/iputils[arping] |
158 |
- net-misc/bridge-utils |
159 |
- net-firewall/ipset |
160 |
- net-firewall/iptables |
161 |
- net-firewall/ebtables |
162 |
- net-firewall/conntrack-tools |
163 |
- haproxy? ( net-proxy/haproxy ) |
164 |
- openvswitch? ( net-misc/openvswitch ) |
165 |
- ipv6? ( |
166 |
- net-misc/radvd |
167 |
- >=net-misc/dibbler-1.0.1 |
168 |
- ) |
169 |
- dhcp? ( net-dns/dnsmasq[dhcp-tools] ) |
170 |
- acct-group/neutron |
171 |
- acct-user/neutron" |
172 |
- |
173 |
-#PATCHES=( |
174 |
-#) |
175 |
- |
176 |
-pkg_pretend() { |
177 |
- linux-info_pkg_setup |
178 |
- CONFIG_CHECK_MODULES="VLAN_8021Q IP6_NF_FILTER IP6_NF_IPTABLES IP_NF_TARGET_REJECT \ |
179 |
- IP_NF_MANGLE IP_NF_TARGET_MASQUERADE NF_NAT_IPV4 NF_DEFRAG_IPV4 NF_NAT NF_CONNTRACK \ |
180 |
- IP_NF_FILTER IP_NF_IPTABLES NETFILTER_XTABLES" |
181 |
- if linux_config_exists; then |
182 |
- for module in ${CONFIG_CHECK_MODULES}; do |
183 |
- linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled in kernel" |
184 |
- done |
185 |
- fi |
186 |
-} |
187 |
- |
188 |
-pkg_config() { |
189 |
- fperms 0700 /var/log/neutron |
190 |
- fowners neutron:neutron /var/log neutron |
191 |
-} |
192 |
- |
193 |
-src_prepare() { |
194 |
- sed -i '/^hacking/d' test-requirements.txt || die |
195 |
- # it's /bin/ip not /sbin/ip |
196 |
- sed -i 's/sbin\/ip\,/bin\/ip\,/g' etc/neutron/rootwrap.d/* || die |
197 |
- distutils-r1_python_prepare_all |
198 |
-} |
199 |
- |
200 |
-python_install_all() { |
201 |
- distutils-r1_python_install_all |
202 |
- if use server; then |
203 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-server" |
204 |
- newconfd "${FILESDIR}/neutron-server.confd" "neutron-server" |
205 |
- dosym ../../plugin.ini /etc/neutron/plugins/ml2/ml2_conf.ini |
206 |
- fi |
207 |
- if use dhcp; then |
208 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-dhcp-agent" |
209 |
- newconfd "${FILESDIR}/neutron-dhcp-agent.confd" "neutron-dhcp-agent" |
210 |
- fi |
211 |
- if use l3; then |
212 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-l3-agent" |
213 |
- newconfd "${FILESDIR}/neutron-l3-agent.confd" "neutron-l3-agent" |
214 |
- fi |
215 |
- if use metadata; then |
216 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-metadata-agent" |
217 |
- newconfd "${FILESDIR}/neutron-metadata-agent.confd" "neutron-metadata-agent" |
218 |
- fi |
219 |
- if use openvswitch; then |
220 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-openvswitch-agent" |
221 |
- newconfd "${FILESDIR}/neutron-openvswitch-agent.confd" "neutron-openvswitch-agent" |
222 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-ovs-cleanup" |
223 |
- newconfd "${FILESDIR}/neutron-openvswitch-agent.confd" "neutron-ovs-cleanup" |
224 |
- fi |
225 |
- if use linuxbridge; then |
226 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-linuxbridge-agent" |
227 |
- newconfd "${FILESDIR}/neutron-linuxbridge-agent.confd" "neutron-linuxbridge-agent" |
228 |
- fi |
229 |
- diropts -m 755 -o neutron -g neutron |
230 |
- dodir /var/log/neutron /var/lib/neutron |
231 |
- keepdir /etc/neutron |
232 |
- insinto /etc/neutron |
233 |
- insopts -m 0640 -o neutron -g neutron |
234 |
- |
235 |
- doins etc/* |
236 |
- # stupid renames |
237 |
- insinto /etc/neutron |
238 |
- doins -r "etc/neutron/plugins" |
239 |
- insopts -m 0640 -o root -g root |
240 |
- doins "etc/rootwrap.conf" |
241 |
- doins -r "etc/neutron/rootwrap.d" |
242 |
- |
243 |
- #add sudoers definitions for user neutron |
244 |
- insinto /etc/sudoers.d/ |
245 |
- insopts -m 0440 -o root -g root |
246 |
- newins "${FILESDIR}/neutron.sudoersd" neutron |
247 |
- |
248 |
- # add generated configs |
249 |
- cd "${D}/etc/neutron" || die |
250 |
- unpack "neutron-configs-${PV}.tar.gz" |
251 |
- cd "${D}/etc/neutron/plugins/ml2" || die |
252 |
- unpack "neutron-ml2-plugins-${PV}.tar.gz" |
253 |
- |
254 |
- # correcting perms |
255 |
- fowners neutron:neutron -R "/etc/neutron" |
256 |
- fperms o-rwx -R "/etc/neutron/" |
257 |
- |
258 |
- #remove superfluous stuff |
259 |
- rm -R "${D}/usr/etc/" |
260 |
-} |
261 |
- |
262 |
-python_install() { |
263 |
- distutils-r1_python_install |
264 |
- # copy migration conf file (not coppied on install via setup.py script) |
265 |
- python_moduleinto neutron/db/migration/alembic_migrations |
266 |
- python_domodule "neutron/db/migration/alembic_migrations/versions" |
267 |
-} |
268 |
- |
269 |
-pkg_postinst() { |
270 |
- elog |
271 |
- elog "neutron-server's conf.d file may need updating to include additional ini files" |
272 |
- elog "We currently assume the ml2 plugin will be used but do not make assumptions" |
273 |
- elog "on if you will use openvswitch or linuxbridge (or something else)" |
274 |
- elog |
275 |
- elog "Other conf.d files may need updating too, but should be good for the default use case" |
276 |
- elog |
277 |
-} |
278 |
|
279 |
diff --git a/sys-cluster/neutron/neutron-16.3.0.ebuild b/sys-cluster/neutron/neutron-16.3.0.ebuild |
280 |
index 1ec4c399736..b74b10580ef 100644 |
281 |
--- a/sys-cluster/neutron/neutron-16.3.0.ebuild |
282 |
+++ b/sys-cluster/neutron/neutron-16.3.0.ebuild |
283 |
@@ -19,7 +19,7 @@ else |
284 |
SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/ussuri/configs.tar.gz -> neutron-configs-${PV}.tar.gz |
285 |
https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/ussuri/ml2_plugins.tar.gz -> neutron-ml2-plugins-${PV}.tar.gz |
286 |
https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
287 |
- KEYWORDS="~amd64 ~arm64 ~x86" |
288 |
+ KEYWORDS="amd64 ~arm64 x86" |
289 |
fi |
290 |
|
291 |
LICENSE="Apache-2.0" |
292 |
|
293 |
diff --git a/sys-cluster/neutron/neutron-17.0.0.ebuild b/sys-cluster/neutron/neutron-17.0.0.ebuild |
294 |
deleted file mode 100644 |
295 |
index 08a0bdd7052..00000000000 |
296 |
--- a/sys-cluster/neutron/neutron-17.0.0.ebuild |
297 |
+++ /dev/null |
298 |
@@ -1,227 +0,0 @@ |
299 |
-# Copyright 1999-2020 Gentoo Authors |
300 |
-# Distributed under the terms of the GNU General Public License v2 |
301 |
- |
302 |
-EAPI=7 |
303 |
-PYTHON_COMPAT=( python3_7 python3_8 ) |
304 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
305 |
- |
306 |
-inherit distutils-r1 linux-info |
307 |
- |
308 |
-DESCRIPTION="A virtual network service for Openstack" |
309 |
-HOMEPAGE="https://launchpad.net/neutron" |
310 |
-if [[ ${PV} == *9999 ]];then |
311 |
- inherit git-r3 |
312 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/victoria/configs.tar.gz -> neutron-configs-${PV}.tar.gz |
313 |
- https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/victoria/ml2_plugins.tar.gz -> neutron-ml2-plugins-${PV}.tar.gz" |
314 |
- EGIT_REPO_URI="https://github.com/openstack/neutron.git" |
315 |
- EGIT_BRANCH="stable/victoria" |
316 |
-else |
317 |
- SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/victoria/configs.tar.gz -> neutron-configs-${PV}.tar.gz |
318 |
- https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/victoria/ml2_plugins.tar.gz -> neutron-ml2-plugins-${PV}.tar.gz |
319 |
- https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
320 |
- KEYWORDS="amd64 ~arm64 x86" |
321 |
-fi |
322 |
- |
323 |
-LICENSE="Apache-2.0" |
324 |
-SLOT="0" |
325 |
-IUSE="compute-only dhcp haproxy ipv6 l3 metadata openvswitch linuxbridge server sqlite +mysql postgres" |
326 |
-REQUIRED_USE="!compute-only? ( || ( mysql postgres sqlite ) ) |
327 |
- compute-only? ( !mysql !postgres !sqlite !dhcp !l3 !metadata !server |
328 |
- || ( openvswitch linuxbridge ) )" |
329 |
- |
330 |
-DEPEND=" |
331 |
- >=dev-python/pbr-4.0.0[${PYTHON_USEDEP}] |
332 |
- app-admin/sudo |
333 |
-" |
334 |
-RDEPEND=" |
335 |
- >=dev-python/pbr-4.0.0[${PYTHON_USEDEP}] |
336 |
- >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] |
337 |
- >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] |
338 |
- >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] |
339 |
- >=dev-python/debtcollector-1.19.0[${PYTHON_USEDEP}] |
340 |
- >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
341 |
- >=dev-python/eventlet-0.21.0[${PYTHON_USEDEP}] |
342 |
- >=dev-python/pecan-1.3.2[${PYTHON_USEDEP}] |
343 |
- >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] |
344 |
- >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
345 |
- >=dev-python/jinja-2.10[${PYTHON_USEDEP}] |
346 |
- >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] |
347 |
- >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] |
348 |
- >=dev-python/neutron-lib-2.6.0[${PYTHON_USEDEP}] |
349 |
- >=dev-python/python-neutronclient-6.3.0[${PYTHON_USEDEP}] |
350 |
- >=dev-python/tenacity-6.0.0[${PYTHON_USEDEP}] |
351 |
- compute-only? ( |
352 |
- >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}] |
353 |
- ) |
354 |
- sqlite? ( |
355 |
- >=dev-python/sqlalchemy-1.2.0[sqlite,${PYTHON_USEDEP}] |
356 |
- ) |
357 |
- mysql? ( |
358 |
- >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
359 |
- !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
360 |
- >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}] |
361 |
- ) |
362 |
- postgres? ( |
363 |
- >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
364 |
- >=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}] |
365 |
- ) |
366 |
- >=dev-python/webob-1.8.2[${PYTHON_USEDEP}] |
367 |
- >=dev-python/keystoneauth-3.14.0[${PYTHON_USEDEP}] |
368 |
- >=dev-python/alembic-0.8.10[${PYTHON_USEDEP}] |
369 |
- >=dev-python/stevedore-1.20.1[${PYTHON_USEDEP}] |
370 |
- >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] |
371 |
- >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
372 |
- >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] |
373 |
- >=dev-python/oslo-context-2.20.0[${PYTHON_USEDEP}] |
374 |
- >=dev-python/oslo-db-4.44.0[${PYTHON_USEDEP}] |
375 |
- >=dev-python/oslo-i18n-3.20.0[${PYTHON_USEDEP}] |
376 |
- >=dev-python/oslo-log-4.2.1[${PYTHON_USEDEP}] |
377 |
- >=dev-python/oslo-messaging-7.0.0[${PYTHON_USEDEP}] |
378 |
- >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
379 |
- >=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}] |
380 |
- >=dev-python/oslo-privsep-2.3.0[${PYTHON_USEDEP}] |
381 |
- >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] |
382 |
- >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] |
383 |
- >=dev-python/oslo-serialization-2.25.0[${PYTHON_USEDEP}] |
384 |
- >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}] |
385 |
- !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}] |
386 |
- >=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}] |
387 |
- >=dev-python/oslo-utils-4.4.0[${PYTHON_USEDEP}] |
388 |
- >=dev-python/oslo-versionedobjects-1.35.1[${PYTHON_USEDEP}] |
389 |
- >=dev-python/osprofiler-2.3.0[${PYTHON_USEDEP}] |
390 |
- >=dev-python/os-ken-0.3.0[${PYTHON_USEDEP}] |
391 |
- >=dev-python/ovs-2.8.0[${PYTHON_USEDEP}] |
392 |
- >=dev-python/ovsdbapp-1.3.0[${PYTHON_USEDEP}] |
393 |
- >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] |
394 |
- >=dev-python/pyroute2-0.5.13[${PYTHON_USEDEP}] |
395 |
- >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}] |
396 |
- >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] |
397 |
- >=dev-python/openstacksdk-0.31.2[${PYTHON_USEDEP}] |
398 |
- >=dev-python/python-designateclient-2.7.0[${PYTHON_USEDEP}] |
399 |
- >=dev-python/os-xenapi-0.3.1[${PYTHON_USEDEP}] |
400 |
- >=dev-python/os-vif-1.15.1[${PYTHON_USEDEP}] |
401 |
- >=dev-python/futurist-1.2.0[${PYTHON_USEDEP}] |
402 |
- >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] |
403 |
- dev-python/pyudev[${PYTHON_USEDEP}] |
404 |
- sys-apps/iproute2 |
405 |
- net-misc/iputils[arping] |
406 |
- net-misc/bridge-utils |
407 |
- net-firewall/ipset |
408 |
- net-firewall/iptables |
409 |
- net-firewall/ebtables |
410 |
- net-firewall/conntrack-tools |
411 |
- haproxy? ( net-proxy/haproxy ) |
412 |
- openvswitch? ( net-misc/openvswitch ) |
413 |
- ipv6? ( |
414 |
- net-misc/radvd |
415 |
- >=net-misc/dibbler-1.0.1 |
416 |
- ) |
417 |
- dhcp? ( net-dns/dnsmasq[dhcp-tools] ) |
418 |
- acct-group/neutron |
419 |
- acct-user/neutron" |
420 |
- |
421 |
-#PATCHES=( |
422 |
-#) |
423 |
- |
424 |
-pkg_pretend() { |
425 |
- linux-info_pkg_setup |
426 |
- CONFIG_CHECK_MODULES="VLAN_8021Q IP6_NF_FILTER IP6_NF_IPTABLES IP_NF_TARGET_REJECT \ |
427 |
- IP_NF_MANGLE IP_NF_TARGET_MASQUERADE NF_NAT_IPV4 NF_DEFRAG_IPV4 NF_NAT NF_CONNTRACK \ |
428 |
- IP_NF_FILTER IP_NF_IPTABLES NETFILTER_XTABLES" |
429 |
- if linux_config_exists; then |
430 |
- for module in ${CONFIG_CHECK_MODULES}; do |
431 |
- linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled in kernel" |
432 |
- done |
433 |
- fi |
434 |
-} |
435 |
- |
436 |
-pkg_config() { |
437 |
- fperms 0700 /var/log/neutron |
438 |
- fowners neutron:neutron /var/log neutron |
439 |
-} |
440 |
- |
441 |
-src_prepare() { |
442 |
- sed -i '/^hacking/d' test-requirements.txt || die |
443 |
- # it's /bin/ip not /sbin/ip |
444 |
- sed -i 's/sbin\/ip\,/bin\/ip\,/g' etc/neutron/rootwrap.d/* || die |
445 |
- distutils-r1_python_prepare_all |
446 |
-} |
447 |
- |
448 |
-python_install_all() { |
449 |
- distutils-r1_python_install_all |
450 |
- if use server; then |
451 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-server" |
452 |
- newconfd "${FILESDIR}/neutron-server.confd" "neutron-server" |
453 |
- dosym ../../plugin.ini /etc/neutron/plugins/ml2/ml2_conf.ini |
454 |
- fi |
455 |
- if use dhcp; then |
456 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-dhcp-agent" |
457 |
- newconfd "${FILESDIR}/neutron-dhcp-agent.confd" "neutron-dhcp-agent" |
458 |
- fi |
459 |
- if use l3; then |
460 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-l3-agent" |
461 |
- newconfd "${FILESDIR}/neutron-l3-agent.confd" "neutron-l3-agent" |
462 |
- fi |
463 |
- if use metadata; then |
464 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-metadata-agent" |
465 |
- newconfd "${FILESDIR}/neutron-metadata-agent.confd" "neutron-metadata-agent" |
466 |
- fi |
467 |
- if use openvswitch; then |
468 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-openvswitch-agent" |
469 |
- newconfd "${FILESDIR}/neutron-openvswitch-agent.confd" "neutron-openvswitch-agent" |
470 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-ovs-cleanup" |
471 |
- newconfd "${FILESDIR}/neutron-openvswitch-agent.confd" "neutron-ovs-cleanup" |
472 |
- fi |
473 |
- if use linuxbridge; then |
474 |
- newinitd "${FILESDIR}/neutron.initd" "neutron-linuxbridge-agent" |
475 |
- newconfd "${FILESDIR}/neutron-linuxbridge-agent.confd" "neutron-linuxbridge-agent" |
476 |
- fi |
477 |
- diropts -m 755 -o neutron -g neutron |
478 |
- dodir /var/log/neutron /var/lib/neutron |
479 |
- keepdir /etc/neutron |
480 |
- insinto /etc/neutron |
481 |
- insopts -m 0640 -o neutron -g neutron |
482 |
- |
483 |
- doins etc/* |
484 |
- # stupid renames |
485 |
- insinto /etc/neutron |
486 |
- doins -r "etc/neutron/plugins" |
487 |
- insopts -m 0640 -o root -g root |
488 |
- doins "etc/rootwrap.conf" |
489 |
- doins -r "etc/neutron/rootwrap.d" |
490 |
- |
491 |
- #add sudoers definitions for user neutron |
492 |
- insinto /etc/sudoers.d/ |
493 |
- insopts -m 0440 -o root -g root |
494 |
- newins "${FILESDIR}/neutron.sudoersd" neutron |
495 |
- |
496 |
- # add generated configs |
497 |
- cd "${D}/etc/neutron" || die |
498 |
- unpack "neutron-configs-${PV}.tar.gz" |
499 |
- cd "${D}/etc/neutron/plugins/ml2" || die |
500 |
- unpack "neutron-ml2-plugins-${PV}.tar.gz" |
501 |
- |
502 |
- # correcting perms |
503 |
- fowners neutron:neutron -R "/etc/neutron" |
504 |
- fperms o-rwx -R "/etc/neutron/" |
505 |
- |
506 |
- #remove superfluous stuff |
507 |
- rm -R "${D}/usr/etc/" |
508 |
-} |
509 |
- |
510 |
-python_install() { |
511 |
- distutils-r1_python_install |
512 |
- # copy migration conf file (not coppied on install via setup.py script) |
513 |
- python_moduleinto neutron/db/migration/alembic_migrations |
514 |
- python_domodule "neutron/db/migration/alembic_migrations/versions" |
515 |
-} |
516 |
- |
517 |
-pkg_postinst() { |
518 |
- elog |
519 |
- elog "neutron-server's conf.d file may need updating to include additional ini files" |
520 |
- elog "We currently assume the ml2 plugin will be used but do not make assumptions" |
521 |
- elog "on if you will use openvswitch or linuxbridge (or something else)" |
522 |
- elog |
523 |
- elog "Other conf.d files may need updating too, but should be good for the default use case" |
524 |
- elog |
525 |
-} |
526 |
|
527 |
diff --git a/sys-cluster/neutron/neutron-17.1.0.ebuild b/sys-cluster/neutron/neutron-17.1.0.ebuild |
528 |
index 7ba8c9f5087..7cb75c41457 100644 |
529 |
--- a/sys-cluster/neutron/neutron-17.1.0.ebuild |
530 |
+++ b/sys-cluster/neutron/neutron-17.1.0.ebuild |
531 |
@@ -19,7 +19,7 @@ else |
532 |
SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/victoria/configs.tar.gz -> neutron-configs-${PV}.tar.gz |
533 |
https://dev.gentoo.org/~prometheanfire/dist/openstack/neutron/victoria/ml2_plugins.tar.gz -> neutron-ml2-plugins-${PV}.tar.gz |
534 |
https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
535 |
- KEYWORDS="~amd64 ~arm64 ~x86" |
536 |
+ KEYWORDS="amd64 ~arm64 x86" |
537 |
fi |
538 |
|
539 |
LICENSE="Apache-2.0" |