diff options
author | Sam James <sam@gentoo.org> | 2021-04-15 11:25:18 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-16 12:20:12 +0100 |
commit | 1f37bebed52f09858cdfcca49b974d4bd40e9cfa (patch) | |
tree | 658117b49551f0bef5e01bf56881befc5e9df750 /net-misc/openvswitch | |
parent | net-misc/olsrd: eutils--, multilib-- (diff) | |
download | gentoo-1f37bebed52f09858cdfcca49b974d4bd40e9cfa.tar.gz gentoo-1f37bebed52f09858cdfcca49b974d4bd40e9cfa.tar.bz2 gentoo-1f37bebed52f09858cdfcca49b974d4bd40e9cfa.zip |
net-misc/openvswitch: eutils--, BDEPEND, fully drop old slash strip
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/openvswitch')
-rw-r--r-- | net-misc/openvswitch/openvswitch-2.14.1.ebuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net-misc/openvswitch/openvswitch-2.14.1.ebuild b/net-misc/openvswitch/openvswitch-2.14.1.ebuild index ee149240777d..cb44e1d8be7e 100644 --- a/net-misc/openvswitch/openvswitch-2.14.1.ebuild +++ b/net-misc/openvswitch/openvswitch-2.14.1.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_7 python3_8 python3_9 ) -inherit autotools eutils linux-info linux-mod python-r1 systemd tmpfiles +inherit autotools linux-info linux-mod python-r1 systemd tmpfiles DESCRIPTION="Production quality, multilayer virtual switch" HOMEPAGE="https://www.openvswitch.org" @@ -24,8 +24,8 @@ RDEPEND=" dev-python/zope-interface[${PYTHON_USEDEP}] debug? ( dev-lang/perl )" DEPEND="${RDEPEND} - sys-apps/util-linux[caps] - virtual/pkgconfig" + sys-apps/util-linux[caps]" +BDEPEND="virtual/pkgconfig" PATCHES=" "${FILESDIR}/xcp-interface-reconfigure-2.3.2.patch" @@ -95,14 +95,14 @@ src_install() { sed -e '1s|^.*$|#!/usr/bin/python|' -i utilities/"${SCRIPT}" python_foreach_impl python_doscript utilities/"${SCRIPT}" done - rm -r "${ED%}"/usr/share/openvswitch/python || die + rm -r "${ED}"/usr/share/openvswitch/python || die fi keepdir /var/{lib,log}/openvswitch keepdir /etc/ssl/openvswitch fperms 0750 /etc/ssl/openvswitch - rm -rf "${ED%}"/var/run || die + rm -rf "${ED}"/var/run || die newconfd "${FILESDIR}/ovsdb-server_conf2" ovsdb-server newconfd "${FILESDIR}/ovs-vswitchd.confd-r2" ovs-vswitchd @@ -136,10 +136,10 @@ pkg_config() { einfo "Database '${db}' already exists, doing schema migration..." einfo "(if the migration fails, make sure that ovsdb-server is not running)" ovsdb-tool convert "${db}" \ - "${EROOT%}"/usr/share/openvswitch/vswitch.ovsschema || die "converting database failed" + "${EROOT}"/usr/share/openvswitch/vswitch.ovsschema || die "converting database failed" else einfo "Creating new database '${db}'..." ovsdb-tool create "${db}" \ - "${EROOT%}"/usr/share/openvswitch/vswitch.ovsschema || die "creating database failed" + "${EROOT}"/usr/share/openvswitch/vswitch.ovsschema || die "creating database failed" fi } |