summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-08-24 12:33:07 +0200
committerPacho Ramos <pacho@gentoo.org>2016-08-24 12:37:49 +0200
commit909327211eb03cecf7b16f41e65722c2d2f5fd23 (patch)
treea55be56288bfd934cd4ae2e447ef7201d055b992 /app-emulation/lxd/files
parentapp-emulation/lxc: Drop old (diff)
downloadgentoo-909327211eb03cecf7b16f41e65722c2d2f5fd23.tar.gz
gentoo-909327211eb03cecf7b16f41e65722c2d2f5fd23.tar.bz2
gentoo-909327211eb03cecf7b16f41e65722c2d2f5fd23.zip
app-emulation/lxd: Drop old
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-emulation/lxd/files')
-rw-r--r--app-emulation/lxd/files/lxd-2.0.1-dont-go-get.patch20
-rw-r--r--app-emulation/lxd/files/lxd-2.0.1.confd27
-rw-r--r--app-emulation/lxd/files/lxd-2.0.1.initd50
-rw-r--r--app-emulation/lxd/files/lxd-2.0.2-dont-go-get.patch20
-rw-r--r--app-emulation/lxd/files/lxd-2.0.2.confd27
-rw-r--r--app-emulation/lxd/files/lxd-2.0.2.initd50
6 files changed, 0 insertions, 194 deletions
diff --git a/app-emulation/lxd/files/lxd-2.0.1-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.0.1-dont-go-get.patch
deleted file mode 100644
index d2e622ec73b7..000000000000
--- a/app-emulation/lxd/files/lxd-2.0.1-dont-go-get.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.orig 2016-02-19 00:16:40.720102639 +0000
-+++ Makefile 2016-02-19 00:18:10.886096473 +0000
-@@ -12,17 +12,11 @@
-
- .PHONY: default
- default:
-- # Must run twice due to go get race
-- -go get -t -v -d ./...
-- -go get -t -v -d ./...
- go install -v $(DEBUG) ./...
- @echo "LXD built successfully"
-
- .PHONY: client
- client:
-- # Must run twice due to go get race
-- -go get -t -v -d ./...
-- -go get -t -v -d ./...
- go install -v $(DEBUG) ./lxc
- @echo "LXD client built successfully"
-
diff --git a/app-emulation/lxd/files/lxd-2.0.1.confd b/app-emulation/lxd/files/lxd-2.0.1.confd
deleted file mode 100644
index 3d553276a5e3..000000000000
--- a/app-emulation/lxd/files/lxd-2.0.1.confd
+++ /dev/null
@@ -1,27 +0,0 @@
-# Group which owns the shared socket
-LXD_OPTIONS+=" --group lxd"
-
-
-
-# Enable cpu profiling into the specified file
-#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
-
-# Enable memory profiling into the specified file
-#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
-
-
-
-# Enables debug mode
-#LXD_OPTIONS+=" --debug"
-
-# For debugging, print a complete stack trace every n seconds
-#LXD_OPTIONS+=" --print-goroutines-every 5"
-
-# Enables verbose mode
-#LXD_OPTIONS+=" -v"
-
-# Logfile to log to
-#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
-
-# Enables syslog logging
-#LXD_OPTIONS+=" --syslog"
diff --git a/app-emulation/lxd/files/lxd-2.0.1.initd b/app-emulation/lxd/files/lxd-2.0.1.initd
deleted file mode 100644
index ec23258c19d1..000000000000
--- a/app-emulation/lxd/files/lxd-2.0.1.initd
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DAEMON=/usr/sbin/lxd
-PIDFILE=/run/lxd.pid
-
-extra_commands="stopall"
-
-depend() {
- need net
- use lxcfs
-
- # remove with 2.0 release
- need cgmanager
-}
-
-start() {
- ebegin "Starting lxd server"
-
- start-stop-daemon --start \
- --pidfile ${PIDFILE} \
- --exec ${DAEMON} \
- --background \
- --make-pidfile \
- -- \
- ${LXD_OPTIONS}
-
- eend $?
-}
-
-stop() {
- if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
- stopall
- else
- ebegin "Stopping lxd service (but not containers)"
- start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
- eend $?
- fi
-}
-
-stopall() {
- ebegin "Stopping lxd service and containers"
- if "${DAEMON}" shutdown; then
- /etc/init.d/lxd zap
- rm -f ${PIDFILE}
- fi
- eend $?
-}
diff --git a/app-emulation/lxd/files/lxd-2.0.2-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.0.2-dont-go-get.patch
deleted file mode 100644
index d2e622ec73b7..000000000000
--- a/app-emulation/lxd/files/lxd-2.0.2-dont-go-get.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.orig 2016-02-19 00:16:40.720102639 +0000
-+++ Makefile 2016-02-19 00:18:10.886096473 +0000
-@@ -12,17 +12,11 @@
-
- .PHONY: default
- default:
-- # Must run twice due to go get race
-- -go get -t -v -d ./...
-- -go get -t -v -d ./...
- go install -v $(DEBUG) ./...
- @echo "LXD built successfully"
-
- .PHONY: client
- client:
-- # Must run twice due to go get race
-- -go get -t -v -d ./...
-- -go get -t -v -d ./...
- go install -v $(DEBUG) ./lxc
- @echo "LXD client built successfully"
-
diff --git a/app-emulation/lxd/files/lxd-2.0.2.confd b/app-emulation/lxd/files/lxd-2.0.2.confd
deleted file mode 100644
index 3d553276a5e3..000000000000
--- a/app-emulation/lxd/files/lxd-2.0.2.confd
+++ /dev/null
@@ -1,27 +0,0 @@
-# Group which owns the shared socket
-LXD_OPTIONS+=" --group lxd"
-
-
-
-# Enable cpu profiling into the specified file
-#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
-
-# Enable memory profiling into the specified file
-#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
-
-
-
-# Enables debug mode
-#LXD_OPTIONS+=" --debug"
-
-# For debugging, print a complete stack trace every n seconds
-#LXD_OPTIONS+=" --print-goroutines-every 5"
-
-# Enables verbose mode
-#LXD_OPTIONS+=" -v"
-
-# Logfile to log to
-#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
-
-# Enables syslog logging
-#LXD_OPTIONS+=" --syslog"
diff --git a/app-emulation/lxd/files/lxd-2.0.2.initd b/app-emulation/lxd/files/lxd-2.0.2.initd
deleted file mode 100644
index c1aef377ab6f..000000000000
--- a/app-emulation/lxd/files/lxd-2.0.2.initd
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DAEMON=/usr/sbin/lxd
-PIDFILE=/run/lxd.pid
-
-extra_commands="stopall"
-
-depend() {
- need net
- use lxcfs
-
- # remove with 2.0 release
- need cgmanager
-}
-
-start() {
- ebegin "Starting lxd server"
-
- start-stop-daemon --start \
- --pidfile ${PIDFILE} \
- --exec ${DAEMON} \
- --background \
- --make-pidfile \
- -- \
- ${LXD_OPTIONS}
-
- eend $?
-}
-
-stop() {
- if [[ $RC_GOINGDOWN = YES ]] || [[ $RC_REBOOT = YES ]]; then
- stopall
- else
- ebegin "Stopping lxd service (but not containers)"
- start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
- eend $?
- fi
-}
-
-stopall() {
- ebegin "Stopping lxd service and containers"
- if "${DAEMON}" shutdown; then
- /etc/init.d/lxd zap
- rm -f ${PIDFILE}
- fi
- eend $?
-}