diff options
Diffstat (limited to 'app-emulation/ganeti-instance-image')
-rw-r--r-- | app-emulation/ganeti-instance-image/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/ganeti-instance-image/ganeti-instance-image-0.6-r2.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app-emulation/ganeti-instance-image/Manifest b/app-emulation/ganeti-instance-image/Manifest index eef9a9f767d9..cc62dccdcd68 100644 --- a/app-emulation/ganeti-instance-image/Manifest +++ b/app-emulation/ganeti-instance-image/Manifest @@ -1,5 +1,6 @@ AUX ganeti-2.15.2-os-image-common_sh.patch 1869 BLAKE2B 61c3ee20a7774874a85b773b221dfbfe6151d5849e677198a8657ef8a5244be5546caf8fdd1d1c771dfb195c7748c430689ab854a0d7998f7636d60456f81846 SHA512 5ed87c15884aae8ce23dae6e40ddf48e91c417bafd9e20b97acd5e20583bacfa9d37433466c2f91e27770f86f3b462c056e35f5ac4235e955348c52ba67b8e6b DIST ganeti-instance-image-0.6.tar.gz 82534 BLAKE2B 8a16f1ead6307400031425c60dae2585ea9ad53e55276a73177b46652c9054c6c24ea7068347ecaeafa77cea27b1b97350420bd6cf0e69e5ac18692cede47bbc SHA512 92b5048fe8c40692e8e7c4cb73b21e764660d7cb5f585a8489fc4338eef7df8aae1147d38a849103585a884a0216a0bfb42473d5c1922130e5aada31f5d580c3 EBUILD ganeti-instance-image-0.6-r1.ebuild 1057 BLAKE2B 232dcf827777247b952f2401d0adfac3c20df4b10ff521c29319167d08e13a6a899ae4d803512d2ec74118153ab51e7d83b75e1c655fe4323efa9f26bccd8ccb SHA512 1457c2beb8fd4eb5176285bb2ac67315675d810008842150fcef168b76a068d520067c376a0752fbbebf52dc1cd047532f112e7585ca8354d3cb46a86dbad946 +EBUILD ganeti-instance-image-0.6-r2.ebuild 987 BLAKE2B 2394defd8cf8b9b6ab8b06614ee0cbd7c0b582af81ad57859bd64ce5613d404feb8be33ce570aaae1108f6165960d25bd63fe29006c3041c282eaf029dfd50a7 SHA512 3cba2e12ae9f97b60e57ed44e829cd7b4eb9d3594c0779616b9b7d0e9a336e1b7e3d1d89d750ec161f7bf7e9dc2195d10369e13b90701c87cd2dc4868c05ebd5 EBUILD ganeti-instance-image-0.6.ebuild 990 BLAKE2B 79251b99b7a51045025577f5481c08cecbff9b8bfc860c243e83c6ab08f4f0d9b3d31f08fc78899bef632aa6bd7b362b139d75d9e421f263ca76a3105dd8c870 SHA512 98764555f1dfd871a16cc8cc65ce5e6682b01575b6746a6560c65434f2e95a1ddcade4ada125c75aa79f3bcdcf65c51d6c3eca40c1acedf1c7e682c38418b340 MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 diff --git a/app-emulation/ganeti-instance-image/ganeti-instance-image-0.6-r2.ebuild b/app-emulation/ganeti-instance-image/ganeti-instance-image-0.6-r2.ebuild new file mode 100644 index 000000000000..9e62e96a8908 --- /dev/null +++ b/app-emulation/ganeti-instance-image/ganeti-instance-image-0.6-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="git://git.osuosl.org/${PN}.git" + EGIT_BRANCH="master" + inherit git-r3 autotools +else + SRC_URI="http://ftp.osuosl.org/pub/osl/ganeti-instance-image/${P}.tar.gz" +fi + +DESCRIPTION="Scripts to build out CD or image based VMs using Ganeti" +HOMEPAGE="http://code.osuosl.org/projects/ganeti-image" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="app-arch/dump + >=app-emulation/ganeti-2.15.2-r7 + app-emulation/qemu + sys-apps/util-linux + sys-fs/multipath-tools + sys-fs/e2fsprogs" + +src_prepare() { + default + if [[ ${PV} == "9999" ]]; then + eautoreconf + fi +} + +src_configure() { + econf --with-default-dir=/etc/ganeti +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + rm -rf "${D}"/usr/share/doc/${PN} + dodoc README.markdown NEWS ChangeLog + insinto /etc/ganeti + newins defaults ${PN} +} |