[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2020-10-26 Thread Joonas Niilola
commit: 1e6334d771a7f7b7b38c8221a5649f2e81c5ce8a
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Oct 26 06:25:22 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 26 06:29:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e6334d7

app-emulation/lxd: revert openrc -> systemd-cgroups fix

 - it now breaks openrc -> openrc-cgroups instead. A better solution needs to
   be found. Please see
   
https://wiki.gentoo.org/wiki/LXD#Running_systemd_based_containers_on_OpenRC_hosts
   for a workaround, that you can add to your own init.d file if needed.

Bug: 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-r1.ebuild => lxd-4.0.3-r2.ebuild} | 0
 app-emulation/lxd/{lxd-4.0.4.ebuild => lxd-4.0.4-r1.ebuild}| 0
 3 files changed, 3 deletions(-)

diff --git a/app-emulation/lxd/files/lxd-4.0.0.initd 
b/app-emulation/lxd/files/lxd-4.0.0.initd
index f4206344355..03ec12e44f5 100644
--- a/app-emulation/lxd/files/lxd-4.0.0.initd
+++ b/app-emulation/lxd/files/lxd-4.0.0.initd
@@ -18,9 +18,6 @@ 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-r1.ebuild 
b/app-emulation/lxd/lxd-4.0.3-r2.ebuild
similarity index 100%
rename from app-emulation/lxd/lxd-4.0.3-r1.ebuild
rename to app-emulation/lxd/lxd-4.0.3-r2.ebuild

diff --git a/app-emulation/lxd/lxd-4.0.4.ebuild 
b/app-emulation/lxd/lxd-4.0.4-r1.ebuild
similarity index 100%
rename from app-emulation/lxd/lxd-4.0.4.ebuild
rename to app-emulation/lxd/lxd-4.0.4-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2020-08-12 Thread Joonas Niilola
commit: a6d431a990c249ae48c8cde1b7246d30f50a9acb
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Aug 12 12:55:38 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 12 13:03:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d431a9

app-emulation/lxd: remove old 4.0.1

Signed-off-by: Joonas Niilola  gentoo.org>

 app-emulation/lxd/Manifest|   1 -
 app-emulation/lxd/files/lxd-4.0.1-clang.patch |  76 --
 app-emulation/lxd/files/lxd.service   |  10 --
 app-emulation/lxd/lxd-4.0.1.ebuild| 206 --
 4 files changed, 293 deletions(-)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 621644c18ae..e491542f828 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,2 +1 @@
-DIST lxd-4.0.1.tar.gz 25027762 BLAKE2B 
1154a427558ad5eda62b63501a2f62a5c3a1b740fac061432b06a1034b75cb906f38d6c43e8215cab8ae0bed328d75a7612c1bb7af3272cdbe3f93235d5bb920
 SHA512 
1f47f8239cc1d3425fc4cd075487678e219e94deddec10f52a1cd18fbdc0515f54b67552e7b41d0052803c317a861b34cfc83a25776eae7b9673b5c5fd50d70f
 DIST lxd-4.0.2.tar.gz 25350601 BLAKE2B 
2abecb61759a1a717960671516157dc7b7a36865ecdbcec1f211e5b653b2b4afc41932a4a289430de0dd4ac1e2c777de471ab26e31dbf2b8d1855f67d03886ad
 SHA512 
6c1c668055e9677850f24e142e6741cb6b5aa8d4d9cce29af566e8090c28e04b4baf973f486aef28b7f6b34be5b9ab9bb45e77956879ff7feff6bec8e4db3077

diff --git a/app-emulation/lxd/files/lxd-4.0.1-clang.patch 
b/app-emulation/lxd/files/lxd-4.0.1-clang.patch
deleted file mode 100644
index 765f2f38be5..000
--- a/app-emulation/lxd/files/lxd-4.0.1-clang.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-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/files/lxd.service 
b/app-emulation/lxd/files/lxd.service
deleted file mode 100644
index d00635fbcdd..000
--- a/app-emulation/lxd/files/lxd.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=Container hypervisor based on 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2020-05-14 Thread Joonas Niilola
commit: a7d7c673797b5ff17c5a28b9d1a131d000cac3d7
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu May 14 15:56:05 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri May 15 05:20:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7d7c673

app-emulation/lxd: bump to 4.0.1, LTS channel

 - always install daemon and tools,
 - port to GLEP-81 acct.

Closes: https://bugs.gentoo.org/701248
Closes: https://bugs.gentoo.org/716632
Signed-off-by: Joonas Niilola  gentoo.org>

 app-emulation/lxd/Manifest  |   1 +
 app-emulation/lxd/files/lxd-4.0.0.confd |  23 
 app-emulation/lxd/files/lxd-4.0.0.initd |  54 +
 app-emulation/lxd/lxd-4.0.1.ebuild  | 202 
 4 files changed, 280 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index f0a03569d10..5c5d670606b 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,2 +1,3 @@
 DIST lxd-3.14.tar.gz 26141949 BLAKE2B 
69004501012c9a873eef77a60df7e5dba25c692224d27b02cd2d2b27533012e71bd7562cb64a17920234746e8be2819bb773365c01422c0b776dd2b7c36b69fe
 SHA512 
3d2d4e61298fc9fde49defad776a398fcccf7639485e810173c9c7f7d939c354a9ad8112a4a631b0850f6eb54435012d289236ff61839416caf95434eb23c8ff
 DIST lxd-3.16.tar.gz 24863601 BLAKE2B 
0087c00d86ea3f623ea31bc008176e4232bb432f5c431c288f5c5ff3e1658abe4e310509088ddc6b23d8db68f8e93997522b8a5c0b19fd243abee13e11d3deb9
 SHA512 
11c6c5c49ceb23c31979829937e1baad340b8920481ef5b89b2b6d0b6b05967ec1f446f8b0330c11008f6fecea077eed0858af7fe802c50b52148757584fdfb9
+DIST lxd-4.0.1.tar.gz 25027762 BLAKE2B 
1154a427558ad5eda62b63501a2f62a5c3a1b740fac061432b06a1034b75cb906f38d6c43e8215cab8ae0bed328d75a7612c1bb7af3272cdbe3f93235d5bb920
 SHA512 
1f47f8239cc1d3425fc4cd075487678e219e94deddec10f52a1cd18fbdc0515f54b67552e7b41d0052803c317a861b34cfc83a25776eae7b9673b5c5fd50d70f

diff --git a/app-emulation/lxd/files/lxd-4.0.0.confd 
b/app-emulation/lxd/files/lxd-4.0.0.confd
new file mode 100644
index 000..68cf344995b
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-4.0.0.confd
@@ -0,0 +1,23 @@
+# 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"
+
+# Enable debug mode
+#LXD_OPTIONS+=" --debug"
+
+# For debugging, print a complete stack trace every n seconds
+#LXD_OPTIONS+=" --print-goroutines-every 5"
+
+# Enable verbose mode
+#LXD_OPTIONS+=" -v"
+
+# Logfile to log to
+#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
+
+# Enable syslog logging
+#LXD_OPTIONS+=" --syslog"

diff --git a/app-emulation/lxd/files/lxd-4.0.0.initd 
b/app-emulation/lxd/files/lxd-4.0.0.initd
new file mode 100644
index 000..03ec12e44f5
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-4.0.0.initd
@@ -0,0 +1,54 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 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
+}
+
+start() {
+   ebegin "Starting lxd service"
+
+   modprobe -f loop > /dev/null 2>&1
+
+   # 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 \
+   --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."
+   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
+   eend ${?}
+}

diff --git a/app-emulation/lxd/lxd-4.0.1.ebuild 
b/app-emulation/lxd/lxd-4.0.1.ebuild
new file mode 100644
index 000..876dcde968a
--- /dev/null
+++ b/app-emulation/lxd/lxd-4.0.1.ebuild
@@ -0,0 +1,202 @@
+# 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;

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2019-09-08 Thread Erik Mackdanz
commit: 2758f7b24ebd2d60d2a552c0fd3b2c01dea6cdf0
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sun Sep  8 22:50:32 2019 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Mon Sep  9 02:57:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2758f7b2

app-emulation/lxd: Remove old

Signed-off-by: Erik Mackdanz  gentoo.org>
Package-Manager: Portage-2.3.73, Repoman-2.3.17

 app-emulation/lxd/Manifest |   1 -
 .../lxd/files/ptbr-translation-newline.patch   |  19 --
 app-emulation/lxd/lxd-3.12.ebuild  | 241 -
 3 files changed, 261 deletions(-)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 94f485cced0..6a388ba 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,2 +1 @@
-DIST lxd-3.12.tar.gz 27365315 BLAKE2B 
2b371ef4e9703a7a0494ca009b3c04a3051d76ba0bc87566b90871059cce04f80c5d941d639a53762b219f658379bbffb8ed844cee4271bb756aecb2742ce1d0
 SHA512 
fd56ee2a2114b338cfb8b575775530b34c7dcc978c95f9bc3b0dced91cf7f01558012c357eb3f8220bc6fa6aa5ecaca67d47b300b67c0d193f11c5088ce6330e
 DIST lxd-3.14.tar.gz 26141949 BLAKE2B 
69004501012c9a873eef77a60df7e5dba25c692224d27b02cd2d2b27533012e71bd7562cb64a17920234746e8be2819bb773365c01422c0b776dd2b7c36b69fe
 SHA512 
3d2d4e61298fc9fde49defad776a398fcccf7639485e810173c9c7f7d939c354a9ad8112a4a631b0850f6eb54435012d289236ff61839416caf95434eb23c8ff

diff --git a/app-emulation/lxd/files/ptbr-translation-newline.patch 
b/app-emulation/lxd/files/ptbr-translation-newline.patch
deleted file mode 100644
index 92d78ca1427..000
--- a/app-emulation/lxd/files/ptbr-translation-newline.patch
+++ /dev/null
@@ -1,19 +0,0 @@
 /po/pt_BR.po.orig  2018-10-13 23:27:01.523645894 -0500
-+++ /po/pt_BR.po   2018-10-13 23:28:04.730644762 -0500
-@@ -95,7 +95,6 @@
- "###\n"
- "### Note that the name is shown but cannot be changed"
- msgstr ""
--"\n"
- "### Esta é uma representação em yaml da configuração.\n"
- "### Qualquer linha começando com '#' será ignorada.\n"
- "###\n"
-@@ -112,7 +111,7 @@
- "### type: disk\n"
- "### ephemeral: false\n"
- "###\n"
--"### Observe que o nome é exibido mas não pode ser modificado\n"
-+"### Observe que o nome é exibido mas não pode ser modificado"
- 
- #: lxc/config_metadata.go:63
- msgid ""

diff --git a/app-emulation/lxd/lxd-3.12.ebuild 
b/app-emulation/lxd/lxd-3.12.ebuild
deleted file mode 100644
index a330cfbac4e..000
--- a/app-emulation/lxd/lxd-3.12.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"
-
-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]
-   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 commands"
-ERROR_NET_IPGRE="NET_IPGRE: needed for 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2018-10-13 Thread Erik Mackdanz
commit: 72bf039f5ed8c88ec658e19516bab07f77828c8a
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sun Oct 14 04:36:01 2018 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sun Oct 14 04:36:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72bf039f

app-emulation/lxd: Bump to 3.6

Signed-off-by: Erik Mackdanz  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-emulation/lxd/Manifest |   1 +
 .../lxd/files/ptbr-translation-newline.patch   |  19 ++
 app-emulation/lxd/lxd-3.6.ebuild   | 238 +
 3 files changed, 258 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 57a31c22485..92740d8c352 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1 +1,2 @@
 DIST lxd-3.5.tar.gz 28356957 BLAKE2B 
44334026ed720cc9d8a16a0752abb102f07b186e9a5946ffce9872734d166a6d477e0dd324002f74c2cca36bc500f7def9ff7f358c7d07792124392ab815e07c
 SHA512 
56f10a75ee2cfb6ed653e2d69dee979b0a661f267bc66ab642e5fc1835d1879e7df600671325973d9772ddc653334531f2420f129c06cdb5a93950083263f366
+DIST lxd-3.6.tar.gz 25777268 BLAKE2B 
f2c3f20108f5990b1e086d1f5db53cbd476d0613f97f60a29dd66d3779486aef10f9eebf514853960d5606a108aea2e7c89365207130e8345ede70ed5b22806e
 SHA512 
7b1982b81cfee56185bc0929b7bd9f1eb705c1ae83f11fa6f9aa2c9f8fc9aa5c705112121b41e5ed3791aa2ab41be26d7f8fb0a78951bab382b77ae9ae95a793

diff --git a/app-emulation/lxd/files/ptbr-translation-newline.patch 
b/app-emulation/lxd/files/ptbr-translation-newline.patch
new file mode 100644
index 000..92d78ca1427
--- /dev/null
+++ b/app-emulation/lxd/files/ptbr-translation-newline.patch
@@ -0,0 +1,19 @@
+--- /po/pt_BR.po.orig  2018-10-13 23:27:01.523645894 -0500
 /po/pt_BR.po   2018-10-13 23:28:04.730644762 -0500
+@@ -95,7 +95,6 @@
+ "###\n"
+ "### Note that the name is shown but cannot be changed"
+ msgstr ""
+-"\n"
+ "### Esta é uma representação em yaml da configuração.\n"
+ "### Qualquer linha começando com '#' será ignorada.\n"
+ "###\n"
+@@ -112,7 +111,7 @@
+ "### type: disk\n"
+ "### ephemeral: false\n"
+ "###\n"
+-"### Observe que o nome é exibido mas não pode ser modificado\n"
++"### Observe que o nome é exibido mas não pode ser modificado"
+ 
+ #: lxc/config_metadata.go:63
+ msgid ""

diff --git a/app-emulation/lxd/lxd-3.6.ebuild b/app-emulation/lxd/lxd-3.6.ebuild
new file mode 100644
index 000..52e97dfade6
--- /dev/null
+++ b/app-emulation/lxd/lxd-3.6.ebuild
@@ -0,0 +1,238 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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 commands"
+ERROR_NET_IPGRE="NET_IPGRE: needed for network commands"

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2018-10-13 Thread Erik Mackdanz
commit: 6aaccc67a3c6fc22b12ef573a2626b8d9d32e19d
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Oct 13 22:47:26 2018 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Oct 13 22:47:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aaccc67

app-emulation/lxd: Remove old versions

Signed-off-by: Erik Mackdanz  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-emulation/lxd/Manifest |   2 -
 .../lxd/files/de-translation-newline.patch |  20 --
 .../lxd/files/ja-translation-newline.patch |  11 -
 app-emulation/lxd/files/lxd.initd.1|  47 -
 app-emulation/lxd/lxd-3.3.ebuild   | 183 
 app-emulation/lxd/lxd-3.4-r1.ebuild| 233 -
 app-emulation/lxd/lxd-3.4.ebuild   | 232 
 7 files changed, 728 deletions(-)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index e2d85aa69e4..57a31c22485 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,3 +1 @@
-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.patch 
b/app-emulation/lxd/files/de-translation-newline.patch
deleted file mode 100644
index 9ef55ab2f0e..000
--- a/app-emulation/lxd/files/de-translation-newline.patch
+++ /dev/null
@@ -1,20 +0,0 @@
 /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/files/ja-translation-newline.patch 
b/app-emulation/lxd/files/ja-translation-newline.patch
deleted file mode 100644
index bbda24c6f37..000
--- a/app-emulation/lxd/files/ja-translation-newline.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 /po/ja.po  2018-05-20 19:42:38.932990198 -0500
-+++ /po/ja.po  2018-05-20 19:42:55.839944861 -0500
-@@ -1380,7 +1380,7 @@
- "イメージのエイリアスを一覧表示します\n"
- "\n"
- "指定するフィルタはイメージのハッシュ値の一部でもイメージのエイリアスの一部で"
--"も構いません。"
-+"も構いません。\n"
- 
- #: lxc/image.go:888
- msgid "List images"

diff --git a/app-emulation/lxd/files/lxd.initd.1 
b/app-emulation/lxd/files/lxd.initd.1
deleted file mode 100644
index b6d3cd4eb26..000
--- a/app-emulation/lxd/files/lxd.initd.1
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/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.3.ebuild b/app-emulation/lxd/lxd-3.3.ebuild
deleted file mode 100644

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2018-07-03 Thread Virgil Dupras
commit: d3eb22b92b1a63934cabf8b17066e58413c1c4b9
Author: Virgil Dupras  gentoo  org>
AuthorDate: Tue Jul  3 12:19:58 2018 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Tue Jul  3 12:23:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3eb22b9

app-emulation/lxd: revert removal of v2.21

It was a mistake to remove it because it was the only stable version
left

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-emulation/lxd/Manifest|  44 +
 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 ++
 4 files changed, 311 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 1389d1729bb..e4d4728dc2a 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,2 +1,46 @@
+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 
19bb8d2861225a14ba3f19b2ae96c6640833fea7da52228480634e715b7690afc94e605a5be1b70b263bb3045a0fbcf9f78211c431836d077cca7d076fec1686
 SHA512 
e82f87394d2a8d96779cc69c8803555b5d23eb02f3d38101ccb9142a892280c32b8123d61a309a041cf5034282b5269ea38b5d29e03c85ca3c62c4fc0802502e
+DIST 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2018-05-20 Thread Erik Mackdanz
commit: d6be94961308bcbc954135412868267b9216f78e
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Mon May 21 01:26:29 2018 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Mon May 21 01:26:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6be9496

app-emulation/lxd: bump to 3.1

Closes: https://bugs.gentoo.org/652846
Closes: https://bugs.gentoo.org/639020
Package-Manager: Portage-2.3.38, Repoman-2.3.9

 app-emulation/lxd/Manifest |   1 +
 .../lxd/files/ja-translation-newline.patch |  11 ++
 app-emulation/lxd/lxd-3.1.ebuild   | 180 +
 3 files changed, 192 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 09518bce21b..653ac15bf85 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -96,3 +96,4 @@ DIST 
github.com-syndtr-gocapability-33e07d32887e1e06b7c025f27ce52f62c7990bc0.tar
 DIST 
github.com-syndtr-gocapability-db04d3cc01c8b54962a58ec7e491717d06cfcc16.tar.gz 
9899 BLAKE2B 
584e75a9c47d28498aedb5c85b3409c79c84ec9fc47a5a9dc77aa117b4e48f681f72a12a03fafa566a405def40b4961bb7343cad0c6ecb3cd9da883a51ed20d6
 SHA512 
fdd8a3cc1add7570269df6ad8867fd9d2da7bbf751416a5376ff123dcf959be13912b766f5214123e20fabd242a629e02f3bdaf0680782805afb81f6f08a78ae
 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

diff --git a/app-emulation/lxd/files/ja-translation-newline.patch 
b/app-emulation/lxd/files/ja-translation-newline.patch
new file mode 100644
index 000..bbda24c6f37
--- /dev/null
+++ b/app-emulation/lxd/files/ja-translation-newline.patch
@@ -0,0 +1,11 @@
+--- /po/ja.po  2018-05-20 19:42:38.932990198 -0500
 /po/ja.po  2018-05-20 19:42:55.839944861 -0500
+@@ -1380,7 +1380,7 @@
+ "イメージのエイリアスを一覧表示します\n"
+ "\n"
+ "指定するフィルタはイメージのハッシュ値の一部でもイメージのエイリアスの一部で"
+-"も構いません。"
++"も構いません。\n"
+ 
+ #: lxc/image.go:888
+ msgid "List images"

diff --git a/app-emulation/lxd/lxd-3.1.ebuild b/app-emulation/lxd/lxd-3.1.ebuild
new file mode 100644
index 000..7f27f52217f
--- /dev/null
+++ b/app-emulation/lxd/lxd-3.1.ebuild
@@ -0,0 +1,180 @@
+# 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: 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"

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2018-04-08 Thread Erik Mackdanz
commit: aef61f3e7622e190f8833f0738661647c279a4f9
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sun Apr  8 20:04:56 2018 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sun Apr  8 20:04:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aef61f3e

app-emulation/lxd: Support latest confd options

Closes: https://bugs.gentoo.org/652206
Package-Manager: Portage-2.3.26, Repoman-2.3.7

 app-emulation/lxd/files/lxd.confd.1   |  24 
 app-emulation/lxd/lxd-3.0.0-r1.ebuild | 251 ++
 app-emulation/lxd/metadata.xml|   4 +-
 3 files changed, 277 insertions(+), 2 deletions(-)

diff --git a/app-emulation/lxd/files/lxd.confd.1 
b/app-emulation/lxd/files/lxd.confd.1
new file mode 100644
index 000..8e342cc62d1
--- /dev/null
+++ b/app-emulation/lxd/files/lxd.confd.1
@@ -0,0 +1,24 @@
+# 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/lxd-3.0.0-r1.ebuild 
b/app-emulation/lxd/lxd-3.0.0-r1.ebuild
new file mode 100644
index 000..6330fcb2112
--- /dev/null
+++ b/app-emulation/lxd/lxd-3.0.0-r1.ebuild
@@ -0,0 +1,251 @@
+# 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/;
+EGO_PN_PARENT="github.com/lxc"
+EGO_PN="${EGO_PN_PARENT}/lxd"
+
+# Maintained with https://github.com/hsoft/gentoo-ego-vendor-update
+# The "# branch" comments are there for the script, they're important.
+EGO_VENDOR=(
+   "github.com/lxc/lxd e641ae45dc13cc27510c9d2127eece46ed9ac16b"
+   "github.com/CanonicalLtd/go-sqlite3 
730012cee3364e7717c28f7e9b05ee6dd8684bae"
+   "github.com/CanonicalLtd/dqlite 
9334841532709c77fc79e13a08408694e4bb3616"
+   "github.com/CanonicalLtd/go-grpc-sql 
534b56d0c689ed437e6cff44868964d45d3ec85c"
+   "github.com/CanonicalLtd/raft-http 
e4290d0af830073ec140538e8974aa4393495ea1"
+   "github.com/CanonicalLtd/raft-membership 
26ef52960f54c472f52fb3701f19f25319e1032e"
+   "github.com/CanonicalLtd/raft-test 
22441a088d5630ddd2e971eae68074d2b645f1b7"
+   "github.com/dustinkirkland/golang-petname 
d3c2ba80e75eeef10c5cf2fc76d2c809637376b3"
+   "github.com/flosch/pongo2 97eac295f74b5fbb7fd3113e35f4ccf3c816e389"
+   "github.com/juju/errors c7d06af17c68cd34c835053720b21f6549d9b0ee"
+   "github.com/juju/idmclient 15392b0e99abe5983297959c737b8d000e43b34c"
+   "github.com/juju/httprequest 77d36ac4b71a6095506c0617d5881846478558cb"
+   "github.com/juju/utils d18e608d01400189bcda3e2669505cbd30e9dda9"
+   "github.com/juju/loggo 7f1609ff1f3fcf3519ed62ccaaa9e609ea287838"
+   "github.com/juju/webbrowser 54b8c57083b4afb7dc75da7f13e2967b2606a507"
+   "github.com/juju/gomaasapi 663f786f595ba1707f56f62f7f4f2284c47c0f1d"
+   "github.com/juju/schema e4f08199aa80d3194008c0bd2e14ef5edc0e6be6"
+   "github.com/juju/version b64dbd566305c836274f0268fa59183a52906b36"
+   "github.com/juju/persistent-cookiejar 
d5e5a8405ef9633c84af42fbcc734ec8dd73c198"
+   "github.com/juju/go4 40d72ab9641a2a8c36a9c46a51e28367115c8e59"
+   "github.com/juju/testing 43f926548f91d55be6bae26ecb7d2386c64e887c"
+   "github.com/juju/retry 1998d01ba1c3eeb4a4728c4a50660025b2fe7c8f"
+   "github.com/golang/protobuf e09c5db296004fbe3f74490e84dcd62c3c5ddb1b"
+   "github.com/golang/glog 23def4e6c14b4da8ac2ed8007337bc5eb5007998"
+   "github.com/gorilla/mux 4dbd923b0c9e99ff63ad54b0e9705ff92d3cdb06"
+   "github.com/gorilla/websocket eb925808374e5ca90c83401a40d711dc08c0c0f6"
+   "github.com/julienschmidt/httprouter 
d1898390779332322e6b5ca5011da4bf249bb056"
+   "github.com/rogpeppe/fastuuid 6724a57986aff9bff1a1770e9347036def7c89f6"
+   "github.com/pkg/errors 816c9085562cd7ee03e7f8188a1cfd942858cded"
+   "github.com/ryanfaerman/fsm 3dc1bc0980272fd56d81167a48a641dab8356e29"
+   "github.com/hashicorp/raft a3fb4581fb07b16ecf1c3361580d4bdb17de9d98"
+   "github.com/hashicorp/go-immutable-radix 
7f3cd4390caab3250a57f30efdb2a65dd7649ecf"
+   "github.com/hashicorp/golang-lru 
0fb14efe8c47ae851c0034ed7a448854d3d34cf3"
+   "github.com/hashicorp/go-msgpack 
fa3f63826f7c23912c15263591e65d54d080b458"
+   "github.com/hashicorp/raft-boltdb 
6e5ba93211eaf8d9a2ad7e41ffad8c6f160f9fe3"
+   "github.com/armon/go-metrics 783273d703149aaeb9897cf58613d5af48861c25"
+   

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2017-09-24 Thread Agostino Sarubbo
commit: 3d371f7b42b45dfcf33bef20358de09491a8b9a5
Author: Virgil Dupras  hardcoded  net>
AuthorDate: Sat Sep 23 13:10:27 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep 24 11:17:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d371f7b

app-emulation/lxd: remove old

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 app-emulation/lxd/Manifest |  10 -
 app-emulation/lxd/files/lxd-2.16-dont-go-get.patch |  16 --
 app-emulation/lxd/files/lxd-2.16.confd |  27 ---
 app-emulation/lxd/files/lxd-2.16.initd |  46 -
 app-emulation/lxd/files/lxd-2.16.service   |  10 -
 app-emulation/lxd/lxd-2.16.ebuild  | 206 -
 6 files changed, 315 deletions(-)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 6e4dd01ad85..633257973bd 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -8,31 +8,24 @@ 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-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-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-0744d001aa8470aaa53df28d32e5ceeb8af9bd70.tar.gz 
920361 SHA256 03f6f00d1142924dfee5abd67e6a39801a1da5c9f372a122f3c65de58a39 
SHA512 
d308b4f872612287c29b815b6ac0c4c3efbda4c641940ed8553851b1e93c6654bf443367b5ec96166d68fc2759d7e90e46fd6f148f0a6d535bf057bb785627d7
 WHIRLPOOL 
3d058a51d06992f8c07640f2ff6e69c5a0c468251420857b26da30fb6dc9b15f169321a7a4a29849aa6f346122339a0758875d6afd31d8d85a0cf3be8bb481f2
-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 
b48dd92edf0ce8cb27b57132a888b0f7ac2b7b844f62aebe072e5fa3beb9921a409c547c6fd2701f1f4ba68a580e8c5988d915cc8cbeaee62356399d3848f2f6
 DIST github.com-golang-net-e4fa1c5465ad6111f206fc92186b8c83d64adbe1.tar.gz 
899910 SHA256 a92f1314f40ff6e542ac6e6ea1346cefcfc74e5e5de4939a1baa67c4f86a482b 
SHA512 
0a582e9aa0ecee1c881771715970129d8af5975cccbb797f1e2a7989b17448b26c000ef49fc7a1ae02eddebdfbc52dd2cd9a82b0b3b667b4ee7f62346052
 WHIRLPOOL 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2017-09-24 Thread Agostino Sarubbo
commit: ed33158c34c84438fd698cf18450af9236a4eff2
Author: Virgil Dupras  hardcoded  net>
AuthorDate: Sat Sep 23 13:09:28 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep 24 11:17:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed33158c

app-emulation/lxd: bump to v2.18

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 app-emulation/lxd/Manifest |  12 ++
 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  | 204 +
 6 files changed, 315 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index dfb6633c8a0..6e4dd01ad85 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,31 +1,40 @@
 DIST 
github.com-dustinkirkland-golang-petname-1f4996aa8aa05ee066aaf9e3179d340b48c6da74.tar.gz
 15087 SHA256 727e3b7d4ed0df94b96c99ca69c3505303d4f93173c31b5afce20e6813d6a270 
SHA512 
7f2d849104993e089aac6abc01844a559239110fbe257469ee918de26ef6d77cc29027324204b38613346c6f0579afc66bd721f56c2c2062354ac31f4e7fd7e3
 WHIRLPOOL 
857821556293492db1bd1cfbaf6c376846a94e6a13d0c021051827e4be0defdafe4b0c81f4823620b619d04a9fdea077341376d9f4665964475ecd092aa9b343
+DIST 
github.com-dustinkirkland-golang-petname-d3c2ba80e75eeef10c5cf2fc76d2c809637376b3.tar.gz
 15127 SHA256 9fd221710230927063fe8380d9986d4225e9f69a8dd049c678020f7c75ce9dea 
SHA512 
0f63f01857c30fdb179400b80e4391a12675ed17a981e9f55273fcd44e06df3bbecc127cf80bfd73afe1d4c30cf37638d0b581b2dde787abe2c8835dca8dbc2d
 WHIRLPOOL 
d7a223573dc16d445e1f197b576a18f0682d2c3bffb07f34b4c8ef764070c2d234c3bb2935109c05ea975fb0d719a44c1653f14a5234c791f67d8c6748897c41
 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-stack-stack-817915b46b97fd7bb80e8ab6b69f01a53ac3eebf.tar.gz 
6476 SHA256 2c03218436fdcebe9e9fd970055155a543ae06eb5a2c631911e2bc358fe52c58 
SHA512 
cbbdd7066249a571cc4d052e7907150f575e18c078078199b18f7557e3b12fc7c6969e6fe55773c951f3f954d296707d9e4c74ce26e3b6f408263774b0315a52
 WHIRLPOOL 
9829d90b0be2ab4b522ac6b95295627877229ba6db1055b9c33ddf404a2d02922837056096ac3a287353edbcddb14966ddb89f160e95c2aff46bc0e758419329
 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-7d9177d70076375b9a59c8fde23d52d9c4a7ecd5.tar.gz 
1432665 SHA256 238c9ed9693ada60d89b1aea20007dcc1d29754ea25b537e3b9de6188151270d 
SHA512 
d107abb176bf37a0a5a2487cb00b5d12e2247d41524a0651860c0a0b41b2b80926af024b78cc12aacafe254a1b8245980ab219a8357c8c2e17e9245f9027e570
 WHIRLPOOL 
d448afb23308a8f7ea42b8bdec8ae182a7bff335800f91cd3c8e7398de87b4a30c71ac6083d8dee548a64db35f8158649420cc562a94ac9e4871e81dade404e4
 DIST 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2017-08-19 Thread Patrice Clement
commit: 8a35d56e853f963ab287504a4b2a04377d68c23d
Author: Virgil Dupras  hardcoded  net>
AuthorDate: Thu Aug 17 00:54:29 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Aug 19 13:45:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a35d56e

app-emulation/lxd: version bump to 2.16.

Package-Manager: Portage-2.3.6, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/5457

 app-emulation/lxd/Manifest |  21 ++
 app-emulation/lxd/files/lxd-2.16-dont-go-get.patch |  16 ++
 app-emulation/lxd/files/lxd-2.16-fix-fr-po.patch   |  11 +
 app-emulation/lxd/files/lxd-2.16.confd |  27 +++
 app-emulation/lxd/files/lxd-2.16.initd |  46 +
 app-emulation/lxd/files/lxd-2.16.service   |  10 +
 app-emulation/lxd/lxd-2.16.ebuild  | 224 +
 7 files changed, 355 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index f3db6032669..b3a0db784cc 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,25 +1,46 @@
 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-stack-stack-817915b46b97fd7bb80e8ab6b69f01a53ac3eebf.tar.gz 
6476 SHA256 2c03218436fdcebe9e9fd970055155a543ae06eb5a2c631911e2bc358fe52c58 
SHA512 
cbbdd7066249a571cc4d052e7907150f575e18c078078199b18f7557e3b12fc7c6969e6fe55773c951f3f954d296707d9e4c74ce26e3b6f408263774b0315a52
 WHIRLPOOL 
9829d90b0be2ab4b522ac6b95295627877229ba6db1055b9c33ddf404a2d02922837056096ac3a287353edbcddb14966ddb89f160e95c2aff46bc0e758419329
 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-b176d7def5d71bdd214203491f89843ed217f420.tar.gz 
1431191 SHA256 9a7d565a11c3bb0aa78156c3ab6c6d55c2c8ff9e0d7733574b7f2e67fef03ebf 
SHA512 
6cae1da26b6d46c4f080f74b574f5b7d7e1e86eeb83532e19f42e6e098e9f6d0b113cd07e66f43806ace738583262e37cbb7dc229f8d61ad16a5f86372eb539a
 WHIRLPOOL 
b2a1b6d19ee5d72e4b38b403bc3142385d543c713fb4729333e1614b114fb81789a4c94974811f67e3c61c0f03aa8f3fc91e61558d85eb507a7812d43052b7e8
 DIST github.com-golang-crypto-e1a4589e7d3ea14a3352255d04b6f1a418845e5e.tar.gz 
1336856 SHA256 28950420102f0dc290b84a52f06bc5b12a0a2b411b1b4fe216ba4ffe3ec3754e 
SHA512 
c22fc86fbc22d6ec8157f89c075f07db8b72bf63ff97e06c907f555bf865cb77414c4fa2b9974407e43fa4f74b77710d3be9d2646f929fcfd5269b0ffc379914
 WHIRLPOOL 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2017-01-03 Thread Erik Mackdanz
commit: 84820f97951810ff7abae4e4e449bbda038b58ee
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Tue Jan  3 14:04:41 2017 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Tue Jan  3 14:04:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84820f97

app-emulation/lxd: remove old versions

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-emulation/lxd/Manifest |   3 -
 app-emulation/lxd/files/lxd-2.2-dont-go-get.patch  |  22 ---
 app-emulation/lxd/files/lxd-2.2.confd  |  27 ---
 app-emulation/lxd/files/lxd-2.2.initd  |  50 --
 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 --
 .../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.2.ebuild   | 156 -
 app-emulation/lxd/lxd-2.3.ebuild   | 195 -
 app-emulation/lxd/lxd-2.4.1.ebuild | 195 -
 13 files changed, 846 deletions(-)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index edd2aef..d0ab9fe 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,5 +1,2 @@
-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
 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.2-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-2.2-dont-go-get.patch
deleted file mode 100644
index 9402de5..
--- a/app-emulation/lxd/files/lxd-2.2-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.2.confd 
b/app-emulation/lxd/files/lxd-2.2.confd
deleted file mode 100644
index 3d55327..
--- a/app-emulation/lxd/files/lxd-2.2.confd
+++ /dev/null
@@ -1,27 +0,0 @@
-# Group which owns the shared socket
-LXD_OPTIONS+=" --group lxd"
-
-
-
-# Enable cpu profiling into the specified file
-#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
-
-# Enable memory profiling into the specified file
-#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
-
-
-
-# Enables debug mode
-#LXD_OPTIONS+=" --debug"
-
-# For debugging, print a complete stack trace every n seconds
-#LXD_OPTIONS+=" --print-goroutines-every 5"
-
-# Enables verbose mode
-#LXD_OPTIONS+=" -v"
-
-# Logfile to log to

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2016-10-28 Thread Erik Mackdanz
commit: eb97b372e9bf98e02c65c797a4a8b6ab2291c6c0
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Oct 29 04:32:13 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Oct 29 04:32:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb97b372

app-emulation/lxd: Bump to 2.5

Package-Manager: portage-2.3.2

 app-emulation/lxd/Manifest|   1 +
 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 |  50 ++
 app-emulation/lxd/lxd-2.5.ebuild  | 195 ++
 5 files changed, 295 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 20f1f79..cb63251 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,3 +1,4 @@
 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
+DIST lxd-2.5.tar.bz2 2267313 SHA256 
d87ac77ec6f47cd3e3417a78b0c315dac367bc89c532cf1784d80b31e57cfc8d SHA512 
c023f2b9ccd958560eead23806cb60a04371a3721420f5c0d65e55cf2d7647d6690677619c4f8fa91573545817a1444d9d61f6a2b6ca8c3870136911cb1fbce9
 WHIRLPOOL 
e4702e2597c5fe88ffa5139b829146ea474959799910bed79db617d9486da73d9de77c1ad398c1112d04109a858e5684f2c676bfe9fd4d68cf5081fbc0f6ae7a

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
new file mode 100644
index ..9402de5
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.5-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.5.confd 
b/app-emulation/lxd/files/lxd-2.5.confd
new file mode 100644
index ..3d55327
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.5.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.5.initd 
b/app-emulation/lxd/files/lxd-2.5.initd
new file mode 100644
index ..c1aef37
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.5.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() 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2016-09-14 Thread Erik Mackdanz
commit: 621335bae4060c15aeebab33b1503964cfcb190d
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Thu Sep 15 03:12:43 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Thu Sep 15 03:12:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=621335ba

app-emulation/lxd: bump to 2.2

Package-Manager: portage-2.3.0

 app-emulation/lxd/Manifest|   1 +
 app-emulation/lxd/files/lxd-2.2-dont-go-get.patch |  22 +++
 app-emulation/lxd/files/lxd-2.2.confd |  27 
 app-emulation/lxd/files/lxd-2.2.initd |  50 +++
 app-emulation/lxd/lxd-2.2.ebuild  | 156 ++
 5 files changed, 256 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 55bbeca..99d98b2 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/app-emulation/lxd/files/lxd-2.2-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-2.2-dont-go-get.patch
new file mode 100644
index ..9402de5
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.2-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.2.confd 
b/app-emulation/lxd/files/lxd-2.2.confd
new file mode 100644
index ..3d55327
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.2.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.2.initd 
b/app-emulation/lxd/files/lxd-2.2.initd
new file mode 100644
index ..c1aef37
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.2.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
+

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2016-07-12 Thread Erik Mackdanz
commit: 2f09fd2da0d64039c063fbf05a2e51b8d15c363c
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Tue Jul 12 23:57:50 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Tue Jul 12 23:57:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f09fd2d

app-emulation/lxd: Remove old versions

Package-Manager: portage-2.3.0

 app-emulation/lxd/Manifest |   3 -
 .../lxd/files/lxd-2.0.0-dont-go-get.patch  |  20 ---
 .../lxd/files/lxd-2.0.0-nc-binary-name.patch   |  11 --
 app-emulation/lxd/files/lxd-2.0.0.confd|  27 
 app-emulation/lxd/files/lxd-2.0.0.initd|  50 ---
 .../lxd/files/lxd-2.0.0_beta4-dont-go-get.patch|  20 ---
 .../lxd/files/lxd-2.0.0_beta4-nc-binary-name.patch |  11 --
 app-emulation/lxd/files/lxd-2.0.0_beta4.confd  |  27 
 app-emulation/lxd/files/lxd-2.0.0_beta4.initd  |  50 ---
 .../lxd/files/lxd-2.0.0_rc2-dont-go-get.patch  |  20 ---
 .../lxd/files/lxd-2.0.0_rc2-nc-binary-name.patch   |  11 --
 app-emulation/lxd/files/lxd-2.0.0_rc2.confd|  27 
 app-emulation/lxd/files/lxd-2.0.0_rc2.initd|  50 ---
 app-emulation/lxd/lxd-2.0.0.ebuild | 158 
 app-emulation/lxd/lxd-2.0.0_beta4.ebuild   | 161 -
 app-emulation/lxd/lxd-2.0.0_rc2.ebuild | 161 -
 16 files changed, 807 deletions(-)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 8abc29c..5d37b24 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,6 +1,3 @@
-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
 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.0-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-2.0.0-dont-go-get.patch
deleted file mode 100644
index d2e622e..000
--- a/app-emulation/lxd/files/lxd-2.0.0-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.0-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-2.0.0-nc-binary-name.patch
deleted file mode 100644
index f28bb6a..000
--- 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2016-07-12 Thread Erik Mackdanz
commit: 42357c55b8c39c4b8b763b03e8f51b089e82590f
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Tue Jul 12 23:54:19 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Tue Jul 12 23:54:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42357c55

app-emulation/lxd: Bump to 2.0.3

EAPI=6

Package-Manager: portage-2.3.0

 app-emulation/lxd/Manifest |   1 +
 .../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/lxd-2.0.3.ebuild | 155 +
 5 files changed, 255 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 072650a..8abc29c 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -3,3 +3,4 @@ DIST lxd-2.0.0_beta4.tar.bz2 2291955 SHA256 
6487750275e21ab3e862ea56807b9fcf28e9
 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
 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.3-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-2.0.3-dont-go-get.patch
new file mode 100644
index 000..9402de5
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.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.0.3.confd 
b/app-emulation/lxd/files/lxd-2.0.3.confd
new file mode 100644
index 000..3d55327
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.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.0.3.initd 
b/app-emulation/lxd/files/lxd-2.0.3.initd
new file mode 100644
index 000..c1aef37
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.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 \
+   

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2016-06-13 Thread Erik Mackdanz
commit: 1c437fe99eb4beb6b279b843587c5c559ce452ad
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Mon Jun 13 15:40:41 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Mon Jun 13 15:41:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c437fe9

app-emulation/lxd: bump to 2.0.2

Address CVE-2016-1581 and CVE-2016-1582

Package-Manager: portage-2.3.0_rc1

 app-emulation/lxd/Manifest |   1 +
 .../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.2.ebuild | 149 +
 5 files changed, 247 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 8297025..072650a 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -2,3 +2,4 @@ DIST lxd-2.0.0.tar.bz2 2305314 SHA256 
da5bab198cff8bee4528f35537221a252b4b2a23d6
 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
+DIST lxd-2.0.2.tar.bz2 2340565 SHA256 
0054b0e79ba0bc1a1189eb63ca8ac2ca2bafd10c500ce53f67abbd5abc03b542 SHA512 
c79f1c7f0aeb289ba7bea745917aaac0d339baf0e6b4fe62cbcb67b8da072ef135e971d4c17546e2e208aeae921ad2853073493f9e7a6e300876bd72b808e516
 WHIRLPOOL 
a30bddfc79ad0c7d941db811f1942fff67afc79a217a251d55b1cf37d80cdb21f8f1f72df268382cbcd34d408005ef4185f5bd59f95369b51558938352f05c60

diff --git a/app-emulation/lxd/files/lxd-2.0.2-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-2.0.2-dont-go-get.patch
new file mode 100644
index 000..d2e622e
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.2-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.2.confd 
b/app-emulation/lxd/files/lxd-2.0.2.confd
new file mode 100644
index 000..3d55327
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.2.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.2.initd 
b/app-emulation/lxd/files/lxd-2.0.2.initd
new file mode 100644
index 000..c1aef37
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.2.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 \
+ 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2016-03-08 Thread Erik Mackdanz
commit: 4703eb07d3c02233ee6272c9cf4a82770a812ac9
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Tue Mar  8 09:44:12 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Tue Mar  8 09:44:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4703eb07

app-emulation/lxd: bump to 2.0.0_rc2

Package-Manager: portage-2.2.27

 app-emulation/lxd/Manifest |   1 +
 .../lxd/files/lxd-2.0.0_rc2-dont-go-get.patch  |  20 +++
 .../lxd/files/lxd-2.0.0_rc2-nc-binary-name.patch   |  11 ++
 app-emulation/lxd/files/lxd-2.0.0_rc2.confd|  27 
 app-emulation/lxd/files/lxd-2.0.0_rc2.initd|  50 +++
 app-emulation/lxd/lxd-2.0.0_rc2.ebuild | 161 +
 6 files changed, 270 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 206d24f..b5b721a 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,3 +1,4 @@
 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_rc2-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-2.0.0_rc2-dont-go-get.patch
new file mode 100644
index 000..d2e622e
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_rc2-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.0_rc2-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-2.0.0_rc2-nc-binary-name.patch
new file mode 100644
index 000..7373b66
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_rc2-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-2.0.0_rc2.confd 
b/app-emulation/lxd/files/lxd-2.0.0_rc2.confd
new file mode 100644
index 000..3d55327
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_rc2.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"


[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2016-02-28 Thread Erik Mackdanz
commit: 1ab37655cd44110d0d910168d9ba7b80115c3759
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sun Feb 28 18:03:18 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sun Feb 28 18:04:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ab37655

app-emulation/lxd: Version bump to beta 4

Removes dep on bridge-utils (uses iproute2 instead)

Package-Manager: portage-2.2.27

 app-emulation/lxd/Manifest |   1 +
 .../lxd/files/lxd-2.0.0_beta4-dont-go-get.patch|  20 +++
 .../lxd/files/lxd-2.0.0_beta4-nc-binary-name.patch |  11 ++
 app-emulation/lxd/files/lxd-2.0.0_beta4.confd  |  27 
 app-emulation/lxd/files/lxd-2.0.0_beta4.initd  |  50 +++
 app-emulation/lxd/lxd-2.0.0_beta4.ebuild   | 161 +
 6 files changed, 270 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index ebd047c..c39da3c 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,3 +1,4 @@
 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-2.0.0_beta4-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-2.0.0_beta4-dont-go-get.patch
new file mode 100644
index 000..d2e622e
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_beta4-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.0_beta4-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-2.0.0_beta4-nc-binary-name.patch
new file mode 100644
index 000..7373b66
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_beta4-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-2.0.0_beta4.confd 
b/app-emulation/lxd/files/lxd-2.0.0_beta4.confd
new file mode 100644
index 000..3d55327
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_beta4.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 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2016-02-20 Thread Erik Mackdanz
commit: 05546cbcaafe79f8e90bf4cda89e0800e49a138f
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Fri Feb 19 03:15:45 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Feb 20 14:37:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05546cbc

app-emulation/lxd: remove old

Package-Manager: portage-2.2.27

 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 deletions(-)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 961359e..ebd047c 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,4 +1,3 @@
-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
 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

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
deleted file mode 100644
index 9964af6..000
--- a/app-emulation/lxd/files/lxd-0.26-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.26-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-0.26-nc-binary-name.patch
deleted file mode 100644
index 7373b66..000
--- a/app-emulation/lxd/files/lxd-0.26-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.26.confd 
b/app-emulation/lxd/files/lxd-0.26.confd
deleted file mode 100644
index 3d55327..000
--- a/app-emulation/lxd/files/lxd-0.26.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.26.initd 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2016-02-18 Thread Erik Mackdanz
commit: 590f0288cf5613f3d2cec07d41bac83f6894bf1a
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Fri Feb 19 03:12:29 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Fri Feb 19 03:13:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=590f0288

app-emulation/lxd: bump to 2.0.0_beta3

Package-Manager: portage-2.2.27

 app-emulation/lxd/Manifest |   1 +
 .../lxd/files/lxd-2.0.0_beta3-dont-go-get.patch|  20 +++
 .../lxd/files/lxd-2.0.0_beta3-nc-binary-name.patch |  11 ++
 app-emulation/lxd/files/lxd-2.0.0_beta3.confd  |  27 
 app-emulation/lxd/files/lxd-2.0.0_beta3.initd  |  50 +++
 app-emulation/lxd/lxd-2.0.0_beta3.ebuild   | 162 +
 6 files changed, 271 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index d68b9fb..961359e 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,3 +1,4 @@
 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
 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

diff --git a/app-emulation/lxd/files/lxd-2.0.0_beta3-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-2.0.0_beta3-dont-go-get.patch
new file mode 100644
index 000..d2e622e
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_beta3-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.0_beta3-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-2.0.0_beta3-nc-binary-name.patch
new file mode 100644
index 000..7373b66
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_beta3-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-2.0.0_beta3.confd 
b/app-emulation/lxd/files/lxd-2.0.0_beta3.confd
new file mode 100644
index 000..3d55327
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_beta3.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+=" 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2016-02-03 Thread Erik Mackdanz
commit: fcd3f868b93b6e707841fdce724155795071e1cd
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Wed Feb  3 23:53:43 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Wed Feb  3 23:53:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd3f868

app-emulation/lxd: bump to 2.0.0_beta1

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 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index fcb60cb..c887cbd 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,3 +1,4 @@
 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
+DIST lxd-2.0.0_beta1.tar.bz2 2253384 SHA256 
443d8004aea80a9295eeb28c81b930947163b5af5e7c5ec15e6123938268bd6c SHA512 
21cc90e18173f832f7aa2f39762ba1c47ac54dbb947519302075d10f8c55cce766d436cb7f9ec96cb2fe538952b801398ce3b1320d878e8835d58e4fb3b81c86
 WHIRLPOOL 
85a11976fbf74f8b408c75aa7abf645d3e27eed3f82021fbcb7b2d8db95cc986fdf2cd6a38ef8749857027b380382e66678fb1f1656274159dbc2531c3860761

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
new file mode 100644
index 000..9655e5e
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_beta1-disregard-dev-subdirs.patch
@@ -0,0 +1,17 @@
+--- 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
new file mode 100644
index 000..9964af6
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_beta1-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-2.0.0_beta1-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-2.0.0_beta1-nc-binary-name.patch
new file mode 100644
index 000..7373b66
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-2.0.0_beta1-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). 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2016-01-24 Thread Erik Mackdanz
commit: 8e819fd7ae98168a28cfb9adfc759a13a13e195e
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Mon Jan 25 00:07:18 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Mon Jan 25 00:07:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e819fd7

app-emulation/lxd: bump to 0.27

Package-Manager: portage-2.2.26

 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 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 6711b5b..8a6cfa6 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,3 +1,4 @@
 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.27-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-0.27-dont-go-get.patch
new file mode 100644
index 000..9964af6
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.27-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.27-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-0.27-nc-binary-name.patch
new file mode 100644
index 000..7373b66
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.27-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.27.confd 
b/app-emulation/lxd/files/lxd-0.27.confd
new file mode 100644
index 000..3d55327
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.27.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.27.initd 
b/app-emulation/lxd/files/lxd-0.27.initd
new 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2015-12-11 Thread Erik Mackdanz
commit: e20a0904091b13d7b69d5f87475d924c57639ac8
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Dec 12 05:42:01 2015 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Dec 12 05:42:01 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e20a0904

app-emulation/lxd: remove old

Package-Manager: portage-2.2.26

 app-emulation/lxd/Manifest |   2 -
 app-emulation/lxd/files/lxd-0.20-dont-go-get.patch |  18 ---
 .../lxd/files/lxd-0.20-nc-binary-name.patch|  11 --
 app-emulation/lxd/files/lxd-0.20.confd |  27 
 app-emulation/lxd/files/lxd-0.20.initd |  32 
 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.20.ebuild  | 169 -
 app-emulation/lxd/lxd-0.21.ebuild  | 169 -
 11 files changed, 516 deletions(-)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 9581399..43dc501 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,5 +1,3 @@
-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
 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.20-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-0.20-dont-go-get.patch
deleted file mode 100644
index 1b229ea..000
--- a/app-emulation/lxd/files/lxd-0.20-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.20-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-0.20-nc-binary-name.patch
deleted file mode 100644
index b88b7f7..000
--- a/app-emulation/lxd/files/lxd-0.20-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.20.confd 
b/app-emulation/lxd/files/lxd-0.20.confd
deleted file mode 100644
index 3d55327..000
--- a/app-emulation/lxd/files/lxd-0.20.confd

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2015-11-27 Thread Erik Mackdanz
commit: 4e637003aebf3cb9ae9db9cedcbb4ba5e96faa54
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Fri Nov 27 18:05:12 2015 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Fri Nov 27 18:05:12 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e637003

app-emulation/lxd: bump to 0.23

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 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index b8bca61..d8beda6 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,3 +1,4 @@
 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
+DIST lxd-0.23.tar.bz2 2606330 SHA256 
06335bd15b00db2dec06114427b1d934fe1ac5271b85eb19074c508cb2466695 SHA512 
2f73817c800c55c722a3017ee3064587c04730d5da9846b44be99b4541e739b466bcb7e924fcb18a15f1d49d010d471510378060530f6a15f6e60363b4d556b3
 WHIRLPOOL 
455b782ed2d21d5a720e06e356e1dd2115df174893e66710c74d02596deb8a66ff6e77b400f2ebeb047209b3bfed0927ff21a3a9f7cf9924719b84742f0eb5a7

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
new file mode 100644
index 000..1b229ea
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.23-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.23-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-0.23-nc-binary-name.patch
new file mode 100644
index 000..7373b66
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.23-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.23.confd 
b/app-emulation/lxd/files/lxd-0.23.confd
new file mode 100644
index 000..3d55327
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.23.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.23.initd 
b/app-emulation/lxd/files/lxd-0.23.initd
new file mode 100644
index 000..c5ba3a6
--- /dev/null
+++ 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2015-11-12 Thread Erik Mackdanz
commit: 66f68e3f3714d92799ca86f72c61ac75e39991fb
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Thu Nov 12 15:55:51 2015 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Thu Nov 12 15:55:51 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66f68e3f

app-emulation/lxd: bump to 0.22

init script adds shutdown action (stop daemon + containers)

Package-Manager: portage-2.2.24

 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 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 3a59603..493bbac 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,3 +1,4 @@
 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.22-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-0.22-dont-go-get.patch
new file mode 100644
index 000..1b229ea
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.22-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.22-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-0.22-nc-binary-name.patch
new file mode 100644
index 000..7373b66
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.22-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.22.confd 
b/app-emulation/lxd/files/lxd-0.22.confd
new file mode 100644
index 000..3d55327
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.22.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.22.initd 
b/app-emulation/lxd/files/lxd-0.22.initd
new file mode 100644
index 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2015-10-17 Thread Erik Mackdanz
commit: fa8dfda0c4145710b6906206db22236a7e1a4bae
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sun Oct 18 05:19:43 2015 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sun Oct 18 05:19:43 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa8dfda0

app-emulation/lxd: bump to 0.20

Package-Manager: portage-2.2.23

 app-emulation/lxd/Manifest |   1 +
 app-emulation/lxd/files/lxd-0.20-dont-go-get.patch |  18 +++
 .../lxd/files/lxd-0.20-nc-binary-name.patch|  11 ++
 app-emulation/lxd/files/lxd-0.20.confd |  27 
 app-emulation/lxd/files/lxd-0.20.initd |  32 
 app-emulation/lxd/lxd-0.20.ebuild  | 169 +
 app-emulation/lxd/metadata.xml |   6 +-
 7 files changed, 259 insertions(+), 5 deletions(-)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 88f5361..6e1223b 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -2,3 +2,4 @@ DIST lxd-0.13.tar.bz2 3336161 SHA256 
4228979ea9a856647f75f0230f58cc577c111a287f1
 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
+DIST lxd-0.20.tar.bz2 2687718 SHA256 
a071b92015f676746137e1ffeab1886d90297d0d5832bbf5ee6aff081acc4840 SHA512 
2064daa7d1aeb4764a15d559e3d4178918942d82dbba31e964d713aab48d2ee30ce6a63632701c41b13de4aea541acd76d55b52f12de10a99ffeaa3cb945ad44
 WHIRLPOOL 
1ffa9d6bf1cb7132b82e731002eae7b7ff3544fb03958827916c2e00e02a0bdd10bbadd2401f7799187c2c0338987f24b46d8e138131f7df888162e56b3f4fe5

diff --git a/app-emulation/lxd/files/lxd-0.20-dont-go-get.patch 
b/app-emulation/lxd/files/lxd-0.20-dont-go-get.patch
new file mode 100644
index 000..1b229ea
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.20-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.20-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-0.20-nc-binary-name.patch
new file mode 100644
index 000..b88b7f7
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.20-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.20.confd 
b/app-emulation/lxd/files/lxd-0.20.confd
new file mode 100644
index 000..3d55327
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.20.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+=" 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2015-10-17 Thread Erik Mackdanz
commit: 197a5e9ff897b277927ad9fa005a8fbab783cd71
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sun Oct 18 05:26:24 2015 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sun Oct 18 05:26:24 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=197a5e9f

app-emulation/lxd: remove old versions

Package-Manager: portage-2.2.23

 app-emulation/lxd/Manifest |   2 -
 .../lxd/files/lxd-0.13-nc-binary-name.patch|  11 --
 .../lxd/files/lxd-0.14-nc-binary-name.patch|  11 --
 app-emulation/lxd/files/lxd.confd  |  26 
 app-emulation/lxd/files/lxd.initd  |  35 --
 app-emulation/lxd/lxd-0.13.ebuild  | 136 
 app-emulation/lxd/lxd-0.14.ebuild  | 137 -
 7 files changed, 358 deletions(-)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 6e1223b..12e2ace 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,5 +1,3 @@
-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
 DIST lxd-0.20.tar.bz2 2687718 SHA256 
a071b92015f676746137e1ffeab1886d90297d0d5832bbf5ee6aff081acc4840 SHA512 
2064daa7d1aeb4764a15d559e3d4178918942d82dbba31e964d713aab48d2ee30ce6a63632701c41b13de4aea541acd76d55b52f12de10a99ffeaa3cb945ad44
 WHIRLPOOL 
1ffa9d6bf1cb7132b82e731002eae7b7ff3544fb03958827916c2e00e02a0bdd10bbadd2401f7799187c2c0338987f24b46d8e138131f7df888162e56b3f4fe5

diff --git a/app-emulation/lxd/files/lxd-0.13-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-0.13-nc-binary-name.patch
deleted file mode 100644
index 40e1224..000
--- a/app-emulation/lxd/files/lxd-0.13-nc-binary-name.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 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-0.14-nc-binary-name.patch 
b/app-emulation/lxd/files/lxd-0.14-nc-binary-name.patch
deleted file mode 100644
index 40e1224..000
--- a/app-emulation/lxd/files/lxd-0.14-nc-binary-name.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 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.confd 
b/app-emulation/lxd/files/lxd.confd
deleted file mode 100644
index 086198a..000
--- a/app-emulation/lxd/files/lxd.confd
+++ /dev/null
@@ -1,26 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/, app-emulation/lxd/

2015-09-05 Thread Alex Brandt
commit: dc04154e0238085235132f4e4346d8934482ff8a
Author: Alex Brandt  gentoo  org>
AuthorDate: Sat Sep  5 21:48:37 2015 +
Commit: Alex Brandt  gentoo  org>
CommitDate: Sat Sep  5 21:48:37 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc04154e

app-emulation/lxd: add version 0.16

submitted by Erik Mackdanz

Package-Manager: portage-2.2.20.1

 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 |  10 ++
 7 files changed, 256 insertions(+)

diff --git a/app-emulation/lxd/Manifest b/app-emulation/lxd/Manifest
index 79b1749..6254714 100644
--- a/app-emulation/lxd/Manifest
+++ b/app-emulation/lxd/Manifest
@@ -1,2 +1,3 @@
 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

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
new file mode 100644
index 000..fbfcf13
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.16-dont-go-get.patch
@@ -0,0 +1,15 @@
+--- 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
new file mode 100644
index 000..c81a3ed
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.16-nc-binary-name.patch
@@ -0,0 +1,11 @@
+--- 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
new file mode 100644
index 000..c3e6e68
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.16.confd
@@ -0,0 +1,23 @@
+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
new file mode 100644
index 000..2b75e51
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-0.16.initd
@@ -0,0 +1,32 @@
+#!/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
+
+depend() {
+need cgmanager
+need net
+}
+
+start() {
+