diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2018-01-16 18:52:09 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2018-01-16 18:52:09 -0800 |
commit | 2bbe3ec2825e97faf62e6cc66e27588c5d210415 (patch) | |
tree | 65848a33879911055dd3d49f97053d49ca7c2834 /app-emulation/ganeti | |
parent | revert bad commit (diff) | |
download | gentoo-2bbe3ec2825e97faf62e6cc66e27588c5d210415.tar.gz gentoo-2bbe3ec2825e97faf62e6cc66e27588c5d210415.tar.bz2 gentoo-2bbe3ec2825e97faf62e6cc66e27588c5d210415.zip |
app-emulation/ganeti: Allow arping from iputils as well as the separate package
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-emulation/ganeti')
-rw-r--r-- | app-emulation/ganeti/ganeti-2.15.2-r5.ebuild | 42 | ||||
-rw-r--r-- | app-emulation/ganeti/ganeti-2.15.2-r6.ebuild | 42 |
2 files changed, 38 insertions, 46 deletions
diff --git a/app-emulation/ganeti/ganeti-2.15.2-r5.ebuild b/app-emulation/ganeti/ganeti-2.15.2-r5.ebuild index a91a6db5a252..002bd0085cab 100644 --- a/app-emulation/ganeti/ganeti-2.15.2-r5.ebuild +++ b/app-emulation/ganeti/ganeti-2.15.2-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,27 +12,20 @@ MY_PV="${MY_PV/_beta/~beta}" MY_P="${PN}-${MY_PV}" SERIES="$(get_version_component_range 1-2)" -if [[ ${PV} =~ [9]{4,} ]] ; then - EGIT_REPO_URI="git://git.ganeti.org/ganeti.git" - inherit git-2 - KEYWORDS="" - PATCHES=() -else - DEBIAN_PATCH=4 - SRC_URI=" - http://downloads.ganeti.org/releases/${SERIES}/${MY_P}.tar.gz - mirror://ubuntu/pool/universe/${PN:0:1}/${PN}/${PN}_${PV}-${DEBIAN_PATCH}.debian.tar.xz - " - KEYWORDS="amd64 x86" - PATCHES=( - "${WORKDIR}"/debian/patches/do-not-backup-export-dir.patch - "${WORKDIR}"/debian/patches/Makefile.am-use-C.UTF-8 - "${WORKDIR}"/debian/patches/relax-deps - "${WORKDIR}"/debian/patches/zlib-0.6-compatibility - "${WORKDIR}"/debian/patches/fix_FTBFS_with_sphinx-1.3.5 - "${WORKDIR}"/debian/patches/fix_ftbfs_with_sphinx_1.4 - ) -fi +DEBIAN_PATCH=4 +SRC_URI=" + http://downloads.ganeti.org/releases/${SERIES}/${MY_P}.tar.gz + mirror://ubuntu/pool/universe/${PN:0:1}/${PN}/${PN}_${PV}-${DEBIAN_PATCH}.debian.tar.xz +" +KEYWORDS="amd64 x86" +PATCHES=( + "${WORKDIR}"/debian/patches/do-not-backup-export-dir.patch + "${WORKDIR}"/debian/patches/Makefile.am-use-C.UTF-8 + "${WORKDIR}"/debian/patches/relax-deps + "${WORKDIR}"/debian/patches/zlib-0.6-compatibility + "${WORKDIR}"/debian/patches/fix_FTBFS_with_sphinx-1.3.5 + "${WORKDIR}"/debian/patches/fix_ftbfs_with_sphinx_1.4 +) DESCRIPTION="Ganeti is a virtual server management software tool" HOMEPAGE="http://www.ganeti.org/" @@ -61,7 +54,10 @@ DEPEND=" dev-python/bitarray[${PYTHON_USEDEP}] dev-python/docutils[${PYTHON_USEDEP}] dev-python/fdsend[${PYTHON_USEDEP}] - net-analyzer/arping + || ( + net-misc/iputils[arping] + net-analyzer/arping + ) net-analyzer/fping net-misc/bridge-utils net-misc/curl[ssl] diff --git a/app-emulation/ganeti/ganeti-2.15.2-r6.ebuild b/app-emulation/ganeti/ganeti-2.15.2-r6.ebuild index ec6c5e7a33f3..739b9186e2de 100644 --- a/app-emulation/ganeti/ganeti-2.15.2-r6.ebuild +++ b/app-emulation/ganeti/ganeti-2.15.2-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,27 +12,20 @@ MY_PV="${MY_PV/_beta/~beta}" MY_P="${PN}-${MY_PV}" SERIES="$(get_version_component_range 1-2)" -if [[ ${PV} =~ [9]{4,} ]] ; then - EGIT_REPO_URI="git://git.ganeti.org/ganeti.git" - inherit git-2 - KEYWORDS="" - PATCHES=() -else - DEBIAN_PATCH=4 - SRC_URI=" - http://downloads.ganeti.org/releases/${SERIES}/${MY_P}.tar.gz - mirror://ubuntu/pool/universe/${PN:0:1}/${PN}/${PN}_${PV}-${DEBIAN_PATCH}.debian.tar.xz - " - KEYWORDS="~amd64 ~x86" - PATCHES=( - "${WORKDIR}"/debian/patches/do-not-backup-export-dir.patch - "${WORKDIR}"/debian/patches/Makefile.am-use-C.UTF-8 - "${WORKDIR}"/debian/patches/relax-deps - "${WORKDIR}"/debian/patches/zlib-0.6-compatibility - "${WORKDIR}"/debian/patches/fix_FTBFS_with_sphinx-1.3.5 - "${WORKDIR}"/debian/patches/fix_ftbfs_with_sphinx_1.4 - ) -fi +DEBIAN_PATCH=4 +SRC_URI=" + http://downloads.ganeti.org/releases/${SERIES}/${MY_P}.tar.gz + mirror://ubuntu/pool/universe/${PN:0:1}/${PN}/${PN}_${PV}-${DEBIAN_PATCH}.debian.tar.xz +" +KEYWORDS="~amd64 ~x86" +PATCHES=( + "${WORKDIR}"/debian/patches/do-not-backup-export-dir.patch + "${WORKDIR}"/debian/patches/Makefile.am-use-C.UTF-8 + "${WORKDIR}"/debian/patches/relax-deps + "${WORKDIR}"/debian/patches/zlib-0.6-compatibility + "${WORKDIR}"/debian/patches/fix_FTBFS_with_sphinx-1.3.5 + "${WORKDIR}"/debian/patches/fix_ftbfs_with_sphinx_1.4 +) DESCRIPTION="Ganeti is a virtual server management software tool" HOMEPAGE="http://www.ganeti.org/" @@ -61,7 +54,10 @@ DEPEND=" dev-python/bitarray[${PYTHON_USEDEP}] dev-python/docutils[${PYTHON_USEDEP}] dev-python/fdsend[${PYTHON_USEDEP}] - net-analyzer/arping + || ( + net-misc/iputils[arping] + net-analyzer/arping + ) net-analyzer/fping net-misc/bridge-utils net-misc/curl[ssl] |