Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/simplevirt/files/, app-emulation/simplevirt/
Date: Fri, 20 May 2022 00:25:08
Message-Id: 1653006263.340f8a985adbb9fa37f57fdbfede630ac1c03df7.sam@gentoo
1 commit: 340f8a985adbb9fa37f57fdbfede630ac1c03df7
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 20 00:23:48 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri May 20 00:24:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=340f8a98
7
8 app-emulation/simplevirt: treeclean
9
10 No keyworded versions. Uses deprecated eclass and eclass variables.
11
12 Closes: https://bugs.gentoo.org/844310
13 Closes: https://bugs.gentoo.org/844610
14 Closes: https://bugs.gentoo.org/729262
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 app-emulation/simplevirt/Manifest | 17 -----
18 app-emulation/simplevirt/files/simplevirtd.confd | 4 --
19 app-emulation/simplevirt/files/simplevirtd.initd | 15 -----
20 app-emulation/simplevirt/metadata.xml | 12 ----
21 .../simplevirt/simplevirt-0.0_p20181012-r1.ebuild | 76 ----------------------
22 app-emulation/simplevirt/simplevirt-0.1.ebuild | 71 --------------------
23 6 files changed, 195 deletions(-)
24
25 diff --git a/app-emulation/simplevirt/Manifest b/app-emulation/simplevirt/Manifest
26 deleted file mode 100644
27 index 127ac9d5ed47..000000000000
28 --- a/app-emulation/simplevirt/Manifest
29 +++ /dev/null
30 @@ -1,17 +0,0 @@
31 -DIST github.com%2Finconshreveable%2Fmousetrap%2F@v%2Fv1.0.0.mod 44 BLAKE2B 764581d416faa477a91695a42c68cef5638d019a1622fb3bcee976c1581e904995d33c79ffed1d3b805f660931ece844b3e17437f158f8b82ddae82e95f0358f SHA512 0c77200112d96f9cddf8cf7da0059204914b06a8c400e2e672443bd02a45d9ebb3274275c20e6e7ee0728992e77579d945b36de44ccbaab2ee92fd55f382f7ac
32 -DIST github.com%2Finconshreveable%2Fmousetrap%2F@v%2Fv1.0.0.zip 3712 BLAKE2B f4f79741bb83862583f51f2ac5e80181eb0e9c2a4578df32f7e24eb98f4f548b99333e0e6a377e03ef701057b01e852e6b710ab885b65170c861bef556863da4 SHA512 e16bd414c1df566a12944e4a99ebd84d2103f0cb3bf8ec312e3de400f20b3eae27845db50672801c10474dbf1dc61d0c2e16e5dcd3c4447681c0b77f9114a411
33 -DIST github.com%2Fspf13%2Fcobra%2F@v%2Fv0.0.3.mod 30 BLAKE2B cb72701c052ce4059500f4c6b3d0c4fb336d118865bf1f7f45ce0b0279e1d01b6e58d49f82182c2523681a97bcaa7a70216d63ceeca0ea1d09c1921226f6bc4e SHA512 ea13ed8e166d16a7bcd14a7cde90af1cacc0b05995d1c5ec245fa536208e0cbfffd689dd460d66c0a1ad315f2b0ae9f4b803ed72bcdfd89c4a98a7ed934289c7
34 -DIST github.com%2Fspf13%2Fcobra%2F@v%2Fv0.0.3.zip 139997 BLAKE2B c20d7292a69fd548bf0dbd62751dc08a41c66f120bd8b5142e96f498aafd208328ed4888d7ac59404b64dace96bcad210f64734e432f15ae63ce6d39dd308cf4 SHA512 1476716a98d5aa26c34af6d85eb93886cae211beac7cdc8f886d2030bf7f83802409aa56510ba09cbdb609dcd2faf87d3490c4e5392922e0e034edcd3d9fb1bf
35 -DIST github.com%2Fspf13%2Fpflag%2F@v%2Fv1.0.2.mod 30 BLAKE2B 18c9fb79a291aaf800991a296c8d7b1933cf45bf56082301a64ce17ea64dd15fd304094fd4b0561bd99c48ada545dfe7fa8cf47a15593cd3166eb66657a5e114 SHA512 d08b4540b799cee9c5f088c4e1fe002c9fda86f1634380409eec1404598b84376d3ca26b4c1cbcf58bc19234ab56531ab11db8a00c6dd2e15a53f3b4ae757efc
36 -DIST github.com%2Fspf13%2Fpflag%2F@v%2Fv1.0.2.zip 69513 BLAKE2B f0245b6dc9af841a0671ccc537c5b8db24d1339cbe4357060df7a81985654b8795af2da9019fe9af6e6796837fc5a3899049a6045875951ebde93aeebdc8c455 SHA512 4cb9a49c18f230383add346759d68f5831347227d202da227527971d6ca071a9832ffbf051740a4ac8f07fd1f2df41691dd297a9f17b023b889d99506aa6da23
37 -DIST github.com-go-check-check-20d25e2804050c1cd24a7eea1e7a6447dd0e74ec.tar.gz 30367 BLAKE2B c18a0f1aff1bde8e6fc533ea627377ca4de4830d84289355f68163855ec97ac47f537b3b2627568c31714ac3a7672ebf86d60452269c75c80c2cd7565d7c97a0 SHA512 94342de3aad4db1c4442062f4cf4e57c723a43bbcb0069a8bed3b719e3864eef7500a24c9c99c755114708d6822e9b23f296b6d0b2b46f32cc6ffc65944d1729
38 -DIST github.com-go-yaml-yaml-v2.2.1.tar.gz 70217 BLAKE2B 4ba34bd9432699ec60348d13d8b95498abf751a922f782bf177695e6854faf907c1728d1dc13ad1cb63215fe3a86366cd99068247d15c726ba77bd0cf434b9c6 SHA512 d49267ee361196b0a1e1b9ad6f6cfa903627ccf7925fc3acc8d1bd214b64d362a9dcee10ba524fb8887226235c5baa2c8812a9f62adc7e6719d4ed84baa4ce4b
39 -DIST github.com-inconshreveable-mousetrap-v1.0.0.tar.gz 2290 BLAKE2B bd46103e50dd916bad41aafbf8c1945d835222c131a88f4d3fba35feb4b11ae83c900280c9dafc6f0ef92f71b6a3ba02996dcb31d67eb49314b29d23fda2c8b8 SHA512 6f68bd6b7b1c7aa6651fe83b5230b6c8398b85561b01ca6a36ee638e186c325cc70444818de7a569db240159ba5840ed24f212e0defdf9f9890803a7641285d9
40 -DIST github.com-spf13-cobra-v0.0.3.tar.gz 101526 BLAKE2B 8613eccdd5bbd31429b7aa8260ee9367e34a5cc78075b394b09db91a97445ed1dadfb53a86105b55cb6ea3b4c2f9d50553e9198d64dfb6033dd1db2805984a2c SHA512 c38db9432a168f913b41a1e1b11d84bedfade82ff70791be9d343a6cc86b8a05b18bae344d67ebd8bae4c98662db7ac664a9dc86fa9b9ad4aa5c96cbf0178efb
41 -DIST github.com-spf13-pflag-v1.0.2.tar.gz 44042 BLAKE2B 157fa6c2b1efa594abebd76ff03121050187974d62475b1aa66af325a2198ea64105655597703c37f25e22c4a07864d9fc31a6a29ba9233fdeefcceef400d5e5 SHA512 fd3cefd683329316eda4ec660193a970e38435515c16805190235e2c969c8d65a6f602fdc7c2f7cf3d9740c5a321ee5be5e8034bd6cd7c05c12722cf64d1e8ae
42 -DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
43 -DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.zip 39844 BLAKE2B b3dab69dbd1ebb999938c12595de7007dce9431cfeaeb5e77aba80c49918d1a4edf7fb95279e9b66686cb45deaf57a011c083e55fb66ec2c614582ba323954da SHA512 97c96a92ec86372c2f06141c30bceaa86ed62c1db34696f9542f43f3411cb0a37dea654de923a5ee054e603198179b9048e3b477da140e4092ffadc4525b9241
44 -DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.1.mod 95 BLAKE2B adb3684980f1d8e6c23444e91028f8db55f1bc496114eb3508dbecf9917dbc8a0a4bed7c0d761123335a75b9ffe727e180f2d6aa5f84312edb05a798185c8362 SHA512 916ff67ddb6c2ba39905db4277ce42596d9ca5a42f8aa7f47f16335e78d91a1b30419fd1b7b6967b37e248363397ec527b38d2f500b3546edda5d2bce1944379
45 -DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.1.zip 77767 BLAKE2B d77644df22edfcda7d99d4a4a23a1fd1154fa21489dc36b9a8f9ffc45e341d8d793faae76d4d3d32290766c7b13cea30d17efaa7e8e74786ead90b0605f70967 SHA512 bc935858e1d5c341c7d53c41bdf6f856976a469c8f54f017e41e8be742064ce9980cc6881353e022f854d6e19096a37f5ff62bf7b01019b0425a0c03dc6fe14a
46 -DIST simplevirt-0.0_p20181012.tar.gz 14652 BLAKE2B a6a648ed159d0648f27174c6598c9ae85e41530b218ef0360962884d1f61cfd16d2534ef4d2a01eb87138d0390fc7fe25e070c602f296344b8285c9dd2804287 SHA512 64c0edfc22ed0347c7335b942b06b6b9fd8c3f2ea7d374bf14b96b98b23248d15b6f38d7d1d809c8cd60b605f1809dfca8ff5c249e2df183c8b1636c26440ca8
47 -DIST simplevirt-0.1.tar.gz 15105 BLAKE2B 69e5aa5857f82e9067167b811fb26a728756aec5902b2d630434795b21455c40898ff695fa0d3c9e5ea0c34f66e6654ac2f26d66c9648ebf99cb2e68661bdad7 SHA512 cd5dba4fafd5a493fdb0d44219684f517b17dbd54c4843fb0ea277da5c302507415c5ceb2b8e47082425127c3ac5061d51b8b153b93c406a5b328cf3a47821db
48
49 diff --git a/app-emulation/simplevirt/files/simplevirtd.confd b/app-emulation/simplevirt/files/simplevirtd.confd
50 deleted file mode 100644
51 index 9f679f6221ac..000000000000
52 --- a/app-emulation/simplevirt/files/simplevirtd.confd
53 +++ /dev/null
54 @@ -1,4 +0,0 @@
55 -# /etc/conf.d/simplevirtd: config file for simplevirtd
56 -
57 -# See `simplevirtd --help`
58 -SIMPLEVIRTD_OPTS=""
59
60 diff --git a/app-emulation/simplevirt/files/simplevirtd.initd b/app-emulation/simplevirt/files/simplevirtd.initd
61 deleted file mode 100644
62 index d8dfadbcb69b..000000000000
63 --- a/app-emulation/simplevirt/files/simplevirtd.initd
64 +++ /dev/null
65 @@ -1,15 +0,0 @@
66 -#!/sbin/openrc-run
67 -# Copyright 1999-2019 Gentoo Authors
68 -# Distributed under the terms of the GNU General Public License v2
69 -
70 -name="simplevirtd"
71 -pidfile="/run/simplevirtd.pid"
72 -retry="SIGTERM/7200"
73 -command="/usr/sbin/simplevirtd"
74 -command_background="1"
75 -command_args="--syslog ${SIMPLEVIRTD_ARGS}"
76 -
77 -depend() {
78 - need net
79 - use dns logger
80 -}
81
82 diff --git a/app-emulation/simplevirt/metadata.xml b/app-emulation/simplevirt/metadata.xml
83 deleted file mode 100644
84 index 88188e706369..000000000000
85 --- a/app-emulation/simplevirt/metadata.xml
86 +++ /dev/null
87 @@ -1,12 +0,0 @@
88 -<?xml version="1.0" encoding="UTF-8"?>
89 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
90 -<pkgmetadata>
91 - <!-- maintainer-needed -->
92 - <upstream>
93 - <maintainer status="active">
94 - <email>rafael@×××××××××××××××××.br</email>
95 - <name>Rafael G. Martins</name>
96 - </maintainer>
97 - <remote-id type="github">rafaelmartins/simplevirt</remote-id>
98 - </upstream>
99 -</pkgmetadata>
100
101 diff --git a/app-emulation/simplevirt/simplevirt-0.0_p20181012-r1.ebuild b/app-emulation/simplevirt/simplevirt-0.0_p20181012-r1.ebuild
102 deleted file mode 100644
103 index 45f5a524d281..000000000000
104 --- a/app-emulation/simplevirt/simplevirt-0.0_p20181012-r1.ebuild
105 +++ /dev/null
106 @@ -1,76 +0,0 @@
107 -# Copyright 1999-2020 Gentoo Authors
108 -# Distributed under the terms of the GNU General Public License v2
109 -
110 -EAPI=6
111 -
112 -EGO_VENDOR=(
113 - "github.com/inconshreveable/mousetrap v1.0.0"
114 - "github.com/spf13/cobra v0.0.3"
115 - "github.com/spf13/pflag v1.0.2"
116 - "gopkg.in/check.v1 20d25e2804050c1cd24a7eea1e7a6447dd0e74ec github.com/go-check/check"
117 - "gopkg.in/yaml.v2 v2.2.1 github.com/go-yaml/yaml"
118 -)
119 -
120 -inherit linux-info golang-vcs-snapshot
121 -
122 -EGO_PN="github.com/rafaelmartins/simplevirt"
123 -GIT_COMMIT="78d29d8fa11ce72af5f897430af7bb7d2947a32f"
124 -GIT_VERSION="0.0.26-78d2"
125 -ARCHIVE_URI="https://${EGO_PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
126 -
127 -DESCRIPTION="Simple virtual machine manager for Linux (QEMU/KVM)"
128 -HOMEPAGE="https://github.com/rafaelmartins/simplevirt"
129 -SRC_URI="
130 - ${ARCHIVE_URI}
131 - ${EGO_VENDOR_URI}"
132 -
133 -LICENSE="Apache-2.0 BSD-2 BSD MIT"
134 -SLOT="0"
135 -KEYWORDS=""
136 -IUSE=""
137 -
138 -RDEPEND="
139 - acct-group/simplevirt
140 - virtual/logger
141 - app-emulation/qemu"
142 -
143 -CONFIG_CHECK="~TUN ~BRIDGE"
144 -ERROR_TUN="CONFIG_TUN: Universal TUN/TAP driver required to setup bridge networking"
145 -ERROR_BRIDGE="CONFIG_BRIDGE: 802.1d Ethernet Bridging required to setup bridge networking"
146 -
147 -src_compile() {
148 - pushd src/${EGO_PN} > /dev/null || die
149 - GOPATH="${S}" go install -v -ldflags "-X ${EGO_PN}.Version=${GIT_VERSION}" ./cmd/... || die
150 - popd > /dev/null || die
151 -}
152 -
153 -src_install() {
154 - dobin bin/simplevirtctl
155 - dosbin bin/simplevirtd
156 -
157 - newinitd "${FILESDIR}/simplevirtd.initd" simplevirtd
158 - newconfd "${FILESDIR}/simplevirtd.confd" simplevirtd
159 -
160 - dodoc "src/${EGO_PN}/README.md"
161 -
162 - keepdir /etc/simplevirt
163 -}
164 -
165 -src_test() {
166 - pushd src/${EGO_PN} > /dev/null || die
167 - GOPATH="${S}" go test -v ./pkg/... || die
168 - popd > /dev/null || die
169 -}
170 -
171 -pkg_postinst() {
172 - elog
173 - elog "To use simplevirt, the simplevirtd daemon must be running as root."
174 - elog "To automatically start the daemon at boot, add it to the default runlevel:"
175 - elog " rc-update add simplevirtd default"
176 - elog
177 - elog "systemd is not supported for now."
178 - elog
179 - elog "To use simplevirtctl as a non-root user, add yourself to the 'simplevirt' group:"
180 - elog " usermod -aG simplevirt youruser"
181 - elog
182 -}
183
184 diff --git a/app-emulation/simplevirt/simplevirt-0.1.ebuild b/app-emulation/simplevirt/simplevirt-0.1.ebuild
185 deleted file mode 100644
186 index bf544e36aff1..000000000000
187 --- a/app-emulation/simplevirt/simplevirt-0.1.ebuild
188 +++ /dev/null
189 @@ -1,71 +0,0 @@
190 -# Copyright 1999-2021 Gentoo Authors
191 -# Distributed under the terms of the GNU General Public License v2
192 -
193 -EAPI=8
194 -inherit go-module linux-info
195 -
196 -DESCRIPTION="Simple virtual machine manager for Linux (QEMU/KVM)"
197 -HOMEPAGE="https://github.com/rafaelmartins/simplevirt"
198 -
199 -EGO_SUM=(
200 - "github.com/inconshreveable/mousetrap v1.0.0"
201 - "github.com/inconshreveable/mousetrap v1.0.0/go.mod"
202 - "github.com/spf13/cobra v0.0.3"
203 - "github.com/spf13/cobra v0.0.3/go.mod"
204 - "github.com/spf13/pflag v1.0.2"
205 - "github.com/spf13/pflag v1.0.2/go.mod"
206 - "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405"
207 - "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
208 - "gopkg.in/yaml.v2 v2.2.1"
209 - "gopkg.in/yaml.v2 v2.2.1/go.mod"
210 - )
211 -go-module_set_globals
212 -SRC_URI="https://github.com/rafaelmartins/simplevirt/archive/v${PV}.tar.gz -> ${P}.tar.gz
213 - ${EGO_SUM_SRC_URI}"
214 -
215 -LICENSE="Apache-2.0 BSD-2 BSD MIT"
216 -SLOT="0"
217 -KEYWORDS=""
218 -
219 -RDEPEND="
220 - acct-group/simplevirt
221 - virtual/logger
222 - app-emulation/qemu"
223 -
224 -CONFIG_CHECK="~TUN ~BRIDGE"
225 -ERROR_TUN="CONFIG_TUN: Universal TUN/TAP driver required to setup bridge networking"
226 -ERROR_BRIDGE="CONFIG_BRIDGE: 802.1d Ethernet Bridging required to setup bridge networking"
227 -
228 -src_compile() {
229 - go build -ldflags "
230 - -X github.com/rafaelmartins/simplevirt.Version=${PV}" ./cmd/... || die
231 -}
232 -
233 -src_install() {
234 - dobin simplevirtctl
235 - dosbin simplevirtd
236 -
237 - newinitd "${FILESDIR}/simplevirtd.initd" simplevirtd
238 - newconfd "${FILESDIR}/simplevirtd.confd" simplevirtd
239 -
240 - dodoc README.md
241 -
242 - keepdir /etc/simplevirt
243 -}
244 -
245 -src_test() {
246 - go test -v ./pkg/... || die
247 -}
248 -
249 -pkg_postinst() {
250 - elog
251 - elog "To use simplevirt, the simplevirtd daemon must be running as root."
252 - elog "To automatically start the daemon at boot, add it to the default runlevel:"
253 - elog " rc-update add simplevirtd default"
254 - elog
255 - elog "systemd is not supported for now."
256 - elog
257 - elog "To use simplevirtctl as a non-root user, add yourself to the 'simplevirt' group:"
258 - elog " usermod -aG simplevirt youruser"
259 - elog
260 -}