Gentoo Archives: gentoo-commits

From: Erik Mackdanz <stasibear@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/
Date: Tue, 12 Jul 2016 23:58:08
Message-Id: 1468367870.2f09fd2da0d64039c063fbf05a2e51b8d15c363c.stasibear@gentoo
1 commit: 2f09fd2da0d64039c063fbf05a2e51b8d15c363c
2 Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 12 23:57:50 2016 +0000
4 Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 12 23:57:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f09fd2d
7
8 app-emulation/lxd: Remove old versions
9
10 Package-Manager: portage-2.3.0
11
12 app-emulation/lxd/Manifest | 3 -
13 .../lxd/files/lxd-2.0.0-dont-go-get.patch | 20 ---
14 .../lxd/files/lxd-2.0.0-nc-binary-name.patch | 11 --
15 app-emulation/lxd/files/lxd-2.0.0.confd | 27 ----
16 app-emulation/lxd/files/lxd-2.0.0.initd | 50 -------
17 .../lxd/files/lxd-2.0.0_beta4-dont-go-get.patch | 20 ---
18 .../lxd/files/lxd-2.0.0_beta4-nc-binary-name.patch | 11 --
19 app-emulation/lxd/files/lxd-2.0.0_beta4.confd | 27 ----
20 app-emulation/lxd/files/lxd-2.0.0_beta4.initd | 50 -------
21 .../lxd/files/lxd-2.0.0_rc2-dont-go-get.patch | 20 ---
22 .../lxd/files/lxd-2.0.0_rc2-nc-binary-name.patch | 11 --
23 app-emulation/lxd/files/lxd-2.0.0_rc2.confd | 27 ----
24 app-emulation/lxd/files/lxd-2.0.0_rc2.initd | 50 -------
25 app-emulation/lxd/lxd-2.0.0.ebuild | 158 --------------------
26 app-emulation/lxd/lxd-2.0.0_beta4.ebuild | 161 ---------------------
27 app-emulation/lxd/lxd-2.0.0_rc2.ebuild | 161 ---------------------
28 16 files changed, 807 deletions(-)
29
30 diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
31 index 8abc29c..5d37b24 100644
32 --- a/app-emulation/lxd/Manifest
33 +++ b/app-emulation/lxd/Manifest
34 @@ -1,6 +1,3 @@
35 -DIST lxd-2.0.0.tar.bz2 2305314 SHA256 da5bab198cff8bee4528f35537221a252b4b2a23d655921aabbf281b0fd2ec6a SHA512 23e791403f81951c9e5227b804fb400d80dde56f17ff71d511be4514943bd4bac7f4ade738294a4a88d9c4f73e4302f6c5b0e22eb245083fb1eeee6e01e207c4 WHIRLPOOL 72b1dc86547a8d0db74eca5e07fd33bf0545c1dbafba894a6316e77d36673fef5b765df68b4d6cd39d2db9a1dacfb757696ec982023aed329e38201aef1a5562
36 -DIST lxd-2.0.0_beta4.tar.bz2 2291955 SHA256 6487750275e21ab3e862ea56807b9fcf28e9a646040e1f50f3967e9f76cf27e5 SHA512 ae67b9098946f037c1c938cc46f141fb8089ae33b980dd55cebc9cc3f14fbcd645e810e185fdc61dacbd6437569d079e4d9bd9763d12fefb65cfcecf13c10b28 WHIRLPOOL 6c781b47b80d044128647567b6de81352b174e2224e9ff91f2e1eacc5dfbb9141e53aa74e9bce479ebee1bb6c691282849897c34f815415623abcf3d666c7033
37 -DIST lxd-2.0.0_rc2.tar.bz2 2306077 SHA256 d74babbd5c537430a574a13c0f70c7633affc9bbd0e21bf0039872bdfb801fe9 SHA512 6a21620e19277293a3b665d4061f5aa9443d1a9a5ab88fa885096ff77acf828b215e247136bb99ea1ba230f015181bc9a86a919664c9288577509a2146a5aa66 WHIRLPOOL f88e0f3b5ecd9803bc8baee864ffbdf33b39f331a5e5ceb170b2792d2e26b6f4faae3a8cc6aae090e81accd3835408f2956a117095bc790ca7c16cd7f21d205e
38 DIST lxd-2.0.1.tar.bz2 2330217 SHA256 b9a315825bfc66469a442f3b3da73e2af97dba270ffe1bc18c871cd6c1c7ad69 SHA512 67b1c42a0957bd2f4963c860372211dbbc38cb8e9346e83c6319749efd9e1a188c00033865901d285650298531460b9f54cba0e88d0973179c0c17bcd30cc97d WHIRLPOOL 4ae640fc6410dff9d08816a6ac7ddb47a4cce9dfbbfaa65baf8456517aca25a501b0e680d9a6855a0fa3b9efe8cd1eddb0a9981d43de9ef573c16be936f5104a
39 DIST lxd-2.0.2.tar.bz2 2340565 SHA256 0054b0e79ba0bc1a1189eb63ca8ac2ca2bafd10c500ce53f67abbd5abc03b542 SHA512 c79f1c7f0aeb289ba7bea745917aaac0d339baf0e6b4fe62cbcb67b8da072ef135e971d4c17546e2e208aeae921ad2853073493f9e7a6e300876bd72b808e516 WHIRLPOOL a30bddfc79ad0c7d941db811f1942fff67afc79a217a251d55b1cf37d80cdb21f8f1f72df268382cbcd34d408005ef4185f5bd59f95369b51558938352f05c60
40 DIST lxd-2.0.3.tar.bz2 2349842 SHA256 fb8a56e08da776f5210970a12e61b2e7b751328b5628e6fbebde231952b907a9 SHA512 62ac76bee0ff151343d0686da9376ff16965af5de19b50055bad86461dc2dd8e06544ee39640537f8352ec03b584ed32cf70cce9c7c961285d9ea567c617330e WHIRLPOOL 60204498c0a104310ddb28e42ea8889830c2f0e8c830c683b51d5cdbc92380de7c7964961fc7a34b32c7cb4dccaa4222f017b0d8948f54d5044770c066141319
41
42 diff --git a/app-emulation/lxd/files/lxd-2.0.0-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.0.0-dont-go-get.patch
43 deleted file mode 100644
44 index d2e622e..0000000
45 --- a/app-emulation/lxd/files/lxd-2.0.0-dont-go-get.patch
46 +++ /dev/null
47 @@ -1,20 +0,0 @@
48 ---- Makefile.orig 2016-02-19 00:16:40.720102639 +0000
49 -+++ Makefile 2016-02-19 00:18:10.886096473 +0000
50 -@@ -12,17 +12,11 @@
51 -
52 - .PHONY: default
53 - default:
54 -- # Must run twice due to go get race
55 -- -go get -t -v -d ./...
56 -- -go get -t -v -d ./...
57 - go install -v $(DEBUG) ./...
58 - @echo "LXD built successfully"
59 -
60 - .PHONY: client
61 - client:
62 -- # Must run twice due to go get race
63 -- -go get -t -v -d ./...
64 -- -go get -t -v -d ./...
65 - go install -v $(DEBUG) ./lxc
66 - @echo "LXD client built successfully"
67 -
68
69 diff --git a/app-emulation/lxd/files/lxd-2.0.0-nc-binary-name.patch b/app-emulation/lxd/files/lxd-2.0.0-nc-binary-name.patch
70 deleted file mode 100644
71 index f28bb6a..0000000
72 --- a/app-emulation/lxd/files/lxd-2.0.0-nc-binary-name.patch
73 +++ /dev/null
74 @@ -1,11 +0,0 @@
75 ---- lxd/rsync.go.orig 2016-04-14 01:12:39.290529683 +0000
76 -+++ lxd/rsync.go 2016-04-14 01:13:20.991526832 +0000
77 -@@ -93,7 +93,7 @@
78 - * command (i.e. the command to run on --server). However, we're
79 - * hardcoding that at the other end, so we can just ignore it.
80 - */
81 -- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name())
82 -+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name())
83 - cmd := exec.Command(
84 - "rsync",
85 - "-arvP",
86
87 diff --git a/app-emulation/lxd/files/lxd-2.0.0.confd b/app-emulation/lxd/files/lxd-2.0.0.confd
88 deleted file mode 100644
89 index 3d55327..0000000
90 --- a/app-emulation/lxd/files/lxd-2.0.0.confd
91 +++ /dev/null
92 @@ -1,27 +0,0 @@
93 -# Group which owns the shared socket
94 -LXD_OPTIONS+=" --group lxd"
95 -
96 -
97 -
98 -# Enable cpu profiling into the specified file
99 -#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
100 -
101 -# Enable memory profiling into the specified file
102 -#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
103 -
104 -
105 -
106 -# Enables debug mode
107 -#LXD_OPTIONS+=" --debug"
108 -
109 -# For debugging, print a complete stack trace every n seconds
110 -#LXD_OPTIONS+=" --print-goroutines-every 5"
111 -
112 -# Enables verbose mode
113 -#LXD_OPTIONS+=" -v"
114 -
115 -# Logfile to log to
116 -#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
117 -
118 -# Enables syslog logging
119 -#LXD_OPTIONS+=" --syslog"
120
121 diff --git a/app-emulation/lxd/files/lxd-2.0.0.initd b/app-emulation/lxd/files/lxd-2.0.0.initd
122 deleted file mode 100644
123 index 0ff13c8..0000000
124 --- a/app-emulation/lxd/files/lxd-2.0.0.initd
125 +++ /dev/null
126 @@ -1,50 +0,0 @@
127 -#!/sbin/openrc-run
128 -# Copyright 1999-2015 Gentoo Foundation
129 -# Distributed under the terms of the GNU General Public License v2
130 -# $Id$
131 -
132 -DAEMON=/usr/sbin/lxd
133 -PIDFILE=/run/lxd.pid
134 -
135 -extra_commands="stopall"
136 -
137 -depend() {
138 - need net
139 - use lxcfs
140 -
141 - # remove with 2.0 release
142 - need cgmanager
143 -}
144 -
145 -start() {
146 - ebegin "Starting lxd server"
147 -
148 - start-stop-daemon --start \
149 - --pidfile ${PIDFILE} \
150 - --exec ${DAEMON} \
151 - --background \
152 - --make-pidfile \
153 - -- \
154 - ${LXD_OPTIONS}
155 -
156 - eend $?
157 -}
158 -
159 -stop() {
160 - if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
161 - stopall
162 - else
163 - ebegin "Stopping lxd service (but not containers)"
164 - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
165 - eend $?
166 - fi
167 -}
168 -
169 -stopall() {
170 - ebegin "Stopping lxd service and containers"
171 - if "${DAEMON}" shutdown; then
172 - /etc/init.d/lxd zap
173 - rm -f ${PIDFILE}
174 - fi
175 - eend $?
176 -}
177
178 diff --git a/app-emulation/lxd/files/lxd-2.0.0_beta4-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.0.0_beta4-dont-go-get.patch
179 deleted file mode 100644
180 index d2e622e..0000000
181 --- a/app-emulation/lxd/files/lxd-2.0.0_beta4-dont-go-get.patch
182 +++ /dev/null
183 @@ -1,20 +0,0 @@
184 ---- Makefile.orig 2016-02-19 00:16:40.720102639 +0000
185 -+++ Makefile 2016-02-19 00:18:10.886096473 +0000
186 -@@ -12,17 +12,11 @@
187 -
188 - .PHONY: default
189 - default:
190 -- # Must run twice due to go get race
191 -- -go get -t -v -d ./...
192 -- -go get -t -v -d ./...
193 - go install -v $(DEBUG) ./...
194 - @echo "LXD built successfully"
195 -
196 - .PHONY: client
197 - client:
198 -- # Must run twice due to go get race
199 -- -go get -t -v -d ./...
200 -- -go get -t -v -d ./...
201 - go install -v $(DEBUG) ./lxc
202 - @echo "LXD client built successfully"
203 -
204
205 diff --git a/app-emulation/lxd/files/lxd-2.0.0_beta4-nc-binary-name.patch b/app-emulation/lxd/files/lxd-2.0.0_beta4-nc-binary-name.patch
206 deleted file mode 100644
207 index 7373b66..0000000
208 --- a/app-emulation/lxd/files/lxd-2.0.0_beta4-nc-binary-name.patch
209 +++ /dev/null
210 @@ -1,11 +0,0 @@
211 ---- lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600
212 -+++ lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600
213 -@@ -91,7 +91,7 @@
214 - * command (i.e. the command to run on --server). However, we're
215 - * hardcoding that at the other end, so we can just ignore it.
216 - */
217 -- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name())
218 -+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name())
219 - cmd := exec.Command(
220 - "rsync",
221 - "-arvP",
222
223 diff --git a/app-emulation/lxd/files/lxd-2.0.0_beta4.confd b/app-emulation/lxd/files/lxd-2.0.0_beta4.confd
224 deleted file mode 100644
225 index 3d55327..0000000
226 --- a/app-emulation/lxd/files/lxd-2.0.0_beta4.confd
227 +++ /dev/null
228 @@ -1,27 +0,0 @@
229 -# Group which owns the shared socket
230 -LXD_OPTIONS+=" --group lxd"
231 -
232 -
233 -
234 -# Enable cpu profiling into the specified file
235 -#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
236 -
237 -# Enable memory profiling into the specified file
238 -#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
239 -
240 -
241 -
242 -# Enables debug mode
243 -#LXD_OPTIONS+=" --debug"
244 -
245 -# For debugging, print a complete stack trace every n seconds
246 -#LXD_OPTIONS+=" --print-goroutines-every 5"
247 -
248 -# Enables verbose mode
249 -#LXD_OPTIONS+=" -v"
250 -
251 -# Logfile to log to
252 -#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
253 -
254 -# Enables syslog logging
255 -#LXD_OPTIONS+=" --syslog"
256
257 diff --git a/app-emulation/lxd/files/lxd-2.0.0_beta4.initd b/app-emulation/lxd/files/lxd-2.0.0_beta4.initd
258 deleted file mode 100644
259 index 0ff13c8..0000000
260 --- a/app-emulation/lxd/files/lxd-2.0.0_beta4.initd
261 +++ /dev/null
262 @@ -1,50 +0,0 @@
263 -#!/sbin/openrc-run
264 -# Copyright 1999-2015 Gentoo Foundation
265 -# Distributed under the terms of the GNU General Public License v2
266 -# $Id$
267 -
268 -DAEMON=/usr/sbin/lxd
269 -PIDFILE=/run/lxd.pid
270 -
271 -extra_commands="stopall"
272 -
273 -depend() {
274 - need net
275 - use lxcfs
276 -
277 - # remove with 2.0 release
278 - need cgmanager
279 -}
280 -
281 -start() {
282 - ebegin "Starting lxd server"
283 -
284 - start-stop-daemon --start \
285 - --pidfile ${PIDFILE} \
286 - --exec ${DAEMON} \
287 - --background \
288 - --make-pidfile \
289 - -- \
290 - ${LXD_OPTIONS}
291 -
292 - eend $?
293 -}
294 -
295 -stop() {
296 - if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
297 - stopall
298 - else
299 - ebegin "Stopping lxd service (but not containers)"
300 - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
301 - eend $?
302 - fi
303 -}
304 -
305 -stopall() {
306 - ebegin "Stopping lxd service and containers"
307 - if "${DAEMON}" shutdown; then
308 - /etc/init.d/lxd zap
309 - rm -f ${PIDFILE}
310 - fi
311 - eend $?
312 -}
313
314 diff --git a/app-emulation/lxd/files/lxd-2.0.0_rc2-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.0.0_rc2-dont-go-get.patch
315 deleted file mode 100644
316 index d2e622e..0000000
317 --- a/app-emulation/lxd/files/lxd-2.0.0_rc2-dont-go-get.patch
318 +++ /dev/null
319 @@ -1,20 +0,0 @@
320 ---- Makefile.orig 2016-02-19 00:16:40.720102639 +0000
321 -+++ Makefile 2016-02-19 00:18:10.886096473 +0000
322 -@@ -12,17 +12,11 @@
323 -
324 - .PHONY: default
325 - default:
326 -- # Must run twice due to go get race
327 -- -go get -t -v -d ./...
328 -- -go get -t -v -d ./...
329 - go install -v $(DEBUG) ./...
330 - @echo "LXD built successfully"
331 -
332 - .PHONY: client
333 - client:
334 -- # Must run twice due to go get race
335 -- -go get -t -v -d ./...
336 -- -go get -t -v -d ./...
337 - go install -v $(DEBUG) ./lxc
338 - @echo "LXD client built successfully"
339 -
340
341 diff --git a/app-emulation/lxd/files/lxd-2.0.0_rc2-nc-binary-name.patch b/app-emulation/lxd/files/lxd-2.0.0_rc2-nc-binary-name.patch
342 deleted file mode 100644
343 index 7373b66..0000000
344 --- a/app-emulation/lxd/files/lxd-2.0.0_rc2-nc-binary-name.patch
345 +++ /dev/null
346 @@ -1,11 +0,0 @@
347 ---- lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600
348 -+++ lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600
349 -@@ -91,7 +91,7 @@
350 - * command (i.e. the command to run on --server). However, we're
351 - * hardcoding that at the other end, so we can just ignore it.
352 - */
353 -- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name())
354 -+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name())
355 - cmd := exec.Command(
356 - "rsync",
357 - "-arvP",
358
359 diff --git a/app-emulation/lxd/files/lxd-2.0.0_rc2.confd b/app-emulation/lxd/files/lxd-2.0.0_rc2.confd
360 deleted file mode 100644
361 index 3d55327..0000000
362 --- a/app-emulation/lxd/files/lxd-2.0.0_rc2.confd
363 +++ /dev/null
364 @@ -1,27 +0,0 @@
365 -# Group which owns the shared socket
366 -LXD_OPTIONS+=" --group lxd"
367 -
368 -
369 -
370 -# Enable cpu profiling into the specified file
371 -#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
372 -
373 -# Enable memory profiling into the specified file
374 -#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
375 -
376 -
377 -
378 -# Enables debug mode
379 -#LXD_OPTIONS+=" --debug"
380 -
381 -# For debugging, print a complete stack trace every n seconds
382 -#LXD_OPTIONS+=" --print-goroutines-every 5"
383 -
384 -# Enables verbose mode
385 -#LXD_OPTIONS+=" -v"
386 -
387 -# Logfile to log to
388 -#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
389 -
390 -# Enables syslog logging
391 -#LXD_OPTIONS+=" --syslog"
392
393 diff --git a/app-emulation/lxd/files/lxd-2.0.0_rc2.initd b/app-emulation/lxd/files/lxd-2.0.0_rc2.initd
394 deleted file mode 100644
395 index 0ff13c8..0000000
396 --- a/app-emulation/lxd/files/lxd-2.0.0_rc2.initd
397 +++ /dev/null
398 @@ -1,50 +0,0 @@
399 -#!/sbin/openrc-run
400 -# Copyright 1999-2015 Gentoo Foundation
401 -# Distributed under the terms of the GNU General Public License v2
402 -# $Id$
403 -
404 -DAEMON=/usr/sbin/lxd
405 -PIDFILE=/run/lxd.pid
406 -
407 -extra_commands="stopall"
408 -
409 -depend() {
410 - need net
411 - use lxcfs
412 -
413 - # remove with 2.0 release
414 - need cgmanager
415 -}
416 -
417 -start() {
418 - ebegin "Starting lxd server"
419 -
420 - start-stop-daemon --start \
421 - --pidfile ${PIDFILE} \
422 - --exec ${DAEMON} \
423 - --background \
424 - --make-pidfile \
425 - -- \
426 - ${LXD_OPTIONS}
427 -
428 - eend $?
429 -}
430 -
431 -stop() {
432 - if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
433 - stopall
434 - else
435 - ebegin "Stopping lxd service (but not containers)"
436 - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
437 - eend $?
438 - fi
439 -}
440 -
441 -stopall() {
442 - ebegin "Stopping lxd service and containers"
443 - if "${DAEMON}" shutdown; then
444 - /etc/init.d/lxd zap
445 - rm -f ${PIDFILE}
446 - fi
447 - eend $?
448 -}
449
450 diff --git a/app-emulation/lxd/lxd-2.0.0.ebuild b/app-emulation/lxd/lxd-2.0.0.ebuild
451 deleted file mode 100644
452 index 0bb91b4..0000000
453 --- a/app-emulation/lxd/lxd-2.0.0.ebuild
454 +++ /dev/null
455 @@ -1,158 +0,0 @@
456 -# Copyright 1999-2016 Gentoo Foundation
457 -# Distributed under the terms of the GNU General Public License v2
458 -# $Id$
459 -
460 -EAPI=5
461 -
462 -DESCRIPTION="Fast, dense and secure container management"
463 -HOMEPAGE="https://linuxcontainers.org/lxd/introduction/"
464 -EGO_PN_PARENT="github.com/lxc"
465 -EGO_PN="${EGO_PN_PARENT}/lxd"
466 -SRC_URI="https://dev.gentoo.org/~stasibear/distfiles/${P}.tar.bz2"
467 -LICENSE="Apache-2.0"
468 -SLOT="0"
469 -KEYWORDS="~amd64"
470 -
471 -PLOCALES="de fr ja"
472 -IUSE="+daemon nls test"
473 -
474 -# IUSE and PLOCALES must be defined before l10n inherited
475 -inherit bash-completion-r1 eutils golang-build l10n systemd user vcs-snapshot
476 -
477 -# The compiler is forced in golang-base:
478 -# DEPEND=">=dev-lang/go-1.4.2:="
479 -# ... so the dep is omitted here (and I disagree with := in this case)
480 -
481 -DEPEND="
482 - dev-go/go-crypto
483 - dev-libs/protobuf
484 - dev-vcs/git
485 - nls? ( sys-devel/gettext )
486 - test? (
487 - app-misc/jq
488 - dev-db/sqlite
489 - net-misc/curl
490 - sys-devel/gettext
491 - )
492 -"
493 -
494 -RDEPEND="
495 - daemon? (
496 - app-admin/cgmanager
497 - app-arch/xz-utils
498 - app-emulation/lxc[cgmanager,seccomp]
499 - net-analyzer/openbsd-netcat
500 - net-misc/rsync[xattr]
501 - sys-apps/iproute2
502 - virtual/acl
503 - )
504 -"
505 -
506 -# KNOWN ISSUES:
507 -# - Translations may not work. I've been unsuccessful in forcing
508 -# localized output. Anyway, upstream (Canonical) doesn't install the
509 -# message files.
510 -
511 -# TODO:
512 -# - since 0.15 gccgo is a supported compiler ('make gccgo'). It would
513 -# be preferable for that support to go into the golang-build eclass not
514 -# this package directly.
515 -
516 -src_prepare() {
517 - cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
518 -
519 - epatch "${FILESDIR}/${P}-dont-go-get.patch"
520 -
521 - # Upstream requires the openbsd flavor of netcat (with -U), but
522 - # Gentoo installs that with a renamed binary
523 - epatch "${FILESDIR}/${P}-nc-binary-name.patch"
524 -
525 - tmpgoroot="${T}/goroot"
526 - mkdir -p "$tmpgoroot" || die "Failed to create temporary GOROOT"
527 - cp -sR "$(get_golibdir_gopath)"/* "${tmpgoroot}" || die "Failed to copy files to temporary GOROOT"
528 -
529 - # Warn on unhandled locale changes
530 - l10n_find_plocales_changes po "" .po
531 -}
532 -
533 -src_compile() {
534 - golang-build_src_compile
535 -
536 - cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
537 -
538 - tmpgoroot="${T}/goroot"
539 - if use daemon; then
540 - # Build binaries
541 - GOPATH="${S}:${tmpgoroot}" emake
542 - else
543 - # build client tool
544 - GOPATH="${S}:${tmpgoroot}" emake client
545 - fi
546 -
547 - use nls && emake build-mo
548 -}
549 -
550 -src_test() {
551 - if use daemon; then
552 - # Go native tests should succeed
553 - golang-build_src_test
554 - fi
555 -}
556 -
557 -src_install() {
558 - # Installs all src,pkg to /usr/lib/go-gentoo
559 - golang-build_src_install
560 -
561 - cd "${S}"
562 - dobin bin/lxc
563 - use daemon && dosbin bin/lxd
564 -
565 - cd "src/${EGO_PN}"
566 -
567 - if use nls; then
568 - for lingua in ${PLOCALES}; do
569 - if use linguas_${lingua}; then
570 - domo po/${lingua}.mo
571 - fi
572 - done
573 - fi
574 -
575 - if use daemon; then
576 - newinitd "${FILESDIR}"/${P}.initd lxd
577 - newconfd "${FILESDIR}"/${P}.confd lxd
578 -
579 - systemd_dounit "${FILESDIR}"/lxd.service
580 - fi
581 -
582 - newbashcomp config/bash/lxd-client lxc
583 -
584 - dodoc AUTHORS CONTRIBUTING.md README.md doc/*
585 -}
586 -
587 -pkg_postinst() {
588 - einfo
589 - einfo "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
590 - einfo "including a Quick Start."
591 -
592 - # The messaging below only applies to daemon installs
593 - use daemon || return 0
594 -
595 - # The control socket will be owned by (and writeable by) this group.
596 - enewgroup lxd
597 -
598 - # Ubuntu also defines an lxd user but it appears unused (the daemon
599 - # must run as root)
600 -
601 - einfo
602 - einfo "Though not strictly required, some features are enabled at run-time"
603 - einfo "when the relevant helper programs are detected:"
604 - einfo "- sys-apps/apparmor"
605 - einfo "- sys-fs/btrfs-progs"
606 - einfo "- sys-fs/lvm2"
607 - einfo "- sys-fs/lxcfs"
608 - einfo "- sys-fs/zfs"
609 - einfo "- sys-process/criu"
610 - einfo
611 - einfo "Since these features can't be disabled at build-time they are"
612 - einfo "not USE-conditional."
613 -}
614
615 diff --git a/app-emulation/lxd/lxd-2.0.0_beta4.ebuild b/app-emulation/lxd/lxd-2.0.0_beta4.ebuild
616 deleted file mode 100644
617 index ac54e47..0000000
618 --- a/app-emulation/lxd/lxd-2.0.0_beta4.ebuild
619 +++ /dev/null
620 @@ -1,161 +0,0 @@
621 -# Copyright 1999-2016 Gentoo Foundation
622 -# Distributed under the terms of the GNU General Public License v2
623 -# $Id$
624 -
625 -EAPI=5
626 -
627 -DESCRIPTION="Fast, dense and secure container management"
628 -HOMEPAGE="https://linuxcontainers.org/lxd/introduction/"
629 -EGO_PN_PARENT="github.com/lxc"
630 -EGO_PN="${EGO_PN_PARENT}/lxd"
631 -SRC_URI="https://dev.gentoo.org/~stasibear/distfiles/${P}.tar.bz2"
632 -LICENSE="Apache-2.0"
633 -SLOT="0"
634 -KEYWORDS="~amd64"
635 -
636 -PLOCALES="de fr ja"
637 -IUSE="+daemon nls test"
638 -
639 -# IUSE and PLOCALES must be defined before l10n inherited
640 -inherit bash-completion-r1 eutils golang-build l10n systemd user vcs-snapshot
641 -
642 -# The compiler is forced in golang-base:
643 -# DEPEND=">=dev-lang/go-1.4.2:="
644 -# ... so the dep is omitted here (and I disagree with := in this case)
645 -
646 -DEPEND="
647 - dev-go/go-crypto
648 - dev-libs/protobuf
649 - dev-vcs/git
650 - nls? ( sys-devel/gettext )
651 - test? (
652 - app-misc/jq
653 - dev-db/sqlite
654 - net-misc/curl
655 - sys-devel/gettext
656 - )
657 -"
658 -
659 -RDEPEND="
660 - daemon? (
661 - app-admin/cgmanager
662 - app-arch/xz-utils
663 - app-emulation/lxc[cgmanager,seccomp]
664 - net-analyzer/openbsd-netcat
665 - net-misc/rsync[xattr]
666 - sys-apps/iproute2
667 - virtual/acl
668 - )
669 -"
670 -
671 -# KNOWN ISSUES:
672 -# - Translations may not work. I've been unsuccessful in forcing
673 -# localized output. Anyway, upstream (Canonical) doesn't install the
674 -# message files.
675 -
676 -# TODO:
677 -# - since 0.15 gccgo is a supported compiler ('make gccgo'). It would
678 -# be preferable for that support to go into the golang-build eclass not
679 -# this package directly.
680 -
681 -src_prepare() {
682 - cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
683 -
684 - epatch "${FILESDIR}/${P}-dont-go-get.patch"
685 -
686 - # Upstream requires the openbsd flavor of netcat (with -U), but
687 - # Gentoo installs that with a renamed binary
688 - epatch "${FILESDIR}/${P}-nc-binary-name.patch"
689 -
690 - tmpgoroot="${T}/goroot"
691 - mkdir -p "$tmpgoroot" || die "Failed to create temporary GOROOT"
692 - cp -sR "$(get_golibdir_gopath)"/* "${tmpgoroot}" || die "Failed to copy files to temporary GOROOT"
693 -
694 - # Warn on unhandled locale changes
695 - l10n_find_plocales_changes po "" .po
696 -}
697 -
698 -src_compile() {
699 - golang-build_src_compile
700 -
701 - cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
702 -
703 - tmpgoroot="${T}/goroot"
704 - if use daemon; then
705 - # Build binaries
706 - GOPATH="${S}:${tmpgoroot}" emake
707 - else
708 - # build client tool
709 - GOPATH="${S}:${tmpgoroot}" emake client
710 - fi
711 -
712 - use nls && emake build-mo
713 -}
714 -
715 -src_test() {
716 - if use daemon; then
717 - # Go native tests should succeed
718 - golang-build_src_test
719 - fi
720 -}
721 -
722 -src_install() {
723 - # Installs all src,pkg to /usr/lib/go-gentoo
724 - golang-build_src_install
725 -
726 - cd "${S}"
727 - dobin bin/lxc
728 - use daemon && dosbin bin/lxd
729 -
730 - cd "src/${EGO_PN}"
731 -
732 - if use nls; then
733 - for lingua in ${PLOCALES}; do
734 - if use linguas_${lingua}; then
735 - domo po/${lingua}.mo
736 - fi
737 - done
738 - fi
739 -
740 - if use daemon; then
741 - newinitd "${FILESDIR}"/${P}.initd lxd
742 - newconfd "${FILESDIR}"/${P}.confd lxd
743 -
744 - systemd_dounit "${FILESDIR}"/lxd.service
745 - fi
746 -
747 - newbashcomp config/bash/lxd-client lxc
748 -
749 - dodoc AUTHORS CONTRIBUTING.md README.md
750 -
751 - docinto specs
752 - dodoc specs/*
753 -}
754 -
755 -pkg_postinst() {
756 - einfo
757 - einfo "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
758 - einfo "including a Quick Start."
759 -
760 - # The messaging below only applies to daemon installs
761 - use daemon || return 0
762 -
763 - # The control socket will be owned by (and writeable by) this group.
764 - enewgroup lxd
765 -
766 - # Ubuntu also defines an lxd user but it appears unused (the daemon
767 - # must run as root)
768 -
769 - einfo
770 - einfo "Though not strictly required, some features are enabled at run-time"
771 - einfo "when the relevant helper programs are detected:"
772 - einfo "- sys-apps/apparmor"
773 - einfo "- sys-fs/btrfs-progs"
774 - einfo "- sys-fs/lvm2"
775 - einfo "- sys-fs/lxcfs"
776 - einfo "- sys-fs/zfs"
777 - einfo "- sys-process/criu"
778 - einfo
779 - einfo "Since these features can't be disabled at build-time they are"
780 - einfo "not USE-conditional."
781 -}
782
783 diff --git a/app-emulation/lxd/lxd-2.0.0_rc2.ebuild b/app-emulation/lxd/lxd-2.0.0_rc2.ebuild
784 deleted file mode 100644
785 index ac54e47..0000000
786 --- a/app-emulation/lxd/lxd-2.0.0_rc2.ebuild
787 +++ /dev/null
788 @@ -1,161 +0,0 @@
789 -# Copyright 1999-2016 Gentoo Foundation
790 -# Distributed under the terms of the GNU General Public License v2
791 -# $Id$
792 -
793 -EAPI=5
794 -
795 -DESCRIPTION="Fast, dense and secure container management"
796 -HOMEPAGE="https://linuxcontainers.org/lxd/introduction/"
797 -EGO_PN_PARENT="github.com/lxc"
798 -EGO_PN="${EGO_PN_PARENT}/lxd"
799 -SRC_URI="https://dev.gentoo.org/~stasibear/distfiles/${P}.tar.bz2"
800 -LICENSE="Apache-2.0"
801 -SLOT="0"
802 -KEYWORDS="~amd64"
803 -
804 -PLOCALES="de fr ja"
805 -IUSE="+daemon nls test"
806 -
807 -# IUSE and PLOCALES must be defined before l10n inherited
808 -inherit bash-completion-r1 eutils golang-build l10n systemd user vcs-snapshot
809 -
810 -# The compiler is forced in golang-base:
811 -# DEPEND=">=dev-lang/go-1.4.2:="
812 -# ... so the dep is omitted here (and I disagree with := in this case)
813 -
814 -DEPEND="
815 - dev-go/go-crypto
816 - dev-libs/protobuf
817 - dev-vcs/git
818 - nls? ( sys-devel/gettext )
819 - test? (
820 - app-misc/jq
821 - dev-db/sqlite
822 - net-misc/curl
823 - sys-devel/gettext
824 - )
825 -"
826 -
827 -RDEPEND="
828 - daemon? (
829 - app-admin/cgmanager
830 - app-arch/xz-utils
831 - app-emulation/lxc[cgmanager,seccomp]
832 - net-analyzer/openbsd-netcat
833 - net-misc/rsync[xattr]
834 - sys-apps/iproute2
835 - virtual/acl
836 - )
837 -"
838 -
839 -# KNOWN ISSUES:
840 -# - Translations may not work. I've been unsuccessful in forcing
841 -# localized output. Anyway, upstream (Canonical) doesn't install the
842 -# message files.
843 -
844 -# TODO:
845 -# - since 0.15 gccgo is a supported compiler ('make gccgo'). It would
846 -# be preferable for that support to go into the golang-build eclass not
847 -# this package directly.
848 -
849 -src_prepare() {
850 - cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
851 -
852 - epatch "${FILESDIR}/${P}-dont-go-get.patch"
853 -
854 - # Upstream requires the openbsd flavor of netcat (with -U), but
855 - # Gentoo installs that with a renamed binary
856 - epatch "${FILESDIR}/${P}-nc-binary-name.patch"
857 -
858 - tmpgoroot="${T}/goroot"
859 - mkdir -p "$tmpgoroot" || die "Failed to create temporary GOROOT"
860 - cp -sR "$(get_golibdir_gopath)"/* "${tmpgoroot}" || die "Failed to copy files to temporary GOROOT"
861 -
862 - # Warn on unhandled locale changes
863 - l10n_find_plocales_changes po "" .po
864 -}
865 -
866 -src_compile() {
867 - golang-build_src_compile
868 -
869 - cd "${S}/src/${EGO_PN}" || die "Failed to change to deep src dir"
870 -
871 - tmpgoroot="${T}/goroot"
872 - if use daemon; then
873 - # Build binaries
874 - GOPATH="${S}:${tmpgoroot}" emake
875 - else
876 - # build client tool
877 - GOPATH="${S}:${tmpgoroot}" emake client
878 - fi
879 -
880 - use nls && emake build-mo
881 -}
882 -
883 -src_test() {
884 - if use daemon; then
885 - # Go native tests should succeed
886 - golang-build_src_test
887 - fi
888 -}
889 -
890 -src_install() {
891 - # Installs all src,pkg to /usr/lib/go-gentoo
892 - golang-build_src_install
893 -
894 - cd "${S}"
895 - dobin bin/lxc
896 - use daemon && dosbin bin/lxd
897 -
898 - cd "src/${EGO_PN}"
899 -
900 - if use nls; then
901 - for lingua in ${PLOCALES}; do
902 - if use linguas_${lingua}; then
903 - domo po/${lingua}.mo
904 - fi
905 - done
906 - fi
907 -
908 - if use daemon; then
909 - newinitd "${FILESDIR}"/${P}.initd lxd
910 - newconfd "${FILESDIR}"/${P}.confd lxd
911 -
912 - systemd_dounit "${FILESDIR}"/lxd.service
913 - fi
914 -
915 - newbashcomp config/bash/lxd-client lxc
916 -
917 - dodoc AUTHORS CONTRIBUTING.md README.md
918 -
919 - docinto specs
920 - dodoc specs/*
921 -}
922 -
923 -pkg_postinst() {
924 - einfo
925 - einfo "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
926 - einfo "including a Quick Start."
927 -
928 - # The messaging below only applies to daemon installs
929 - use daemon || return 0
930 -
931 - # The control socket will be owned by (and writeable by) this group.
932 - enewgroup lxd
933 -
934 - # Ubuntu also defines an lxd user but it appears unused (the daemon
935 - # must run as root)
936 -
937 - einfo
938 - einfo "Though not strictly required, some features are enabled at run-time"
939 - einfo "when the relevant helper programs are detected:"
940 - einfo "- sys-apps/apparmor"
941 - einfo "- sys-fs/btrfs-progs"
942 - einfo "- sys-fs/lvm2"
943 - einfo "- sys-fs/lxcfs"
944 - einfo "- sys-fs/zfs"
945 - einfo "- sys-process/criu"
946 - einfo
947 - einfo "Since these features can't be disabled at build-time they are"
948 - einfo "not USE-conditional."
949 -}