From 5c7a52d7ce2ac3d5eb4ffdfbdc9ed250ccecf2d2 Mon Sep 17 00:00:00 2001 From: Rafael Martins Date: Tue, 9 Oct 2018 21:48:31 +0200 Subject: app-emulation/simplevirt: snapshot bump Package-Manager: Portage-2.3.49, Repoman-2.3.11 Signed-off-by: Rafael Martins --- app-emulation/simplevirt/Manifest | 2 +- .../simplevirt/simplevirt-0.0_p20181008.ebuild | 81 ---------------------- .../simplevirt/simplevirt-0.0_p20181009.ebuild | 81 ++++++++++++++++++++++ 3 files changed, 82 insertions(+), 82 deletions(-) delete mode 100644 app-emulation/simplevirt/simplevirt-0.0_p20181008.ebuild create mode 100644 app-emulation/simplevirt/simplevirt-0.0_p20181009.ebuild (limited to 'app-emulation/simplevirt') diff --git a/app-emulation/simplevirt/Manifest b/app-emulation/simplevirt/Manifest index 53327df1b395..298cde2b7a51 100644 --- a/app-emulation/simplevirt/Manifest +++ b/app-emulation/simplevirt/Manifest @@ -3,4 +3,4 @@ DIST github.com-go-yaml-yaml-v2.2.1.tar.gz 70217 BLAKE2B 4ba34bd9432699ec60348d1 DIST github.com-inconshreveable-mousetrap-v1.0.0.tar.gz 2290 BLAKE2B bd46103e50dd916bad41aafbf8c1945d835222c131a88f4d3fba35feb4b11ae83c900280c9dafc6f0ef92f71b6a3ba02996dcb31d67eb49314b29d23fda2c8b8 SHA512 6f68bd6b7b1c7aa6651fe83b5230b6c8398b85561b01ca6a36ee638e186c325cc70444818de7a569db240159ba5840ed24f212e0defdf9f9890803a7641285d9 DIST github.com-spf13-cobra-v0.0.3.tar.gz 101526 BLAKE2B 8613eccdd5bbd31429b7aa8260ee9367e34a5cc78075b394b09db91a97445ed1dadfb53a86105b55cb6ea3b4c2f9d50553e9198d64dfb6033dd1db2805984a2c SHA512 c38db9432a168f913b41a1e1b11d84bedfade82ff70791be9d343a6cc86b8a05b18bae344d67ebd8bae4c98662db7ac664a9dc86fa9b9ad4aa5c96cbf0178efb DIST github.com-spf13-pflag-v1.0.2.tar.gz 44042 BLAKE2B 157fa6c2b1efa594abebd76ff03121050187974d62475b1aa66af325a2198ea64105655597703c37f25e22c4a07864d9fc31a6a29ba9233fdeefcceef400d5e5 SHA512 fd3cefd683329316eda4ec660193a970e38435515c16805190235e2c969c8d65a6f602fdc7c2f7cf3d9740c5a321ee5be5e8034bd6cd7c05c12722cf64d1e8ae -DIST simplevirt-0.0_p20181008.tar.gz 14418 BLAKE2B f7c2274b57c874a26b04bfe0008ab5234a1841e0ca64104725048bbda6dc97086954958779a28e6457da9172f998e7a14298c84dcf5b1e43adf71909fa5c9f48 SHA512 003a30d204c02ea196ef23deddd924c2ccad92b861aece35d88be99416664f8b38c4da6e578f56b111a3b5d192032acbf30383cc659160755e8eeeb8b358b8d4 +DIST simplevirt-0.0_p20181009.tar.gz 14487 BLAKE2B ef18680c208f71686502048d611509773e5722c563b2adaa1f0020f4c36aae65550b045efdfe22f7a3fbe7600483850d3590a5be839acfdc5065e51174913a6a SHA512 7cc4de465c8a399eeb8726c112492dff56696f5ca23dd0cd28c7d6da81727dfb2c2281731ff04c42ef27a5a836599dd1f36ce84eaba96d2700955e52b75193f9 diff --git a/app-emulation/simplevirt/simplevirt-0.0_p20181008.ebuild b/app-emulation/simplevirt/simplevirt-0.0_p20181008.ebuild deleted file mode 100644 index 9310b3a9623e..000000000000 --- a/app-emulation/simplevirt/simplevirt-0.0_p20181008.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGO_VENDOR=( - "github.com/inconshreveable/mousetrap v1.0.0" - "github.com/spf13/cobra v0.0.3" - "github.com/spf13/pflag v1.0.2" - "gopkg.in/check.v1 20d25e2804050c1cd24a7eea1e7a6447dd0e74ec github.com/go-check/check" - "gopkg.in/yaml.v2 v2.2.1 github.com/go-yaml/yaml" -) - -inherit linux-info golang-vcs-snapshot user - -EGO_PN="github.com/rafaelmartins/simplevirt" -GIT_COMMIT="49d0d512f044a20adcabc1b3a0a56a69e5f1f9c7" -GIT_VERSION="0.0.19-49d0" -ARCHIVE_URI="https://${EGO_PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - -DESCRIPTION="Simple virtual machine manager for Linux (QEMU/KVM)" -HOMEPAGE="https://github.com/rafaelmartins/simplevirt" -SRC_URI=" - ${ARCHIVE_URI} - ${EGO_VENDOR_URI}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="" -IUSE="" - -RDEPEND=" - virtual/logger - app-emulation/qemu" - -CONFIG_CHECK="~TUN ~BRIDGE" -ERROR_TUN="CONFIG_TUN: Universal TUN/TAP driver required to setup bridge networking" -ERROR_BRIDGE="CONFIG_BRIDGE: 802.1d Ethernet Bridging required to setup bridge networking" - -pkg_setup() { - enewgroup simplevirt - - linux-info_pkg_setup -} - -src_compile() { - pushd src/${EGO_PN} > /dev/null || die - GOPATH="${S}" go install -v -ldflags "-X ${EGO_PN}.Version=${GIT_VERSION}" ./cmd/... || die - popd > /dev/null || die -} - -src_install() { - dobin bin/simplevirtctl - dosbin bin/simplevirtd - - newinitd "${FILESDIR}/simplevirtd.initd" simplevirtd - newconfd "${FILESDIR}/simplevirtd.confd" simplevirtd - - dodoc "src/${EGO_PN}/README.md" - - keepdir /etc/simplevirt -} - -src_test() { - pushd src/${EGO_PN} > /dev/null || die - GOPATH="${S}" go test -v ./pkg/... || die - popd > /dev/null || die -} - -pkg_postinst() { - elog - elog "To use simplevirt, the simplevirtd daemon must be running as root." - elog "To automatically start the daemon at boot, add it to the default runlevel:" - elog " rc-update add simplevirtd default" - elog - elog "systemd is not supported for now." - elog - elog "To use simplevirtctl as a non-root user, add yourself to the 'simplevirt' group:" - elog " usermod -aG simplevirt youruser" - elog -} diff --git a/app-emulation/simplevirt/simplevirt-0.0_p20181009.ebuild b/app-emulation/simplevirt/simplevirt-0.0_p20181009.ebuild new file mode 100644 index 000000000000..22eccbb29d12 --- /dev/null +++ b/app-emulation/simplevirt/simplevirt-0.0_p20181009.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_VENDOR=( + "github.com/inconshreveable/mousetrap v1.0.0" + "github.com/spf13/cobra v0.0.3" + "github.com/spf13/pflag v1.0.2" + "gopkg.in/check.v1 20d25e2804050c1cd24a7eea1e7a6447dd0e74ec github.com/go-check/check" + "gopkg.in/yaml.v2 v2.2.1 github.com/go-yaml/yaml" +) + +inherit linux-info golang-vcs-snapshot user + +EGO_PN="github.com/rafaelmartins/simplevirt" +GIT_COMMIT="a1569d8a63fbed7ad200039d3b45fcad41f23f36" +GIT_VERSION="0.0.20-a156" +ARCHIVE_URI="https://${EGO_PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="Simple virtual machine manager for Linux (QEMU/KVM)" +HOMEPAGE="https://github.com/rafaelmartins/simplevirt" +SRC_URI=" + ${ARCHIVE_URI} + ${EGO_VENDOR_URI}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND=" + virtual/logger + app-emulation/qemu" + +CONFIG_CHECK="~TUN ~BRIDGE" +ERROR_TUN="CONFIG_TUN: Universal TUN/TAP driver required to setup bridge networking" +ERROR_BRIDGE="CONFIG_BRIDGE: 802.1d Ethernet Bridging required to setup bridge networking" + +pkg_setup() { + enewgroup simplevirt + + linux-info_pkg_setup +} + +src_compile() { + pushd src/${EGO_PN} > /dev/null || die + GOPATH="${S}" go install -v -ldflags "-X ${EGO_PN}.Version=${GIT_VERSION}" ./cmd/... || die + popd > /dev/null || die +} + +src_install() { + dobin bin/simplevirtctl + dosbin bin/simplevirtd + + newinitd "${FILESDIR}/simplevirtd.initd" simplevirtd + newconfd "${FILESDIR}/simplevirtd.confd" simplevirtd + + dodoc "src/${EGO_PN}/README.md" + + keepdir /etc/simplevirt +} + +src_test() { + pushd src/${EGO_PN} > /dev/null || die + GOPATH="${S}" go test -v ./pkg/... || die + popd > /dev/null || die +} + +pkg_postinst() { + elog + elog "To use simplevirt, the simplevirtd daemon must be running as root." + elog "To automatically start the daemon at boot, add it to the default runlevel:" + elog " rc-update add simplevirtd default" + elog + elog "systemd is not supported for now." + elog + elog "To use simplevirtctl as a non-root user, add yourself to the 'simplevirt' group:" + elog " usermod -aG simplevirt youruser" + elog +} -- cgit v1.2.3-65-gdbad