[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 235e431dfb356758c3975b622961b2042dcd933d Author: Joonas Niilola gentoo org> AuthorDate: Tue Nov 16 13:23:23 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Nov 16 13:24:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=235e431d app-emulation/lxd: disable -Werror on 4.0.7 - apparently only triggered with clang (after glibc update). Signed-off-by: Joonas Niilola gentoo.org> app-emulation/lxd/files/lxd-4.0.7-no-werror.patch | 108 ++ app-emulation/lxd/lxd-4.0.7-r2.ebuild | 1 + 2 files changed, 109 insertions(+) diff --git a/app-emulation/lxd/files/lxd-4.0.7-no-werror.patch b/app-emulation/lxd/files/lxd-4.0.7-no-werror.patch new file mode 100644 index ..50a916356019 --- /dev/null +++ b/app-emulation/lxd/files/lxd-4.0.7-no-werror.patch @@ -0,0 +1,108 @@ +diff -Naur lxd-4.0.7/lxd/cgo.go lxd-4.0.7-no-werror/lxd/cgo.go +--- lxd-4.0.7/lxd/cgo.go 2021-07-16 23:33:23.0 +0300 lxd-4.0.7-no-werror/lxd/cgo.go 2021-11-16 15:16:23.575299112 +0200 +@@ -3,7 +3,7 @@ + + package main + +-// #cgo CFLAGS: -std=gnu11 -Wvla -Werror -fvisibility=hidden -Winit-self ++// #cgo CFLAGS: -std=gnu11 -Wvla -fvisibility=hidden -Winit-self + // #cgo CFLAGS: -Wformat=2 -Wshadow -Wendif-labels -fasynchronous-unwind-tables + // #cgo CFLAGS: -pipe --param=ssp-buffer-size=4 -g -Wunused + // #cgo CFLAGS: -Werror=implicit-function-declaration +diff -Naur lxd-4.0.7/lxd/seccomp/cgo.go lxd-4.0.7-no-werror/lxd/seccomp/cgo.go +--- lxd-4.0.7/lxd/seccomp/cgo.go 2021-07-16 23:33:23.0 +0300 lxd-4.0.7-no-werror/lxd/seccomp/cgo.go 2021-11-16 15:16:34.928629720 +0200 +@@ -3,7 +3,7 @@ + + package seccomp + +-// #cgo CFLAGS: -std=gnu11 -Wvla -Werror -fvisibility=hidden -Winit-self ++// #cgo CFLAGS: -std=gnu11 -Wvla -fvisibility=hidden -Winit-self + // #cgo CFLAGS: -Wformat=2 -Wshadow -Wendif-labels -fasynchronous-unwind-tables + // #cgo CFLAGS: -pipe --param=ssp-buffer-size=4 -g -Wunused + // #cgo CFLAGS: -Werror=implicit-function-declaration +diff -Naur lxd-4.0.7/lxd/storage/cgo.go lxd-4.0.7-no-werror/lxd/storage/cgo.go +--- lxd-4.0.7/lxd/storage/cgo.go 2021-07-16 23:33:23.0 +0300 lxd-4.0.7-no-werror/lxd/storage/cgo.go 2021-11-16 15:16:44.585294068 +0200 +@@ -3,7 +3,7 @@ + + package storage + +-// #cgo CFLAGS: -std=gnu11 -Wvla -Werror -fvisibility=hidden -Winit-self ++// #cgo CFLAGS: -std=gnu11 -Wvla -fvisibility=hidden -Winit-self + // #cgo CFLAGS: -Wformat=2 -Wshadow -Wendif-labels -fasynchronous-unwind-tables + // #cgo CFLAGS: -pipe --param=ssp-buffer-size=4 -g -Wunused + // #cgo CFLAGS: -Werror=implicit-function-declaration +diff -Naur lxd-4.0.7/lxd/storage/quota/cgo.go lxd-4.0.7-no-werror/lxd/storage/quota/cgo.go +--- lxd-4.0.7/lxd/storage/quota/cgo.go 2021-07-16 23:33:23.0 +0300 lxd-4.0.7-no-werror/lxd/storage/quota/cgo.go 2021-11-16 15:16:54.231958418 +0200 +@@ -3,7 +3,7 @@ + + package quota + +-// #cgo CFLAGS: -std=gnu11 -Wvla -Werror -fvisibility=hidden -Winit-self ++// #cgo CFLAGS: -std=gnu11 -Wvla -fvisibility=hidden -Winit-self + // #cgo CFLAGS: -Wformat=2 -Wshadow -Wendif-labels -fasynchronous-unwind-tables + // #cgo CFLAGS: -pipe --param=ssp-buffer-size=4 -g -Wunused + // #cgo CFLAGS: -Werror=implicit-function-declaration +diff -Naur lxd-4.0.7/lxd-p2c/cgo.go lxd-4.0.7-no-werror/lxd-p2c/cgo.go +--- lxd-4.0.7/lxd-p2c/cgo.go 2021-07-16 23:33:23.0 +0300 lxd-4.0.7-no-werror/lxd-p2c/cgo.go 2021-11-16 15:17:06.18521 +0200 +@@ -2,7 +2,7 @@ + + package main + +-// #cgo CFLAGS: -std=gnu11 -Wvla -Werror -fvisibility=hidden -Winit-self ++// #cgo CFLAGS: -std=gnu11 -Wvla -fvisibility=hidden -Winit-self + // #cgo CFLAGS: -Wformat=2 -Wshadow -Wendif-labels -fasynchronous-unwind-tables + // #cgo CFLAGS: -pipe --param=ssp-buffer-size=4 -g -Wunused + // #cgo CFLAGS: -Werror=implicit-function-declaration +diff -Naur lxd-4.0.7/shared/cgo.go lxd-4.0.7-no-werror/shared/cgo.go +--- lxd-4.0.7/shared/cgo.go2021-07-16 23:33:23.0 +0300 lxd-4.0.7-no-werror/shared/cgo.go 2021-11-16 15:17:15.238620041 +0200 +@@ -3,7 +3,7 @@ + + package shared + +-// #cgo CFLAGS: -std=gnu11 -Wvla -Werror -fvisibility=hidden -Winit-self ++// #cgo CFLAGS: -std=gnu11 -Wvla -fvisibility=hidden -Winit-self + // #cgo CFLAGS: -Wformat=2 -Wshadow -Wendif-labels -fasynchronous-unwind-tables + // #cgo CFLAGS: -pipe --param=ssp-buffer-size=4 -g -Wunused + // #cgo CFLAGS: -Werror=implicit-function-declaration +diff -Naur lxd-4.0.7/shared/idmap/cgo.go lxd-4.0.7-no-werror/shared/idmap/cgo.go +--- lxd-4.0.7/shared/idmap/cgo.go 2021-07-16 23:33:23.0 +0300 lxd-4.0.7-no-werror/shared/idmap/cgo.go2021-11-16 15:17:25.768617513 +0200 +@@ -3,7 +3,7 @@ + + package idmap + +-// #cgo CFLAGS: -std=gnu11 -Wvla -Werror -fvisibility=hidden -Winit-self ++// #cgo CFLAGS: -std=gnu11 -Wvla -fvisibility=hidden -Winit-self + // #cgo
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 37d0f50bdb1e7779632a7fe4c6df16158fd2f114 Author: Joonas Niilola gentoo org> AuthorDate: Tue Nov 9 11:41:58 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Nov 9 11:41:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d0f50b app-emulation/lxd: add fix for >btrfs-progs-5.14 safety check Closes: https://bugs.gentoo.org/822393 Signed-off-by: Joonas Niilola gentoo.org> ...d-4.0.8-btrfs-progs-5.14-safety-check-fix.patch | 75 ++ .../lxd/{lxd-4.0.8.ebuild => lxd-4.0.8-r1.ebuild} | 2 + 2 files changed, 77 insertions(+) diff --git a/app-emulation/lxd/files/lxd-4.0.8-btrfs-progs-5.14-safety-check-fix.patch b/app-emulation/lxd/files/lxd-4.0.8-btrfs-progs-5.14-safety-check-fix.patch new file mode 100644 index 000..f32debff5e3 --- /dev/null +++ b/app-emulation/lxd/files/lxd-4.0.8-btrfs-progs-5.14-safety-check-fix.patch @@ -0,0 +1,75 @@ +From 5efac9cfed92a890dc1a073fe60b1c814c305267 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?St=C3=A9phane=20Graber?= +Date: Thu, 4 Nov 2021 14:05:27 -0400 +Subject: [PATCH] lxd/storage/btrfs: Support 5.14.2 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Closes #9418 + +Signed-off-by: Stéphane Graber +--- + lxd/storage/drivers/driver_btrfs.go | 18 ++ + lxd/storage/drivers/driver_btrfs_utils.go | 8 +++- + 2 files changed, 25 insertions(+), 1 deletion(-) + +diff --git a/lxd/storage/drivers/driver_btrfs.go b/lxd/storage/drivers/driver_btrfs.go +index e6a64bf8136..a47be766f8f 100644 +--- a/lxd/storage/drivers/driver_btrfs.go b/lxd/storage/drivers/driver_btrfs.go +@@ -17,10 +17,12 @@ import ( + "github.com/lxc/lxd/shared/api" + "github.com/lxc/lxd/shared/units" + "github.com/lxc/lxd/shared/validate" ++ "github.com/lxc/lxd/shared/version" + ) + + var btrfsVersion string + var btrfsLoaded bool ++var btrfsPropertyForce bool + + type btrfs struct { + common +@@ -64,6 +66,22 @@ func (d *btrfs) load() error { + } + } + ++ // Check if we need --force to set properties. ++ ver5142, err := version.Parse("5.14.2") ++ if err != nil { ++ return err ++ } ++ ++ ourVer, err := version.Parse(btrfsVersion) ++ if err != nil { ++ return err ++ } ++ ++ // If running 5.14.2 or older, we need --force. ++ if ourVer.Compare(ver5142) > 0 { ++ btrfsPropertyForce = true ++ } ++ + btrfsLoaded = true + return nil + } +diff --git a/lxd/storage/drivers/driver_btrfs_utils.go b/lxd/storage/drivers/driver_btrfs_utils.go +index e1a359e8490..0618e29e6f2 100644 +--- a/lxd/storage/drivers/driver_btrfs_utils.go b/lxd/storage/drivers/driver_btrfs_utils.go +@@ -308,7 +308,13 @@ func (d *btrfs) setSubvolumeReadonlyProperty(path string, readonly bool) error { + return nil + } + +- _, err := shared.RunCommand("btrfs", "property", "set", "-ts", path, "ro", fmt.Sprintf("%t", readonly)) ++ args := []string{"property", "set"} ++ if btrfsPropertyForce { ++ args = append(args, "-f") ++ } ++ args = append(args, "-ts", path, "ro", fmt.Sprintf("%t", readonly)) ++ ++ _, err := shared.RunCommand("btrfs", args...) + return err + } + diff --git a/app-emulation/lxd/lxd-4.0.8.ebuild b/app-emulation/lxd/lxd-4.0.8-r1.ebuild similarity index 98% rename from app-emulation/lxd/lxd-4.0.8.ebuild rename to app-emulation/lxd/lxd-4.0.8-r1.ebuild index df0bb65646f..feceaec9226 100644 --- a/app-emulation/lxd/lxd-4.0.8.ebuild +++ b/app-emulation/lxd/lxd-4.0.8-r1.ebuild @@ -73,6 +73,8 @@ VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc # make: *** [Makefile:156: check] Error 1 RESTRICT="test" +PATCHES=( "${FILESDIR}"/lxd-4.0.8-btrfs-progs-5.14-safety-check-fix.patch ) + src_prepare() { default
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 4d7295038ed9e84cc131b3003b1d103f35fcea50 Author: Florian Schmaus gentoo org> AuthorDate: Fri Sep 24 07:49:57 2021 + Commit: Florian Schmaus gentoo org> CommitDate: Fri Sep 24 08:06:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d729503 app-emulation/lxd: backport syscall_wrappers patch, use --syslog This backports the lxd patch to avoid conflicts with glibc's close_range(). Also use --syslog instead of --logfile=/var/log/lxd/lxd.log in lxd's systemd service, so that lxd's log messages are not logged to a file, but instead to the service's journal. The ebuild also no longer uses a dedicated apparmor service file (files/lxd-4.0.0_apparmor.service), but instead patches the existing service file if apparmor is used. This avoids maintaining two systemd service files. Also drop the unused autotools eclass. Closes: https://bugs.gentoo.org/807268 Closes: https://github.com/gentoo/gentoo/pull/22383 Signed-off-by: Florian Schmaus gentoo.org> app-emulation/lxd/files/lxd-4.0.7-r1.service | 20 +++ ...appers-don-t-conflict-with-glibc-provided.patch | 58 +++ app-emulation/lxd/lxd-4.0.7-r1.ebuild | 170 + 3 files changed, 248 insertions(+) diff --git a/app-emulation/lxd/files/lxd-4.0.7-r1.service b/app-emulation/lxd/files/lxd-4.0.7-r1.service new file mode 100644 index 000..f1e644b95df --- /dev/null +++ b/app-emulation/lxd/files/lxd-4.0.7-r1.service @@ -0,0 +1,20 @@ +[Unit] +Description=LXD - main daemon +After=network-online.target lxcfs.service lxd.socket +Requires=network-online.target lxcfs.service lxd.socket +Documentation=man:lxd(1) + +[Service] +EnvironmentFile=-/etc/environment +ExecStart=/usr/sbin/lxd --group lxd --syslog +ExecStartPost=/usr/sbin/lxd waitready --timeout=600 +KillMode=process +TimeoutStartSec=600s +TimeoutStopSec=30s +Restart=on-failure +LimitNOFILE=1048576 +LimitNPROC=infinity +TasksMax=infinity + +[Install] +Also=lxd-containers.service lxd.socket diff --git a/app-emulation/lxd/files/lxd-syscall_wrappers-don-t-conflict-with-glibc-provided.patch b/app-emulation/lxd/files/lxd-syscall_wrappers-don-t-conflict-with-glibc-provided.patch new file mode 100644 index 000..0b471688cc0 --- /dev/null +++ b/app-emulation/lxd/files/lxd-syscall_wrappers-don-t-conflict-with-glibc-provided.patch @@ -0,0 +1,58 @@ +From 9a128f32fc277dd0c07bc85c71dc25d123f8a831 Mon Sep 17 00:00:00 2001 +From: Christian Brauner +Date: Wed, 4 Aug 2021 21:34:11 +0200 +Subject: [PATCH] syscall_wrappers: don't conflict with glibc provided + close_range() + +Newer glibc version's provide a wrapper for close_range(). + +Fixes: #9084 +Signed-off-by: Christian Brauner +--- + lxd/include/syscall_wrappers.h | 2 +- + lxd/main_checkfeature.go | 2 +- + lxd/main_forkexec.go | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/lxd/include/syscall_wrappers.h b/lxd/include/syscall_wrappers.h +index 4405a622b801..25e56a5cefac 100644 +--- a/lxd/include/syscall_wrappers.h b/lxd/include/syscall_wrappers.h +@@ -16,7 +16,7 @@ + #define CLOSE_RANGE_UNSHARE (1U << 1) + #endif + +-static inline int close_range(unsigned int fd, unsigned int max_fd, unsigned int flags) ++static inline int lxd_close_range(unsigned int fd, unsigned int max_fd, unsigned int flags) + { + return syscall(__NR_close_range, fd, max_fd, flags); + } +diff --git a/lxd/main_checkfeature.go b/lxd/main_checkfeature.go +index 9511b684fa5d..0cc89207158d 100644 +--- a/lxd/main_checkfeature.go b/lxd/main_checkfeature.go +@@ -496,7 +496,7 @@ static void is_close_range_aware(void) + if (fd < 0) + return; + +- if (close_range(fd, fd, CLOSE_RANGE_UNSHARE)) ++ if (lxd_close_range(fd, fd, CLOSE_RANGE_UNSHARE)) + return; + + close_range_aware = true; +diff --git a/lxd/main_forkexec.go b/lxd/main_forkexec.go +index 574f25eeb988..cfa4cd6bcda8 100644 +--- a/lxd/main_forkexec.go b/lxd/main_forkexec.go +@@ -290,7 +290,7 @@ __attribute__ ((noinline)) static int __forkexec(void) + if (!argvp || !*argvp) + return log_error(EXIT_FAILURE, "No command specified"); + +- ret = close_range(EXEC_PIPE_FD + 1, UINT_MAX, CLOSE_RANGE_UNSHARE); ++ ret = lxd_close_range(EXEC_PIPE_FD + 1, UINT_MAX, CLOSE_RANGE_UNSHARE); + if (ret) { + // Fallback to close_inherited() when the syscall is not + // available or when CLOSE_RANGE_UNSHARE isn't supported. +-- +2.32.0 + diff --git a/app-emulation/lxd/lxd-4.0.7-r1.ebuild b/app-emulation/lxd/lxd-4.0.7-r1.ebuild new file mode 100644 index 000..f7a259aeafe --- /dev/null +++ b/app-emulation/lxd/lxd-4.0.7-r1.ebuild @@ -0,0 +1,170 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit bash-completion-r1 linux-info optfeature systemd verify-sig + +DESCRIPTION="Fast, dense and secure
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 9f88706ccb6f6582b42ff558d679ebe39bc6fb93 Author: Joonas Niilola gentoo org> AuthorDate: Tue Feb 16 08:27:59 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Feb 16 08:29:42 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f88706c app-emulation/lxd: don't shutdown all cluster instances with service Closes: https://bugs.gentoo.org/770511 Signed-off-by: Joonas Niilola gentoo.org> app-emulation/lxd/files/lxd-4.0.0.initd| 25 +++--- .../{lxd-4.0.4-r5.ebuild => lxd-4.0.4-r6.ebuild} | 0 2 files changed, 3 insertions(+), 22 deletions(-) diff --git a/app-emulation/lxd/files/lxd-4.0.0.initd b/app-emulation/lxd/files/lxd-4.0.0.initd index 03ec12e44f5..51284f6e2ae 100644 --- a/app-emulation/lxd/files/lxd-4.0.0.initd +++ b/app-emulation/lxd/files/lxd-4.0.0.initd @@ -1,13 +1,11 @@ #!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 DAEMON=/usr/sbin/lxd PIDFILE=/run/lxd.pid TIMEOUT=10 -extra_commands="stopall" - depend() { need net need lxcfs @@ -31,24 +29,7 @@ start() { } 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." - lxc stop --all --timeout $TIMEOUT >/dev/null 2>&1 - if [[ ${?} -ne 0 ]]; then - lxc stop --all --force || eerror "Could not stop all containers." - fi - if "${DAEMON}" shutdown; then - rm -f ${PIDFILE} - eend 0 - fi + ebegin "Stopping lxd service (but not containers)." + start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE} eend ${?} } diff --git a/app-emulation/lxd/lxd-4.0.4-r5.ebuild b/app-emulation/lxd/lxd-4.0.4-r6.ebuild similarity index 100% rename from app-emulation/lxd/lxd-4.0.4-r5.ebuild rename to app-emulation/lxd/lxd-4.0.4-r6.ebuild
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 4b4cbd6f7c78abe9d831c8425b2a4ebdbba298ca Author: Joonas Niilola gentoo org> AuthorDate: Wed Oct 21 06:03:53 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Oct 21 06:03:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b4cbd6f app-emulation/lxd: fix init.d to allow systemd cont on openrc host Closes: https://bugs.gentoo.org/750410 Signed-off-by: Joonas Niilola gentoo.org> app-emulation/lxd/files/lxd-4.0.0.initd | 3 +++ app-emulation/lxd/{lxd-4.0.3.ebuild => lxd-4.0.3-r1.ebuild} | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app-emulation/lxd/files/lxd-4.0.0.initd b/app-emulation/lxd/files/lxd-4.0.0.initd index 03ec12e44f5..f4206344355 100644 --- a/app-emulation/lxd/files/lxd-4.0.0.initd +++ b/app-emulation/lxd/files/lxd-4.0.0.initd @@ -18,6 +18,9 @@ start() { modprobe -f loop > /dev/null 2>&1 + # Allow systemd containers to be used on openrc host, #750410 + [ -d /sys/fs/cgroup/systemd ] || ( mkdir -p /sys/fs/cgroup/systemd ; mount -t cgroup -o none,name=systemd systemd /sys/fs/cgroup/systemd ) + # fix permissions on /var/lib/lxd and make sure it exists install -d /var/lib/lxd --group lxd --owner root --mode 0775 start-stop-daemon --start \ diff --git a/app-emulation/lxd/lxd-4.0.3.ebuild b/app-emulation/lxd/lxd-4.0.3-r1.ebuild similarity index 98% rename from app-emulation/lxd/lxd-4.0.3.ebuild rename to app-emulation/lxd/lxd-4.0.3-r1.ebuild index cecda7cf1eb..fa42646855b 100644 --- a/app-emulation/lxd/lxd-4.0.3.ebuild +++ b/app-emulation/lxd/lxd-4.0.3-r1.ebuild @@ -7,7 +7,7 @@ inherit autotools bash-completion-r1 linux-info optfeature systemd verify-sig DESCRIPTION="Fast, dense and secure container management" HOMEPAGE="https://linuxcontainers.org/lxd/introduction/ https://github.com/lxc/lxd; -SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz +SRC_URI="https://linuxcontainers.org/downloads/lxd/${P}.tar.gz verify-sig? ( https://linuxcontainers.org/downloads/lxd/${P}.tar.gz.asc )" # Needs to include licenses for all bundled programs and libraries.
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: ebe0bdd0661553ba0b8657de0d51db56c1241f67 Author: Joonas Niilola gentoo org> AuthorDate: Mon Jul 13 06:56:21 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jul 13 07:16:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe0bdd0 app-emulation/lxd: systemd related fixes #729930 - systemd service files provided by upstream, - update kernel check CONFIG_NF_NAT_MASQUERADE_IPV4 to NF_NAT_MASQUERADE. Closes: https://bugs.gentoo.org/729930 Signed-off-by: Joonas Niilola gentoo.org> app-emulation/lxd/files/lxd-4.0.0.service | 20 ++ app-emulation/lxd/files/lxd-4.0.0.socket | 12 ++ app-emulation/lxd/files/lxd-4.0.0_apparmor.service | 21 ++ .../lxd/files/lxd-containers-4.0.0.service | 16 ++ app-emulation/lxd/lxd-4.0.2-r1.ebuild | 211 + 5 files changed, 280 insertions(+) diff --git a/app-emulation/lxd/files/lxd-4.0.0.service b/app-emulation/lxd/files/lxd-4.0.0.service new file mode 100644 index 000..c2e9db8aa8a --- /dev/null +++ b/app-emulation/lxd/files/lxd-4.0.0.service @@ -0,0 +1,20 @@ +[Unit] +Description=LXD - main daemon +After=network-online.target lxcfs.service lxd.socket +Requires=network-online.target lxcfs.service lxd.socket +Documentation=man:lxd(1) + +[Service] +EnvironmentFile=-/etc/environment +ExecStart=/usr/sbin/lxd --group lxd --logfile=/var/log/lxd/lxd.log +ExecStartPost=/usr/sbin/lxd waitready --timeout=600 +KillMode=process +TimeoutStartSec=600s +TimeoutStopSec=30s +Restart=on-failure +LimitNOFILE=1048576 +LimitNPROC=infinity +TasksMax=infinity + +[Install] +Also=lxd-containers.service lxd.socket diff --git a/app-emulation/lxd/files/lxd-4.0.0.socket b/app-emulation/lxd/files/lxd-4.0.0.socket new file mode 100644 index 000..3207c9453d1 --- /dev/null +++ b/app-emulation/lxd/files/lxd-4.0.0.socket @@ -0,0 +1,12 @@ +[Unit] +Description=LXD - unix socket +Documentation=man:lxd(1) + +[Socket] +ListenStream=/var/lib/lxd/unix.socket +SocketGroup=lxd +SocketMode=0660 +Service=lxd.service + +[Install] +WantedBy=sockets.target diff --git a/app-emulation/lxd/files/lxd-4.0.0_apparmor.service b/app-emulation/lxd/files/lxd-4.0.0_apparmor.service new file mode 100644 index 000..5e688d9c098 --- /dev/null +++ b/app-emulation/lxd/files/lxd-4.0.0_apparmor.service @@ -0,0 +1,21 @@ +[Unit] +Description=LXD - main daemon +After=network-online.target lxcfs.service lxd.socket +Requires=network-online.target lxcfs.service lxd.socket +Documentation=man:lxd(1) + +[Service] +EnvironmentFile=-/etc/environment +ExecStartPre=/usr/libexec/lxc/lxc-apparmor-load +ExecStart=/usr/sbin/lxd --group lxd --logfile=/var/log/lxd/lxd.log +ExecStartPost=/usr/sbin/lxd waitready --timeout=600 +KillMode=process +TimeoutStartSec=600s +TimeoutStopSec=30s +Restart=on-failure +LimitNOFILE=1048576 +LimitNPROC=infinity +TasksMax=infinity + +[Install] +Also=lxd-containers.service lxd.socket diff --git a/app-emulation/lxd/files/lxd-containers-4.0.0.service b/app-emulation/lxd/files/lxd-containers-4.0.0.service new file mode 100644 index 000..894760c3506 --- /dev/null +++ b/app-emulation/lxd/files/lxd-containers-4.0.0.service @@ -0,0 +1,16 @@ +[Unit] +Description=LXD - container startup/shutdown +Documentation=man:lxd(1) +After=lxd.socket lxd.service +Requires=lxd.socket + +[Service] +Type=oneshot +ExecStart=/usr/sbin/lxd activateifneeded +ExecStop=/usr/sbin/lxd shutdown +TimeoutStartSec=600s +TimeoutStopSec=600s +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target diff --git a/app-emulation/lxd/lxd-4.0.2-r1.ebuild b/app-emulation/lxd/lxd-4.0.2-r1.ebuild new file mode 100644 index 000..899ac595ada --- /dev/null +++ b/app-emulation/lxd/lxd-4.0.2-r1.ebuild @@ -0,0 +1,211 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools bash-completion-r1 eutils linux-info systemd + +DESCRIPTION="Fast, dense and secure container management" +HOMEPAGE="https://linuxcontainers.org/lxd/introduction/ https://github.com/lxc/lxd; +SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz; + +# Needs to include licenses for all bundled programs and libraries. +LICENSE="Apache-2.0 BSD BSD-2 LGPL-3 MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="apparmor +ipv6 nls" + +DEPEND="app-arch/xz-utils + >=app-emulation/lxc-3.0.0[apparmor?,seccomp] + dev-lang/tcl + dev-libs/libuv + dev-libs/lzo + net-dns/dnsmasq[dhcp,ipv6?]" +RDEPEND="${DEPEND} + acct-group/lxd + net-firewall/ebtables + net-firewall/iptables[ipv6?] + sys-apps/iproute2[ipv6?] + sys-fs/fuse:0= + sys-fs/lxcfs + sys-fs/squashfs-tools + virtual/acl" +BDEPEND="dev-lang/go + nls? ( sys-devel/gettext )" + +CONFIG_CHECK=" + ~BRIDGE + ~DUMMY + ~IP6_NF_NAT + ~IP6_NF_TARGET_MASQUERADE + ~IPV6 + ~IP_NF_NAT +
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 40c57b1981ed26bd835de962f055fac184bf03b4 Author: Joonas Niilola gentoo org> AuthorDate: Fri Jun 26 07:57:59 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Jun 26 08:13:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40c57b19 app-emulation/lxd: remove old 3.14 Signed-off-by: Joonas Niilola gentoo.org> .../lxd/files/de-translation-newline-1.patch | 11 - app-emulation/lxd/files/lxd.confd | 24 -- app-emulation/lxd/files/lxd.initd | 46 app-emulation/lxd/lxd-3.14.ebuild | 241 - app-emulation/lxd/metadata.xml | 11 - 5 files changed, 333 deletions(-) diff --git a/app-emulation/lxd/files/de-translation-newline-1.patch b/app-emulation/lxd/files/de-translation-newline-1.patch deleted file mode 100644 index 4c731e9023d..000 --- a/app-emulation/lxd/files/de-translation-newline-1.patch +++ /dev/null @@ -1,11 +0,0 @@ /po/de.po 2018-06-27 19:57:56.759130047 -0500 -+++ /po/de.po 2018-06-27 20:01:09.694634346 -0500 -@@ -167,7 +167,7 @@ - "###\n" - "### Each property is represented by a single line:\n" - "### An example would be:\n" --"### description: My custom image" -+"### description: My custom image\n" - msgstr "" - "### Dies ist eine Darstellung der Eigenschaften eines Images in yaml.\n" - "### Jede Zeile die mit '# beginnt wird ignoriert.\n" diff --git a/app-emulation/lxd/files/lxd.confd b/app-emulation/lxd/files/lxd.confd deleted file mode 100644 index 8e342cc62d1..000 --- a/app-emulation/lxd/files/lxd.confd +++ /dev/null @@ -1,24 +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 5" - -# Enables verbose mode -#LXD_OPTIONS+=" --verbose" - -# Logfile to log to -#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log" diff --git a/app-emulation/lxd/files/lxd.initd b/app-emulation/lxd/files/lxd.initd deleted file mode 100644 index b1fa7caac54..000 --- a/app-emulation/lxd/files/lxd.initd +++ /dev/null @@ -1,46 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -DAEMON=/usr/sbin/lxd -PIDFILE=/run/lxd.pid - -extra_commands="stopall" - -depend() { -need net -use lxcfs -} - -start() { -ebegin "Starting lxd service" - -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/lxd-3.14.ebuild b/app-emulation/lxd/lxd-3.14.ebuild deleted file mode 100644 index 3639d12ad02..000 --- a/app-emulation/lxd/lxd-3.14.ebuild +++ /dev/null @@ -1,241 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Fast, dense and secure container management" -HOMEPAGE="https://linuxcontainers.org/lxd/introduction/; - -LICENSE="Apache-2.0 BSD BSD-2 LGPL-3 MIT MPL-2.0" -SLOT="0" -KEYWORDS="amd64" - -IUSE="+daemon +ipv6 +dnsmasq nls test tools" -RESTRICT="!test? ( test )" - -inherit autotools bash-completion-r1 linux-info systemd user - -SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz; - -DEPEND=" - dev-lang/tcl - >=dev-lang/go-1.9.4 - dev-libs/libuv - dev-libs/protobuf - nls? ( sys-devel/gettext ) - test? ( - app-misc/jq - net-misc/curl - sys-devel/gettext - ) -" - -RDEPEND=" - daemon? ( - app-arch/xz-utils - >=app-emulation/lxc-2.0.7[seccomp] - dev-libs/libuv - dev-libs/lzo - dev-util/xdelta:3 - dnsmasq? ( - net-dns/dnsmasq[dhcp,ipv6?] - ) - net-firewall/ebtables - net-firewall/iptables[ipv6?] - net-libs/libnfnetlink - net-libs/libnsl:0= - net-misc/rsync[xattr] -
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: eb824502f28aa17d4ebaa4581491b48e156edab2 Author: Joonas Niilola gentoo org> AuthorDate: Tue Jun 23 07:24:55 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Jun 23 07:25:30 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb824502 app-emulation/lxd: fix 4.0.1 compilation with clang Closes: https://bugs.gentoo.org/729244 Signed-off-by: Joonas Niilola gentoo.org> app-emulation/lxd/files/lxd-4.0.1-clang.patch | 76 +++ app-emulation/lxd/lxd-4.0.1.ebuild| 2 + 2 files changed, 78 insertions(+) diff --git a/app-emulation/lxd/files/lxd-4.0.1-clang.patch b/app-emulation/lxd/files/lxd-4.0.1-clang.patch new file mode 100644 index 000..765f2f38be5 --- /dev/null +++ b/app-emulation/lxd/files/lxd-4.0.1-clang.patch @@ -0,0 +1,76 @@ +From c7ce94825871ea5d0946e92762e981354628b8ad Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?St=C3=A9phane=20Graber?= +Date: Mon, 22 Jun 2020 22:17:02 -0400 +Subject: [PATCH] lxd: Fix building with clang +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Closes #7573 + +Signed-off-by: Stéphane Graber +--- + lxd/main_forksyscall.go | 8 + lxd/seccomp/seccomp.go | 16 + 2 files changed, 8 insertions(+), 16 deletions(-) + +diff --git a/lxd/main_forksyscall.go b/lxd/main_forksyscall.go +index a304405c2e..14895b6ce0 100644 +--- a/lxd/main_forksyscall.go b/lxd/main_forksyscall.go +@@ -34,12 +34,6 @@ extern void attach_userns_fd(int ns_fd); + extern int pidfd_nsfd(int pidfd, pid_t pid); + extern bool setnsat(int ns_fd, const char *ns); + +-static inline bool same_fsinfo(struct stat *s1, struct stat *s2, +- struct statfs *sfs1, struct statfs *sfs2) +-{ +- return ((sfs1->f_type == sfs2->f_type) && (s1->st_dev == s2->st_dev)); +-} +- + static bool chdirchroot_in_mntns(int cwd_fd, int root_fd) + { + ssize_t len; +@@ -209,8 +203,6 @@ const char *ns_names[] = { "user", "pid", "uts", "ipc", "net", "cgroup", NULL }; + + static bool change_creds(int ns_fd, cap_t caps, uid_t nsuid, gid_t nsgid, uid_t nsfsuid, gid_t nsfsgid) + { +- __do_close int fd = -EBADF; +- + if (prctl(PR_SET_KEEPCAPS, 1)) + return false; + +diff --git a/lxd/seccomp/seccomp.go b/lxd/seccomp/seccomp.go +index 8945fd9197..025efb3141 100644 +--- a/lxd/seccomp/seccomp.go b/lxd/seccomp/seccomp.go +@@ -91,21 +91,21 @@ static int device_allowed(dev_t dev, mode_t mode) + { + switch (mode & S_IFMT) { + case S_IFCHR: +- if ((dev == makedev(0, 0))) // whiteout ++ if (dev == makedev(0, 0)) // whiteout + return 0; +- else if ((dev == makedev(5, 1))) // /dev/console ++ else if (dev == makedev(5, 1)) // /dev/console + return 0; +- else if ((dev == makedev(1, 7))) // /dev/full ++ else if (dev == makedev(1, 7)) // /dev/full + return 0; +- else if ((dev == makedev(1, 3))) // /dev/null ++ else if (dev == makedev(1, 3)) // /dev/null + return 0; +- else if ((dev == makedev(1, 8))) // /dev/random ++ else if (dev == makedev(1, 8)) // /dev/random + return 0; +- else if ((dev == makedev(5, 0))) // /dev/tty ++ else if (dev == makedev(5, 0)) // /dev/tty + return 0; +- else if ((dev == makedev(1, 9))) // /dev/urandom ++ else if (dev == makedev(1, 9)) // /dev/urandom + return 0; +- else if ((dev == makedev(1, 5))) // /dev/zero ++ else if (dev == makedev(1, 5)) // /dev/zero + return 0; + } + diff --git a/app-emulation/lxd/lxd-4.0.1.ebuild b/app-emulation/lxd/lxd-4.0.1.ebuild index 33decc443dd..578a64630a1 100644 --- a/app-emulation/lxd/lxd-4.0.1.ebuild +++ b/app-emulation/lxd/lxd-4.0.1.ebuild @@ -67,6 +67,8 @@ QA_PREBUILT="/usr/lib/lxd/libdqlite.so.0.0.1 EGO_PN="github.com/lxc/lxd" GOPATH="${S}/_dist" # this seems to reset every now and then, though +PATCHES=( "${FILESDIR}"/lxd-4.0.1-clang.patch ) + common_op() { local i for i in dqlite raft; do
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: f100f06ec45c4b7c199e027945150266875d8b8e Author: Erik Mackdanz gentoo org> AuthorDate: Sat Sep 15 13:09:07 2018 + Commit: Erik Mackdanz gentoo org> CommitDate: Sat Sep 15 13:09:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f100f06e app-emulation/lxd: Bump to 3.5 Package-Manager: Portage-2.3.46, Repoman-2.3.10 app-emulation/lxd/Manifest | 1 + .../lxd/files/de-translation-newline-1.patch | 11 + app-emulation/lxd/lxd-3.5.ebuild | 237 + 3 files changed, 249 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index d88e6965e98..e2d85aa69e4 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,2 +1,3 @@ DIST lxd-3.3.tar.gz 28414680 BLAKE2B 7f3eecf400761548935e6e3c81d894379cd667ffbe6d8ef67a7dd3ad4f1c13846f524fcefc4cdc306674fb990706bda0b2c4ef390f320c41561fa86cf610586c SHA512 ed5d792c1080f2be7f48f34051fbfa28d138b4ccb5405edb13cd630776ec34312da491a1881f77dddbe1a121e589b44952e73ce1e61f2cba72243f3b8f4c0177 DIST lxd-3.4.tar.gz 24313641 BLAKE2B 6f2db8a690474d020a0d43366e940760c0886c8af60e17ecc6bf1f9747d8454d09d619b723b1794bec503dda82028f7d81edc2d0c33216cbad9c810f2657198d SHA512 f041878fcfd2b45f594d97e748272d44c517f28e181861a604bef23f858c4bd59cc93ac56c24cce6d353743428b66940f11df268ff9f66e83a5c8f1fb95dc3aa +DIST lxd-3.5.tar.gz 28356957 BLAKE2B 44334026ed720cc9d8a16a0752abb102f07b186e9a5946ffce9872734d166a6d477e0dd324002f74c2cca36bc500f7def9ff7f358c7d07792124392ab815e07c SHA512 56f10a75ee2cfb6ed653e2d69dee979b0a661f267bc66ab642e5fc1835d1879e7df600671325973d9772ddc653334531f2420f129c06cdb5a93950083263f366 diff --git a/app-emulation/lxd/files/de-translation-newline-1.patch b/app-emulation/lxd/files/de-translation-newline-1.patch new file mode 100644 index 000..4c731e9023d --- /dev/null +++ b/app-emulation/lxd/files/de-translation-newline-1.patch @@ -0,0 +1,11 @@ +--- /po/de.po 2018-06-27 19:57:56.759130047 -0500 /po/de.po 2018-06-27 20:01:09.694634346 -0500 +@@ -167,7 +167,7 @@ + "###\n" + "### Each property is represented by a single line:\n" + "### An example would be:\n" +-"### description: My custom image" ++"### description: My custom image\n" + msgstr "" + "### Dies ist eine Darstellung der Eigenschaften eines Images in yaml.\n" + "### Jede Zeile die mit '# beginnt wird ignoriert.\n" diff --git a/app-emulation/lxd/lxd-3.5.ebuild b/app-emulation/lxd/lxd-3.5.ebuild new file mode 100644 index 000..daa47a63706 --- /dev/null +++ b/app-emulation/lxd/lxd-3.5.ebuild @@ -0,0 +1,237 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Fast, dense and secure container management" +HOMEPAGE="https://linuxcontainers.org/lxd/introduction/; + +LICENSE="Apache-2.0 BSD BSD-2 LGPL-3 MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="+daemon +ipv6 +dnsmasq nls test tools" + +inherit autotools bash-completion-r1 linux-info systemd user + +SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz; + +DEPEND=" + dev-lang/tcl + >=dev-lang/go-1.9.4 + dev-libs/libuv + dev-libs/protobuf + nls? ( sys-devel/gettext ) + test? ( + app-misc/jq + net-misc/curl + sys-devel/gettext + ) +" + +RDEPEND=" + daemon? ( + app-arch/xz-utils + >=app-emulation/lxc-2.0.7[seccomp] + dev-libs/libuv + dev-libs/lzo + dev-util/xdelta:3 + dnsmasq? ( + net-dns/dnsmasq[dhcp,ipv6?] + ) + net-firewall/ebtables + net-firewall/iptables[ipv6?] + net-libs/libnfnetlink + net-misc/rsync[xattr] + sys-apps/iproute2[ipv6?] + sys-fs/fuse + sys-fs/lxcfs + sys-fs/squashfs-tools + virtual/acl + ) +" + +CONFIG_CHECK=" + ~BRIDGE + ~DUMMY + ~IP6_NF_NAT + ~IP6_NF_TARGET_MASQUERADE + ~IPV6 + ~IP_NF_NAT + ~IP_NF_TARGET_MASQUERADE + ~MACVLAN + ~NETFILTER_XT_MATCH_COMMENT + ~NET_IPGRE + ~NET_IPGRE_DEMUX + ~NET_IPIP + ~NF_NAT_MASQUERADE_IPV4 + ~NF_NAT_MASQUERADE_IPV6 + ~VXLAN +" + +ERROR_BRIDGE="BRIDGE: needed for network commands" +ERROR_DUMMY="DUMMY: needed for network commands" +ERROR_IP6_NF_NAT="IP6_NF_NAT: needed for network commands" +ERROR_IP6_NF_TARGET_MASQUERADE="IP6_NF_TARGET_MASQUERADE: needed for network commands" +ERROR_IPV6="IPV6: needed for network commands" +ERROR_IP_NF_NAT="IP_NF_NAT: needed for network commands" +ERROR_IP_NF_TARGET_MASQUERADE="IP_NF_TARGET_MASQUERADE: needed for network commands" +ERROR_MACVLAN="MACVLAN: needed for network commands" +ERROR_NETFILTER_XT_MATCH_COMMENT="NETFILTER_XT_MATCH_COMMENT: needed for network
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 8658775519ab229cbf6e156066283d64cc4bed8a Author: Erik Mackdanz gentoo org> AuthorDate: Sun Aug 19 22:27:40 2018 + Commit: Erik Mackdanz gentoo org> CommitDate: Sun Aug 19 22:27:40 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86587755 app-emulation/lxd: Remove old versions Package-Manager: Portage-2.3.46, Repoman-2.3.10 app-emulation/lxd/Manifest| 46 -- app-emulation/lxd/files/lxd-dont-go-get.patch | 16 -- app-emulation/lxd/files/lxd.confd | 7 +- app-emulation/lxd/files/lxd.confd.1 | 24 --- app-emulation/lxd/lxd-2.21.ebuild | 224 -- app-emulation/lxd/lxd-3.1.ebuild | 180 - app-emulation/lxd/lxd-3.2.ebuild | 181 - app-emulation/lxd/lxd-3.3.ebuild | 2 +- app-emulation/lxd/lxd-3.4.ebuild | 2 +- 9 files changed, 4 insertions(+), 678 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 12ef79ec012..d88e6965e98 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,48 +1,2 @@ -DIST github.com-dustinkirkland-golang-petname-d3c2ba80e75eeef10c5cf2fc76d2c809637376b3.tar.gz 15127 BLAKE2B 06338b4364d9554a1334c04bd9ea81df7539641ef5ce41d681670b7b65c06160ef67e4bd3ad2529dc7864537d5be6a91be53c5e96335f5dfcab198a8bcae9a9b SHA512 0f63f01857c30fdb179400b80e4391a12675ed17a981e9f55273fcd44e06df3bbecc127cf80bfd73afe1d4c30cf37638d0b581b2dde787abe2c8835dca8dbc2d -DIST github.com-flosch-pongo2-5e81b817a0c48c1c57cdf1a9056cf76bdee02ca9.tar.gz 59915 BLAKE2B 763403cec3bcb27acd6654e7d2d57d198862b0d16c242ec975b46a7cca95560505b3373e8c4b7a53e7fc025523845bee16b90311f8bd341c0d2bfc28987ae0d4 SHA512 c40fc45b7a781067cc80a616b5a843977ff29071f7b36400631a7445d6fd8530144e73ecc1f406b2315be0725a214c62bfafb44f904b76d83384d8df488380ee -DIST github.com-go-errgo-errgo-442357a80af5c6bf9b6d51ae791a39c3421004f3.tar.gz 7453 BLAKE2B 9f231836718860c023a487d0971e152656e0ff39dcd5efdfda8c62577dbf4ae82335bada308d44a4d0af5ec951e5608f40bb9e0a7567c1edce35664c98596744 SHA512 f54cdf5089b7e46f08f75f7f1b0bfb893b1cd0a36d08b925d5ba04d2fa6021e85fe0625235a9e712b09099e2f5cce46aa1700d12c12b0c54ab59c8d13030e820 -DIST github.com-go-httprequest-httprequest-fdaf1bffa25560ba0920e3e29aae85d3677ab32e.tar.gz 52964 BLAKE2B f0dddcd38b9f8ac75a3e45473e22cfab1db88bef19f90431b16d1a3699ab56ef7f0d038ce837c0305600d69bc5ba64dffd344143cd0bc4a10aa5093ca32b0771 SHA512 60688f2e320afaeaeb824226bd586b9e9d7ccde00d9585401ac328d83195a23dc3e4e26b1848bc9998023b732a559963920860f21056416161c31304388aad4d -DIST github.com-go-macaroon-bakery-macaroon-bakery-ec9d2ad6796100720c154f614b6dea8798ec1181.tar.gz 124110 BLAKE2B c05d59504f7cd2d0cdb913b1d06898375fce112e71a1db0c1752628bc9939003a92ad608463cd0e1fa8d75945b9b5a76c0710ebb3ea126cfd67ea01b46229bff SHA512 2965b6441df2790e0378b962fb66672e2316902620223e4ca3a8ddf1ef38e2a76b9cda2a5013e664ef49073aed8f424e1713538626f6ce1929e81e3bacbef45f -DIST github.com-go-macaroon-macaroon-bed2a428da6e56d950bed5b41fcbae3141e5b0d0.tar.gz 22383 BLAKE2B b2d89ccdf4ad0a8c29f44895697a9921d40b9316879f477f608fc5f59683f825a66357e5587d654a55ea80f0c79d6680f5dbb45590b2fea051fca4a7f23a9eb8 SHA512 7ec072cec42266cf8cdd44819c653b8d09b58622fdfa42fb12422c9727e6eb7326519fbeb247fa4840d8c87a5357ae0acd028a8d5757acedc3582810a5cc467b -DIST github.com-go-mgo-mgo-3f83fa5005286a7fe593b055f0d7771a7dce4655.tar.gz 376880 BLAKE2B 800038e0870d8b943604bc5edf9ba566d20fed75f445834801955a19da6add891f96cbf5e19a93d520d90ccc4e9da911ab02cccb710fee67b3fe60e4409a717f SHA512 f0e7948d4672d29d3d0a741961ff8a75d30c556e157698118a32de10e2af8eb2ae6a61feea1c93aff313596d285a048a70dae7339c66760ebb91a1aecfb05845 -DIST github.com-go-retry-retry-01631078ef2fdce601e38cfe5f527fab24c9a6d2.tar.gz 9318 BLAKE2B d5eb408e4c4acf0c2304d951705a1f39f2b2663357f04402f5ee47bfc79182511e3a29568846bb902887aa5efb149ac6a4cf32ecae07a183f845ad8886fe0377 SHA512 71956a468472754313830a7f1afc844020e5ffc8bac4464e369562bde8c1cf5e11814fc110dcb00d243cbc6c13fe7a0423d29b73f0f420df8313666e645a7a24 -DIST github.com-go-tomb-tomb-d5d1b5820637886def9eef33e03a27a9f166942c.tar.gz 5515 BLAKE2B 9ae2c00b43da5958392e0817f448d01374712ce7552c07be0de8204a7f16a7442b195695d51782a375da7aaa83019446438d52a8768317216a7812380be8c1b1 SHA512 03ac20f7608db7c4ce54cc1ad9dfa62d770c32e1806a131909cb5c1ca4a9708b482e58d0e1bda0dbaff56ed36558a96ce2d4453566813967a32eef5245012a8d -DIST github.com-go-yaml-yaml-287cf08546ab5e7e37d55a84f7ed3fd1db036de5.tar.gz 64826 BLAKE2B 47e9182124037317bdfc31137a2715db979146688e637a586f5a7c4a12250d0fcffdbbaa8793e189421d189b1071f48d8588cfda9ac1f3e297bfc244f30bcae7 SHA512 429256bb847defb53dee5c960edc726455397045e7dc2e4833e0e9088f9ec11452e2198961080dc00b8eff9d165df5e0377f4039932df0e46cd960827b8f800d -DIST github.com-golang-crypto-d585fd2cc9195196078f516b69daff6744ef5e84.tar.gz 1443268 BLAKE2B
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 7f091e8001253dfcd84e81d263d7db319b63aabf Author: Erik Mackdanz gentoo org> AuthorDate: Sun Aug 19 22:20:07 2018 + Commit: Erik Mackdanz gentoo org> CommitDate: Sun Aug 19 22:20:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f091e80 app-emulation/lxd: Bump to version 3.4 Add some dependencies used by upstream, fully build custom sqlite, move tools to IUSE. Closes: https://bugs.gentoo.org/show_bug.cgi?id=628346 Package-Manager: Portage-2.3.46, Repoman-2.3.10 app-emulation/lxd/Manifest | 1 + app-emulation/lxd/files/lxd.initd.1 | 47 app-emulation/lxd/lxd-3.4.ebuild| 232 app-emulation/lxd/metadata.xml | 5 +- 4 files changed, 284 insertions(+), 1 deletion(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index a59667370be..12ef79ec012 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -45,3 +45,4 @@ DIST lxd-2.21.tar.gz 882352 BLAKE2B 80542bcc03c05667ee0207dfbfd2bf41c5a6ef69178a DIST lxd-3.1.tar.gz 27979442 BLAKE2B 0b74e3f76a7ab835b042b52b469a6fe11e7077d567e0658d13fab2192fd25d99518d65ba319c981a2e4677319e280cccae26f70ef99e9911264dc028ca5628fd SHA512 61f64d08dd80f7f676f386912f4dfc0d0af38cce0287de7865123b9da667b54ab91d22b76ffe03480e04ae0fbd8dc837d7d519d0e34409377c3d7e6624bf636c DIST lxd-3.2.tar.gz 28183660 BLAKE2B 9aabc9fd0bd66d3b4e0178448a65ca39c69e4e7a14d01309e0e023501de1c17b2b7887a9da5b84fcfde27db3f521cce3451beace9955232da9bd5e5136bc0043 SHA512 82c37e87d75e328a29b1f2876a24fedec43a253bb72f3ea55fa9cdb928d11947eda723a01e758f90ef77ed4492f86ec6dd5f1f88240d05e771d926dfdc9888fb DIST lxd-3.3.tar.gz 28414680 BLAKE2B 7f3eecf400761548935e6e3c81d894379cd667ffbe6d8ef67a7dd3ad4f1c13846f524fcefc4cdc306674fb990706bda0b2c4ef390f320c41561fa86cf610586c SHA512 ed5d792c1080f2be7f48f34051fbfa28d138b4ccb5405edb13cd630776ec34312da491a1881f77dddbe1a121e589b44952e73ce1e61f2cba72243f3b8f4c0177 +DIST lxd-3.4.tar.gz 24313641 BLAKE2B 6f2db8a690474d020a0d43366e940760c0886c8af60e17ecc6bf1f9747d8454d09d619b723b1794bec503dda82028f7d81edc2d0c33216cbad9c810f2657198d SHA512 f041878fcfd2b45f594d97e748272d44c517f28e181861a604bef23f858c4bd59cc93ac56c24cce6d353743428b66940f11df268ff9f66e83a5c8f1fb95dc3aa diff --git a/app-emulation/lxd/files/lxd.initd.1 b/app-emulation/lxd/files/lxd.initd.1 new file mode 100644 index 000..b6d3cd4eb26 --- /dev/null +++ b/app-emulation/lxd/files/lxd.initd.1 @@ -0,0 +1,47 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DAEMON=/usr/sbin/lxd +PIDFILE=/run/lxd.pid + +extra_commands="stopall" + +depend() { +need net +use lxcfs +} + +start() { +ebegin "Starting lxd service" + +start-stop-daemon --start \ + --pidfile ${PIDFILE} \ + --exec ${DAEMON} \ + --background \ + --make-pidfile \ + --env LD_LIBRARY_PATH="/usr/lib/lxd" \ + -- \ + ${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/lxd-3.4.ebuild b/app-emulation/lxd/lxd-3.4.ebuild new file mode 100644 index 000..32dc9abda4a --- /dev/null +++ b/app-emulation/lxd/lxd-3.4.ebuild @@ -0,0 +1,232 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Fast, dense and secure container management" +HOMEPAGE="https://linuxcontainers.org/lxd/introduction/; + +LICENSE="Apache-2.0 BSD BSD-2 LGPL-3 MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="+daemon +ipv6 +dnsmasq nls test tools" + +inherit autotools bash-completion-r1 linux-info systemd user + +SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz; + +DEPEND=" + dev-lang/tcl + >=dev-lang/go-1.9.4 + dev-libs/protobuf + nls? ( sys-devel/gettext ) + test? ( + app-misc/jq + net-misc/curl + sys-devel/gettext + ) +" + +RDEPEND=" + daemon? ( + app-arch/xz-utils + >=app-emulation/lxc-2.0.7[seccomp] + dev-libs/lzo + dev-util/xdelta:3 + dnsmasq? ( + net-dns/dnsmasq[dhcp,ipv6?] + ) + net-firewall/ebtables + net-firewall/iptables[ipv6?] + net-libs/libnfnetlink + net-misc/rsync[xattr] +
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 5bfc7e65f3c0523daccd23e9cbd19183563f30e8 Author: Erik Mackdanz gentoo org> AuthorDate: Sun Jul 1 17:15:22 2018 + Commit: Erik Mackdanz gentoo org> CommitDate: Sun Jul 1 17:15:22 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bfc7e65 app-emulation/lxd: Remove old versions Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-emulation/lxd/Manifest| 98 -- app-emulation/lxd/files/lxd-dont-go-get.patch | 16 -- app-emulation/lxd/files/lxd.confd | 27 --- app-emulation/lxd/lxd-2.21.ebuild | 224 --- app-emulation/lxd/lxd-3.0.0-r1.ebuild | 251 -- app-emulation/lxd/lxd-3.0.0.ebuild| 251 -- 6 files changed, 867 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 4e3d4b1ae5d..1389d1729bb 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,100 +1,2 @@ -DIST github.com-CanonicalLtd-dqlite-9334841532709c77fc79e13a08408694e4bb3616.tar.gz 67246 BLAKE2B 05efc336d8ee21073261286f268bd071cf11f334c3544e0d267e44cbee5dbb642d20b62f2b293984fdd82e5351ada5330b412267b21e384376f9be12e7ea6346 SHA512 0bc787d886f275e8b228bbfda7c96e743bd514db59ed22c8e10ceae2d91c793d4675bf88d6de5bc197983dc43b627d3044e4cb586cf259f2de7e62f738991692 -DIST github.com-CanonicalLtd-go-grpc-sql-534b56d0c689ed437e6cff44868964d45d3ec85c.tar.gz 26922 BLAKE2B 9f330e00138535b5aa8cf5a98f0feb080e925f0068b5d499b73784a282321a975cf07df4d5b68aec39d3bae08cb9c762059d325b8677cc837f6e461efc565a6e SHA512 474bf9e04cc6f8a19ee3586478ee0887e29427092736295473c51535750c66e3d04bb96f75537edb5ee41bfb07f32cd070fbf3ea04fec8849d3d75a07577cd3d -DIST github.com-CanonicalLtd-go-sqlite3-730012cee3364e7717c28f7e9b05ee6dd8684bae.tar.gz 2112277 BLAKE2B 7c6bd67e013f66d5889cb34170cf6f462b14799bc9ccab32037a19d6401677df211d9f9d90790b6a3d46e0673f18e16fce6dd53582f23d589ac4b2fb5570dbaf SHA512 5026475a1b673c3271434c458aa684f774019905d7d8f6d5aa8611b8c8798eff3f97b9d47cd17d5a8bbb03316f54e0bd2bd06f51120c9e860a45efbfc574 -DIST github.com-CanonicalLtd-raft-http-e4290d0af830073ec140538e8974aa4393495ea1.tar.gz 14140 BLAKE2B 320ac66f57aea98553a6812a4b855ad8631d5ca1110985d7de4975bc7caa7a2b06aaa78b9d54d799d147854182f802d836a2c41a8c03ebe748fe7fd274dbcda0 SHA512 82ce95df9a1c492542d474f83abd46c19eb33b6ec8d7bfba7f8683101f66bea34341d031f2701b4128b42d7d8243ade0ee93242f64b69019028c84d5bea70344 -DIST github.com-CanonicalLtd-raft-membership-26ef52960f54c472f52fb3701f19f25319e1032e.tar.gz 8029 BLAKE2B a66d3e4c6e63135b681e0a31edb6dcdfccf849206ba95dbcdbc49ee33510d5261a240b647e753f1941e6d846c60c15e6e97cc3727ffd02a2bf65b9fea5f82521 SHA512 6ceb2c8e651e4841c242105c8293eff5859bd50d0ee462853b04f759202e615e17c44ec29800e25298a394505a52021b6a6e69e9398e4ab2561c5cb26cb6 -DIST github.com-CanonicalLtd-raft-test-22441a088d5630ddd2e971eae68074d2b645f1b7.tar.gz 23472 BLAKE2B 790943f53cbbc4d8b2c19aefe8cfcab4b4a3d36bf0927e0e8cf9b7dbc97ce194084c6846991c34402bb1b342123d17b47da6a192196573240c34654d0cb62eb2 SHA512 e44cf16d2190c9680e3698d188a065b151458546855c88e343c08022a455312aa4f8191ce8b125f71aeb6b8b9054967b6374750ee3187192528399be2b5b29e7 -DIST github.com-armon-go-metrics-783273d703149aaeb9897cf58613d5af48861c25.tar.gz 22373 BLAKE2B dd4daca721ac0643f6ba4300966217ec57cb5d21c495029fb356badacfb4032a275807d7498a8fd1bd97315e70ee0c2d3501ae7e3bb072feea94787c5ca8f608 SHA512 a1a245cd9ccc07af7fc30bff358819389a18d1be21179626a2e79f0ccb82d71f7a4ad009d8919bbdfb547176346716c3f0b1f764f0e75171381a56aeb066685e -DIST github.com-boltdb-bolt-fd01fc79c553a8e99d512a07e8e0c63d4a3ccfc5.tar.gz 83950 BLAKE2B 04b9aa5632ccf231f319e8d25309f024a2a60c84e8eafac8b4bc16152fb7581d1a563903034e47668d7e9c61fdd6828294342c5b84d843e70367e578864ba4dd SHA512 5effccc7dadb214ef5ce53092db48c04ae25a388962c58732190c34f4537b579ef645ae579df5d0de30645574ff753486a6f743bf4fd58ec1d2aff76ba537694 -DIST github.com-cpuguy83-go-md2man-48d8747a2ca13185e7cc8efe6e9fc196a83f71a5.tar.gz 87543 BLAKE2B 6305e0097e9b1d9a237d91a7cf1bc2c969f56a2efecb2dc1775d5a8773099672685085829f4b3b721f302ca0495396b4c08417f12d44247f4b143ff3677575ac SHA512 38b93ce7c4320287dad7fe307a9da55c474d57abd15ec58718d455e8721ae66ecb03823c13011ef93d9319d38d1c587039d288209efb6b806baa37e880b37ec9 -DIST github.com-dustinkirkland-golang-petname-d3c2ba80e75eeef10c5cf2fc76d2c809637376b3.tar.gz 15127 BLAKE2B 06338b4364d9554a1334c04bd9ea81df7539641ef5ce41d681670b7b65c06160ef67e4bd3ad2529dc7864537d5be6a91be53c5e96335f5dfcab198a8bcae9a9b SHA512 0f63f01857c30fdb179400b80e4391a12675ed17a981e9f55273fcd44e06df3bbecc127cf80bfd73afe1d4c30cf37638d0b581b2dde787abe2c8835dca8dbc2d -DIST github.com-flosch-pongo2-5e81b817a0c48c1c57cdf1a9056cf76bdee02ca9.tar.gz 59915 BLAKE2B 763403cec3bcb27acd6654e7d2d57d198862b0d16c242ec975b46a7cca95560505b3373e8c4b7a53e7fc025523845bee16b90311f8bd341c0d2bfc28987ae0d4 SHA512
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 7161056c6d309856b19fc23ede5e9995ec8ea910 Author: Erik Mackdanz gentoo org> AuthorDate: Fri Jun 29 23:11:10 2018 + Commit: Erik Mackdanz gentoo org> CommitDate: Sun Jul 1 17:10:39 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7161056c app-emulation/lxd: Bump to version 3.2 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-emulation/lxd/Manifest | 1 + .../lxd/files/de-translation-newline.patch | 20 +++ app-emulation/lxd/lxd-3.2.ebuild | 181 + 3 files changed, 202 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 653ac15bf85..4e3d4b1ae5d 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -97,3 +97,4 @@ DIST github.com-syndtr-gocapability-db04d3cc01c8b54962a58ec7e491717d06cfcc16.tar DIST lxd-2.21.tar.gz 882352 BLAKE2B 80542bcc03c05667ee0207dfbfd2bf41c5a6ef69178aec06ad62fe3521ed012ed9b82c68c0254e0299e8e1dfd274a0622f32bde730480a950ab6ba15ddae5f4b SHA512 9a8ec3a97e4c861a80311dbdecbf5a485c0af85d6ba6b20680ca17e6ac877de3f27cfdcf0a111ba0db2b7c562dfe2f41336b562b7c13350c4543505b3c17357e DIST lxd-3.0.0.tar.gz 1152282 BLAKE2B e84808c626064ba6985c08119905510c2a9659edca09887a55bfe006eaba4a624215d48978e18ab642f34e54e58fc1d2e04303c9db73c332df8c5d29568fb779 SHA512 b4de839d26080f2b14b1f6f04a92b000e1abaa0712377528b87ca79e01b9c46b7b6c7f7ce5365f37f7a0ae8a2459bcdc6010fcb2a238d78e34d090750ae070f3 DIST lxd-3.1.tar.gz 27979442 BLAKE2B 0b74e3f76a7ab835b042b52b469a6fe11e7077d567e0658d13fab2192fd25d99518d65ba319c981a2e4677319e280cccae26f70ef99e9911264dc028ca5628fd SHA512 61f64d08dd80f7f676f386912f4dfc0d0af38cce0287de7865123b9da667b54ab91d22b76ffe03480e04ae0fbd8dc837d7d519d0e34409377c3d7e6624bf636c +DIST lxd-3.2.tar.gz 28183660 BLAKE2B 9aabc9fd0bd66d3b4e0178448a65ca39c69e4e7a14d01309e0e023501de1c17b2b7887a9da5b84fcfde27db3f521cce3451beace9955232da9bd5e5136bc0043 SHA512 82c37e87d75e328a29b1f2876a24fedec43a253bb72f3ea55fa9cdb928d11947eda723a01e758f90ef77ed4492f86ec6dd5f1f88240d05e771d926dfdc9888fb diff --git a/app-emulation/lxd/files/de-translation-newline.patch b/app-emulation/lxd/files/de-translation-newline.patch new file mode 100644 index 000..9ef55ab2f0e --- /dev/null +++ b/app-emulation/lxd/files/de-translation-newline.patch @@ -0,0 +1,20 @@ +--- /po/de.po 2018-06-27 19:57:56.759130047 -0500 /po/de.po 2018-06-27 20:01:09.694634346 -0500 +@@ -65,7 +65,7 @@ + "### type: custom\n" + "### used_by: []\n" + "### config:\n" +-"### size: \"61203283968\"" ++"### size: \"61203283968\"\n" + msgstr "" + "### Dies ist eine Darstellung der Eigenschaften eines Abbildes in yaml.\n" + "### Jede Zeile die mit '# beginnt wird ignoriert.\n" +@@ -167,7 +167,7 @@ + "###\n" + "### Each property is represented by a single line:\n" + "### An example would be:\n" +-"### description: My custom image" ++"### description: My custom image\n" + msgstr "" + "### Dies ist eine Darstellung der Eigenschaften eines Images in yaml.\n" + "### Jede Zeile die mit '# beginnt wird ignoriert.\n" diff --git a/app-emulation/lxd/lxd-3.2.ebuild b/app-emulation/lxd/lxd-3.2.ebuild new file mode 100644 index 000..1f0f3db33a2 --- /dev/null +++ b/app-emulation/lxd/lxd-3.2.ebuild @@ -0,0 +1,181 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Fast, dense and secure container management" +HOMEPAGE="https://linuxcontainers.org/lxd/introduction/; + +LICENSE="Apache-2.0 BSD BSD-2 LGPL-3 MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="+daemon +ipv6 +dnsmasq nls test" + +inherit bash-completion-r1 linux-info systemd user + +SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz; + +DEPEND=" + >=dev-lang/go-1.9.4 + dev-libs/protobuf + nls? ( sys-devel/gettext ) + test? ( + app-misc/jq + net-misc/curl + sys-devel/gettext + ) +" + +RDEPEND=" + daemon? ( + app-arch/xz-utils + >=app-emulation/lxc-2.0.7[seccomp] + dnsmasq? ( + net-dns/dnsmasq[dhcp,ipv6?] + ) + net-misc/rsync[xattr] + sys-apps/iproute2[ipv6?] + sys-fs/squashfs-tools + virtual/acl + ) +" + +CONFIG_CHECK=" + ~BRIDGE + ~DUMMY + ~IP6_NF_NAT + ~IP6_NF_TARGET_MASQUERADE + ~IPV6 + ~IP_NF_NAT + ~IP_NF_TARGET_MASQUERADE + ~MACVLAN + ~NETFILTER_XT_MATCH_COMMENT + ~NET_IPGRE + ~NET_IPGRE_DEMUX + ~NET_IPIP + ~NF_NAT_MASQUERADE_IPV4 + ~NF_NAT_MASQUERADE_IPV6 + ~VXLAN +" + +ERROR_BRIDGE="BRIDGE: needed for network commands" +ERROR_DUMMY="DUMMY: needed for network commands" +ERROR_IP6_NF_NAT="IP6_NF_NAT: needed for network commands" +ERROR_IP6_NF_TARGET_MASQUERADE="IP6_NF_TARGET_MASQUERADE:
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: f368119e2dbd0bc2c47be43ac045b3895e16d642 Author: Virgil Dupras hardcoded net> AuthorDate: Mon Jan 1 01:54:11 2018 + Commit: Patrice Clement gentoo org> CommitDate: Fri Jan 26 21:22:27 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f368119e app-emulation/lxd: version bump to 2.21. Closes: https://bugs.gentoo.org/641884 Closes: https://github.com/gentoo/gentoo/pull/6703 Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-emulation/lxd/Manifest| 36 + app-emulation/lxd/files/lxd-dont-go-get.patch | 16 ++ app-emulation/lxd/lxd-2.21.ebuild | 222 ++ 3 files changed, 274 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index d4b8c477ff5..fcad962f22b 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -2,22 +2,33 @@ DIST github.com-dustinkirkland-golang-petname-1f4996aa8aa05ee066aaf9e3179d340b48 DIST github.com-dustinkirkland-golang-petname-d3c2ba80e75eeef10c5cf2fc76d2c809637376b3.tar.gz 15127 BLAKE2B 06338b4364d9554a1334c04bd9ea81df7539641ef5ce41d681670b7b65c06160ef67e4bd3ad2529dc7864537d5be6a91be53c5e96335f5dfcab198a8bcae9a9b SHA512 0f63f01857c30fdb179400b80e4391a12675ed17a981e9f55273fcd44e06df3bbecc127cf80bfd73afe1d4c30cf37638d0b581b2dde787abe2c8835dca8dbc2d DIST github.com-flosch-pongo2-5e81b817a0c48c1c57cdf1a9056cf76bdee02ca9.tar.gz 59915 BLAKE2B 763403cec3bcb27acd6654e7d2d57d198862b0d16c242ec975b46a7cca95560505b3373e8c4b7a53e7fc025523845bee16b90311f8bd341c0d2bfc28987ae0d4 SHA512 c40fc45b7a781067cc80a616b5a843977ff29071f7b36400631a7445d6fd8530144e73ecc1f406b2315be0725a214c62bfafb44f904b76d83384d8df488380ee DIST github.com-go-check-check-20d25e2804050c1cd24a7eea1e7a6447dd0e74ec.tar.gz 30367 BLAKE2B c18a0f1aff1bde8e6fc533ea627377ca4de4830d84289355f68163855ec97ac47f537b3b2627568c31714ac3a7672ebf86d60452269c75c80c2cd7565d7c97a0 SHA512 94342de3aad4db1c4442062f4cf4e57c723a43bbcb0069a8bed3b719e3864eef7500a24c9c99c755114708d6822e9b23f296b6d0b2b46f32cc6ffc65944d1729 +DIST github.com-go-errgo-errgo-442357a80af5c6bf9b6d51ae791a39c3421004f3.tar.gz 7453 BLAKE2B 9f231836718860c023a487d0971e152656e0ff39dcd5efdfda8c62577dbf4ae82335bada308d44a4d0af5ec951e5608f40bb9e0a7567c1edce35664c98596744 SHA512 f54cdf5089b7e46f08f75f7f1b0bfb893b1cd0a36d08b925d5ba04d2fa6021e85fe0625235a9e712b09099e2f5cce46aa1700d12c12b0c54ab59c8d13030e820 +DIST github.com-go-httprequest-httprequest-fdaf1bffa25560ba0920e3e29aae85d3677ab32e.tar.gz 52964 BLAKE2B f0dddcd38b9f8ac75a3e45473e22cfab1db88bef19f90431b16d1a3699ab56ef7f0d038ce837c0305600d69bc5ba64dffd344143cd0bc4a10aa5093ca32b0771 SHA512 60688f2e320afaeaeb824226bd586b9e9d7ccde00d9585401ac328d83195a23dc3e4e26b1848bc9998023b732a559963920860f21056416161c31304388aad4d +DIST github.com-go-macaroon-bakery-macaroon-bakery-ec9d2ad6796100720c154f614b6dea8798ec1181.tar.gz 124110 BLAKE2B c05d59504f7cd2d0cdb913b1d06898375fce112e71a1db0c1752628bc9939003a92ad608463cd0e1fa8d75945b9b5a76c0710ebb3ea126cfd67ea01b46229bff SHA512 2965b6441df2790e0378b962fb66672e2316902620223e4ca3a8ddf1ef38e2a76b9cda2a5013e664ef49073aed8f424e1713538626f6ce1929e81e3bacbef45f +DIST github.com-go-macaroon-macaroon-bed2a428da6e56d950bed5b41fcbae3141e5b0d0.tar.gz 22383 BLAKE2B b2d89ccdf4ad0a8c29f44895697a9921d40b9316879f477f608fc5f59683f825a66357e5587d654a55ea80f0c79d6680f5dbb45590b2fea051fca4a7f23a9eb8 SHA512 7ec072cec42266cf8cdd44819c653b8d09b58622fdfa42fb12422c9727e6eb7326519fbeb247fa4840d8c87a5357ae0acd028a8d5757acedc3582810a5cc467b +DIST github.com-go-mgo-mgo-3f83fa5005286a7fe593b055f0d7771a7dce4655.tar.gz 376880 BLAKE2B 800038e0870d8b943604bc5edf9ba566d20fed75f445834801955a19da6add891f96cbf5e19a93d520d90ccc4e9da911ab02cccb710fee67b3fe60e4409a717f SHA512 f0e7948d4672d29d3d0a741961ff8a75d30c556e157698118a32de10e2af8eb2ae6a61feea1c93aff313596d285a048a70dae7339c66760ebb91a1aecfb05845 +DIST github.com-go-retry-retry-01631078ef2fdce601e38cfe5f527fab24c9a6d2.tar.gz 9318 BLAKE2B d5eb408e4c4acf0c2304d951705a1f39f2b2663357f04402f5ee47bfc79182511e3a29568846bb902887aa5efb149ac6a4cf32ecae07a183f845ad8886fe0377 SHA512 71956a468472754313830a7f1afc844020e5ffc8bac4464e369562bde8c1cf5e11814fc110dcb00d243cbc6c13fe7a0423d29b73f0f420df8313666e645a7a24 DIST github.com-go-stack-stack-817915b46b97fd7bb80e8ab6b69f01a53ac3eebf.tar.gz 6476 BLAKE2B 4d218f2e10d4e03476116012e5dc000b590786808b4679c170622d9d58ad79fa6794c3dcdded6cb878b346b3bacff16772f4778ea061c713595791345e7cbb29 SHA512 cbbdd7066249a571cc4d052e7907150f575e18c078078199b18f7557e3b12fc7c6969e6fe55773c951f3f954d296707d9e4c74ce26e3b6f408263774b0315a52 DIST github.com-go-tomb-tomb-d5d1b5820637886def9eef33e03a27a9f166942c.tar.gz 5515 BLAKE2B 9ae2c00b43da5958392e0817f448d01374712ce7552c07be0de8204a7f16a7442b195695d51782a375da7aaa83019446438d52a8768317216a7812380be8c1b1 SHA512
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: bff8956b39f2bfb3f584a2a9200262aa97e93721 Author: Virgil Dupras hardcoded net> AuthorDate: Mon Jan 1 01:57:40 2018 + Commit: Patrice Clement gentoo org> CommitDate: Fri Jan 26 21:22:29 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff8956b app-emulation/lxd: remove old 2.18. Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-emulation/lxd/Manifest | 15 -- app-emulation/lxd/files/lxd-2.18-dont-go-get.patch | 16 -- app-emulation/lxd/files/lxd-2.18.confd | 27 --- app-emulation/lxd/files/lxd-2.18.initd | 46 - app-emulation/lxd/files/lxd-2.18.service | 10 - app-emulation/lxd/lxd-2.18.ebuild | 206 - 6 files changed, 320 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index fcad962f22b..ee629c9d280 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -14,33 +14,25 @@ DIST github.com-go-yaml-yaml-287cf08546ab5e7e37d55a84f7ed3fd1db036de5.tar.gz 648 DIST github.com-go-yaml-yaml-cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b.tar.gz 60805 BLAKE2B 1345bfb7c006a423513ca6d51d3a34360212b48e92e9902f7f32054e80706c8f8a2dfffbd7a290dd4bca5a31ccec9a5ec50fc8b8314e53711a339e248c646a48 SHA512 268498022f34c4b59b5b75443ee10fd4273203f4b77bfa11b08a792c004cf13e3010c34b4c15cee2b4e7f3c910648d9897700f60ab00b327d78c49e97497fe2b DIST github.com-go-yaml-yaml-eb3733d160e74a9c7e442f435eb3bea458e1d19f.tar.gz 64789 BLAKE2B a59db73ba751c932695913770550e115d46df28c4cff402325cf5324c97069e3acccb9faf39826a5da416f8c5b0cc69377cef41a6b1451afa82c7ae8bd620544 SHA512 9e34c34c907d1177e072eb5f3b421b8a3af0e68b490508691d745cdcf1145d9bcfd2592d909a4b05e7f12bfb62355d49861f6d2e1bd29b69cf026ef631965289 DIST github.com-golang-crypto-2509b142fb2b797aa7587dad548f113b2c0f20ce.tar.gz 1435354 BLAKE2B ed4ead7ed45530a5d819a91d74a52f047fe6408ffa4720afd895bbc3df6bbdd6c9466259e7c141e72c827dce882bdedb9dac868e196407ab16ec8302898f6759 SHA512 5936b8fc25728b041d086bde5002f4d9fe1d8a55995df27e8efeff795ff980da55b42fe254c638c95ff0c80b9b659753786d32836d2124bcab30f63f80767c9d -DIST github.com-golang-crypto-7d9177d70076375b9a59c8fde23d52d9c4a7ecd5.tar.gz 1432665 BLAKE2B 079d62ef81bdaa0566bc996707c1aa45681f51c49d5cd6692c956989b18385f13df657fcbd33103c24030732a8925bf14175342a37c6cc13656c4f7d7d50c048 SHA512 d107abb176bf37a0a5a2487cb00b5d12e2247d41524a0651860c0a0b41b2b80926af024b78cc12aacafe254a1b8245980ab219a8357c8c2e17e9245f9027e570 DIST github.com-golang-crypto-d585fd2cc9195196078f516b69daff6744ef5e84.tar.gz 1443268 BLAKE2B 19bb8d2861225a14ba3f19b2ae96c6640833fea7da52228480634e715b7690afc94e605a5be1b70b263bb3045a0fbcf9f78211c431836d077cca7d076fec1686 SHA512 e82f87394d2a8d96779cc69c8803555b5d23eb02f3d38101ccb9142a892280c32b8123d61a309a041cf5034282b5269ea38b5d29e03c85ca3c62c4fc0802502e DIST github.com-golang-crypto-e1a4589e7d3ea14a3352255d04b6f1a418845e5e.tar.gz 1336856 BLAKE2B 076239faa59c88b8eab873097dea87dd579a4bb65a6b3a9f19ddacc0a6c05dac2a17917547ef8fabb46fbc5b56262b81330fc1281fb42d72107bf6df69edfc2c SHA512 c22fc86fbc22d6ec8157f89c075f07db8b72bf63ff97e06c907f555bf865cb77414c4fa2b9974407e43fa4f74b77710d3be9d2646f929fcfd5269b0ffc379914 -DIST github.com-golang-net-0744d001aa8470aaa53df28d32e5ceeb8af9bd70.tar.gz 920361 BLAKE2B 3d658829656b6089eed9584a6fddf8aaae824275228f470263235fe697158a3f98a9bd15bbcb11eed9480ed95396787edc5370cb41a464b789219f282de9191b SHA512 d308b4f872612287c29b815b6ac0c4c3efbda4c641940ed8553851b1e93c6654bf443367b5ec96166d68fc2759d7e90e46fd6f148f0a6d535bf057bb785627d7 DIST github.com-golang-net-c73622c77280266305273cb545f54516ced95b93.tar.gz 926104 BLAKE2B c5b31791af99bfd82edcf233dd9291df58102383786b77dd131af858e5f7868dfb4faa63de5c85218b2458fc9dd9f8a0d735aaf28b4f6f2a1835201ce0f93b3a SHA512 ce014933d3b8a30057c99bca54e9ba630e1940d1afbba3b9c7ef9d4f3e78d2ad26fa5ea9f0cbb0ada877d651b67d449e099d287b4af1d320fbf0b9d50d8d169a DIST github.com-golang-net-d866cfc389cec985d6fda2859936a575a55a3ab6.tar.gz 930024 BLAKE2B 9ab7175433046805426177276d963bdc356d488672e97cbd696e7d73f376af50a71ed5e8ba8c57e57ad0c6aa091bc8a54b1e67f09cf0085211363f4c33f077c5 SHA512 c841b5ab218f1ea6c8743264c72506ffa90372a7c8dc0fa1b1c22c965bf56e715ecf688acd22b5ecf747b7ded51f2f48fcdc859e4ce9d30911f48e3a6055d599 DIST github.com-golang-net-e4fa1c5465ad6111f206fc92186b8c83d64adbe1.tar.gz 899910 BLAKE2B b28a878b9f0ff30ae9a0c73f11aed9de2f6dd000651c2e83c7d902c044c0741e90dd4f695356f6342aa100c8ee5b5d7d928de4ce7530de53d089e9c773112c09 SHA512 0a582e9aa0ecee1c881771715970129d8af5975cccbb797f1e2a7989b17448b26c000ef49fc7a1ae02eddebdfbc52dd2cd9a82b0b3b667b4ee7f62346052 -DIST github.com-golang-protobuf-130e6b02ab059e7b717a096f397c5b60111cae74.tar.gz 268449 BLAKE2B 62093b872113d758eceac36f6e422c28a1133638ea70aa270deb0a58f1a504902f469125453e962053a4a5eeea4f0e11c1d116e61fa94c4ea84cab47208e032e SHA512
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: e63049600d771ca9e1a06c7c6e935ce2c1f08afd Author: Virgil Dupras hardcoded net> AuthorDate: Sun Oct 29 23:57:38 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Nov 29 11:21:14 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6304960 app-emulation/lxd: Remove old (v2.17) Package-Manager: Portage-2.3.8, Repoman-2.3.3 app-emulation/lxd/Manifest | 11 -- app-emulation/lxd/files/lxd-2.17-dont-go-get.patch | 16 -- app-emulation/lxd/files/lxd-2.17.confd | 27 --- app-emulation/lxd/files/lxd-2.17.initd | 46 - app-emulation/lxd/files/lxd-2.17.service | 10 - app-emulation/lxd/lxd-2.17.ebuild | 204 - 6 files changed, 314 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 1882a6d9790..02d452dffea 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -8,36 +8,28 @@ DIST github.com-go-yaml-yaml-cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b.tar.gz 608 DIST github.com-go-yaml-yaml-eb3733d160e74a9c7e442f435eb3bea458e1d19f.tar.gz 64789 SHA256 2f35fb36301bdee6afa5d7ec41c8870bca370ee8300b4da157ee3336812b5c36 SHA512 9e34c34c907d1177e072eb5f3b421b8a3af0e68b490508691d745cdcf1145d9bcfd2592d909a4b05e7f12bfb62355d49861f6d2e1bd29b69cf026ef631965289 WHIRLPOOL 27c9123a8be869dbe6a15d1e69e39d511f44624fffd89aac37bf0e59c5d30f2b7932c6015fa055f3ffed9357873a2fb92c1f6522793a64b752722cd539bc2089 DIST github.com-golang-crypto-2509b142fb2b797aa7587dad548f113b2c0f20ce.tar.gz 1435354 SHA256 f9ac56c3108f03fc2fbcf91fc0b0622df57f1e548ee26c7bd208a042f0ba53b6 SHA512 5936b8fc25728b041d086bde5002f4d9fe1d8a55995df27e8efeff795ff980da55b42fe254c638c95ff0c80b9b659753786d32836d2124bcab30f63f80767c9d WHIRLPOOL cdc50bfbff737f73c9503ba998ea88f433947fdc0cbc83a44096cc6edbcf20c7f7c44dd94aeb7422d33a26a9ba78416106d22d4f21a1941f86e6141380a35cfa DIST github.com-golang-crypto-7d9177d70076375b9a59c8fde23d52d9c4a7ecd5.tar.gz 1432665 SHA256 238c9ed9693ada60d89b1aea20007dcc1d29754ea25b537e3b9de6188151270d SHA512 d107abb176bf37a0a5a2487cb00b5d12e2247d41524a0651860c0a0b41b2b80926af024b78cc12aacafe254a1b8245980ab219a8357c8c2e17e9245f9027e570 WHIRLPOOL d448afb23308a8f7ea42b8bdec8ae182a7bff335800f91cd3c8e7398de87b4a30c71ac6083d8dee548a64db35f8158649420cc562a94ac9e4871e81dade404e4 -DIST github.com-golang-crypto-81e90905daefcd6fd217b62423c0908922eadb30.tar.gz 1431151 SHA256 0dc71491c29f8a217fadbced9ed7d9216f361b6d0fb09dfd030e6fe116e83be0 SHA512 ff5eaf61e7dc133a56a90d100c4b48fd2775145b457febdd1eb9ec39c15ce6bc73665873bbe658d6b4bb94a008d7246317d751a41b5a62b43d2055ed3cb01e02 WHIRLPOOL 3289466f54fb998d4ecc7b757a24e4f7aef88b29e16df75a0e47b5dcb84594462508161d06589a13099df72afa12b90b701efa412cbb352cb21f282b20c6361c DIST github.com-golang-crypto-e1a4589e7d3ea14a3352255d04b6f1a418845e5e.tar.gz 1336856 SHA256 28950420102f0dc290b84a52f06bc5b12a0a2b411b1b4fe216ba4ffe3ec3754e SHA512 c22fc86fbc22d6ec8157f89c075f07db8b72bf63ff97e06c907f555bf865cb77414c4fa2b9974407e43fa4f74b77710d3be9d2646f929fcfd5269b0ffc379914 WHIRLPOOL c85d338f87f5c418009497308ba28bd805769cb5350835dca35f77cce7ce456afe9cbcd66d9db3aea77e3eab0ed228260f7ec2e6825632624d9c80556ed15fbf DIST github.com-golang-net-0744d001aa8470aaa53df28d32e5ceeb8af9bd70.tar.gz 920361 SHA256 03f6f00d1142924dfee5abd67e6a39801a1da5c9f372a122f3c65de58a39 SHA512 d308b4f872612287c29b815b6ac0c4c3efbda4c641940ed8553851b1e93c6654bf443367b5ec96166d68fc2759d7e90e46fd6f148f0a6d535bf057bb785627d7 WHIRLPOOL 3d058a51d06992f8c07640f2ff6e69c5a0c468251420857b26da30fb6dc9b15f169321a7a4a29849aa6f346122339a0758875d6afd31d8d85a0cf3be8bb481f2 -DIST github.com-golang-net-66aacef3dd8a676686c7ae3716979581e8b03c47.tar.gz 917754 SHA256 5140f8089da711f07bcdffd50b262cc9a6d53dc4c2ebeffd5bd6ef04d103775b SHA512 65b7d18e220e84fc588e0485f083473a91f939ec566b48d53668e337056950e1f40b19346bdbadc483dc57072096aef0508254a7148354f5234e26ac8c0063c3 WHIRLPOOL b48dd92edf0ce8cb27b57132a888b0f7ac2b7b844f62aebe072e5fa3beb9921a409c547c6fd2701f1f4ba68a580e8c5988d915cc8cbeaee62356399d3848f2f6 DIST github.com-golang-net-c73622c77280266305273cb545f54516ced95b93.tar.gz 926104 SHA256 86d516e5c4d1cd4e440eeb68562f6aadbefcbc20ac5bc9684baaf8c65867bb63 SHA512 ce014933d3b8a30057c99bca54e9ba630e1940d1afbba3b9c7ef9d4f3e78d2ad26fa5ea9f0cbb0ada877d651b67d449e099d287b4af1d320fbf0b9d50d8d169a WHIRLPOOL f3494171800990e7906a070c472036bb119c81dfb5cf3d0f3096997f33d5f6e7cf49e7640af15ca1233384c83073a548db420f3ce54b538ab46638c142b58cae DIST github.com-golang-net-e4fa1c5465ad6111f206fc92186b8c83d64adbe1.tar.gz 899910 SHA256 a92f1314f40ff6e542ac6e6ea1346cefcfc74e5e5de4939a1baa67c4f86a482b SHA512 0a582e9aa0ecee1c881771715970129d8af5975cccbb797f1e2a7989b17448b26c000ef49fc7a1ae02eddebdfbc52dd2cd9a82b0b3b667b4ee7f62346052 WHIRLPOOL
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 9330dd35a82d5f1af4d8e2e81dd4bee1baaa2f81 Author: Virgil Dupras hardcoded net> AuthorDate: Sun Oct 29 23:56:05 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Nov 29 11:21:14 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9330dd35 app-emulation/lxd: bump to v2.19 Two notable changes in the ebuild: 1. explicit branch comment for gopkg.in vendor dependencies because inconshreveable doesn't follow the branching convention and I couldn't build without changing the way gentoo-ego-vendor-update works. 2. Remove versions from conf, initd and service filenames. They don't change often enough to warrant the constant noise of copying them. Package-Manager: Portage-2.3.8, Repoman-2.3.3 app-emulation/lxd/Manifest | 17 ++ app-emulation/lxd/files/lxd-2.19-dont-go-get.patch | 16 ++ app-emulation/lxd/files/lxd.confd | 27 +++ app-emulation/lxd/files/lxd.initd | 46 + app-emulation/lxd/files/lxd.service| 10 + app-emulation/lxd/lxd-2.19.ebuild | 207 + 6 files changed, 323 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 633257973bd..1882a6d9790 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -6,49 +6,65 @@ DIST github.com-go-stack-stack-817915b46b97fd7bb80e8ab6b69f01a53ac3eebf.tar.gz 6 DIST github.com-go-tomb-tomb-d5d1b5820637886def9eef33e03a27a9f166942c.tar.gz 5515 SHA256 2379edcc225238167aa0d45cb28d3561c5193979b136a6cf3443a1fe3b85c78a SHA512 03ac20f7608db7c4ce54cc1ad9dfa62d770c32e1806a131909cb5c1ca4a9708b482e58d0e1bda0dbaff56ed36558a96ce2d4453566813967a32eef5245012a8d WHIRLPOOL fc39214f5e5d7063069f7173bfea57483d3a8f46c586c704d93a9af1ebb534493de343a9f2dbbd51eb22de118db2f0e3e9838ee4df2c414d2921545f2ed3ed7f DIST github.com-go-yaml-yaml-cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b.tar.gz 60805 SHA256 11a6ce686bb70ab92020f2dffadc2e024e267a6564a62b0091e2974474c7f88d SHA512 268498022f34c4b59b5b75443ee10fd4273203f4b77bfa11b08a792c004cf13e3010c34b4c15cee2b4e7f3c910648d9897700f60ab00b327d78c49e97497fe2b WHIRLPOOL b2d18dc7354fa6e4819c2b1437e3dce55212fbf6e907361b82bfefc0b2306f12cbf70560c3819e2a81426e538949f05be01c6b8b3f3e53a3aa6daf828e95d537 DIST github.com-go-yaml-yaml-eb3733d160e74a9c7e442f435eb3bea458e1d19f.tar.gz 64789 SHA256 2f35fb36301bdee6afa5d7ec41c8870bca370ee8300b4da157ee3336812b5c36 SHA512 9e34c34c907d1177e072eb5f3b421b8a3af0e68b490508691d745cdcf1145d9bcfd2592d909a4b05e7f12bfb62355d49861f6d2e1bd29b69cf026ef631965289 WHIRLPOOL 27c9123a8be869dbe6a15d1e69e39d511f44624fffd89aac37bf0e59c5d30f2b7932c6015fa055f3ffed9357873a2fb92c1f6522793a64b752722cd539bc2089 +DIST github.com-golang-crypto-2509b142fb2b797aa7587dad548f113b2c0f20ce.tar.gz 1435354 SHA256 f9ac56c3108f03fc2fbcf91fc0b0622df57f1e548ee26c7bd208a042f0ba53b6 SHA512 5936b8fc25728b041d086bde5002f4d9fe1d8a55995df27e8efeff795ff980da55b42fe254c638c95ff0c80b9b659753786d32836d2124bcab30f63f80767c9d WHIRLPOOL cdc50bfbff737f73c9503ba998ea88f433947fdc0cbc83a44096cc6edbcf20c7f7c44dd94aeb7422d33a26a9ba78416106d22d4f21a1941f86e6141380a35cfa DIST github.com-golang-crypto-7d9177d70076375b9a59c8fde23d52d9c4a7ecd5.tar.gz 1432665 SHA256 238c9ed9693ada60d89b1aea20007dcc1d29754ea25b537e3b9de6188151270d SHA512 d107abb176bf37a0a5a2487cb00b5d12e2247d41524a0651860c0a0b41b2b80926af024b78cc12aacafe254a1b8245980ab219a8357c8c2e17e9245f9027e570 WHIRLPOOL d448afb23308a8f7ea42b8bdec8ae182a7bff335800f91cd3c8e7398de87b4a30c71ac6083d8dee548a64db35f8158649420cc562a94ac9e4871e81dade404e4 DIST github.com-golang-crypto-81e90905daefcd6fd217b62423c0908922eadb30.tar.gz 1431151 SHA256 0dc71491c29f8a217fadbced9ed7d9216f361b6d0fb09dfd030e6fe116e83be0 SHA512 ff5eaf61e7dc133a56a90d100c4b48fd2775145b457febdd1eb9ec39c15ce6bc73665873bbe658d6b4bb94a008d7246317d751a41b5a62b43d2055ed3cb01e02 WHIRLPOOL 3289466f54fb998d4ecc7b757a24e4f7aef88b29e16df75a0e47b5dcb84594462508161d06589a13099df72afa12b90b701efa412cbb352cb21f282b20c6361c DIST github.com-golang-crypto-e1a4589e7d3ea14a3352255d04b6f1a418845e5e.tar.gz 1336856 SHA256 28950420102f0dc290b84a52f06bc5b12a0a2b411b1b4fe216ba4ffe3ec3754e SHA512 c22fc86fbc22d6ec8157f89c075f07db8b72bf63ff97e06c907f555bf865cb77414c4fa2b9974407e43fa4f74b77710d3be9d2646f929fcfd5269b0ffc379914 WHIRLPOOL c85d338f87f5c418009497308ba28bd805769cb5350835dca35f77cce7ce456afe9cbcd66d9db3aea77e3eab0ed228260f7ec2e6825632624d9c80556ed15fbf DIST github.com-golang-net-0744d001aa8470aaa53df28d32e5ceeb8af9bd70.tar.gz 920361 SHA256 03f6f00d1142924dfee5abd67e6a39801a1da5c9f372a122f3c65de58a39 SHA512 d308b4f872612287c29b815b6ac0c4c3efbda4c641940ed8553851b1e93c6654bf443367b5ec96166d68fc2759d7e90e46fd6f148f0a6d535bf057bb785627d7 WHIRLPOOL 3d058a51d06992f8c07640f2ff6e69c5a0c468251420857b26da30fb6dc9b15f169321a7a4a29849aa6f346122339a0758875d6afd31d8d85a0cf3be8bb481f2 DIST
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: ebe9b5f89f27ea34d8efea91c9c16718cd088891 Author: Virgil Dupras hardcoded net> AuthorDate: Mon Sep 4 23:38:24 2017 + Commit: Amy Liffey gentoo org> CommitDate: Thu Sep 21 12:40:55 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe9b5f8 app-emulation/lxd: Bump to v2.17 Other than copying, 2 changes were made: 1. `EGO_VENDOR` update 2. Removal of `golang-build_src_install` The second change was necessary because the "client.go" file at the root of the project was removed. Also, I was already planning on removing it, after having consulted with WilliamH on IRC, because this step installed many, many useless files in /usr/lib/go-gentoo (pkg and src files, which are only needed when a package is used as a library by another go package, and it isn't LXD's case). Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-emulation/lxd/Manifest | 10 + app-emulation/lxd/files/lxd-2.17-dont-go-get.patch | 16 ++ app-emulation/lxd/files/lxd-2.17.confd | 27 +++ app-emulation/lxd/files/lxd-2.17.initd | 46 + app-emulation/lxd/files/lxd-2.17.service | 10 + app-emulation/lxd/lxd-2.17.ebuild | 202 + 6 files changed, 311 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 73605742341..dfb6633c8a0 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -5,20 +5,27 @@ DIST github.com-go-stack-stack-817915b46b97fd7bb80e8ab6b69f01a53ac3eebf.tar.gz 6 DIST github.com-go-tomb-tomb-d5d1b5820637886def9eef33e03a27a9f166942c.tar.gz 5515 SHA256 2379edcc225238167aa0d45cb28d3561c5193979b136a6cf3443a1fe3b85c78a SHA512 03ac20f7608db7c4ce54cc1ad9dfa62d770c32e1806a131909cb5c1ca4a9708b482e58d0e1bda0dbaff56ed36558a96ce2d4453566813967a32eef5245012a8d WHIRLPOOL fc39214f5e5d7063069f7173bfea57483d3a8f46c586c704d93a9af1ebb534493de343a9f2dbbd51eb22de118db2f0e3e9838ee4df2c414d2921545f2ed3ed7f DIST github.com-go-yaml-yaml-cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b.tar.gz 60805 SHA256 11a6ce686bb70ab92020f2dffadc2e024e267a6564a62b0091e2974474c7f88d SHA512 268498022f34c4b59b5b75443ee10fd4273203f4b77bfa11b08a792c004cf13e3010c34b4c15cee2b4e7f3c910648d9897700f60ab00b327d78c49e97497fe2b WHIRLPOOL b2d18dc7354fa6e4819c2b1437e3dce55212fbf6e907361b82bfefc0b2306f12cbf70560c3819e2a81426e538949f05be01c6b8b3f3e53a3aa6daf828e95d537 DIST github.com-go-yaml-yaml-eb3733d160e74a9c7e442f435eb3bea458e1d19f.tar.gz 64789 SHA256 2f35fb36301bdee6afa5d7ec41c8870bca370ee8300b4da157ee3336812b5c36 SHA512 9e34c34c907d1177e072eb5f3b421b8a3af0e68b490508691d745cdcf1145d9bcfd2592d909a4b05e7f12bfb62355d49861f6d2e1bd29b69cf026ef631965289 WHIRLPOOL 27c9123a8be869dbe6a15d1e69e39d511f44624fffd89aac37bf0e59c5d30f2b7932c6015fa055f3ffed9357873a2fb92c1f6522793a64b752722cd539bc2089 +DIST github.com-golang-crypto-81e90905daefcd6fd217b62423c0908922eadb30.tar.gz 1431151 SHA256 0dc71491c29f8a217fadbced9ed7d9216f361b6d0fb09dfd030e6fe116e83be0 SHA512 ff5eaf61e7dc133a56a90d100c4b48fd2775145b457febdd1eb9ec39c15ce6bc73665873bbe658d6b4bb94a008d7246317d751a41b5a62b43d2055ed3cb01e02 WHIRLPOOL 3289466f54fb998d4ecc7b757a24e4f7aef88b29e16df75a0e47b5dcb84594462508161d06589a13099df72afa12b90b701efa412cbb352cb21f282b20c6361c DIST github.com-golang-crypto-b176d7def5d71bdd214203491f89843ed217f420.tar.gz 1431191 SHA256 9a7d565a11c3bb0aa78156c3ab6c6d55c2c8ff9e0d7733574b7f2e67fef03ebf SHA512 6cae1da26b6d46c4f080f74b574f5b7d7e1e86eeb83532e19f42e6e098e9f6d0b113cd07e66f43806ace738583262e37cbb7dc229f8d61ad16a5f86372eb539a WHIRLPOOL b2a1b6d19ee5d72e4b38b403bc3142385d543c713fb4729333e1614b114fb81789a4c94974811f67e3c61c0f03aa8f3fc91e61558d85eb507a7812d43052b7e8 DIST github.com-golang-crypto-e1a4589e7d3ea14a3352255d04b6f1a418845e5e.tar.gz 1336856 SHA256 28950420102f0dc290b84a52f06bc5b12a0a2b411b1b4fe216ba4ffe3ec3754e SHA512 c22fc86fbc22d6ec8157f89c075f07db8b72bf63ff97e06c907f555bf865cb77414c4fa2b9974407e43fa4f74b77710d3be9d2646f929fcfd5269b0ffc379914 WHIRLPOOL c85d338f87f5c418009497308ba28bd805769cb5350835dca35f77cce7ce456afe9cbcd66d9db3aea77e3eab0ed228260f7ec2e6825632624d9c80556ed15fbf DIST github.com-golang-net-1c05540f6879653db88113bc4a2b70aec4bd491f.tar.gz 916090 SHA256 37d0bf101e8fc7e1dd8f1aa83ef106befe02fef11dc6a12ea1f7cebdf1a160e1 SHA512 40c070ab27ba31bbf0f0555e2b90b12100246caef36d7bf48d543e432272b0eca6e0deaf49e1e31ff6974b06d6476924818862a9243a8646d0f38b344a09633c WHIRLPOOL d344671f614f0d43a313d1409ba20cad711bf8d3be7b0c52e6d2a7db0a3efbd17369cea70136a095522122a3cbaada7de4d79e2f7ad784b9e7fd8e46d54ec443 +DIST github.com-golang-net-66aacef3dd8a676686c7ae3716979581e8b03c47.tar.gz 917754 SHA256 5140f8089da711f07bcdffd50b262cc9a6d53dc4c2ebeffd5bd6ef04d103775b SHA512 65b7d18e220e84fc588e0485f083473a91f939ec566b48d53668e337056950e1f40b19346bdbadc483dc57072096aef0508254a7148354f5234e26ac8c0063c3 WHIRLPOOL
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: a067360ff9271f9d5c9903410be044a64b875c50 Author: Virgil Dupras hardcoded net> AuthorDate: Sat Aug 19 23:42:21 2017 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 20 08:14:28 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a067360f app-emulation/lxd-2.16: Fix broken SRC_URI My bump to 2.16 had a broken SRC_URI and I didn't notice it because I already had a local "lxd-2.16.tar.gz" distfile. Moreover, this file wasn't even the proper one. This commits fixes the problem, add a missing "zh" locale and removes a spurious patch. Bug: https://bugs.gentoo.org/628334 Closes: https://github.com/gentoo/gentoo/pull/5483 Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-emulation/lxd/Manifest | 2 +- app-emulation/lxd/files/lxd-2.16-fix-fr-po.patch | 11 --- app-emulation/lxd/lxd-2.16.ebuild| 8 +++- 3 files changed, 4 insertions(+), 17 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index b3a0db784cc..73605742341 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -43,4 +43,4 @@ DIST github.com-stretchr-testify-f6abca593680b2315d2075e0f5e2a9751e3f431a.tar.gz DIST github.com-syndtr-gocapability-db04d3cc01c8b54962a58ec7e491717d06cfcc16.tar.gz 9899 SHA256 e63800ecdd704541bafcf8788d651a73599cdead61cd5bccedd31418c4fe58bc SHA512 fdd8a3cc1add7570269df6ad8867fd9d2da7bbf751416a5376ff123dcf959be13912b766f5214123e20fabd242a629e02f3bdaf0680782805afb81f6f08a78ae WHIRLPOOL ec73f593f37d28565f9efe9b21d17175353b922e144842666b81163538b5d464dcdb4857897f5c1a4362fb44637490c3994f958498672fc31054539f2b5c64e3 DIST github.com-syndtr-gocapability-e7cb7fa329f456b3855136a2642b197bad7366ba.tar.gz 9894 SHA256 1c90570f690a5b753633bce84097942021893f180c9d27c0b83f7a1bddaf59d9 SHA512 ee2de5568b76b87723e80e081e16094093f09a6be68dd0920793e007d4b705808ec1eac7a15b4c0ce7ed20aff04978f4ade264ab5bf5bdc5e2fdc46db2f4116c WHIRLPOOL ce1a13e5374248ffccaa613d399447d619ad94156f6ebf198d9e63019bd698496d67770ef520b802c59451ff9ad95d9fd789e8c9f758d1df553e2432c3b29289 DIST lxd-2.14.tar.gz 629982 SHA256 0ccf98257482458ff417c8af141a1f726fe7e696b7ab8b089ed1ee741280b2b8 SHA512 a1b6d7eb055a29ba3c28f9184e6dbac5f279332a6445347bbf8f946ab23b0afb353ac146b379f22922fe678ce034c18dc9d5d2f2dd7704b8cce1730c29dfa9c3 WHIRLPOOL 3483b15f7e09e8212fa5b646e5fc6be305b48e6cfcad5538ff9a4967820928b3f87931ca38fc4787ecab67216d2c876476880551ce56e3ed0c080a7b769e2823 -DIST lxd-2.16.tar.gz 629982 SHA256 0ccf98257482458ff417c8af141a1f726fe7e696b7ab8b089ed1ee741280b2b8 SHA512 a1b6d7eb055a29ba3c28f9184e6dbac5f279332a6445347bbf8f946ab23b0afb353ac146b379f22922fe678ce034c18dc9d5d2f2dd7704b8cce1730c29dfa9c3 WHIRLPOOL 3483b15f7e09e8212fa5b646e5fc6be305b48e6cfcad5538ff9a4967820928b3f87931ca38fc4787ecab67216d2c876476880551ce56e3ed0c080a7b769e2823 +DIST lxd-2.16.tar.gz 707146 SHA256 16d4b09f132f628dbacaa192c02ae27baf91a20a57e26cfea2a24b5af6077680 SHA512 63a870f3613f3e7e917bd06bc748d143586af543901cd4e2159015cb2f20fdf40ba7f04971d6dee2e8a5afd60fc1476cef29783ab5ec5e531c35360fdf83e70f WHIRLPOOL 74b8cdd09801840d87e81317e03d153afab833fff4b58efaf58c7c49703d447fd42d08892b83ef3f18635bdb61ebac0df1651ca99eb3d98710b032283b941b5f diff --git a/app-emulation/lxd/files/lxd-2.16-fix-fr-po.patch b/app-emulation/lxd/files/lxd-2.16-fix-fr-po.patch deleted file mode 100644 index 410efd9987e..000 --- a/app-emulation/lxd/files/lxd-2.16-fix-fr-po.patch +++ /dev/null @@ -1,11 +0,0 @@ /src/github.com/lxc/lxd/po/fr.po -+++ /src/github.com/lxc/lxd/po/fr.po -@@ -1110,7 +1110,7 @@ msgstr "" - "Toutes les fonctionnalités de LXD peuvent être utilisées à l'aide des " - "commandes ci-dessous.\n" - "Pour de l'aide avec l'une des commandes, simplement les utiliser avec --" --"help.\n" -+"help." - - #: lxc/action.go:45 - msgid "Time to wait for the container before killing it" diff --git a/app-emulation/lxd/lxd-2.16.ebuild b/app-emulation/lxd/lxd-2.16.ebuild index 28243c918ab..60e19a973a2 100644 --- a/app-emulation/lxd/lxd-2.16.ebuild +++ b/app-emulation/lxd/lxd-2.16.ebuild @@ -40,12 +40,13 @@ EGO_VENDOR=( "gopkg.in/yaml.v2 eb3733d160e74a9c7e442f435eb3bea458e1d19f github.com/go-yaml/yaml" ) -ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +ARCHIVE_URI="https://${EGO_PN}/archive/${P}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" -PLOCALES="de el fr it ja nl ru sr sv tr" +# Portage complains about zh_Hans missing, but repoman doesn't like it when it's there. +PLOCALES="de el fr it ja nl ru sr sv tr zh" IUSE="+daemon nls test" # IUSE and PLOCALES must be defined before l10n inherited @@ -114,9 +115,6 @@ ERROR_VXLAN="VXLAN: needed for network commands" PATCHES=( "${FILESDIR}/${P}-dont-go-get.patch" - # See https://github.com/lxc/lxd/pull/3390 - # (I thought I could remove this for v2.16, but apparently not...) -
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 382e1758c94118199246542e219d51aa1fa00603 Author: Virgil Dupras hardcoded net> AuthorDate: Tue Aug 15 00:26:33 2017 + Commit: Michał Górny gentoo org> CommitDate: Wed Aug 16 15:20:46 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=382e1758 app-emulation/lxd: remove old versions Closes: https://github.com/gentoo/gentoo/pull/5422 Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-emulation/lxd/Manifest | 3 - app-emulation/lxd/files/lxd-2.11-dont-go-get.patch | 16 -- app-emulation/lxd/files/lxd-2.11.confd | 27 --- app-emulation/lxd/files/lxd-2.11.initd | 46 - app-emulation/lxd/files/lxd-2.11.service | 10 - app-emulation/lxd/files/lxd-2.8-dont-go-get.patch | 22 --- app-emulation/lxd/files/lxd-2.8.confd | 27 --- app-emulation/lxd/files/lxd-2.8.initd | 49 - app-emulation/lxd/files/lxd.service| 12 -- app-emulation/lxd/lxd-2.11.ebuild | 217 - app-emulation/lxd/lxd-2.8.ebuild | 198 --- 11 files changed, 627 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 48e3e54919b..f3db6032669 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -22,7 +22,4 @@ DIST github.com-olekukonko-tablewriter-febf2d34b54a69ce7530036c7503b1c9fbfdf0bb. DIST github.com-pborman-uuid-1b00554d822231195d1babd97ff4a781231955c9.tar.gz 12808 SHA256 54da54d54a914e569fb2b31132e0c458ece12d7cd70c14a33adf95731e07afe7 SHA512 c332bd39781e7a3bd7125bbf26e62da2aca24bb89975491a4165a17580f3ffb99587e4620a9c9c17afff5d34865ae0b86065e1516ca325d0edc4dd84be269283 WHIRLPOOL fb245c1056abe69f7e3fa5a4ded80111777af2fdc107dee3fc36faa25bea8394eb30fda675cbdf124cb01c4165ed08fb154d70c30c8a1812988e2bd86619 DIST github.com-stretchr-testify-f6abca593680b2315d2075e0f5e2a9751e3f431a.tar.gz 94237 SHA256 91f64ae4d5093511464b5ddce34b88b0134219a0a17d638fe148b6cb9f9e261a SHA512 3aaa245f70dcee49b08e5f677dfa2137b00cc0cbc18cd52d773722b951ec579e3f4e146f951de51973630488a9d9efc7c54462842c6fe5987cc099a44f04a03f WHIRLPOOL 3e55426a5f3086c3e46652da4f5bebf214ae620950556b6659b48cad01e51781d836a3c1ea9c692dc59b4a3d4862e16cec1acffd31a0b4853f97c4f67c22c2c8 DIST github.com-syndtr-gocapability-e7cb7fa329f456b3855136a2642b197bad7366ba.tar.gz 9894 SHA256 1c90570f690a5b753633bce84097942021893f180c9d27c0b83f7a1bddaf59d9 SHA512 ee2de5568b76b87723e80e081e16094093f09a6be68dd0920793e007d4b705808ec1eac7a15b4c0ce7ed20aff04978f4ade264ab5bf5bdc5e2fdc46db2f4116c WHIRLPOOL ce1a13e5374248ffccaa613d399447d619ad94156f6ebf198d9e63019bd698496d67770ef520b802c59451ff9ad95d9fd789e8c9f758d1df553e2432c3b29289 -DIST go-flags-460c7bb0abd6e927f2767cadc91aa6ef776a98b4.tar.gz 54792 SHA256 382dbeca4e436aa1717c9a413fc53197eb3f94fbbb0b2ba3b0d1a405c9262504 SHA512 d8c748a2617d0997ad69d64530289dc53a310381ba101b942d3e7df04ef9fd79e1d26879c485cb6e8e5c710f42411dbe5b4b157cfd36a511a19c88d336f34fea WHIRLPOOL fb23a71928c1d3d1cdbb1fecaadfed843b986d2f76a9ca57b171d80051f81a886ec7d8b292b0e054d69ed9e2fd55c1f544767332334655cd01a6c83633d6e711 -DIST lxd-2.11.tar.bz2 2407968 SHA256 829643811a711c8e3c118274d517091b4fbd4701b760e46d7f53fcc4d356455d SHA512 8269a20e0c0c0f3a3a247af15fcda3aa764cd2353d8a7aa9183646dbf19a080ce09bf31ff91a9faca3eda494460a788deabdb145a59c2aa1861f2df89c43294b WHIRLPOOL ba12b4c41969e17b5f9beaa7908ca7be18d3ce35ae27c762a556fe6d59f48962cf0ccaecc512887d40338e6e26ccdc2cdf6c89d87fd1b2028fb5e04f3a74b639 DIST lxd-2.14.tar.gz 629982 SHA256 0ccf98257482458ff417c8af141a1f726fe7e696b7ab8b089ed1ee741280b2b8 SHA512 a1b6d7eb055a29ba3c28f9184e6dbac5f279332a6445347bbf8f946ab23b0afb353ac146b379f22922fe678ce034c18dc9d5d2f2dd7704b8cce1730c29dfa9c3 WHIRLPOOL 3483b15f7e09e8212fa5b646e5fc6be305b48e6cfcad5538ff9a4967820928b3f87931ca38fc4787ecab67216d2c876476880551ce56e3ed0c080a7b769e2823 -DIST lxd-2.8.tar.bz2 2317466 SHA256 57f08bd3c26ea4f32453aa163b502301ae0a80716d6de56b069eeebb35850011 SHA512 fdf906add25ab0b79ea7669ad569873a256f0cfc220ed816b0dc2c9b1e525a19e2606678d90d50c4f548b4322a2896d4c12069337f9571a9a4f6646fb6f673a5 WHIRLPOOL 049f3664e60e8f6fd98c8403db31db6e1dd5f6efed2e74b9007f9f99a4b337e9f58852253d226fc294c4bc964dd6d5d732a8a386606f206a74d83a32470dc1d3 diff --git a/app-emulation/lxd/files/lxd-2.11-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.11-dont-go-get.patch deleted file mode 100644 index 8acd93724a5..000 --- a/app-emulation/lxd/files/lxd-2.11-dont-go-get.patch +++ /dev/null @@ -1,16 +0,0 @@ /Makefile.orig 2016-07-11 23:34:40.299664675 + -+++ /Makefile 2016-07-11 23:37:00.816018727 + -@@ -13,13 +13,11 @@ - - .PHONY: default - default: -- go get -t -v -d ./... - go install -v $(TAGS) $(DEBUG) ./... - @echo "LXD built successfully" - - .PHONY: client - client: -- go get -t -v -d ./... - go install -v $(TAGS) $(DEBUG) ./lxc -
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 7c15f08e00643b789f3ab4fcf80250b982bc5f2c Author: Virgil Dupras hardcoded net> AuthorDate: Thu Jun 8 05:48:44 2017 + Commit: Zac Medico gentoo org> CommitDate: Thu Jun 8 08:43:44 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c15f08e app-emulation/lxd: version bump to 2.14 Package-Manager: Portage-2.3.6, Repoman-2.3.2 app-emulation/lxd/Manifest | 25 +++ app-emulation/lxd/files/lxd-2.14-dont-go-get.patch | 16 ++ app-emulation/lxd/files/lxd-2.14-fix-fr-po.patch | 11 ++ app-emulation/lxd/files/lxd-2.14.confd | 27 +++ app-emulation/lxd/files/lxd-2.14.initd | 46 + app-emulation/lxd/files/lxd-2.14.service | 10 + app-emulation/lxd/lxd-2.14.ebuild | 217 + 7 files changed, 352 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 67814337f99..48e3e54919b 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,3 +1,28 @@ +DIST github.com-dustinkirkland-golang-petname-1f4996aa8aa05ee066aaf9e3179d340b48c6da74.tar.gz 15087 SHA256 727e3b7d4ed0df94b96c99ca69c3505303d4f93173c31b5afce20e6813d6a270 SHA512 7f2d849104993e089aac6abc01844a559239110fbe257469ee918de26ef6d77cc29027324204b38613346c6f0579afc66bd721f56c2c2062354ac31f4e7fd7e3 WHIRLPOOL 857821556293492db1bd1cfbaf6c376846a94e6a13d0c021051827e4be0defdafe4b0c81f4823620b619d04a9fdea077341376d9f4665964475ecd092aa9b343 +DIST github.com-flosch-pongo2-5e81b817a0c48c1c57cdf1a9056cf76bdee02ca9.tar.gz 59915 SHA256 f80d8b1dd92d7f2ea4b48d2e4b20d726156d0920e90ae0d6e8ac540a0d156ba3 SHA512 c40fc45b7a781067cc80a616b5a843977ff29071f7b36400631a7445d6fd8530144e73ecc1f406b2315be0725a214c62bfafb44f904b76d83384d8df488380ee WHIRLPOOL e2a011888949ecdf0ecbce662ea30de731ce7393142d06b9a0116ebdbf46771dde7be89067785663ed93cc45bdc861122112cf8c3b8f6fa27018c0a100066b0a +DIST github.com-go-check-check-20d25e2804050c1cd24a7eea1e7a6447dd0e74ec.tar.gz 30367 SHA256 297ad610c697f409ae1fa434f09da1ba6acdf3bbfcdbe8079dc4b6a6668c12f0 SHA512 94342de3aad4db1c4442062f4cf4e57c723a43bbcb0069a8bed3b719e3864eef7500a24c9c99c755114708d6822e9b23f296b6d0b2b46f32cc6ffc65944d1729 WHIRLPOOL d3341fccb03237d8352c305ca1067449c0e00cc59297f9b14c98f38f2f6d463820469e6f13641dd5341ccc3d07a731b7436ed1a8eb3666e37a79e6447d336c1c +DIST github.com-go-tomb-tomb-d5d1b5820637886def9eef33e03a27a9f166942c.tar.gz 5515 SHA256 2379edcc225238167aa0d45cb28d3561c5193979b136a6cf3443a1fe3b85c78a SHA512 03ac20f7608db7c4ce54cc1ad9dfa62d770c32e1806a131909cb5c1ca4a9708b482e58d0e1bda0dbaff56ed36558a96ce2d4453566813967a32eef5245012a8d WHIRLPOOL fc39214f5e5d7063069f7173bfea57483d3a8f46c586c704d93a9af1ebb534493de343a9f2dbbd51eb22de118db2f0e3e9838ee4df2c414d2921545f2ed3ed7f +DIST github.com-go-yaml-yaml-cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b.tar.gz 60805 SHA256 11a6ce686bb70ab92020f2dffadc2e024e267a6564a62b0091e2974474c7f88d SHA512 268498022f34c4b59b5b75443ee10fd4273203f4b77bfa11b08a792c004cf13e3010c34b4c15cee2b4e7f3c910648d9897700f60ab00b327d78c49e97497fe2b WHIRLPOOL b2d18dc7354fa6e4819c2b1437e3dce55212fbf6e907361b82bfefc0b2306f12cbf70560c3819e2a81426e538949f05be01c6b8b3f3e53a3aa6daf828e95d537 +DIST github.com-golang-crypto-e1a4589e7d3ea14a3352255d04b6f1a418845e5e.tar.gz 1336856 SHA256 28950420102f0dc290b84a52f06bc5b12a0a2b411b1b4fe216ba4ffe3ec3754e SHA512 c22fc86fbc22d6ec8157f89c075f07db8b72bf63ff97e06c907f555bf865cb77414c4fa2b9974407e43fa4f74b77710d3be9d2646f929fcfd5269b0ffc379914 WHIRLPOOL c85d338f87f5c418009497308ba28bd805769cb5350835dca35f77cce7ce456afe9cbcd66d9db3aea77e3eab0ed228260f7ec2e6825632624d9c80556ed15fbf +DIST github.com-golang-net-e4fa1c5465ad6111f206fc92186b8c83d64adbe1.tar.gz 899910 SHA256 a92f1314f40ff6e542ac6e6ea1346cefcfc74e5e5de4939a1baa67c4f86a482b SHA512 0a582e9aa0ecee1c881771715970129d8af5975cccbb797f1e2a7989b17448b26c000ef49fc7a1ae02eddebdfbc52dd2cd9a82b0b3b667b4ee7f62346052 WHIRLPOOL bdd305498d35c9ef3f1eb34878976e165117ec1c9d1eca8a28cb06a4616d54733e4e2504143990d0e74c6901bd5d6f717e2a0132fd0c4f74fdc305c7d983256d +DIST github.com-golang-protobuf-5a0f697c9ed9d68fef0116532c6e05cfeae00e55.tar.gz 252930 SHA256 0f5d73fa192983fd67d0aa6b9f6e0c5fa64a966bfda42f7f4ffbd83163adf02b SHA512 ac284034ee27b275df8adb83ecf4eb85977cc9cf5266384a080df2beb2fdcb84af7e166cabaf76881b95eab4812997ab435adf0abd6068ed967f609b1747b6a7 WHIRLPOOL 87685c46c8813b8d4882aadb0b37437782f509efd8e59068f524cd100e11693bce0939087b923acd5214a14edcf76cf0ad71636ff634989d6c9dd5b02667ecfa +DIST github.com-golang-sync-f52d1811a62927559de87708c8913c1650ce4f26.tar.gz 15326 SHA256 25b869d922114e49906f2d9559c86b23b54f753986e58546d4ad816f426a9ad2 SHA512 912a5afe25c6854e14d72d9d0a897808ab9b67ba4f8428cd04fe7bb3ca815f1bd1b78667587fcd74967f88f44ea591b77616955dd130cc2f98eea922fdbacf61 WHIRLPOOL
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 027c8106615fe6ecfda51e7adc4cfb7ccb142738 Author: Erik Mackdanz gentoo org> AuthorDate: Mon Mar 20 04:51:46 2017 + Commit: Erik Mackdanz gentoo org> CommitDate: Mon Mar 20 04:51:46 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=027c8106 app-emulation/lxd: remove old versions Package-Manager: Portage-2.3.5, Repoman-2.3.2 app-emulation/lxd/Manifest| 2 - app-emulation/lxd/files/lxd-2.5-dont-go-get.patch | 22 --- app-emulation/lxd/files/lxd-2.5.confd | 27 --- app-emulation/lxd/files/lxd-2.5.initd | 49 -- app-emulation/lxd/files/lxd-2.7-dont-go-get.patch | 22 --- app-emulation/lxd/files/lxd-2.7.confd | 27 --- app-emulation/lxd/files/lxd-2.7.initd | 49 -- app-emulation/lxd/lxd-2.5.ebuild | 194 - app-emulation/lxd/lxd-2.7.ebuild | 198 -- 9 files changed, 590 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 53b58ba48e1..dba7edb0899 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,4 +1,2 @@ DIST lxd-2.11.tar.bz2 2407968 SHA256 829643811a711c8e3c118274d517091b4fbd4701b760e46d7f53fcc4d356455d SHA512 8269a20e0c0c0f3a3a247af15fcda3aa764cd2353d8a7aa9183646dbf19a080ce09bf31ff91a9faca3eda494460a788deabdb145a59c2aa1861f2df89c43294b WHIRLPOOL ba12b4c41969e17b5f9beaa7908ca7be18d3ce35ae27c762a556fe6d59f48962cf0ccaecc512887d40338e6e26ccdc2cdf6c89d87fd1b2028fb5e04f3a74b639 -DIST lxd-2.5.tar.bz2 2267313 SHA256 d87ac77ec6f47cd3e3417a78b0c315dac367bc89c532cf1784d80b31e57cfc8d SHA512 c023f2b9ccd958560eead23806cb60a04371a3721420f5c0d65e55cf2d7647d6690677619c4f8fa91573545817a1444d9d61f6a2b6ca8c3870136911cb1fbce9 WHIRLPOOL e4702e2597c5fe88ffa5139b829146ea474959799910bed79db617d9486da73d9de77c1ad398c1112d04109a858e5684f2c676bfe9fd4d68cf5081fbc0f6ae7a -DIST lxd-2.7.tar.bz2 2309735 SHA256 2681a77888e19ed95ea0bd562dee9d03d703d01d25ab8cb8e80eb6c6a5f115ed SHA512 53a34e96a1478bd73f5b12988a10162fc4d93554cfd66a38a82879662e63a6d34cbdba432dea6e45733cb66f3b40b46146c4be2d38a66eb3d553f8157104b212 WHIRLPOOL 7fd13e545c632ee16b96f172948509838bcd85fe3541bd014168acb978811827367d86461eb68579fd6aaf3311a87f960057f207eb9b5a6b908a0aac81a5004d DIST lxd-2.8.tar.bz2 2317466 SHA256 57f08bd3c26ea4f32453aa163b502301ae0a80716d6de56b069eeebb35850011 SHA512 fdf906add25ab0b79ea7669ad569873a256f0cfc220ed816b0dc2c9b1e525a19e2606678d90d50c4f548b4322a2896d4c12069337f9571a9a4f6646fb6f673a5 WHIRLPOOL 049f3664e60e8f6fd98c8403db31db6e1dd5f6efed2e74b9007f9f99a4b337e9f58852253d226fc294c4bc964dd6d5d732a8a386606f206a74d83a32470dc1d3 diff --git a/app-emulation/lxd/files/lxd-2.5-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.5-dont-go-get.patch deleted file mode 100644 index 9402de57735..000 --- a/app-emulation/lxd/files/lxd-2.5-dont-go-get.patch +++ /dev/null @@ -1,22 +0,0 @@ /Makefile.orig 2016-07-11 23:34:40.299664675 + -+++ /Makefile 2016-07-11 23:37:00.816018727 + -@@ -12,19 +12,11 @@ - - .PHONY: default - default: -- # Must a few times due to go get race -- -go get -t -v -d ./... -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v $(DEBUG) ./... - @echo "LXD built successfully" - - .PHONY: client - client: -- # Must a few times due to go get race -- -go get -t -v -d ./... -- -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.5.confd b/app-emulation/lxd/files/lxd-2.5.confd deleted file mode 100644 index 3d553276a5e..000 --- a/app-emulation/lxd/files/lxd-2.5.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.5.initd b/app-emulation/lxd/files/lxd-2.5.initd deleted file mode 100644 index 9a9d623a278..000 --- a/app-emulation/lxd/files/lxd-2.5.initd +++ /dev/null @@ -1,49 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -DAEMON=/usr/sbin/lxd -PIDFILE=/run/lxd.pid - -extra_commands="stopall" - -depend() { -need net -use lxcfs - -# remove with 2.0 release -need cgmanager -} - -start() { -
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 2f378df458a5f692fdee3e2c0a47f69fa7dd8376 Author: Erik Mackdanz gentoo org> AuthorDate: Mon Mar 20 04:35:03 2017 + Commit: Erik Mackdanz gentoo org> CommitDate: Mon Mar 20 04:35:03 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f378df4 app-emulation/lxd: version bump to 2.11 Gentoo-Bug: 612170 Gentoo-Bug: 610718 Gentoo-Bug: 609146 Package-Manager: Portage-2.3.5, Repoman-2.3.2 app-emulation/lxd/Manifest | 1 + app-emulation/lxd/files/lxd-2.11-dont-go-get.patch | 16 ++ app-emulation/lxd/files/lxd-2.11.confd | 27 +++ app-emulation/lxd/files/lxd-2.11.initd | 46 + app-emulation/lxd/files/lxd-2.11.service | 10 ++ app-emulation/lxd/lxd-2.11.ebuild | 197 + 6 files changed, 297 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 8ad8ab8d2b5..53b58ba48e1 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,3 +1,4 @@ +DIST lxd-2.11.tar.bz2 2407968 SHA256 829643811a711c8e3c118274d517091b4fbd4701b760e46d7f53fcc4d356455d SHA512 8269a20e0c0c0f3a3a247af15fcda3aa764cd2353d8a7aa9183646dbf19a080ce09bf31ff91a9faca3eda494460a788deabdb145a59c2aa1861f2df89c43294b WHIRLPOOL ba12b4c41969e17b5f9beaa7908ca7be18d3ce35ae27c762a556fe6d59f48962cf0ccaecc512887d40338e6e26ccdc2cdf6c89d87fd1b2028fb5e04f3a74b639 DIST lxd-2.5.tar.bz2 2267313 SHA256 d87ac77ec6f47cd3e3417a78b0c315dac367bc89c532cf1784d80b31e57cfc8d SHA512 c023f2b9ccd958560eead23806cb60a04371a3721420f5c0d65e55cf2d7647d6690677619c4f8fa91573545817a1444d9d61f6a2b6ca8c3870136911cb1fbce9 WHIRLPOOL e4702e2597c5fe88ffa5139b829146ea474959799910bed79db617d9486da73d9de77c1ad398c1112d04109a858e5684f2c676bfe9fd4d68cf5081fbc0f6ae7a DIST lxd-2.7.tar.bz2 2309735 SHA256 2681a77888e19ed95ea0bd562dee9d03d703d01d25ab8cb8e80eb6c6a5f115ed SHA512 53a34e96a1478bd73f5b12988a10162fc4d93554cfd66a38a82879662e63a6d34cbdba432dea6e45733cb66f3b40b46146c4be2d38a66eb3d553f8157104b212 WHIRLPOOL 7fd13e545c632ee16b96f172948509838bcd85fe3541bd014168acb978811827367d86461eb68579fd6aaf3311a87f960057f207eb9b5a6b908a0aac81a5004d DIST lxd-2.8.tar.bz2 2317466 SHA256 57f08bd3c26ea4f32453aa163b502301ae0a80716d6de56b069eeebb35850011 SHA512 fdf906add25ab0b79ea7669ad569873a256f0cfc220ed816b0dc2c9b1e525a19e2606678d90d50c4f548b4322a2896d4c12069337f9571a9a4f6646fb6f673a5 WHIRLPOOL 049f3664e60e8f6fd98c8403db31db6e1dd5f6efed2e74b9007f9f99a4b337e9f58852253d226fc294c4bc964dd6d5d732a8a386606f206a74d83a32470dc1d3 diff --git a/app-emulation/lxd/files/lxd-2.11-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.11-dont-go-get.patch new file mode 100644 index 000..8acd93724a5 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.11-dont-go-get.patch @@ -0,0 +1,16 @@ +--- /Makefile.orig 2016-07-11 23:34:40.299664675 + /Makefile 2016-07-11 23:37:00.816018727 + +@@ -13,13 +13,11 @@ + + .PHONY: default + default: +- go get -t -v -d ./... + go install -v $(TAGS) $(DEBUG) ./... + @echo "LXD built successfully" + + .PHONY: client + client: +- go get -t -v -d ./... + go install -v $(TAGS) $(DEBUG) ./lxc + @echo "LXD client built successfully" + diff --git a/app-emulation/lxd/files/lxd-2.11.confd b/app-emulation/lxd/files/lxd-2.11.confd new file mode 100644 index 000..3d553276a5e --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.11.confd @@ -0,0 +1,27 @@ +# 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.11.initd b/app-emulation/lxd/files/lxd-2.11.initd new file mode 100644 index 000..be1fb167004 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.11.initd @@ -0,0 +1,46 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +DAEMON=/usr/sbin/lxd +PIDFILE=/run/lxd.pid + +extra_commands="stopall" + +depend() { +need net +use lxcfs +} + +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 +
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 7536f6915608b79729c01e01b6c69cc9bc2fe026 Author: Erik Mackdanz gentoo org> AuthorDate: Mon Jan 30 01:53:44 2017 + Commit: Erik Mackdanz gentoo org> CommitDate: Mon Jan 30 01:53:44 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7536f691 app-emulation/lxd: bump to 2.8 Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-emulation/lxd/Manifest| 1 + app-emulation/lxd/files/lxd-2.8-dont-go-get.patch | 22 +++ app-emulation/lxd/files/lxd-2.8.confd | 27 +++ app-emulation/lxd/files/lxd-2.8.initd | 50 ++ app-emulation/lxd/lxd-2.8.ebuild | 199 ++ 5 files changed, 299 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index d0ab9fe..8ad8ab8 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,2 +1,3 @@ DIST lxd-2.5.tar.bz2 2267313 SHA256 d87ac77ec6f47cd3e3417a78b0c315dac367bc89c532cf1784d80b31e57cfc8d SHA512 c023f2b9ccd958560eead23806cb60a04371a3721420f5c0d65e55cf2d7647d6690677619c4f8fa91573545817a1444d9d61f6a2b6ca8c3870136911cb1fbce9 WHIRLPOOL e4702e2597c5fe88ffa5139b829146ea474959799910bed79db617d9486da73d9de77c1ad398c1112d04109a858e5684f2c676bfe9fd4d68cf5081fbc0f6ae7a DIST lxd-2.7.tar.bz2 2309735 SHA256 2681a77888e19ed95ea0bd562dee9d03d703d01d25ab8cb8e80eb6c6a5f115ed SHA512 53a34e96a1478bd73f5b12988a10162fc4d93554cfd66a38a82879662e63a6d34cbdba432dea6e45733cb66f3b40b46146c4be2d38a66eb3d553f8157104b212 WHIRLPOOL 7fd13e545c632ee16b96f172948509838bcd85fe3541bd014168acb978811827367d86461eb68579fd6aaf3311a87f960057f207eb9b5a6b908a0aac81a5004d +DIST lxd-2.8.tar.bz2 2317466 SHA256 57f08bd3c26ea4f32453aa163b502301ae0a80716d6de56b069eeebb35850011 SHA512 fdf906add25ab0b79ea7669ad569873a256f0cfc220ed816b0dc2c9b1e525a19e2606678d90d50c4f548b4322a2896d4c12069337f9571a9a4f6646fb6f673a5 WHIRLPOOL 049f3664e60e8f6fd98c8403db31db6e1dd5f6efed2e74b9007f9f99a4b337e9f58852253d226fc294c4bc964dd6d5d732a8a386606f206a74d83a32470dc1d3 diff --git a/app-emulation/lxd/files/lxd-2.8-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.8-dont-go-get.patch new file mode 100644 index ..9402de5 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.8-dont-go-get.patch @@ -0,0 +1,22 @@ +--- /Makefile.orig 2016-07-11 23:34:40.299664675 + /Makefile 2016-07-11 23:37:00.816018727 + +@@ -12,19 +12,11 @@ + + .PHONY: default + default: +- # Must a few times due to go get race +- -go get -t -v -d ./... +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v $(DEBUG) ./... + @echo "LXD built successfully" + + .PHONY: client + client: +- # Must a few times due to go get race +- -go get -t -v -d ./... +- -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.8.confd b/app-emulation/lxd/files/lxd-2.8.confd new file mode 100644 index ..3d55327 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.8.confd @@ -0,0 +1,27 @@ +# 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.8.initd b/app-emulation/lxd/files/lxd-2.8.initd new file mode 100644 index ..98b89bd --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.8.initd @@ -0,0 +1,50 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 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 +
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 31abbad829524ad9b08457dae4236ad3168f65b1 Author: Erik Mackdanz gentoo org> AuthorDate: Tue Jan 3 04:04:07 2017 + Commit: Erik Mackdanz gentoo org> CommitDate: Tue Jan 3 04:04:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31abbad8 app-emulation/lxd: Bump to 2.7 Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-emulation/lxd/Manifest| 1 + app-emulation/lxd/files/lxd-2.7-dont-go-get.patch | 22 +++ app-emulation/lxd/files/lxd-2.7.confd | 27 +++ app-emulation/lxd/files/lxd-2.7.initd | 50 ++ app-emulation/lxd/lxd-2.7.ebuild | 199 ++ 5 files changed, 299 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index cb63251..edd2aef 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -2,3 +2,4 @@ DIST lxd-2.2.tar.bz2 2234844 SHA256 c76b8698a9266afa5e4aec3ccaa283226cc52232e10a DIST lxd-2.3.tar.bz2 2248758 SHA256 cd746b3f9682e50b7973e6175a5b48b999748face9e4b515491773ade9d754c4 SHA512 746ea9c2e9266a8482a62fc9e9fdb83f0713b0094e1b52957c5bf2fbd00f4bf1d7a0978086ab123d60ac02bd0dd1f00d46801959ced3b01308170dd7911c7bdc WHIRLPOOL f899e78bd3082ddd46dab5d09d83fe23a23aabbee09488f48ef2ff4a9f3bc41878ecb50b4223235c12962b01468c7b0124c0ae54e60d452f224824cbc89d144e DIST lxd-2.4.1.tar.bz2 2257768 SHA256 4a02c74819870be5df71227f90be4bc1b7cb90784c115c9f96a6174c8d4dcf75 SHA512 84ce4911a55d495f809a4174061577eceba0b3cd0381170a23fea91651049e43ec809494bf885b315b2d5fde7cda19ee29eed71259b88d3a789fd87c26aac3db WHIRLPOOL 70a2eb3c6b239e9d8682005134ae5c8e991b2f331685b971e1e8d09173aec8c34848527c9f893af0f937384d0f33f7a9e626f8063a00e2fa450331acf00ad7fe DIST lxd-2.5.tar.bz2 2267313 SHA256 d87ac77ec6f47cd3e3417a78b0c315dac367bc89c532cf1784d80b31e57cfc8d SHA512 c023f2b9ccd958560eead23806cb60a04371a3721420f5c0d65e55cf2d7647d6690677619c4f8fa91573545817a1444d9d61f6a2b6ca8c3870136911cb1fbce9 WHIRLPOOL e4702e2597c5fe88ffa5139b829146ea474959799910bed79db617d9486da73d9de77c1ad398c1112d04109a858e5684f2c676bfe9fd4d68cf5081fbc0f6ae7a +DIST lxd-2.7.tar.bz2 2309735 SHA256 2681a77888e19ed95ea0bd562dee9d03d703d01d25ab8cb8e80eb6c6a5f115ed SHA512 53a34e96a1478bd73f5b12988a10162fc4d93554cfd66a38a82879662e63a6d34cbdba432dea6e45733cb66f3b40b46146c4be2d38a66eb3d553f8157104b212 WHIRLPOOL 7fd13e545c632ee16b96f172948509838bcd85fe3541bd014168acb978811827367d86461eb68579fd6aaf3311a87f960057f207eb9b5a6b908a0aac81a5004d diff --git a/app-emulation/lxd/files/lxd-2.7-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.7-dont-go-get.patch new file mode 100644 index ..9402de5 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.7-dont-go-get.patch @@ -0,0 +1,22 @@ +--- /Makefile.orig 2016-07-11 23:34:40.299664675 + /Makefile 2016-07-11 23:37:00.816018727 + +@@ -12,19 +12,11 @@ + + .PHONY: default + default: +- # Must a few times due to go get race +- -go get -t -v -d ./... +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v $(DEBUG) ./... + @echo "LXD built successfully" + + .PHONY: client + client: +- # Must a few times due to go get race +- -go get -t -v -d ./... +- -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.7.confd b/app-emulation/lxd/files/lxd-2.7.confd new file mode 100644 index ..3d55327 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.7.confd @@ -0,0 +1,27 @@ +# 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.7.initd b/app-emulation/lxd/files/lxd-2.7.initd new file mode 100644 index ..98b89bd --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.7.initd @@ -0,0 +1,50 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 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 \ +
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 3280f0a52600244c29c9b6b943cb9f3455b387d8 Author: Erik Mackdanz gentoo org> AuthorDate: Tue Oct 11 04:22:24 2016 + Commit: Erik Mackdanz gentoo org> CommitDate: Tue Oct 11 04:22:24 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3280f0a5 app-emulation/lxd: Bump to 2.4.1 Package-Manager: portage-2.3.1 app-emulation/lxd/Manifest | 1 + .../lxd/files/lxd-2.4.1-dont-go-get.patch | 22 +++ app-emulation/lxd/files/lxd-2.4.1.confd| 27 +++ app-emulation/lxd/files/lxd-2.4.1.initd| 50 ++ app-emulation/lxd/lxd-2.4.1.ebuild | 195 + 5 files changed, 295 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index b4ba1ca..20f1f79 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,2 +1,3 @@ DIST lxd-2.2.tar.bz2 2234844 SHA256 c76b8698a9266afa5e4aec3ccaa283226cc52232e10ad376f02c4bcd000126b7 SHA512 272cd02f8533a18a51739fd2698f239cd57ae852fbf828d3dc53ed1253629808984720bde9173ae7df1f9e94389ab929b53893e7b57c2d0f6571744365c1c93a WHIRLPOOL d76c5ed9bedde8d51403a452bfc1f33bcb19d71fca79439c63f2b70bd58544ff0c05f4008f2603935dd1c63c4d0ea5c733775c723330de692fc5f6cd471d1529 DIST lxd-2.3.tar.bz2 2248758 SHA256 cd746b3f9682e50b7973e6175a5b48b999748face9e4b515491773ade9d754c4 SHA512 746ea9c2e9266a8482a62fc9e9fdb83f0713b0094e1b52957c5bf2fbd00f4bf1d7a0978086ab123d60ac02bd0dd1f00d46801959ced3b01308170dd7911c7bdc WHIRLPOOL f899e78bd3082ddd46dab5d09d83fe23a23aabbee09488f48ef2ff4a9f3bc41878ecb50b4223235c12962b01468c7b0124c0ae54e60d452f224824cbc89d144e +DIST lxd-2.4.1.tar.bz2 2257768 SHA256 4a02c74819870be5df71227f90be4bc1b7cb90784c115c9f96a6174c8d4dcf75 SHA512 84ce4911a55d495f809a4174061577eceba0b3cd0381170a23fea91651049e43ec809494bf885b315b2d5fde7cda19ee29eed71259b88d3a789fd87c26aac3db WHIRLPOOL 70a2eb3c6b239e9d8682005134ae5c8e991b2f331685b971e1e8d09173aec8c34848527c9f893af0f937384d0f33f7a9e626f8063a00e2fa450331acf00ad7fe diff --git a/app-emulation/lxd/files/lxd-2.4.1-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.4.1-dont-go-get.patch new file mode 100644 index ..9402de5 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.4.1-dont-go-get.patch @@ -0,0 +1,22 @@ +--- /Makefile.orig 2016-07-11 23:34:40.299664675 + /Makefile 2016-07-11 23:37:00.816018727 + +@@ -12,19 +12,11 @@ + + .PHONY: default + default: +- # Must a few times due to go get race +- -go get -t -v -d ./... +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v $(DEBUG) ./... + @echo "LXD built successfully" + + .PHONY: client + client: +- # Must a few times due to go get race +- -go get -t -v -d ./... +- -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.4.1.confd b/app-emulation/lxd/files/lxd-2.4.1.confd new file mode 100644 index ..3d55327 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.4.1.confd @@ -0,0 +1,27 @@ +# 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.4.1.initd b/app-emulation/lxd/files/lxd-2.4.1.initd new file mode 100644 index ..c1aef37 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.4.1.initd @@ -0,0 +1,50 @@ +#!/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 +
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: dfd8213e9a35ed9565ca2472aad509d12c784c16 Author: Erik Mackdanz gentoo org> AuthorDate: Tue Oct 4 01:46:20 2016 + Commit: Erik Mackdanz gentoo org> CommitDate: Tue Oct 4 01:46:20 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfd8213e app-emulation/lxd: remove old Package-Manager: portage-2.3.1 app-emulation/lxd/Manifest | 2 - .../lxd/files/lxd-2.0.3-dont-go-get.patch | 22 --- app-emulation/lxd/files/lxd-2.0.3.confd| 27 app-emulation/lxd/files/lxd-2.0.3.initd| 50 --- app-emulation/lxd/files/lxd-2.1-dont-go-get.patch | 22 --- app-emulation/lxd/files/lxd-2.1.confd | 27 app-emulation/lxd/files/lxd-2.1.initd | 50 --- app-emulation/lxd/lxd-2.0.3-r1.ebuild | 156 - app-emulation/lxd/lxd-2.1.ebuild | 156 - 9 files changed, 512 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index ac467d7..b4ba1ca 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,4 +1,2 @@ -DIST lxd-2.0.3.tar.bz2 2349842 SHA256 fb8a56e08da776f5210970a12e61b2e7b751328b5628e6fbebde231952b907a9 SHA512 62ac76bee0ff151343d0686da9376ff16965af5de19b50055bad86461dc2dd8e06544ee39640537f8352ec03b584ed32cf70cce9c7c961285d9ea567c617330e WHIRLPOOL 60204498c0a104310ddb28e42ea8889830c2f0e8c830c683b51d5cdbc92380de7c7964961fc7a34b32c7cb4dccaa4222f017b0d8948f54d5044770c066141319 -DIST lxd-2.1.tar.bz2 2260663 SHA256 6513d0576c8579668e480c4a663ffda9c3788b7d72338dbd443567a2da0d52d2 SHA512 4da46c256035253a7c0447cfc3f6887116b99f7bb4757b2b54dba436107a56dbab5973c654ea5c39760fac6b590ee9eb99ecc81b357b37a212990b25b9fa9ee9 WHIRLPOOL 90256881584a8b1d8ebe6d774a3d5614a634be06bbc0e0a51284ea842e590a21b8fc9b1eb228cca65b45306ed9750e10c81847663d2b6676ba192870aa8569a7 DIST lxd-2.2.tar.bz2 2234844 SHA256 c76b8698a9266afa5e4aec3ccaa283226cc52232e10ad376f02c4bcd000126b7 SHA512 272cd02f8533a18a51739fd2698f239cd57ae852fbf828d3dc53ed1253629808984720bde9173ae7df1f9e94389ab929b53893e7b57c2d0f6571744365c1c93a WHIRLPOOL d76c5ed9bedde8d51403a452bfc1f33bcb19d71fca79439c63f2b70bd58544ff0c05f4008f2603935dd1c63c4d0ea5c733775c723330de692fc5f6cd471d1529 DIST lxd-2.3.tar.bz2 2248758 SHA256 cd746b3f9682e50b7973e6175a5b48b999748face9e4b515491773ade9d754c4 SHA512 746ea9c2e9266a8482a62fc9e9fdb83f0713b0094e1b52957c5bf2fbd00f4bf1d7a0978086ab123d60ac02bd0dd1f00d46801959ced3b01308170dd7911c7bdc WHIRLPOOL f899e78bd3082ddd46dab5d09d83fe23a23aabbee09488f48ef2ff4a9f3bc41878ecb50b4223235c12962b01468c7b0124c0ae54e60d452f224824cbc89d144e diff --git a/app-emulation/lxd/files/lxd-2.0.3-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.0.3-dont-go-get.patch deleted file mode 100644 index 9402de5.. --- a/app-emulation/lxd/files/lxd-2.0.3-dont-go-get.patch +++ /dev/null @@ -1,22 +0,0 @@ /Makefile.orig 2016-07-11 23:34:40.299664675 + -+++ /Makefile 2016-07-11 23:37:00.816018727 + -@@ -12,19 +12,11 @@ - - .PHONY: default - default: -- # Must a few times due to go get race -- -go get -t -v -d ./... -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v $(DEBUG) ./... - @echo "LXD built successfully" - - .PHONY: client - client: -- # Must a few times due to go get race -- -go get -t -v -d ./... -- -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.3.confd b/app-emulation/lxd/files/lxd-2.0.3.confd deleted file mode 100644 index 3d55327.. --- a/app-emulation/lxd/files/lxd-2.0.3.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.3.initd b/app-emulation/lxd/files/lxd-2.0.3.initd deleted file mode 100644 index c1aef37.. --- a/app-emulation/lxd/files/lxd-2.0.3.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
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 6fe1385c260dcb6ffd1c5233f8e73c961e74e189 Author: Erik Mackdanz gentoo org> AuthorDate: Tue Oct 4 01:39:06 2016 + Commit: Erik Mackdanz gentoo org> CommitDate: Tue Oct 4 01:39:06 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fe1385c app-emulation/lxd: bump to 2.3 Adds the network subcommand, and addresses a go version dep issue. Gentoo-Bug: 593044 Package-Manager: portage-2.3.1 app-emulation/lxd/Manifest| 1 + app-emulation/lxd/files/lxd-2.3-dont-go-get.patch | 22 +++ app-emulation/lxd/files/lxd-2.3.confd | 27 +++ app-emulation/lxd/files/lxd-2.3.initd | 50 ++ app-emulation/lxd/lxd-2.3.ebuild | 192 ++ 5 files changed, 292 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 99d98b2..ac467d7 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,3 +1,4 @@ DIST lxd-2.0.3.tar.bz2 2349842 SHA256 fb8a56e08da776f5210970a12e61b2e7b751328b5628e6fbebde231952b907a9 SHA512 62ac76bee0ff151343d0686da9376ff16965af5de19b50055bad86461dc2dd8e06544ee39640537f8352ec03b584ed32cf70cce9c7c961285d9ea567c617330e WHIRLPOOL 60204498c0a104310ddb28e42ea8889830c2f0e8c830c683b51d5cdbc92380de7c7964961fc7a34b32c7cb4dccaa4222f017b0d8948f54d5044770c066141319 DIST lxd-2.1.tar.bz2 2260663 SHA256 6513d0576c8579668e480c4a663ffda9c3788b7d72338dbd443567a2da0d52d2 SHA512 4da46c256035253a7c0447cfc3f6887116b99f7bb4757b2b54dba436107a56dbab5973c654ea5c39760fac6b590ee9eb99ecc81b357b37a212990b25b9fa9ee9 WHIRLPOOL 90256881584a8b1d8ebe6d774a3d5614a634be06bbc0e0a51284ea842e590a21b8fc9b1eb228cca65b45306ed9750e10c81847663d2b6676ba192870aa8569a7 DIST lxd-2.2.tar.bz2 2234844 SHA256 c76b8698a9266afa5e4aec3ccaa283226cc52232e10ad376f02c4bcd000126b7 SHA512 272cd02f8533a18a51739fd2698f239cd57ae852fbf828d3dc53ed1253629808984720bde9173ae7df1f9e94389ab929b53893e7b57c2d0f6571744365c1c93a WHIRLPOOL d76c5ed9bedde8d51403a452bfc1f33bcb19d71fca79439c63f2b70bd58544ff0c05f4008f2603935dd1c63c4d0ea5c733775c723330de692fc5f6cd471d1529 +DIST lxd-2.3.tar.bz2 2248758 SHA256 cd746b3f9682e50b7973e6175a5b48b999748face9e4b515491773ade9d754c4 SHA512 746ea9c2e9266a8482a62fc9e9fdb83f0713b0094e1b52957c5bf2fbd00f4bf1d7a0978086ab123d60ac02bd0dd1f00d46801959ced3b01308170dd7911c7bdc WHIRLPOOL f899e78bd3082ddd46dab5d09d83fe23a23aabbee09488f48ef2ff4a9f3bc41878ecb50b4223235c12962b01468c7b0124c0ae54e60d452f224824cbc89d144e diff --git a/app-emulation/lxd/files/lxd-2.3-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.3-dont-go-get.patch new file mode 100644 index ..9402de5 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.3-dont-go-get.patch @@ -0,0 +1,22 @@ +--- /Makefile.orig 2016-07-11 23:34:40.299664675 + /Makefile 2016-07-11 23:37:00.816018727 + +@@ -12,19 +12,11 @@ + + .PHONY: default + default: +- # Must a few times due to go get race +- -go get -t -v -d ./... +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v $(DEBUG) ./... + @echo "LXD built successfully" + + .PHONY: client + client: +- # Must a few times due to go get race +- -go get -t -v -d ./... +- -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.3.confd b/app-emulation/lxd/files/lxd-2.3.confd new file mode 100644 index ..3d55327 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.3.confd @@ -0,0 +1,27 @@ +# 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.3.initd b/app-emulation/lxd/files/lxd-2.3.initd new file mode 100644 index ..c1aef37 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.3.initd @@ -0,0 +1,50 @@ +#!/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 \ +
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: fc50c0f7bb680462f6b6299dccc15b1cb023d53f Author: Erik Mackdanz gentoo org> AuthorDate: Sun Sep 4 17:51:24 2016 + Commit: Erik Mackdanz gentoo org> CommitDate: Sun Sep 4 17:51:24 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc50c0f7 app-emulation/lxd: bump to 2.1 Package-Manager: portage-2.3.0 app-emulation/lxd/Manifest| 1 + app-emulation/lxd/files/lxd-2.1-dont-go-get.patch | 22 +++ app-emulation/lxd/files/lxd-2.1.confd | 27 app-emulation/lxd/files/lxd-2.1.initd | 50 +++ app-emulation/lxd/lxd-2.1.ebuild | 156 ++ 5 files changed, 256 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 5ecedc5..55bbeca 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1 +1,2 @@ DIST lxd-2.0.3.tar.bz2 2349842 SHA256 fb8a56e08da776f5210970a12e61b2e7b751328b5628e6fbebde231952b907a9 SHA512 62ac76bee0ff151343d0686da9376ff16965af5de19b50055bad86461dc2dd8e06544ee39640537f8352ec03b584ed32cf70cce9c7c961285d9ea567c617330e WHIRLPOOL 60204498c0a104310ddb28e42ea8889830c2f0e8c830c683b51d5cdbc92380de7c7964961fc7a34b32c7cb4dccaa4222f017b0d8948f54d5044770c066141319 +DIST lxd-2.1.tar.bz2 2260663 SHA256 6513d0576c8579668e480c4a663ffda9c3788b7d72338dbd443567a2da0d52d2 SHA512 4da46c256035253a7c0447cfc3f6887116b99f7bb4757b2b54dba436107a56dbab5973c654ea5c39760fac6b590ee9eb99ecc81b357b37a212990b25b9fa9ee9 WHIRLPOOL 90256881584a8b1d8ebe6d774a3d5614a634be06bbc0e0a51284ea842e590a21b8fc9b1eb228cca65b45306ed9750e10c81847663d2b6676ba192870aa8569a7 diff --git a/app-emulation/lxd/files/lxd-2.1-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.1-dont-go-get.patch new file mode 100644 index ..9402de5 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.1-dont-go-get.patch @@ -0,0 +1,22 @@ +--- /Makefile.orig 2016-07-11 23:34:40.299664675 + /Makefile 2016-07-11 23:37:00.816018727 + +@@ -12,19 +12,11 @@ + + .PHONY: default + default: +- # Must a few times due to go get race +- -go get -t -v -d ./... +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v $(DEBUG) ./... + @echo "LXD built successfully" + + .PHONY: client + client: +- # Must a few times due to go get race +- -go get -t -v -d ./... +- -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.1.confd b/app-emulation/lxd/files/lxd-2.1.confd new file mode 100644 index ..3d55327 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.1.confd @@ -0,0 +1,27 @@ +# 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.1.initd b/app-emulation/lxd/files/lxd-2.1.initd new file mode 100644 index ..c1aef37 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.1.initd @@ -0,0 +1,50 @@ +#!/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 $? +} diff --git a/app-emulation/lxd/lxd-2.1.ebuild b/app-emulation/lxd/lxd-2.1.ebuild new file mode 100644 index ..b5754f1 --- /dev/null +++ b/app-emulation/lxd/lxd-2.1.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 909327211eb03cecf7b16f41e65722c2d2f5fd23 Author: Pacho Ramos gentoo org> AuthorDate: Wed Aug 24 10:33:07 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Wed Aug 24 10:37:49 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90932721 app-emulation/lxd: Drop old Package-Manager: portage-2.3.0 app-emulation/lxd/Manifest | 2 - .../lxd/files/lxd-2.0.1-dont-go-get.patch | 20 --- app-emulation/lxd/files/lxd-2.0.1.confd| 27 app-emulation/lxd/files/lxd-2.0.1.initd| 50 --- .../lxd/files/lxd-2.0.2-dont-go-get.patch | 20 --- app-emulation/lxd/files/lxd-2.0.2.confd| 27 app-emulation/lxd/files/lxd-2.0.2.initd| 50 --- app-emulation/lxd/lxd-2.0.1.ebuild | 149 app-emulation/lxd/lxd-2.0.2.ebuild | 149 app-emulation/lxd/lxd-2.0.3.ebuild | 155 - 10 files changed, 649 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 5d37b24..5ecedc5 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,3 +1 @@ -DIST lxd-2.0.1.tar.bz2 2330217 SHA256 b9a315825bfc66469a442f3b3da73e2af97dba270ffe1bc18c871cd6c1c7ad69 SHA512 67b1c42a0957bd2f4963c860372211dbbc38cb8e9346e83c6319749efd9e1a188c00033865901d285650298531460b9f54cba0e88d0973179c0c17bcd30cc97d WHIRLPOOL 4ae640fc6410dff9d08816a6ac7ddb47a4cce9dfbbfaa65baf8456517aca25a501b0e680d9a6855a0fa3b9efe8cd1eddb0a9981d43de9ef573c16be936f5104a -DIST lxd-2.0.2.tar.bz2 2340565 SHA256 0054b0e79ba0bc1a1189eb63ca8ac2ca2bafd10c500ce53f67abbd5abc03b542 SHA512 c79f1c7f0aeb289ba7bea745917aaac0d339baf0e6b4fe62cbcb67b8da072ef135e971d4c17546e2e208aeae921ad2853073493f9e7a6e300876bd72b808e516 WHIRLPOOL a30bddfc79ad0c7d941db811f1942fff67afc79a217a251d55b1cf37d80cdb21f8f1f72df268382cbcd34d408005ef4185f5bd59f95369b51558938352f05c60 DIST lxd-2.0.3.tar.bz2 2349842 SHA256 fb8a56e08da776f5210970a12e61b2e7b751328b5628e6fbebde231952b907a9 SHA512 62ac76bee0ff151343d0686da9376ff16965af5de19b50055bad86461dc2dd8e06544ee39640537f8352ec03b584ed32cf70cce9c7c961285d9ea567c617330e WHIRLPOOL 60204498c0a104310ddb28e42ea8889830c2f0e8c830c683b51d5cdbc92380de7c7964961fc7a34b32c7cb4dccaa4222f017b0d8948f54d5044770c066141319 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 d2e622e.. --- 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 + -+++ Makefile 2016-02-19 00:18:10.886096473 + -@@ -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 3d55327.. --- 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 ec23258.. --- 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
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: bdfc288812a4b63d7d0bbec66850dca74b2e4fa8 Author: Erik Mackdanz gentoo org> AuthorDate: Fri May 20 04:10:03 2016 + Commit: Erik Mackdanz gentoo org> CommitDate: Fri May 20 04:10:03 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdfc2888 app-emulation/lxd: Version bump to 2.0.1 Package-Manager: portage-2.2.28 app-emulation/lxd/Manifest | 1 + .../lxd/files/lxd-2.0.1-dont-go-get.patch | 20 +++ app-emulation/lxd/files/lxd-2.0.1.confd| 27 app-emulation/lxd/files/lxd-2.0.1.initd| 50 +++ app-emulation/lxd/lxd-2.0.1.ebuild | 149 + 5 files changed, 247 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 2f42ca7..8297025 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,3 +1,4 @@ DIST lxd-2.0.0.tar.bz2 2305314 SHA256 da5bab198cff8bee4528f35537221a252b4b2a23d655921aabbf281b0fd2ec6a SHA512 23e791403f81951c9e5227b804fb400d80dde56f17ff71d511be4514943bd4bac7f4ade738294a4a88d9c4f73e4302f6c5b0e22eb245083fb16e01e207c4 WHIRLPOOL 72b1dc86547a8d0db74eca5e07fd33bf0545c1dbafba894a6316e77d36673fef5b765df68b4d6cd39d2db9a1dacfb757696ec982023aed329e38201aef1a5562 DIST lxd-2.0.0_beta4.tar.bz2 2291955 SHA256 6487750275e21ab3e862ea56807b9fcf28e9a646040e1f50f3967e9f76cf27e5 SHA512 ae67b9098946f037c1c938cc46f141fb8089ae33b980dd55cebc9cc3f14fbcd645e810e185fdc61dacbd6437569d079e4d9bd9763d12fefb65cfcecf13c10b28 WHIRLPOOL 6c781b47b80d044128647567b6de81352b174e2224e9ff91f2e1eacc5dfbb9141e53aa74e9bce479ebee1bb6c691282849897c34f815415623abcf3d666c7033 DIST lxd-2.0.0_rc2.tar.bz2 2306077 SHA256 d74babbd5c537430a574a13c0f70c7633affc9bbd0e21bf0039872bdfb801fe9 SHA512 6a21620e19277293a3b665d4061f5aa9443d1a9a5ab88fa885096ff77acf828b215e247136bb99ea1ba230f015181bc9a86a919664c9288577509a2146a5aa66 WHIRLPOOL f88e0f3b5ecd9803bc8baee864ffbdf33b39f331a5e5ceb170b2792d2e26b6f4faae3a8cc6aae090e81accd3835408f2956a117095bc790ca7c16cd7f21d205e +DIST lxd-2.0.1.tar.bz2 2330217 SHA256 b9a315825bfc66469a442f3b3da73e2af97dba270ffe1bc18c871cd6c1c7ad69 SHA512 67b1c42a0957bd2f4963c860372211dbbc38cb8e9346e83c6319749efd9e1a188c00033865901d285650298531460b9f54cba0e88d0973179c0c17bcd30cc97d WHIRLPOOL 4ae640fc6410dff9d08816a6ac7ddb47a4cce9dfbbfaa65baf8456517aca25a501b0e680d9a6855a0fa3b9efe8cd1eddb0a9981d43de9ef573c16be936f5104a 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 new file mode 100644 index 000..d2e622e --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.0.1-dont-go-get.patch @@ -0,0 +1,20 @@ +--- Makefile.orig 2016-02-19 00:16:40.720102639 + Makefile 2016-02-19 00:18:10.886096473 + +@@ -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 new file mode 100644 index 000..3d55327 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.0.1.confd @@ -0,0 +1,27 @@ +# 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 new file mode 100644 index 000..ec23258 --- /dev/null +++ b/app-emulation/lxd/files/lxd-2.0.1.initd @@ -0,0 +1,50 @@ +#!/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 [[
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: a7a3cc9f35138fec06c064404d9a279d1b9fae78 Author: Erik Mackdanz gentoo org> AuthorDate: Tue Mar 8 09:46:39 2016 + Commit: Erik Mackdanz gentoo org> CommitDate: Tue Mar 8 09:46:39 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a3cc9f app-emulation/lxd: remove old Package-Manager: portage-2.2.27 app-emulation/lxd/Manifest | 1 - .../lxd-2.0.0_beta1-disregard-dev-subdirs.patch| 17 --- .../lxd/files/lxd-2.0.0_beta1-dont-go-get.patch| 20 --- .../lxd/files/lxd-2.0.0_beta1-nc-binary-name.patch | 11 -- app-emulation/lxd/files/lxd-2.0.0_beta1.confd | 27 app-emulation/lxd/files/lxd-2.0.0_beta1.initd | 50 --- app-emulation/lxd/lxd-2.0.0_beta1.ebuild | 165 - 7 files changed, 291 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index b5b721a..4fadee5 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,4 +1,3 @@ -DIST lxd-2.0.0_beta1.tar.bz2 2253384 SHA256 443d8004aea80a9295eeb28c81b930947163b5af5e7c5ec15e6123938268bd6c SHA512 21cc90e18173f832f7aa2f39762ba1c47ac54dbb947519302075d10f8c55cce766d436cb7f9ec96cb2fe538952b801398ce3b1320d878e8835d58e4fb3b81c86 WHIRLPOOL 85a11976fbf74f8b408c75aa7abf645d3e27eed3f82021fbcb7b2d8db95cc986fdf2cd6a38ef8749857027b380382e66678fb1f1656274159dbc2531c3860761 DIST lxd-2.0.0_beta3.tar.bz2 2283443 SHA256 a3bdf6c081ebed01fcd1ae92a6d3ebf2e7d6ffea606fe3cb83559366e7dc90aa SHA512 3f80c1236ac9a92a350b4221478dd69eb2693672d73859738b691b9462155d0a907de90deab9950980500ab0faa5ec815bc6191cedf2d34d3757757f585570ec WHIRLPOOL 6d425c26ef37bc65871cf08946f0a80e5b9a3e01da5edd07605e94a2b418e6d2163ee90210c443935c35a18efa97102dcbab90ccd1577d6164b5b2e271b4 DIST lxd-2.0.0_beta4.tar.bz2 2291955 SHA256 6487750275e21ab3e862ea56807b9fcf28e9a646040e1f50f3967e9f76cf27e5 SHA512 ae67b9098946f037c1c938cc46f141fb8089ae33b980dd55cebc9cc3f14fbcd645e810e185fdc61dacbd6437569d079e4d9bd9763d12fefb65cfcecf13c10b28 WHIRLPOOL 6c781b47b80d044128647567b6de81352b174e2224e9ff91f2e1eacc5dfbb9141e53aa74e9bce479ebee1bb6c691282849897c34f815415623abcf3d666c7033 DIST lxd-2.0.0_rc2.tar.bz2 2306077 SHA256 d74babbd5c537430a574a13c0f70c7633affc9bbd0e21bf0039872bdfb801fe9 SHA512 6a21620e19277293a3b665d4061f5aa9443d1a9a5ab88fa885096ff77acf828b215e247136bb99ea1ba230f015181bc9a86a919664c9288577509a2146a5aa66 WHIRLPOOL f88e0f3b5ecd9803bc8baee864ffbdf33b39f331a5e5ceb170b2792d2e26b6f4faae3a8cc6aae090e81accd3835408f2956a117095bc790ca7c16cd7f21d205e diff --git a/app-emulation/lxd/files/lxd-2.0.0_beta1-disregard-dev-subdirs.patch b/app-emulation/lxd/files/lxd-2.0.0_beta1-disregard-dev-subdirs.patch deleted file mode 100644 index 9655e5e..000 --- a/app-emulation/lxd/files/lxd-2.0.0_beta1-disregard-dev-subdirs.patch +++ /dev/null @@ -1,17 +0,0 @@ a/lxd/container_lxc.go -+++ b/lxd/container_lxc.go -@@ -3509,8 +3509,13 @@ func (c *containerLXC) getDiskLimits() (map[string]deviceBlockLimit, error) { - - for _, block := range blocks { - dev := strings.TrimPrefix(block, "/dev/") -+ -+ if strings.Contains(dev,"/") { -+ continue -+ } -+ - if !shared.PathExists(fmt.Sprintf("/sys/class/block/%s/dev", dev)) { -- return nil, fmt.Errorf("Disk is missing /sys/class/block entry") -+ return nil, fmt.Errorf("Disk %s is missing /sys/class/block entry", dev) - } - - block, err := ioutil.ReadFile(fmt.Sprintf("/sys/class/block/%s/dev", dev)) diff --git a/app-emulation/lxd/files/lxd-2.0.0_beta1-dont-go-get.patch b/app-emulation/lxd/files/lxd-2.0.0_beta1-dont-go-get.patch deleted file mode 100644 index 9964af6..000 --- a/app-emulation/lxd/files/lxd-2.0.0_beta1-dont-go-get.patch +++ /dev/null @@ -1,20 +0,0 @@ Makefile.orig 2015-12-28 19:23:28.425122306 -0600 -+++ Makefile 2015-12-28 19:25:09.482123654 -0600 -@@ -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 ./... - @echo "LXD built succesfuly" - - .PHONY: client - client: -- # Must run twice due to go get race -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v ./lxc - @echo "LXD client built succesfuly" - diff --git a/app-emulation/lxd/files/lxd-2.0.0_beta1-nc-binary-name.patch b/app-emulation/lxd/files/lxd-2.0.0_beta1-nc-binary-name.patch deleted file mode 100644 index 7373b66..000 --- a/app-emulation/lxd/files/lxd-2.0.0_beta1-nc-binary-name.patch +++ /dev/null @@ -1,11 +0,0 @@ lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600 -+++ lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600 -@@ -91,7 +91,7 @@ -* command (i.e. the command
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 4417081e40980c233dff4ffbdb0d758f0139571c Author: Erik Mackdanz gentoo org> AuthorDate: Sun Feb 28 18:08:41 2016 + Commit: Erik Mackdanz gentoo org> CommitDate: Sun Feb 28 18:08:41 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4417081e app-emulation/lxd: remove old Package-Manager: portage-2.2.27 app-emulation/lxd/Manifest | 1 - app-emulation/lxd/files/lxd-0.27-dont-go-get.patch | 20 --- .../lxd/files/lxd-0.27-nc-binary-name.patch| 11 -- app-emulation/lxd/files/lxd-0.27.confd | 27 app-emulation/lxd/files/lxd-0.27.initd | 50 --- app-emulation/lxd/lxd-0.27.ebuild | 157 - 6 files changed, 266 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index c39da3c..206d24f 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,4 +1,3 @@ -DIST lxd-0.27.tar.bz2 2247266 SHA256 290d05a792f2f146b302d500eadd3168822ed99aecb4ea96762570580f29910a SHA512 37d5fef677a943dc7e84c73836aa1d4e5f0353c165aa33cefcd87dcd1fdae574760e74fb290404182badfee96e04ef929a81d6633d2c0f91c458ccd19996b9c3 WHIRLPOOL d1d0c0fad0e604f41482c133f4425461546599aded2e948d5c58f7698eba963746ac8c3c3085ffbd244b0169cedb26ad8ec5d85babea6aa9a7688ee6ce342589 DIST lxd-2.0.0_beta1.tar.bz2 2253384 SHA256 443d8004aea80a9295eeb28c81b930947163b5af5e7c5ec15e6123938268bd6c SHA512 21cc90e18173f832f7aa2f39762ba1c47ac54dbb947519302075d10f8c55cce766d436cb7f9ec96cb2fe538952b801398ce3b1320d878e8835d58e4fb3b81c86 WHIRLPOOL 85a11976fbf74f8b408c75aa7abf645d3e27eed3f82021fbcb7b2d8db95cc986fdf2cd6a38ef8749857027b380382e66678fb1f1656274159dbc2531c3860761 DIST lxd-2.0.0_beta3.tar.bz2 2283443 SHA256 a3bdf6c081ebed01fcd1ae92a6d3ebf2e7d6ffea606fe3cb83559366e7dc90aa SHA512 3f80c1236ac9a92a350b4221478dd69eb2693672d73859738b691b9462155d0a907de90deab9950980500ab0faa5ec815bc6191cedf2d34d3757757f585570ec WHIRLPOOL 6d425c26ef37bc65871cf08946f0a80e5b9a3e01da5edd07605e94a2b418e6d2163ee90210c443935c35a18efa97102dcbab90ccd1577d6164b5b2e271b4 DIST lxd-2.0.0_beta4.tar.bz2 2291955 SHA256 6487750275e21ab3e862ea56807b9fcf28e9a646040e1f50f3967e9f76cf27e5 SHA512 ae67b9098946f037c1c938cc46f141fb8089ae33b980dd55cebc9cc3f14fbcd645e810e185fdc61dacbd6437569d079e4d9bd9763d12fefb65cfcecf13c10b28 WHIRLPOOL 6c781b47b80d044128647567b6de81352b174e2224e9ff91f2e1eacc5dfbb9141e53aa74e9bce479ebee1bb6c691282849897c34f815415623abcf3d666c7033 diff --git a/app-emulation/lxd/files/lxd-0.27-dont-go-get.patch b/app-emulation/lxd/files/lxd-0.27-dont-go-get.patch deleted file mode 100644 index 9964af6..000 --- a/app-emulation/lxd/files/lxd-0.27-dont-go-get.patch +++ /dev/null @@ -1,20 +0,0 @@ Makefile.orig 2015-12-28 19:23:28.425122306 -0600 -+++ Makefile 2015-12-28 19:25:09.482123654 -0600 -@@ -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 ./... - @echo "LXD built succesfuly" - - .PHONY: client - client: -- # Must run twice due to go get race -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v ./lxc - @echo "LXD client built succesfuly" - diff --git a/app-emulation/lxd/files/lxd-0.27-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.27-nc-binary-name.patch deleted file mode 100644 index 7373b66..000 --- a/app-emulation/lxd/files/lxd-0.27-nc-binary-name.patch +++ /dev/null @@ -1,11 +0,0 @@ lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600 -+++ lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600 -@@ -91,7 +91,7 @@ -* command (i.e. the command to run on --server). However, we're -* hardcoding that at the other end, so we can just ignore it. -*/ -- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) -+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) - cmd := exec.Command( - "rsync", - "-arvP", diff --git a/app-emulation/lxd/files/lxd-0.27.confd b/app-emulation/lxd/files/lxd-0.27.confd deleted file mode 100644 index 3d55327..000 --- a/app-emulation/lxd/files/lxd-0.27.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-0.27.initd
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: bacef534c05eeb26852211afba0b4370c174f7fa Author: Erik Mackdanz gentoo org> AuthorDate: Mon Jan 25 00:10:32 2016 + Commit: Erik Mackdanz gentoo org> CommitDate: Mon Jan 25 00:10:32 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bacef534 app-emulation/lxd: remove old Package-Manager: portage-2.2.26 app-emulation/lxd/Manifest | 1 - app-emulation/lxd/files/lxd-0.24-dont-go-get.patch | 18 --- .../lxd/files/lxd-0.24-nc-binary-name.patch| 11 -- app-emulation/lxd/files/lxd-0.24.confd | 27 app-emulation/lxd/files/lxd-0.24.initd | 50 --- app-emulation/lxd/lxd-0.24.ebuild | 157 - 6 files changed, 264 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 8a6cfa6..fcb60cb 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,4 +1,3 @@ -DIST lxd-0.24.tar.bz2 1973022 SHA256 e3851bded0f2639e4aec9c63797135bfa3b27def17123c8e506c784b1ab4c99a SHA512 e7593136fd1fb13542a8415d964ff3bab8bcc7f7a7d806874e7c21fd9d96652aa5716a9d3318cea3d849a19aa96b40bfea27f4edd528c8307efaeeac88971f2e WHIRLPOOL 69b6722a25c9e75e533436a37951dc893cbf3d3c0f5d31b3ccc2cf0a7dede9cf16c53e68562348ab9bf9e621421030b826df21e5fb32df8a496127601fa5d898 DIST lxd-0.25.tar.bz2 1983043 SHA256 1cfdf1a5e8638060e2368e9e5cf8763406857309f08c4668fa0756e85ba7b89e SHA512 001e52826a3bbe00121115ddace14b3f552321f16e97700763ff6dd23b5babd3c1393cbc9b9b263b6a18c31e49c30d612e3d7153d4987644689989be0be50d00 WHIRLPOOL 496f3f19c50c1ee79ba8b5625cf34b6f57683f4066a09b3edc2cbd017cc5ebc2cc7ac9e569c94bcba0d699c6efb722b79ae43541e0dfddc2fb8d877131519b06 DIST lxd-0.26.tar.bz2 1985288 SHA256 71079140946e3e66563cc3025c3e4f756fd45cc413af1d5396c56a608427d0aa SHA512 25aa73274b03163698646fe2f49c2401ae93a9b90be46f0ba0414521bc920e68c61db7e6617d75a19675e22a705afd5d3220e24a518e30819daf3dc75670b900 WHIRLPOOL d59471f02744efbe3d3dbb1ae32dcf17141f8414a1614535451e75c5422928d3c5d54dceebcf0d829f7395ae3cb49bf424ff7999d1e32b9384a3f81b3d3ab01e DIST lxd-0.27.tar.bz2 2247266 SHA256 290d05a792f2f146b302d500eadd3168822ed99aecb4ea96762570580f29910a SHA512 37d5fef677a943dc7e84c73836aa1d4e5f0353c165aa33cefcd87dcd1fdae574760e74fb290404182badfee96e04ef929a81d6633d2c0f91c458ccd19996b9c3 WHIRLPOOL d1d0c0fad0e604f41482c133f4425461546599aded2e948d5c58f7698eba963746ac8c3c3085ffbd244b0169cedb26ad8ec5d85babea6aa9a7688ee6ce342589 diff --git a/app-emulation/lxd/files/lxd-0.24-dont-go-get.patch b/app-emulation/lxd/files/lxd-0.24-dont-go-get.patch deleted file mode 100644 index 1b229ea..000 --- a/app-emulation/lxd/files/lxd-0.24-dont-go-get.patch +++ /dev/null @@ -1,18 +0,0 @@ Makefile.orig 2015-09-17 20:37:16.481867339 -0500 -+++ Makefile 2015-09-17 20:53:27.715800926 -0500 -@@ -12,15 +12,11 @@ - - .PHONY: default - default: -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v ./... - @echo "LXD built succesfuly" - - .PHONY: client - client: -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v ./lxc - @echo "LXD client built succesfuly" - diff --git a/app-emulation/lxd/files/lxd-0.24-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.24-nc-binary-name.patch deleted file mode 100644 index 7373b66..000 --- a/app-emulation/lxd/files/lxd-0.24-nc-binary-name.patch +++ /dev/null @@ -1,11 +0,0 @@ lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600 -+++ lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600 -@@ -91,7 +91,7 @@ -* command (i.e. the command to run on --server). However, we're -* hardcoding that at the other end, so we can just ignore it. -*/ -- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) -+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) - cmd := exec.Command( - "rsync", - "-arvP", diff --git a/app-emulation/lxd/files/lxd-0.24.confd b/app-emulation/lxd/files/lxd-0.24.confd deleted file mode 100644 index 3d55327..000 --- a/app-emulation/lxd/files/lxd-0.24.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-0.24.initd b/app-emulation/lxd/files/lxd-0.24.initd deleted file mode 100644 index ec23258..000 ---
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: b08d27433587b6a3f7b43412655499e03401a5ed Author: Erik Mackdanz gentoo org> AuthorDate: Wed Jan 6 03:22:10 2016 + Commit: Erik Mackdanz gentoo org> CommitDate: Wed Jan 6 03:23:07 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b08d2743 app-emulation/lxd: bump to 0.26 Package-Manager: portage-2.2.26 app-emulation/lxd/Manifest | 1 + app-emulation/lxd/files/lxd-0.26-dont-go-get.patch | 20 +++ .../lxd/files/lxd-0.26-nc-binary-name.patch| 11 ++ app-emulation/lxd/files/lxd-0.26.confd | 27 app-emulation/lxd/files/lxd-0.26.initd | 50 +++ app-emulation/lxd/lxd-0.26.ebuild | 157 + 6 files changed, 266 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index fafcf9f..56c7ad9 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,3 +1,4 @@ DIST lxd-0.23.tar.bz2 2606330 SHA256 06335bd15b00db2dec06114427b1d934fe1ac5271b85eb19074c508cb2466695 SHA512 2f73817c800c55c722a3017ee3064587c04730d5da9846b44be99b4541e739b466bcb7e924fcb18a15f1d49d010d471510378060530f6a15f6e60363b4d556b3 WHIRLPOOL 455b782ed2d21d5a720e06e356e1dd2115df174893e66710c74d02596deb8a66ff6e77b400f2ebeb047209b3bfed0927ff21a3a9f7cf9924719b84742f0eb5a7 DIST lxd-0.24.tar.bz2 1973022 SHA256 e3851bded0f2639e4aec9c63797135bfa3b27def17123c8e506c784b1ab4c99a SHA512 e7593136fd1fb13542a8415d964ff3bab8bcc7f7a7d806874e7c21fd9d96652aa5716a9d3318cea3d849a19aa96b40bfea27f4edd528c8307efaeeac88971f2e WHIRLPOOL 69b6722a25c9e75e533436a37951dc893cbf3d3c0f5d31b3ccc2cf0a7dede9cf16c53e68562348ab9bf9e621421030b826df21e5fb32df8a496127601fa5d898 DIST lxd-0.25.tar.bz2 1983043 SHA256 1cfdf1a5e8638060e2368e9e5cf8763406857309f08c4668fa0756e85ba7b89e SHA512 001e52826a3bbe00121115ddace14b3f552321f16e97700763ff6dd23b5babd3c1393cbc9b9b263b6a18c31e49c30d612e3d7153d4987644689989be0be50d00 WHIRLPOOL 496f3f19c50c1ee79ba8b5625cf34b6f57683f4066a09b3edc2cbd017cc5ebc2cc7ac9e569c94bcba0d699c6efb722b79ae43541e0dfddc2fb8d877131519b06 +DIST lxd-0.26.tar.bz2 1985288 SHA256 71079140946e3e66563cc3025c3e4f756fd45cc413af1d5396c56a608427d0aa SHA512 25aa73274b03163698646fe2f49c2401ae93a9b90be46f0ba0414521bc920e68c61db7e6617d75a19675e22a705afd5d3220e24a518e30819daf3dc75670b900 WHIRLPOOL d59471f02744efbe3d3dbb1ae32dcf17141f8414a1614535451e75c5422928d3c5d54dceebcf0d829f7395ae3cb49bf424ff7999d1e32b9384a3f81b3d3ab01e diff --git a/app-emulation/lxd/files/lxd-0.26-dont-go-get.patch b/app-emulation/lxd/files/lxd-0.26-dont-go-get.patch new file mode 100644 index 000..9964af6 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.26-dont-go-get.patch @@ -0,0 +1,20 @@ +--- Makefile.orig 2015-12-28 19:23:28.425122306 -0600 Makefile 2015-12-28 19:25:09.482123654 -0600 +@@ -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 ./... + @echo "LXD built succesfuly" + + .PHONY: client + client: +- # Must run twice due to go get race +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v ./lxc + @echo "LXD client built succesfuly" + diff --git a/app-emulation/lxd/files/lxd-0.26-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.26-nc-binary-name.patch new file mode 100644 index 000..7373b66 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.26-nc-binary-name.patch @@ -0,0 +1,11 @@ +--- lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600 lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600 +@@ -91,7 +91,7 @@ +* command (i.e. the command to run on --server). However, we're +* hardcoding that at the other end, so we can just ignore it. +*/ +- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) ++ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) + cmd := exec.Command( + "rsync", + "-arvP", diff --git a/app-emulation/lxd/files/lxd-0.26.confd b/app-emulation/lxd/files/lxd-0.26.confd new file mode 100644 index 000..3d55327 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.26.confd @@ -0,0 +1,27 @@ +# 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-0.26.initd b/app-emulation/lxd/files/lxd-0.26.initd new
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 1c0ec1bb438f3dc109aa6424f4ef8a5d2d689986 Author: Erik Mackdanz gentoo org> AuthorDate: Wed Jan 6 03:25:48 2016 + Commit: Erik Mackdanz gentoo org> CommitDate: Wed Jan 6 03:25:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0ec1bb app-emulation/lxd: remove old Package-Manager: portage-2.2.26 app-emulation/lxd/Manifest | 1 - app-emulation/lxd/files/lxd-0.23-dont-go-get.patch | 18 --- .../lxd/files/lxd-0.23-nc-binary-name.patch| 11 -- app-emulation/lxd/files/lxd-0.23.confd | 27 app-emulation/lxd/files/lxd-0.23.initd | 50 --- app-emulation/lxd/lxd-0.23.ebuild | 157 - 6 files changed, 264 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 56c7ad9..6711b5b 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,4 +1,3 @@ -DIST lxd-0.23.tar.bz2 2606330 SHA256 06335bd15b00db2dec06114427b1d934fe1ac5271b85eb19074c508cb2466695 SHA512 2f73817c800c55c722a3017ee3064587c04730d5da9846b44be99b4541e739b466bcb7e924fcb18a15f1d49d010d471510378060530f6a15f6e60363b4d556b3 WHIRLPOOL 455b782ed2d21d5a720e06e356e1dd2115df174893e66710c74d02596deb8a66ff6e77b400f2ebeb047209b3bfed0927ff21a3a9f7cf9924719b84742f0eb5a7 DIST lxd-0.24.tar.bz2 1973022 SHA256 e3851bded0f2639e4aec9c63797135bfa3b27def17123c8e506c784b1ab4c99a SHA512 e7593136fd1fb13542a8415d964ff3bab8bcc7f7a7d806874e7c21fd9d96652aa5716a9d3318cea3d849a19aa96b40bfea27f4edd528c8307efaeeac88971f2e WHIRLPOOL 69b6722a25c9e75e533436a37951dc893cbf3d3c0f5d31b3ccc2cf0a7dede9cf16c53e68562348ab9bf9e621421030b826df21e5fb32df8a496127601fa5d898 DIST lxd-0.25.tar.bz2 1983043 SHA256 1cfdf1a5e8638060e2368e9e5cf8763406857309f08c4668fa0756e85ba7b89e SHA512 001e52826a3bbe00121115ddace14b3f552321f16e97700763ff6dd23b5babd3c1393cbc9b9b263b6a18c31e49c30d612e3d7153d4987644689989be0be50d00 WHIRLPOOL 496f3f19c50c1ee79ba8b5625cf34b6f57683f4066a09b3edc2cbd017cc5ebc2cc7ac9e569c94bcba0d699c6efb722b79ae43541e0dfddc2fb8d877131519b06 DIST lxd-0.26.tar.bz2 1985288 SHA256 71079140946e3e66563cc3025c3e4f756fd45cc413af1d5396c56a608427d0aa SHA512 25aa73274b03163698646fe2f49c2401ae93a9b90be46f0ba0414521bc920e68c61db7e6617d75a19675e22a705afd5d3220e24a518e30819daf3dc75670b900 WHIRLPOOL d59471f02744efbe3d3dbb1ae32dcf17141f8414a1614535451e75c5422928d3c5d54dceebcf0d829f7395ae3cb49bf424ff7999d1e32b9384a3f81b3d3ab01e diff --git a/app-emulation/lxd/files/lxd-0.23-dont-go-get.patch b/app-emulation/lxd/files/lxd-0.23-dont-go-get.patch deleted file mode 100644 index 1b229ea..000 --- a/app-emulation/lxd/files/lxd-0.23-dont-go-get.patch +++ /dev/null @@ -1,18 +0,0 @@ Makefile.orig 2015-09-17 20:37:16.481867339 -0500 -+++ Makefile 2015-09-17 20:53:27.715800926 -0500 -@@ -12,15 +12,11 @@ - - .PHONY: default - default: -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v ./... - @echo "LXD built succesfuly" - - .PHONY: client - client: -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v ./lxc - @echo "LXD client built succesfuly" - diff --git a/app-emulation/lxd/files/lxd-0.23-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.23-nc-binary-name.patch deleted file mode 100644 index 7373b66..000 --- a/app-emulation/lxd/files/lxd-0.23-nc-binary-name.patch +++ /dev/null @@ -1,11 +0,0 @@ lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600 -+++ lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600 -@@ -91,7 +91,7 @@ -* command (i.e. the command to run on --server). However, we're -* hardcoding that at the other end, so we can just ignore it. -*/ -- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) -+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) - cmd := exec.Command( - "rsync", - "-arvP", diff --git a/app-emulation/lxd/files/lxd-0.23.confd b/app-emulation/lxd/files/lxd-0.23.confd deleted file mode 100644 index 3d55327..000 --- a/app-emulation/lxd/files/lxd-0.23.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-0.23.initd b/app-emulation/lxd/files/lxd-0.23.initd deleted file mode 100644 index c5ba3a6..000 ---
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: a1c15211641f24b83b7b22d748c4ffe3f75d71c6 Author: Erik Mackdanz gentoo org> AuthorDate: Tue Dec 29 01:39:56 2015 + Commit: Erik Mackdanz gentoo org> CommitDate: Tue Dec 29 01:39:56 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c15211 app-emulation/lxd: bump to 0.25 Package-Manager: portage-2.2.26 app-emulation/lxd/Manifest | 1 + app-emulation/lxd/files/lxd-0.25-dont-go-get.patch | 20 +++ .../lxd/files/lxd-0.25-nc-binary-name.patch| 11 ++ app-emulation/lxd/files/lxd-0.25.confd | 27 app-emulation/lxd/files/lxd-0.25.initd | 50 +++ app-emulation/lxd/lxd-0.25.ebuild | 157 + 6 files changed, 266 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 43dc501..e9f110b 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,3 +1,4 @@ DIST lxd-0.22.tar.bz2 2685133 SHA256 66dc30b82fba7f606658280d0dbac67a32152644a403ab00285fc3907b50082e SHA512 ab5384143edd03dfa1ef956c64e9fce2d845ce07c5388f719c202fd1ff9059282e104400f39f23ff1c4fefc8a23dd1d4c6c9094b497c40c659b087989bf07d44 WHIRLPOOL 27559c50f6aa55edb533046bb49b04784c63003569e7920261504a7b4c69891a80ff8432421352c13f274bb21876f2cf5266e9de2b1302d69e0254be87c17137 DIST lxd-0.23.tar.bz2 2606330 SHA256 06335bd15b00db2dec06114427b1d934fe1ac5271b85eb19074c508cb2466695 SHA512 2f73817c800c55c722a3017ee3064587c04730d5da9846b44be99b4541e739b466bcb7e924fcb18a15f1d49d010d471510378060530f6a15f6e60363b4d556b3 WHIRLPOOL 455b782ed2d21d5a720e06e356e1dd2115df174893e66710c74d02596deb8a66ff6e77b400f2ebeb047209b3bfed0927ff21a3a9f7cf9924719b84742f0eb5a7 DIST lxd-0.24.tar.bz2 1973022 SHA256 e3851bded0f2639e4aec9c63797135bfa3b27def17123c8e506c784b1ab4c99a SHA512 e7593136fd1fb13542a8415d964ff3bab8bcc7f7a7d806874e7c21fd9d96652aa5716a9d3318cea3d849a19aa96b40bfea27f4edd528c8307efaeeac88971f2e WHIRLPOOL 69b6722a25c9e75e533436a37951dc893cbf3d3c0f5d31b3ccc2cf0a7dede9cf16c53e68562348ab9bf9e621421030b826df21e5fb32df8a496127601fa5d898 +DIST lxd-0.25.tar.bz2 1983043 SHA256 1cfdf1a5e8638060e2368e9e5cf8763406857309f08c4668fa0756e85ba7b89e SHA512 001e52826a3bbe00121115ddace14b3f552321f16e97700763ff6dd23b5babd3c1393cbc9b9b263b6a18c31e49c30d612e3d7153d4987644689989be0be50d00 WHIRLPOOL 496f3f19c50c1ee79ba8b5625cf34b6f57683f4066a09b3edc2cbd017cc5ebc2cc7ac9e569c94bcba0d699c6efb722b79ae43541e0dfddc2fb8d877131519b06 diff --git a/app-emulation/lxd/files/lxd-0.25-dont-go-get.patch b/app-emulation/lxd/files/lxd-0.25-dont-go-get.patch new file mode 100644 index 000..9964af6 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.25-dont-go-get.patch @@ -0,0 +1,20 @@ +--- Makefile.orig 2015-12-28 19:23:28.425122306 -0600 Makefile 2015-12-28 19:25:09.482123654 -0600 +@@ -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 ./... + @echo "LXD built succesfuly" + + .PHONY: client + client: +- # Must run twice due to go get race +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v ./lxc + @echo "LXD client built succesfuly" + diff --git a/app-emulation/lxd/files/lxd-0.25-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.25-nc-binary-name.patch new file mode 100644 index 000..7373b66 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.25-nc-binary-name.patch @@ -0,0 +1,11 @@ +--- lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600 lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600 +@@ -91,7 +91,7 @@ +* command (i.e. the command to run on --server). However, we're +* hardcoding that at the other end, so we can just ignore it. +*/ +- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) ++ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) + cmd := exec.Command( + "rsync", + "-arvP", diff --git a/app-emulation/lxd/files/lxd-0.25.confd b/app-emulation/lxd/files/lxd-0.25.confd new file mode 100644 index 000..3d55327 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.25.confd @@ -0,0 +1,27 @@ +# 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-0.25.initd b/app-emulation/lxd/files/lxd-0.25.initd new
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: b56cffd436a6624b7b80d9ebbeaa87a8d2602294 Author: Erik Mackdanz gentoo org> AuthorDate: Tue Dec 29 01:42:10 2015 + Commit: Erik Mackdanz gentoo org> CommitDate: Tue Dec 29 01:42:10 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56cffd4 app-emulation/lxd: remove old Package-Manager: portage-2.2.26 app-emulation/lxd/Manifest | 1 - app-emulation/lxd/files/lxd-0.22-dont-go-get.patch | 18 --- .../lxd/files/lxd-0.22-nc-binary-name.patch| 11 -- app-emulation/lxd/files/lxd-0.22.confd | 27 app-emulation/lxd/files/lxd-0.22.initd | 43 -- app-emulation/lxd/lxd-0.22.ebuild | 157 - 6 files changed, 257 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index e9f110b..fafcf9f 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,4 +1,3 @@ -DIST lxd-0.22.tar.bz2 2685133 SHA256 66dc30b82fba7f606658280d0dbac67a32152644a403ab00285fc3907b50082e SHA512 ab5384143edd03dfa1ef956c64e9fce2d845ce07c5388f719c202fd1ff9059282e104400f39f23ff1c4fefc8a23dd1d4c6c9094b497c40c659b087989bf07d44 WHIRLPOOL 27559c50f6aa55edb533046bb49b04784c63003569e7920261504a7b4c69891a80ff8432421352c13f274bb21876f2cf5266e9de2b1302d69e0254be87c17137 DIST lxd-0.23.tar.bz2 2606330 SHA256 06335bd15b00db2dec06114427b1d934fe1ac5271b85eb19074c508cb2466695 SHA512 2f73817c800c55c722a3017ee3064587c04730d5da9846b44be99b4541e739b466bcb7e924fcb18a15f1d49d010d471510378060530f6a15f6e60363b4d556b3 WHIRLPOOL 455b782ed2d21d5a720e06e356e1dd2115df174893e66710c74d02596deb8a66ff6e77b400f2ebeb047209b3bfed0927ff21a3a9f7cf9924719b84742f0eb5a7 DIST lxd-0.24.tar.bz2 1973022 SHA256 e3851bded0f2639e4aec9c63797135bfa3b27def17123c8e506c784b1ab4c99a SHA512 e7593136fd1fb13542a8415d964ff3bab8bcc7f7a7d806874e7c21fd9d96652aa5716a9d3318cea3d849a19aa96b40bfea27f4edd528c8307efaeeac88971f2e WHIRLPOOL 69b6722a25c9e75e533436a37951dc893cbf3d3c0f5d31b3ccc2cf0a7dede9cf16c53e68562348ab9bf9e621421030b826df21e5fb32df8a496127601fa5d898 DIST lxd-0.25.tar.bz2 1983043 SHA256 1cfdf1a5e8638060e2368e9e5cf8763406857309f08c4668fa0756e85ba7b89e SHA512 001e52826a3bbe00121115ddace14b3f552321f16e97700763ff6dd23b5babd3c1393cbc9b9b263b6a18c31e49c30d612e3d7153d4987644689989be0be50d00 WHIRLPOOL 496f3f19c50c1ee79ba8b5625cf34b6f57683f4066a09b3edc2cbd017cc5ebc2cc7ac9e569c94bcba0d699c6efb722b79ae43541e0dfddc2fb8d877131519b06 diff --git a/app-emulation/lxd/files/lxd-0.22-dont-go-get.patch b/app-emulation/lxd/files/lxd-0.22-dont-go-get.patch deleted file mode 100644 index 1b229ea..000 --- a/app-emulation/lxd/files/lxd-0.22-dont-go-get.patch +++ /dev/null @@ -1,18 +0,0 @@ Makefile.orig 2015-09-17 20:37:16.481867339 -0500 -+++ Makefile 2015-09-17 20:53:27.715800926 -0500 -@@ -12,15 +12,11 @@ - - .PHONY: default - default: -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v ./... - @echo "LXD built succesfuly" - - .PHONY: client - client: -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v ./lxc - @echo "LXD client built succesfuly" - diff --git a/app-emulation/lxd/files/lxd-0.22-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.22-nc-binary-name.patch deleted file mode 100644 index 7373b66..000 --- a/app-emulation/lxd/files/lxd-0.22-nc-binary-name.patch +++ /dev/null @@ -1,11 +0,0 @@ lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600 -+++ lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600 -@@ -91,7 +91,7 @@ -* command (i.e. the command to run on --server). However, we're -* hardcoding that at the other end, so we can just ignore it. -*/ -- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) -+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) - cmd := exec.Command( - "rsync", - "-arvP", diff --git a/app-emulation/lxd/files/lxd-0.22.confd b/app-emulation/lxd/files/lxd-0.22.confd deleted file mode 100644 index 3d55327..000 --- a/app-emulation/lxd/files/lxd-0.22.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-0.22.initd b/app-emulation/lxd/files/lxd-0.22.initd deleted file mode 100644 index 65915f0..000 ---
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 8604b326b1c2a3bc858fc32ce9d7fb93ff649fe8 Author: Erik Mackdanz gentoo org> AuthorDate: Sat Dec 12 05:39:27 2015 + Commit: Erik Mackdanz gentoo org> CommitDate: Sat Dec 12 05:39:27 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8604b326 app-emulation/lxd: bump to 0.24 Package-Manager: portage-2.2.26 app-emulation/lxd/Manifest | 1 + app-emulation/lxd/files/lxd-0.24-dont-go-get.patch | 18 +++ .../lxd/files/lxd-0.24-nc-binary-name.patch| 11 ++ app-emulation/lxd/files/lxd-0.24.confd | 27 app-emulation/lxd/files/lxd-0.24.initd | 50 +++ app-emulation/lxd/lxd-0.24.ebuild | 157 + 6 files changed, 264 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index d8beda6..9581399 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -2,3 +2,4 @@ DIST lxd-0.20.tar.bz2 2687718 SHA256 a071b92015f676746137e1ffeab1886d90297d0d583 DIST lxd-0.21.tar.bz2 2683517 SHA256 06e9ed72d1d45af532664e47d9772a886dc1d757e83d673498b05798249c66c8 SHA512 588225ed77cd8a86b34579ee3f3b2b3ba8166ce9d85872e6076fa5075bc5a3846c82255dee6e701a6d51bdd9bf8280bbd5fab08ca4438de5320de8f0388685eb WHIRLPOOL c85f103e38f44c4cd859faf330764c3d076cede6d09f976b4686d7f91b6ca233e09721df418493fed19cb8bf3118b2a0a6723f3084da532bba4a5344de8a4b9c DIST lxd-0.22.tar.bz2 2685133 SHA256 66dc30b82fba7f606658280d0dbac67a32152644a403ab00285fc3907b50082e SHA512 ab5384143edd03dfa1ef956c64e9fce2d845ce07c5388f719c202fd1ff9059282e104400f39f23ff1c4fefc8a23dd1d4c6c9094b497c40c659b087989bf07d44 WHIRLPOOL 27559c50f6aa55edb533046bb49b04784c63003569e7920261504a7b4c69891a80ff8432421352c13f274bb21876f2cf5266e9de2b1302d69e0254be87c17137 DIST lxd-0.23.tar.bz2 2606330 SHA256 06335bd15b00db2dec06114427b1d934fe1ac5271b85eb19074c508cb2466695 SHA512 2f73817c800c55c722a3017ee3064587c04730d5da9846b44be99b4541e739b466bcb7e924fcb18a15f1d49d010d471510378060530f6a15f6e60363b4d556b3 WHIRLPOOL 455b782ed2d21d5a720e06e356e1dd2115df174893e66710c74d02596deb8a66ff6e77b400f2ebeb047209b3bfed0927ff21a3a9f7cf9924719b84742f0eb5a7 +DIST lxd-0.24.tar.bz2 1973022 SHA256 e3851bded0f2639e4aec9c63797135bfa3b27def17123c8e506c784b1ab4c99a SHA512 e7593136fd1fb13542a8415d964ff3bab8bcc7f7a7d806874e7c21fd9d96652aa5716a9d3318cea3d849a19aa96b40bfea27f4edd528c8307efaeeac88971f2e WHIRLPOOL 69b6722a25c9e75e533436a37951dc893cbf3d3c0f5d31b3ccc2cf0a7dede9cf16c53e68562348ab9bf9e621421030b826df21e5fb32df8a496127601fa5d898 diff --git a/app-emulation/lxd/files/lxd-0.24-dont-go-get.patch b/app-emulation/lxd/files/lxd-0.24-dont-go-get.patch new file mode 100644 index 000..1b229ea --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.24-dont-go-get.patch @@ -0,0 +1,18 @@ +--- Makefile.orig 2015-09-17 20:37:16.481867339 -0500 Makefile 2015-09-17 20:53:27.715800926 -0500 +@@ -12,15 +12,11 @@ + + .PHONY: default + default: +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v ./... + @echo "LXD built succesfuly" + + .PHONY: client + client: +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v ./lxc + @echo "LXD client built succesfuly" + diff --git a/app-emulation/lxd/files/lxd-0.24-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.24-nc-binary-name.patch new file mode 100644 index 000..7373b66 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.24-nc-binary-name.patch @@ -0,0 +1,11 @@ +--- lxd/rsync.go.orig 2015-11-11 20:54:37.402700202 -0600 lxd/rsync.go 2015-11-11 20:55:06.704698199 -0600 +@@ -91,7 +91,7 @@ +* command (i.e. the command to run on --server). However, we're +* hardcoding that at the other end, so we can just ignore it. +*/ +- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) ++ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) + cmd := exec.Command( + "rsync", + "-arvP", diff --git a/app-emulation/lxd/files/lxd-0.24.confd b/app-emulation/lxd/files/lxd-0.24.confd new file mode 100644 index 000..3d55327 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.24.confd @@ -0,0 +1,27 @@ +# 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-0.24.initd b/app-emulation/lxd/files/lxd-0.24.initd new file
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 80541f09ef4b6a8cbe414add73c4cacf2dd95dd2 Author: Erik Mackdanz gentoo org> AuthorDate: Thu Nov 12 15:59:22 2015 + Commit: Erik Mackdanz gentoo org> CommitDate: Thu Nov 12 15:59:22 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80541f09 app-emulation/lxd: clean up old Package-Manager: portage-2.2.24 app-emulation/lxd/Manifest | 1 - app-emulation/lxd/files/lxd-0.18-dont-go-get.patch | 18 --- .../lxd/files/lxd-0.18-nc-binary-name.patch| 11 -- app-emulation/lxd/files/lxd-0.18.confd | 27 app-emulation/lxd/files/lxd-0.18.initd | 32 app-emulation/lxd/lxd-0.18.ebuild | 166 - app-emulation/lxd/metadata.xml | 11 -- 7 files changed, 266 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 493bbac..b8bca61 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,4 +1,3 @@ -DIST lxd-0.18.tar.bz2 2674919 SHA256 cb9c4823fb19ccef4827ee4dc3a105b60d3549b5023f4517d1471487469ea395 SHA512 5bbaae6eef27a0b14f8fee41d113afeea61de5414e5f7ed5011819eb6823a11dff647ac3f9781357304f7c5b04c618d05e4a04197cae6c6e4845cad5476d22ff WHIRLPOOL ca73e587f19491d79b03af2d205ab9f234b5acb1ff1f2d68a05be053cbd1ec89f6b9bc0fc64113980d7f2d6e3c7ece01d7d0c431c08a87b2b0ec555c6ff97914 DIST lxd-0.20.tar.bz2 2687718 SHA256 a071b92015f676746137e1ffeab1886d90297d0d5832bbf5ee6aff081acc4840 SHA512 2064daa7d1aeb4764a15d559e3d4178918942d82dbba31e964d713aab48d2ee30ce6a63632701c41b13de4aea541acd76d55b52f12de10a99ffeaa3cb945ad44 WHIRLPOOL 1ffa9d6bf1cb7132b82e731002eae7b7ff3544fb03958827916c2e00e02a0bdd10bbadd2401f7799187c2c0338987f24b46d8e138131f7df888162e56b3f4fe5 DIST lxd-0.21.tar.bz2 2683517 SHA256 06e9ed72d1d45af532664e47d9772a886dc1d757e83d673498b05798249c66c8 SHA512 588225ed77cd8a86b34579ee3f3b2b3ba8166ce9d85872e6076fa5075bc5a3846c82255dee6e701a6d51bdd9bf8280bbd5fab08ca4438de5320de8f0388685eb WHIRLPOOL c85f103e38f44c4cd859faf330764c3d076cede6d09f976b4686d7f91b6ca233e09721df418493fed19cb8bf3118b2a0a6723f3084da532bba4a5344de8a4b9c DIST lxd-0.22.tar.bz2 2685133 SHA256 66dc30b82fba7f606658280d0dbac67a32152644a403ab00285fc3907b50082e SHA512 ab5384143edd03dfa1ef956c64e9fce2d845ce07c5388f719c202fd1ff9059282e104400f39f23ff1c4fefc8a23dd1d4c6c9094b497c40c659b087989bf07d44 WHIRLPOOL 27559c50f6aa55edb533046bb49b04784c63003569e7920261504a7b4c69891a80ff8432421352c13f274bb21876f2cf5266e9de2b1302d69e0254be87c17137 diff --git a/app-emulation/lxd/files/lxd-0.18-dont-go-get.patch b/app-emulation/lxd/files/lxd-0.18-dont-go-get.patch deleted file mode 100644 index 1b229ea..000 --- a/app-emulation/lxd/files/lxd-0.18-dont-go-get.patch +++ /dev/null @@ -1,18 +0,0 @@ Makefile.orig 2015-09-17 20:37:16.481867339 -0500 -+++ Makefile 2015-09-17 20:53:27.715800926 -0500 -@@ -12,15 +12,11 @@ - - .PHONY: default - default: -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v ./... - @echo "LXD built succesfuly" - - .PHONY: client - client: -- -go get -t -v -d ./... -- -go get -t -v -d ./... - go install -v ./lxc - @echo "LXD client built succesfuly" - diff --git a/app-emulation/lxd/files/lxd-0.18-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.18-nc-binary-name.patch deleted file mode 100644 index b88b7f7..000 --- a/app-emulation/lxd/files/lxd-0.18-nc-binary-name.patch +++ /dev/null @@ -1,11 +0,0 @@ lxd/rsync.go.orig 2015-09-17 21:00:29.290772099 -0500 -+++ lxd/rsync.go 2015-09-17 21:00:54.737770359 -0500 -@@ -73,7 +73,7 @@ -* command (i.e. the command to run on --server). However, we're -* hardcoding that at the other end, so we can just ignore it. -*/ -- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) -+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) - cmd := exec.Command("rsync", "-arvP", "--devices", "--partial", path, "localhost:/tmp/foo", "-e", rsyncCmd) - if err := cmd.Start(); err != nil { - return nil, nil, err diff --git a/app-emulation/lxd/files/lxd-0.18.confd b/app-emulation/lxd/files/lxd-0.18.confd deleted file mode 100644 index 3d55327..000 --- a/app-emulation/lxd/files/lxd-0.18.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"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 673818afcd17e5dec41804d97a08a2986a836738 Author: Erik Mackdanz gentoo org> AuthorDate: Fri Nov 6 04:27:28 2015 + Commit: Erik Mackdanz gentoo org> CommitDate: Fri Nov 6 04:27:28 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=673818af app-emulation/lxd: remove old 0.16 Package-Manager: portage-2.2.23 app-emulation/lxd/Manifest | 1 - app-emulation/lxd/files/lxd-0.16-dont-go-get.patch | 15 -- .../lxd/files/lxd-0.16-nc-binary-name.patch| 11 -- app-emulation/lxd/files/lxd-0.16.confd | 23 --- app-emulation/lxd/files/lxd-0.16.initd | 32 app-emulation/lxd/lxd-0.16.ebuild | 164 - app-emulation/lxd/metadata.xml | 3 - 7 files changed, 249 deletions(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 59cbdef..3a59603 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,4 +1,3 @@ -DIST lxd-0.16.tar.bz2 2660683 SHA256 bbe2b7542af34c93c7509e9638016a420bfc1daf1f1f45a33fa3d379ae10f14f SHA512 856e5ea1920ec3025cbd308a8e2ef656393a149111a38188f749e7d42a41032d762009d85316815c3f18ac0907fa9380758ca48666b13e900c9bbdf809d57f1c WHIRLPOOL f4bbea69073f2cc0dce65e39d88cdf1a0fadd4629b5b42bdee7ab385df459f78a2e36619c40ace687be124fb8d59c0da043cb1a8195630b2d0a051ab53297b89 DIST lxd-0.18.tar.bz2 2674919 SHA256 cb9c4823fb19ccef4827ee4dc3a105b60d3549b5023f4517d1471487469ea395 SHA512 5bbaae6eef27a0b14f8fee41d113afeea61de5414e5f7ed5011819eb6823a11dff647ac3f9781357304f7c5b04c618d05e4a04197cae6c6e4845cad5476d22ff WHIRLPOOL ca73e587f19491d79b03af2d205ab9f234b5acb1ff1f2d68a05be053cbd1ec89f6b9bc0fc64113980d7f2d6e3c7ece01d7d0c431c08a87b2b0ec555c6ff97914 DIST lxd-0.20.tar.bz2 2687718 SHA256 a071b92015f676746137e1ffeab1886d90297d0d5832bbf5ee6aff081acc4840 SHA512 2064daa7d1aeb4764a15d559e3d4178918942d82dbba31e964d713aab48d2ee30ce6a63632701c41b13de4aea541acd76d55b52f12de10a99ffeaa3cb945ad44 WHIRLPOOL 1ffa9d6bf1cb7132b82e731002eae7b7ff3544fb03958827916c2e00e02a0bdd10bbadd2401f7799187c2c0338987f24b46d8e138131f7df888162e56b3f4fe5 DIST lxd-0.21.tar.bz2 2683517 SHA256 06e9ed72d1d45af532664e47d9772a886dc1d757e83d673498b05798249c66c8 SHA512 588225ed77cd8a86b34579ee3f3b2b3ba8166ce9d85872e6076fa5075bc5a3846c82255dee6e701a6d51bdd9bf8280bbd5fab08ca4438de5320de8f0388685eb WHIRLPOOL c85f103e38f44c4cd859faf330764c3d076cede6d09f976b4686d7f91b6ca233e09721df418493fed19cb8bf3118b2a0a6723f3084da532bba4a5344de8a4b9c diff --git a/app-emulation/lxd/files/lxd-0.16-dont-go-get.patch b/app-emulation/lxd/files/lxd-0.16-dont-go-get.patch deleted file mode 100644 index fbfcf13..000 --- a/app-emulation/lxd/files/lxd-0.16-dont-go-get.patch +++ /dev/null @@ -1,15 +0,0 @@ Makefile.orig 2015-09-03 10:08:26.921410426 -0500 -+++ Makefile 2015-09-03 10:08:52.193408698 -0500 -@@ -12,12 +12,10 @@ - - .PHONY: default - default: -- go get -t -v -d ./... || true - go install -v ./... - - .PHONY: client - client: -- go get -t -v -d ./... - go install -v ./lxc - - # This only needs to be done when migrate.proto is actually changed; since we diff --git a/app-emulation/lxd/files/lxd-0.16-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.16-nc-binary-name.patch deleted file mode 100644 index c81a3ed..000 --- a/app-emulation/lxd/files/lxd-0.16-nc-binary-name.patch +++ /dev/null @@ -1,11 +0,0 @@ lxd/migration/rsync.go.orig2015-08-21 12:05:15.098768663 -0500 -+++ lxd/migration/rsync.go 2015-08-21 12:06:15.899764506 -0500 -@@ -73,7 +73,7 @@ -* command (i.e. the command to run on --server). However, we're -* hardcoding that at the other end, so we can just ignore it. -*/ -- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) -+ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) - cmd := exec.Command("rsync", "-arvP", "--devices", "--partial", path, "localhost:/tmp/foo", "-e", rsyncCmd) - if err := cmd.Start(); err != nil { - return nil, nil, err diff --git a/app-emulation/lxd/files/lxd-0.16.confd b/app-emulation/lxd/files/lxd-0.16.confd deleted file mode 100644 index c3e6e68..000 --- a/app-emulation/lxd/files/lxd-0.16.confd +++ /dev/null @@ -1,23 +0,0 @@ -LXD_OPTIONS="" - -# Group which owns the shared socket -LXD_OPTIONS="${LXD_OPTIONS} --group lxd" - - - -# Enable cpu profiling into the specified file -#LXD_OPTIONS="${LXD_OPTIONS} --cpuprofile ''" - -# Enable memory profiling into the specified file -#LXD_OPTIONS="${LXD_OPTIONS} --memprofile ''" - - - -# Enables debug mode -#LXD_OPTIONS="${LXD_OPTIONS} --debug" - -# For debugging, print a complete stack trace every n seconds -#LXD_OPTIONS="${LXD_OPTIONS} --print-goroutines-every 5" - -# Enables verbose mode -#LXD_OPTIONS="${LXD_OPTIONS} -v" diff --git a/app-emulation/lxd/files/lxd-0.16.initd b/app-emulation/lxd/files/lxd-0.16.initd
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: e833cac3c3b73acdf7de3ed468b8c90f3f209779 Author: Erik Mackdanz gentoo org> AuthorDate: Fri Nov 6 04:22:26 2015 + Commit: Erik Mackdanz gentoo org> CommitDate: Fri Nov 6 04:23:17 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e833cac3 app-emulation/lxd: version bump to 0.21 Package-Manager: portage-2.2.23 app-emulation/lxd/Manifest | 1 + app-emulation/lxd/files/lxd-0.21-dont-go-get.patch | 18 +++ .../lxd/files/lxd-0.21-nc-binary-name.patch| 11 ++ app-emulation/lxd/files/lxd-0.21.confd | 27 app-emulation/lxd/files/lxd-0.21.initd | 32 app-emulation/lxd/lxd-0.21.ebuild | 169 + 6 files changed, 258 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 12e2ace..59cbdef 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,3 +1,4 @@ DIST lxd-0.16.tar.bz2 2660683 SHA256 bbe2b7542af34c93c7509e9638016a420bfc1daf1f1f45a33fa3d379ae10f14f SHA512 856e5ea1920ec3025cbd308a8e2ef656393a149111a38188f749e7d42a41032d762009d85316815c3f18ac0907fa9380758ca48666b13e900c9bbdf809d57f1c WHIRLPOOL f4bbea69073f2cc0dce65e39d88cdf1a0fadd4629b5b42bdee7ab385df459f78a2e36619c40ace687be124fb8d59c0da043cb1a8195630b2d0a051ab53297b89 DIST lxd-0.18.tar.bz2 2674919 SHA256 cb9c4823fb19ccef4827ee4dc3a105b60d3549b5023f4517d1471487469ea395 SHA512 5bbaae6eef27a0b14f8fee41d113afeea61de5414e5f7ed5011819eb6823a11dff647ac3f9781357304f7c5b04c618d05e4a04197cae6c6e4845cad5476d22ff WHIRLPOOL ca73e587f19491d79b03af2d205ab9f234b5acb1ff1f2d68a05be053cbd1ec89f6b9bc0fc64113980d7f2d6e3c7ece01d7d0c431c08a87b2b0ec555c6ff97914 DIST lxd-0.20.tar.bz2 2687718 SHA256 a071b92015f676746137e1ffeab1886d90297d0d5832bbf5ee6aff081acc4840 SHA512 2064daa7d1aeb4764a15d559e3d4178918942d82dbba31e964d713aab48d2ee30ce6a63632701c41b13de4aea541acd76d55b52f12de10a99ffeaa3cb945ad44 WHIRLPOOL 1ffa9d6bf1cb7132b82e731002eae7b7ff3544fb03958827916c2e00e02a0bdd10bbadd2401f7799187c2c0338987f24b46d8e138131f7df888162e56b3f4fe5 +DIST lxd-0.21.tar.bz2 2683517 SHA256 06e9ed72d1d45af532664e47d9772a886dc1d757e83d673498b05798249c66c8 SHA512 588225ed77cd8a86b34579ee3f3b2b3ba8166ce9d85872e6076fa5075bc5a3846c82255dee6e701a6d51bdd9bf8280bbd5fab08ca4438de5320de8f0388685eb WHIRLPOOL c85f103e38f44c4cd859faf330764c3d076cede6d09f976b4686d7f91b6ca233e09721df418493fed19cb8bf3118b2a0a6723f3084da532bba4a5344de8a4b9c diff --git a/app-emulation/lxd/files/lxd-0.21-dont-go-get.patch b/app-emulation/lxd/files/lxd-0.21-dont-go-get.patch new file mode 100644 index 000..1b229ea --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.21-dont-go-get.patch @@ -0,0 +1,18 @@ +--- Makefile.orig 2015-09-17 20:37:16.481867339 -0500 Makefile 2015-09-17 20:53:27.715800926 -0500 +@@ -12,15 +12,11 @@ + + .PHONY: default + default: +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v ./... + @echo "LXD built succesfuly" + + .PHONY: client + client: +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v ./lxc + @echo "LXD client built succesfuly" + diff --git a/app-emulation/lxd/files/lxd-0.21-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.21-nc-binary-name.patch new file mode 100644 index 000..b88b7f7 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.21-nc-binary-name.patch @@ -0,0 +1,11 @@ +--- lxd/rsync.go.orig 2015-09-17 21:00:29.290772099 -0500 lxd/rsync.go 2015-09-17 21:00:54.737770359 -0500 +@@ -73,7 +73,7 @@ +* command (i.e. the command to run on --server). However, we're +* hardcoding that at the other end, so we can just ignore it. +*/ +- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) ++ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) + cmd := exec.Command("rsync", "-arvP", "--devices", "--partial", path, "localhost:/tmp/foo", "-e", rsyncCmd) + if err := cmd.Start(); err != nil { + return nil, nil, err diff --git a/app-emulation/lxd/files/lxd-0.21.confd b/app-emulation/lxd/files/lxd-0.21.confd new file mode 100644 index 000..3d55327 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.21.confd @@ -0,0 +1,27 @@ +# 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-0.21.initd
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: 3895236a79563800d89d74f074d0146640d5bf04 Author: Alex Brandt gentoo org> AuthorDate: Sun Oct 11 14:38:04 2015 + Commit: Alex Brandt gentoo org> CommitDate: Sun Oct 11 14:38:53 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3895236a app-emulation/lxd: add version 0.18 Package-Manager: portage-2.2.23 app-emulation/lxd/Manifest | 1 + app-emulation/lxd/files/lxd-0.18-dont-go-get.patch | 18 +++ .../lxd/files/lxd-0.18-nc-binary-name.patch| 11 ++ app-emulation/lxd/files/lxd-0.18.confd | 27 app-emulation/lxd/files/lxd-0.18.initd | 32 app-emulation/lxd/lxd-0.18.ebuild | 166 + app-emulation/lxd/metadata.xml | 4 + 7 files changed, 259 insertions(+) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index 6254714..88f5361 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1,3 +1,4 @@ DIST lxd-0.13.tar.bz2 3336161 SHA256 4228979ea9a856647f75f0230f58cc577c111a287f148787af766ab36c55f756 SHA512 12cd865ef63702674342df23ebb298b6ba39f0d44e9bfe91c643820be06ff30910145388a4daa2d63fbcb53c236e3cd4eb84e3e0bc617c85247322b0024c4920 WHIRLPOOL 82e788e9b35429df308d498955bd0cab06eb7d1a09c0a20bddad78490900b2cb78a44da9970db149ebfda546250a1d5aa2204e5f6f98b81a228310bfee3003a7 DIST lxd-0.14.tar.bz2 2526939 SHA256 c0c51ac5b3d30c7906323eba965011073b412a3c354ce095e46f14df4298c46c SHA512 d3f9eb38cdf71add270c895c1583dab85b0e0dba0d956900628b519881b41582113d6c25d37b9522493de069ad6a43b197ae895aefeb83391337273a4b60953e WHIRLPOOL 2b9c6931b81df7e60b13e35bfcd5272a46fb29377e11f6326616f55bf6c583db7be82d41273369518e9b9e434bee3b30f989b6816cd8dbdd40cc2cc1effac7b4 DIST lxd-0.16.tar.bz2 2660683 SHA256 bbe2b7542af34c93c7509e9638016a420bfc1daf1f1f45a33fa3d379ae10f14f SHA512 856e5ea1920ec3025cbd308a8e2ef656393a149111a38188f749e7d42a41032d762009d85316815c3f18ac0907fa9380758ca48666b13e900c9bbdf809d57f1c WHIRLPOOL f4bbea69073f2cc0dce65e39d88cdf1a0fadd4629b5b42bdee7ab385df459f78a2e36619c40ace687be124fb8d59c0da043cb1a8195630b2d0a051ab53297b89 +DIST lxd-0.18.tar.bz2 2674919 SHA256 cb9c4823fb19ccef4827ee4dc3a105b60d3549b5023f4517d1471487469ea395 SHA512 5bbaae6eef27a0b14f8fee41d113afeea61de5414e5f7ed5011819eb6823a11dff647ac3f9781357304f7c5b04c618d05e4a04197cae6c6e4845cad5476d22ff WHIRLPOOL ca73e587f19491d79b03af2d205ab9f234b5acb1ff1f2d68a05be053cbd1ec89f6b9bc0fc64113980d7f2d6e3c7ece01d7d0c431c08a87b2b0ec555c6ff97914 diff --git a/app-emulation/lxd/files/lxd-0.18-dont-go-get.patch b/app-emulation/lxd/files/lxd-0.18-dont-go-get.patch new file mode 100644 index 000..1b229ea --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.18-dont-go-get.patch @@ -0,0 +1,18 @@ +--- Makefile.orig 2015-09-17 20:37:16.481867339 -0500 Makefile 2015-09-17 20:53:27.715800926 -0500 +@@ -12,15 +12,11 @@ + + .PHONY: default + default: +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v ./... + @echo "LXD built succesfuly" + + .PHONY: client + client: +- -go get -t -v -d ./... +- -go get -t -v -d ./... + go install -v ./lxc + @echo "LXD client built succesfuly" + diff --git a/app-emulation/lxd/files/lxd-0.18-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.18-nc-binary-name.patch new file mode 100644 index 000..b88b7f7 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.18-nc-binary-name.patch @@ -0,0 +1,11 @@ +--- lxd/rsync.go.orig 2015-09-17 21:00:29.290772099 -0500 lxd/rsync.go 2015-09-17 21:00:54.737770359 -0500 +@@ -73,7 +73,7 @@ +* command (i.e. the command to run on --server). However, we're +* hardcoding that at the other end, so we can just ignore it. +*/ +- rsyncCmd := fmt.Sprintf("sh -c \"nc -U %s\"", f.Name()) ++ rsyncCmd := fmt.Sprintf("sh -c \"nc.openbsd -U %s\"", f.Name()) + cmd := exec.Command("rsync", "-arvP", "--devices", "--partial", path, "localhost:/tmp/foo", "-e", rsyncCmd) + if err := cmd.Start(); err != nil { + return nil, nil, err diff --git a/app-emulation/lxd/files/lxd-0.18.confd b/app-emulation/lxd/files/lxd-0.18.confd new file mode 100644 index 000..3d55327 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.18.confd @@ -0,0 +1,27 @@ +# 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
[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/, app-emulation/lxd/files/
commit: f61098fef54895ee4874d9bbc3694310322e06f7 Author: Alex Brandt alunduil AT gentoo DOT org AuthorDate: Sun Aug 9 20:47:22 2015 + Commit: Alex Brandt alunduil AT gentoo DOT org CommitDate: Sun Aug 9 20:48:04 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f61098fe app-emulation/lxd: add version 0.14 Submitted by Erik Mackdanz. Package-Manager: portage-2.2.20 app-emulation/lxd/Manifest | 1 + .../lxd/files/lxd-0.14-nc-binary-name.patch| 11 ++ app-emulation/lxd/files/lxd.initd | 2 +- app-emulation/lxd/lxd-0.14.ebuild | 137 + 4 files changed, 150 insertions(+), 1 deletion(-) diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest index fe7eddb..79b1749 100644 --- a/app-emulation/lxd/Manifest +++ b/app-emulation/lxd/Manifest @@ -1 +1,2 @@ DIST lxd-0.13.tar.bz2 3336161 SHA256 4228979ea9a856647f75f0230f58cc577c111a287f148787af766ab36c55f756 SHA512 12cd865ef63702674342df23ebb298b6ba39f0d44e9bfe91c643820be06ff30910145388a4daa2d63fbcb53c236e3cd4eb84e3e0bc617c85247322b0024c4920 WHIRLPOOL 82e788e9b35429df308d498955bd0cab06eb7d1a09c0a20bddad78490900b2cb78a44da9970db149ebfda546250a1d5aa2204e5f6f98b81a228310bfee3003a7 +DIST lxd-0.14.tar.bz2 2526939 SHA256 c0c51ac5b3d30c7906323eba965011073b412a3c354ce095e46f14df4298c46c SHA512 d3f9eb38cdf71add270c895c1583dab85b0e0dba0d956900628b519881b41582113d6c25d37b9522493de069ad6a43b197ae895aefeb83391337273a4b60953e WHIRLPOOL 2b9c6931b81df7e60b13e35bfcd5272a46fb29377e11f6326616f55bf6c583db7be82d41273369518e9b9e434bee3b30f989b6816cd8dbdd40cc2cc1effac7b4 diff --git a/app-emulation/lxd/files/lxd-0.14-nc-binary-name.patch b/app-emulation/lxd/files/lxd-0.14-nc-binary-name.patch new file mode 100644 index 000..40e1224 --- /dev/null +++ b/app-emulation/lxd/files/lxd-0.14-nc-binary-name.patch @@ -0,0 +1,11 @@ +--- lxd/migration/rsync.go.orig2015-07-11 09:33:18.012425011 -0500 lxd/migration/rsync.go 2015-07-11 09:33:34.881423857 -0500 +@@ -84,7 +84,7 @@ +* command (i.e. the command to run on --server). However, we're +* hardcoding that at the other end, so we can just ignore it. +*/ +- rsyncCmd := fmt.Sprintf(sh -c \nc -U %s\, f.Name()) ++ rsyncCmd := fmt.Sprintf(sh -c \nc.openbsd -U %s\, f.Name()) + cmd := exec.Command(rsync, -arvPz, --devices, --partial, path, localhost:/tmp/foo, -e, rsyncCmd) + if err := cmd.Start(); err != nil { + return nil, nil, err diff --git a/app-emulation/lxd/files/lxd.initd b/app-emulation/lxd/files/lxd.initd index fa72002..2c50c78 100644 --- a/app-emulation/lxd/files/lxd.initd +++ b/app-emulation/lxd/files/lxd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxd/files/lxd.initd,v 1.1 2015/07/19 20:36:34 alunduil Exp $ DAEMON=/usr/sbin/lxd PIDFILE=/run/lxd.pid diff --git a/app-emulation/lxd/lxd-0.14.ebuild b/app-emulation/lxd/lxd-0.14.ebuild new file mode 100644 index 000..7ba3a8e --- /dev/null +++ b/app-emulation/lxd/lxd-0.14.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxd/lxd-0.13.ebuild,v 1.1 2015/07/19 20:36:34 alunduil Exp $ + +EAPI=5 + +DESCRIPTION=Fast, dense and secure container management +HOMEPAGE=https://linuxcontainers.org/lxd/introduction/; +EGO_PN_PARENT=github.com/lxc +EGO_PN=${EGO_PN_PARENT}/lxd +SRC_URI=http://961db08fe45d5f5dd062-b8a7a040508aea6d369676e49b80719d.r29.cf2.rackcdn.com/${P}.tar.bz2; +LICENSE=Apache-2.0 +SLOT=0 +KEYWORDS=~amd64 + +PLOCALES=de fr ja +IUSE=nls test +image + +# IUSE and PLOCALES must be defined before l10n inherited +inherit bash-completion-r1 eutils golang-build l10n systemd user vcs-snapshot + +DEPEND= + dev-go/go-crypto + =dev-lang/go-1.4.2:= + dev-libs/protobuf + dev-vcs/git + nls? ( sys-devel/gettext ) + test? ( + app-misc/jq + dev-db/sqlite + net-misc/curl + sys-devel/gettext + ) + + +RDEPEND= + app-admin/cgmanager + app-arch/xz-utils + app-emulation/lxc[cgmanager] + net-analyzer/openbsd-netcat + net-misc/bridge-utils + virtual/acl + image? ( + app-crypt/gnupg + =dev-lang/python-3.2 + ) + + +# KNOWN ISSUES: +# - Translations may not work. I've been unsuccessful in forcing +# localized output. Anyway, upstream (Canonical) doesn't install the +# message files. + +src_prepare() { + cd ${S}/src/${EGO_PN} + + # Upstream requires the openbsd flavor of netcat (with -U), but + # Gentoo installs that with a renamed binary + epatch