[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2020-05-16 Thread Mikle Kolyada
commit: b0e379062989d229b0924f34d04766c5ff8923f7
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May 16 10:31:06 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May 16 10:31:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e37906

app-emulation/docker-runc: remove last-rited pkg

Closes: https://bugs.gentoo.org/711620
Closes: https://bugs.gentoo.org/679012

Signed-off-by: Mikle Kolyada  gentoo.org>

 app-emulation/docker-runc/Manifest |  1 -
 .../docker-runc-1.0.0_rc4_p20180122.ebuild | 59 --
 app-emulation/docker-runc/metadata.xml | 16 --
 3 files changed, 76 deletions(-)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
deleted file mode 100644
index 58fb310d521..000
--- a/app-emulation/docker-runc/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST docker-runc-1.0.0_rc4_p20180122.tar.gz 1184954 BLAKE2B 
faf07c06c12301588d9adb1bfd31d562b31cd1119f1247b06afb2d6eba077c37a8871bd32d48e20b79f1b91fd052ec54fe6da5ac8c51713c9757e1967db563c3
 SHA512 
c7b24ca6212ce500d1d4c3a1776be5ca116d4f005d71e5fe8f2228c26f039058f3dd1071e9e39aa9c93272a49f7ff2ac86e2fbbcf6115cc3de65a370127d8ea5

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20180122.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20180122.ebuild
deleted file mode 100644
index cf7b91c52a9..000
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20180122.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="github.com/opencontainers/${PN/docker-}"
-
-if [[ ${PV} == * ]]; then
-   inherit golang-vcs
-else
-   MY_PV="${PV/_/-}"
-   EGIT_COMMIT="9f9c96235cc97674e935002fc3d78361b696a69e"
-   RUNC_COMMIT="9f9c962" # Change this when you update the ebuild
-   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~ppc64"
-   inherit golang-vcs-snapshot
-fi
-
-DESCRIPTION="runc container cli tools (docker fork)"
-HOMEPAGE="http://runc.io;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="+ambient apparmor hardened +seccomp"
-
-RDEPEND="
-   apparmor? ( sys-libs/libapparmor )
-   seccomp? ( sys-libs/libseccomp )
-   !app-emulation/runc
-"
-
-S=${WORKDIR}/${P}/src/${EGO_PN}
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-   sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e 
"/COMMIT_NO :=/d" Makefile || die
-}
-
-src_compile() {
-   # Taken from app-emulation/docker-1.7.0-r1
-   export CGO_CFLAGS="-I${ROOT}/usr/include"
-   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-   -L${ROOT}/usr/$(get_libdir)"
-
-   # build up optional flags
-   local options=(
-   $(usex ambient 'ambient' '')
-   $(usex apparmor 'apparmor' '')
-   $(usex seccomp 'seccomp' '')
-   )
-
-   GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
-   COMMIT="${RUNC_COMMIT}"
-}
-
-src_install() {
-   dobin runc
-}

diff --git a/app-emulation/docker-runc/metadata.xml 
b/app-emulation/docker-runc/metadata.xml
deleted file mode 100644
index 6e7ba248cbb..000
--- a/app-emulation/docker-runc/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   runc is a CLI tool for spawning and running containers according
-   to the OCF (Open Container Format) specification.
-   
-   
-   
-   Enable support for ambient 
capability
-   Enable AppArmor support
-   
-   
-   docker/runc
-   
-



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2019-04-10 Thread Manuel Rüger
commit: 6b6e7e87ed03b6f89d6c357d8b2435bd79031ef6
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Apr 10 08:42:34 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Apr 10 08:42:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b6e7e87

app-emulation/docker-runc: Unmaintain

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Manuel Rüger  gentoo.org>

 app-emulation/docker-runc/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-emulation/docker-runc/metadata.xml 
b/app-emulation/docker-runc/metadata.xml
index 9fe8126b58a..6e7ba248cbb 100644
--- a/app-emulation/docker-runc/metadata.xml
+++ b/app-emulation/docker-runc/metadata.xml
@@ -5,10 +5,7 @@
runc is a CLI tool for spawning and running containers according
to the OCF (Open Container Format) specification.

-   
-   mr...@gentoo.org
-   Manuel Rüger
-   
+   

Enable support for ambient 
capability
Enable AppArmor support



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2018-04-09 Thread Manuel Rüger
commit: df86513dd6dd9b743fd1b428be98f3fb6cbd3691
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Apr 10 01:12:15 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Apr 10 01:12:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df86513d

app-emulation/docker-runc: Remove old

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 app-emulation/docker-runc/Manifest |  1 -
 .../docker-runc-1.0.0_rc4_p20170917.ebuild | 59 --
 2 files changed, 60 deletions(-)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index 34e45bed57d..58fb310d521 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,2 +1 @@
-DIST docker-runc-1.0.0_rc4_p20170917.tar.gz 1094599 BLAKE2B 
fed7b3cb3bbf214c61f9bc84752f143de9f18aa1ad1720c80df171eaa82f545cdafdbd58f64ee21e05db67f7fcfa139622fc8356aa7584db87b72d46e3285907
 SHA512 
0cb0748812296294a87dda257dbf0947897a1ada2aa861ff3e65309a6bbecebbe798929845fca6f23b66fd0dc019bca0a032737c7192fe20618d8e1849866f3d
 DIST docker-runc-1.0.0_rc4_p20180122.tar.gz 1184954 BLAKE2B 
faf07c06c12301588d9adb1bfd31d562b31cd1119f1247b06afb2d6eba077c37a8871bd32d48e20b79f1b91fd052ec54fe6da5ac8c51713c9757e1967db563c3
 SHA512 
c7b24ca6212ce500d1d4c3a1776be5ca116d4f005d71e5fe8f2228c26f039058f3dd1071e9e39aa9c93272a49f7ff2ac86e2fbbcf6115cc3de65a370127d8ea5

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild
deleted file mode 100644
index 68064743335..000
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="github.com/opencontainers/${PN/docker-}"
-
-if [[ ${PV} == * ]]; then
-   inherit golang-vcs
-else
-   MY_PV="${PV/_/-}"
-   EGIT_COMMIT="3f2f8b84a77f73d38244dd690525642a72156c64"
-   RUNC_COMMIT="3f2f8b84" # Change this when you update the ebuild
-   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~ppc64"
-   inherit golang-vcs-snapshot
-fi
-
-DESCRIPTION="runc container cli tools (docker fork)"
-HOMEPAGE="http://runc.io;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="+ambient apparmor hardened +seccomp"
-
-RDEPEND="
-   apparmor? ( sys-libs/libapparmor )
-   seccomp? ( sys-libs/libseccomp )
-   !app-emulation/runc
-"
-
-S=${WORKDIR}/${P}/src/${EGO_PN}
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-   sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e 
"/COMMIT_NO :=/d" Makefile || die
-}
-
-src_compile() {
-   # Taken from app-emulation/docker-1.7.0-r1
-   export CGO_CFLAGS="-I${ROOT}/usr/include"
-   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-   -L${ROOT}/usr/$(get_libdir)"
-
-   # build up optional flags
-   local options=(
-   $(usex ambient 'ambient' '')
-   $(usex apparmor 'apparmor' '')
-   $(usex seccomp 'seccomp' '')
-   )
-
-   GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
-   COMMIT="${RUNC_COMMIT}"
-}
-
-src_install() {
-   dobin runc
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2018-03-19 Thread Manuel Rüger
commit: 879ab26fbcb957687142286c69c1e009159f9369
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Mar 19 22:53:48 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Mar 19 22:53:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=879ab26f

app-emulation/docker-runc: Remove old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-emulation/docker-runc/Manifest |  2 -
 .../docker-runc-1.0.0_rc4_p20170926.ebuild | 59 --
 .../docker-runc-1.0.0_rc4_p20171108.ebuild | 59 --
 3 files changed, 120 deletions(-)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index e9895f2f911..34e45bed57d 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,4 +1,2 @@
 DIST docker-runc-1.0.0_rc4_p20170917.tar.gz 1094599 BLAKE2B 
fed7b3cb3bbf214c61f9bc84752f143de9f18aa1ad1720c80df171eaa82f545cdafdbd58f64ee21e05db67f7fcfa139622fc8356aa7584db87b72d46e3285907
 SHA512 
0cb0748812296294a87dda257dbf0947897a1ada2aa861ff3e65309a6bbecebbe798929845fca6f23b66fd0dc019bca0a032737c7192fe20618d8e1849866f3d
-DIST docker-runc-1.0.0_rc4_p20170926.tar.gz 1188421 BLAKE2B 
ba21aaed4c434358876e9a1656a0592e5df90e16ebd52b69a2ddd3344aba2db5e335de1c88aeed27101ec5441174da148d0da02ade0b517d36d45e0aff53ca9e
 SHA512 
bad4643ce37dbba168cc3b0820cf7dc8166ff2d7970de519f86ca09123b5174dd98b7bc550b714dc8235732923e0090031c789deb603f310e042a39f1d76
-DIST docker-runc-1.0.0_rc4_p20171108.tar.gz 1189298 BLAKE2B 
e213955ef59e7d5a43f1567c67d72b99d7de503340ed8c777a43a70c4f2b1dbfce2905377c912958f736cf31247334d1c2ab29fae203a297561c26ad43a4e4c1
 SHA512 
a5bf97ce284317e03e63ee0e39228d77848fcde2f6322de06eebc2536978b5d87fd8c3fbccb2e74ef8c80fbaa28f3d0b24074cb9fde01e268593332aacd57695
 DIST docker-runc-1.0.0_rc4_p20180122.tar.gz 1184954 BLAKE2B 
faf07c06c12301588d9adb1bfd31d562b31cd1119f1247b06afb2d6eba077c37a8871bd32d48e20b79f1b91fd052ec54fe6da5ac8c51713c9757e1967db563c3
 SHA512 
c7b24ca6212ce500d1d4c3a1776be5ca116d4f005d71e5fe8f2228c26f039058f3dd1071e9e39aa9c93272a49f7ff2ac86e2fbbcf6115cc3de65a370127d8ea5

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170926.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170926.ebuild
deleted file mode 100644
index e87d7dd2df9..000
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170926.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="github.com/opencontainers/${PN/docker-}"
-
-if [[ ${PV} == * ]]; then
-   inherit golang-vcs
-else
-   MY_PV="${PV/_/-}"
-   EGIT_COMMIT="0351df1c5a66838d0c392b4ac4cf9450de844e2d"
-   RUNC_COMMIT="0351df1" # Change this when you update the ebuild
-   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64"
-   inherit golang-vcs-snapshot
-fi
-
-DESCRIPTION="runc container cli tools (docker fork)"
-HOMEPAGE="http://runc.io;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="+ambient apparmor hardened +seccomp"
-
-RDEPEND="
-   apparmor? ( sys-libs/libapparmor )
-   seccomp? ( sys-libs/libseccomp )
-   !app-emulation/runc
-"
-
-S=${WORKDIR}/${P}/src/${EGO_PN}
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-   sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e 
"/COMMIT_NO :=/d" Makefile || die
-}
-
-src_compile() {
-   # Taken from app-emulation/docker-1.7.0-r1
-   export CGO_CFLAGS="-I${ROOT}/usr/include"
-   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-   -L${ROOT}/usr/$(get_libdir)"
-
-   # build up optional flags
-   local options=(
-   $(usex ambient 'ambient' '')
-   $(usex apparmor 'apparmor' '')
-   $(usex seccomp 'seccomp' '')
-   )
-
-   GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
-   COMMIT="${RUNC_COMMIT}"
-}
-
-src_install() {
-   dobin runc
-}

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20171108.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20171108.ebuild
deleted file mode 100644
index f8b7a5ec038..000
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20171108.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="github.com/opencontainers/${PN/docker-}"
-
-if [[ ${PV} == * ]]; then
-   inherit golang-vcs
-else
-   MY_PV="${PV/_/-}"
-   EGIT_COMMIT="b2567b37d7b75eb4cf325b77297b140ea686ce8f"
-   RUNC_COMMIT="b2567b3" # Change this when you update the ebuild
-   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64"
-   inherit golang-vcs-snapshot
-fi
-
-DESCRIPTION="runc container 

[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2018-03-19 Thread Manuel Rüger
commit: cd53a8974060ec786b52a4e35e27625cdf88f077
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Mar 19 22:51:22 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Mar 19 22:51:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd53a897

app-emulation/docker-runc: Stabilize on amd64

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20180122.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20180122.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20180122.ebuild
index ac5fcf94919..cf7b91c52a9 100644
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20180122.ebuild
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20180122.ebuild
@@ -11,7 +11,7 @@ else
EGIT_COMMIT="9f9c96235cc97674e935002fc3d78361b696a69e"
RUNC_COMMIT="9f9c962" # Change this when you update the ebuild
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64"
+   KEYWORDS="amd64 ~arm ~ppc64"
inherit golang-vcs-snapshot
 fi
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2018-02-09 Thread Manuel Rüger
commit: 95c9943bd856cea19a2b9f8aef56928742c6d7e5
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Feb  9 16:49:34 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Feb  9 16:49:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c9943b

app-emulation/docker-runc: Update snapshot for docker-18.0.20

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-emulation/docker-runc/Manifest |  1 +
 .../docker-runc-1.0.0_rc4_p20180122.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index f206b78d06b..e9895f2f911 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,3 +1,4 @@
 DIST docker-runc-1.0.0_rc4_p20170917.tar.gz 1094599 BLAKE2B 
fed7b3cb3bbf214c61f9bc84752f143de9f18aa1ad1720c80df171eaa82f545cdafdbd58f64ee21e05db67f7fcfa139622fc8356aa7584db87b72d46e3285907
 SHA512 
0cb0748812296294a87dda257dbf0947897a1ada2aa861ff3e65309a6bbecebbe798929845fca6f23b66fd0dc019bca0a032737c7192fe20618d8e1849866f3d
 DIST docker-runc-1.0.0_rc4_p20170926.tar.gz 1188421 BLAKE2B 
ba21aaed4c434358876e9a1656a0592e5df90e16ebd52b69a2ddd3344aba2db5e335de1c88aeed27101ec5441174da148d0da02ade0b517d36d45e0aff53ca9e
 SHA512 
bad4643ce37dbba168cc3b0820cf7dc8166ff2d7970de519f86ca09123b5174dd98b7bc550b714dc8235732923e0090031c789deb603f310e042a39f1d76
 DIST docker-runc-1.0.0_rc4_p20171108.tar.gz 1189298 BLAKE2B 
e213955ef59e7d5a43f1567c67d72b99d7de503340ed8c777a43a70c4f2b1dbfce2905377c912958f736cf31247334d1c2ab29fae203a297561c26ad43a4e4c1
 SHA512 
a5bf97ce284317e03e63ee0e39228d77848fcde2f6322de06eebc2536978b5d87fd8c3fbccb2e74ef8c80fbaa28f3d0b24074cb9fde01e268593332aacd57695
+DIST docker-runc-1.0.0_rc4_p20180122.tar.gz 1184954 BLAKE2B 
faf07c06c12301588d9adb1bfd31d562b31cd1119f1247b06afb2d6eba077c37a8871bd32d48e20b79f1b91fd052ec54fe6da5ac8c51713c9757e1967db563c3
 SHA512 
c7b24ca6212ce500d1d4c3a1776be5ca116d4f005d71e5fe8f2228c26f039058f3dd1071e9e39aa9c93272a49f7ff2ac86e2fbbcf6115cc3de65a370127d8ea5

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20180122.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20180122.ebuild
new file mode 100644
index 000..ac5fcf94919
--- /dev/null
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20180122.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/opencontainers/${PN/docker-}"
+
+if [[ ${PV} == * ]]; then
+   inherit golang-vcs
+else
+   MY_PV="${PV/_/-}"
+   EGIT_COMMIT="9f9c96235cc97674e935002fc3d78361b696a69e"
+   RUNC_COMMIT="9f9c962" # Change this when you update the ebuild
+   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64"
+   inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="runc container cli tools (docker fork)"
+HOMEPAGE="http://runc.io;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="+ambient apparmor hardened +seccomp"
+
+RDEPEND="
+   apparmor? ( sys-libs/libapparmor )
+   seccomp? ( sys-libs/libseccomp )
+   !app-emulation/runc
+"
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+   sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e 
"/COMMIT_NO :=/d" Makefile || die
+}
+
+src_compile() {
+   # Taken from app-emulation/docker-1.7.0-r1
+   export CGO_CFLAGS="-I${ROOT}/usr/include"
+   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+   -L${ROOT}/usr/$(get_libdir)"
+
+   # build up optional flags
+   local options=(
+   $(usex ambient 'ambient' '')
+   $(usex apparmor 'apparmor' '')
+   $(usex seccomp 'seccomp' '')
+   )
+
+   GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
+   COMMIT="${RUNC_COMMIT}"
+}
+
+src_install() {
+   dobin runc
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2018-01-02 Thread Manuel Rüger
commit: faceb21574f20502c84a701d5d5ff9bad53d2b70
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Jan  2 13:05:52 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Jan  2 13:05:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faceb215

app-emulation/docker-runc: Remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-emulation/docker-runc/Manifest |  1 -
 .../docker-runc-1.0.0_rc3_p20170706.ebuild | 59 --
 2 files changed, 60 deletions(-)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index 688856e3320..f206b78d06b 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,4 +1,3 @@
-DIST docker-runc-1.0.0_rc3_p20170706.tar.gz 1042839 BLAKE2B 
b0d5d3788cdbaf17af23fe102a3b5ebba9324505d2389e2acd3300680cfdff682dc170b214e1a000d081e791943c160c7d797acb90173f4549caa554493c86e5
 SHA512 
8e937e8ccaa114913d61a450b030496668c1e2d80eecccf5e4914c5685d7dde9a0d50bc2aef9be844dc69eab81621aa1c043abbc72ba28ab6bdb9db5e86daeaf
 DIST docker-runc-1.0.0_rc4_p20170917.tar.gz 1094599 BLAKE2B 
fed7b3cb3bbf214c61f9bc84752f143de9f18aa1ad1720c80df171eaa82f545cdafdbd58f64ee21e05db67f7fcfa139622fc8356aa7584db87b72d46e3285907
 SHA512 
0cb0748812296294a87dda257dbf0947897a1ada2aa861ff3e65309a6bbecebbe798929845fca6f23b66fd0dc019bca0a032737c7192fe20618d8e1849866f3d
 DIST docker-runc-1.0.0_rc4_p20170926.tar.gz 1188421 BLAKE2B 
ba21aaed4c434358876e9a1656a0592e5df90e16ebd52b69a2ddd3344aba2db5e335de1c88aeed27101ec5441174da148d0da02ade0b517d36d45e0aff53ca9e
 SHA512 
bad4643ce37dbba168cc3b0820cf7dc8166ff2d7970de519f86ca09123b5174dd98b7bc550b714dc8235732923e0090031c789deb603f310e042a39f1d76
 DIST docker-runc-1.0.0_rc4_p20171108.tar.gz 1189298 BLAKE2B 
e213955ef59e7d5a43f1567c67d72b99d7de503340ed8c777a43a70c4f2b1dbfce2905377c912958f736cf31247334d1c2ab29fae203a297561c26ad43a4e4c1
 SHA512 
a5bf97ce284317e03e63ee0e39228d77848fcde2f6322de06eebc2536978b5d87fd8c3fbccb2e74ef8c80fbaa28f3d0b24074cb9fde01e268593332aacd57695

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild
deleted file mode 100644
index 930d6d1ff44..000
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="github.com/opencontainers/${PN/docker-}"
-
-if [[ ${PV} == * ]]; then
-   inherit golang-vcs
-else
-   MY_PV="${PV/_/-}"
-   EGIT_COMMIT="810190ceaa507aa2727d7ae6f4790c76ec150bd2"
-   RUNC_COMMIT="810190" # Change this when you update the ebuild
-   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~ppc64"
-   inherit golang-vcs-snapshot
-fi
-
-DESCRIPTION="runc container cli tools (docker fork)"
-HOMEPAGE="http://runc.io;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="+ambient apparmor hardened +seccomp"
-
-RDEPEND="
-   apparmor? ( sys-libs/libapparmor )
-   seccomp? ( sys-libs/libseccomp )
-   !app-emulation/runc
-"
-
-S=${WORKDIR}/${P}/src/${EGO_PN}
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-   sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e 
"/COMMIT_NO :=/d" Makefile || die
-}
-
-src_compile() {
-   # Taken from app-emulation/docker-1.7.0-r1
-   export CGO_CFLAGS="-I${ROOT}/usr/include"
-   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-   -L${ROOT}/usr/$(get_libdir)"
-
-   # build up optional flags
-   local options=(
-   $(usex ambient 'ambient' '')
-   $(usex apparmor 'apparmor' '')
-   $(usex seccomp 'seccomp' '')
-   )
-
-   GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
-   COMMIT="${RUNC_COMMIT}"
-}
-
-src_install() {
-   dobin runc
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2018-01-02 Thread Manuel Rüger
commit: 8207cee096c74596c3cfd2f262d68ff7767ad4e0
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Jan  2 13:03:15 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Jan  2 13:03:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8207cee0

app-emulation/docker-runc: Stable on amd64

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild
index 8ea1d028f5b..68064743335 100644
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ else
EGIT_COMMIT="3f2f8b84a77f73d38244dd690525642a72156c64"
RUNC_COMMIT="3f2f8b84" # Change this when you update the ebuild
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64"
+   KEYWORDS="amd64 ~arm ~ppc64"
inherit golang-vcs-snapshot
 fi
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2018-01-02 Thread Manuel Rüger
commit: 79a1481f06c8c06a3f1decb96461b3ad97c6f139
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Jan  2 12:54:15 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Jan  2 12:56:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a1481f

app-emulation/docker-runc: Add snapshot for docker-17.12.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-emulation/docker-runc/Manifest |  1 +
 .../docker-runc-1.0.0_rc4_p20171108.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index 2a4d0d92790..688856e3320 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,3 +1,4 @@
 DIST docker-runc-1.0.0_rc3_p20170706.tar.gz 1042839 BLAKE2B 
b0d5d3788cdbaf17af23fe102a3b5ebba9324505d2389e2acd3300680cfdff682dc170b214e1a000d081e791943c160c7d797acb90173f4549caa554493c86e5
 SHA512 
8e937e8ccaa114913d61a450b030496668c1e2d80eecccf5e4914c5685d7dde9a0d50bc2aef9be844dc69eab81621aa1c043abbc72ba28ab6bdb9db5e86daeaf
 DIST docker-runc-1.0.0_rc4_p20170917.tar.gz 1094599 BLAKE2B 
fed7b3cb3bbf214c61f9bc84752f143de9f18aa1ad1720c80df171eaa82f545cdafdbd58f64ee21e05db67f7fcfa139622fc8356aa7584db87b72d46e3285907
 SHA512 
0cb0748812296294a87dda257dbf0947897a1ada2aa861ff3e65309a6bbecebbe798929845fca6f23b66fd0dc019bca0a032737c7192fe20618d8e1849866f3d
 DIST docker-runc-1.0.0_rc4_p20170926.tar.gz 1188421 BLAKE2B 
ba21aaed4c434358876e9a1656a0592e5df90e16ebd52b69a2ddd3344aba2db5e335de1c88aeed27101ec5441174da148d0da02ade0b517d36d45e0aff53ca9e
 SHA512 
bad4643ce37dbba168cc3b0820cf7dc8166ff2d7970de519f86ca09123b5174dd98b7bc550b714dc8235732923e0090031c789deb603f310e042a39f1d76
+DIST docker-runc-1.0.0_rc4_p20171108.tar.gz 1189298 BLAKE2B 
e213955ef59e7d5a43f1567c67d72b99d7de503340ed8c777a43a70c4f2b1dbfce2905377c912958f736cf31247334d1c2ab29fae203a297561c26ad43a4e4c1
 SHA512 
a5bf97ce284317e03e63ee0e39228d77848fcde2f6322de06eebc2536978b5d87fd8c3fbccb2e74ef8c80fbaa28f3d0b24074cb9fde01e268593332aacd57695

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20171108.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20171108.ebuild
new file mode 100644
index 000..f8b7a5ec038
--- /dev/null
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20171108.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/opencontainers/${PN/docker-}"
+
+if [[ ${PV} == * ]]; then
+   inherit golang-vcs
+else
+   MY_PV="${PV/_/-}"
+   EGIT_COMMIT="b2567b37d7b75eb4cf325b77297b140ea686ce8f"
+   RUNC_COMMIT="b2567b3" # Change this when you update the ebuild
+   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64"
+   inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="runc container cli tools (docker fork)"
+HOMEPAGE="http://runc.io;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="+ambient apparmor hardened +seccomp"
+
+RDEPEND="
+   apparmor? ( sys-libs/libapparmor )
+   seccomp? ( sys-libs/libseccomp )
+   !app-emulation/runc
+"
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+   sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e 
"/COMMIT_NO :=/d" Makefile || die
+}
+
+src_compile() {
+   # Taken from app-emulation/docker-1.7.0-r1
+   export CGO_CFLAGS="-I${ROOT}/usr/include"
+   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+   -L${ROOT}/usr/$(get_libdir)"
+
+   # build up optional flags
+   local options=(
+   $(usex ambient 'ambient' '')
+   $(usex apparmor 'apparmor' '')
+   $(usex seccomp 'seccomp' '')
+   )
+
+   GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
+   COMMIT="${RUNC_COMMIT}"
+}
+
+src_install() {
+   dobin runc
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-11-22 Thread Manuel Rüger
commit: afad2ba57b6735cbbfabd1ed4cf0477b2d7e41e7
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Nov 22 14:49:30 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Nov 22 14:49:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afad2ba5

app-emulation/docker-runc: Add snapshot for docker-ce 17.11.0

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 app-emulation/docker-runc/Manifest |  3 +-
 .../docker-runc-1.0.0_rc4_p20170926.ebuild | 59 ++
 2 files changed, 61 insertions(+), 1 deletion(-)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index 7b6ddb4e544..41aa5c1051e 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,2 +1,3 @@
 DIST docker-runc-1.0.0_rc3_p20170706.tar.gz 1042839 SHA256 
d09b31b9a5adf0a3295d10b20e5f65ec8e1c52a371d463218694c37e075829e9 SHA512 
8e937e8ccaa114913d61a450b030496668c1e2d80eecccf5e4914c5685d7dde9a0d50bc2aef9be844dc69eab81621aa1c043abbc72ba28ab6bdb9db5e86daeaf
 WHIRLPOOL 
bec7b506a6b2522d401733b32a9f500aec69920dc6d8072ab434c7bfbb1c88a6fb00afa1d2728f78fbaac1d58f890a2b5932fdbe2b0e87b749293f2b48ed2e8a
-DIST docker-runc-1.0.0_rc4_p20170917.tar.gz 1094599 SHA256 
d5820f1c655061be79441bd57efea4e5b60b25b6a451214b64172395b9fda383 SHA512 
0cb0748812296294a87dda257dbf0947897a1ada2aa861ff3e65309a6bbecebbe798929845fca6f23b66fd0dc019bca0a032737c7192fe20618d8e1849866f3d
 WHIRLPOOL 
ed34894a3878c0cae50888c936eba1dad8d58da8d7042d5e421f06e4e98c1d7701a5c877baaba14a46d588b2ee3354e19d72bb141d5d8e7f6c0bed2d3a6b71b6
+DIST docker-runc-1.0.0_rc4_p20170917.tar.gz 1094599 BLAKE2B 
fed7b3cb3bbf214c61f9bc84752f143de9f18aa1ad1720c80df171eaa82f545cdafdbd58f64ee21e05db67f7fcfa139622fc8356aa7584db87b72d46e3285907
 SHA512 
0cb0748812296294a87dda257dbf0947897a1ada2aa861ff3e65309a6bbecebbe798929845fca6f23b66fd0dc019bca0a032737c7192fe20618d8e1849866f3d
+DIST docker-runc-1.0.0_rc4_p20170926.tar.gz 1188421 BLAKE2B 
ba21aaed4c434358876e9a1656a0592e5df90e16ebd52b69a2ddd3344aba2db5e335de1c88aeed27101ec5441174da148d0da02ade0b517d36d45e0aff53ca9e
 SHA512 
bad4643ce37dbba168cc3b0820cf7dc8166ff2d7970de519f86ca09123b5174dd98b7bc550b714dc8235732923e0090031c789deb603f310e042a39f1d76

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170926.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170926.ebuild
new file mode 100644
index 000..e87d7dd2df9
--- /dev/null
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170926.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/opencontainers/${PN/docker-}"
+
+if [[ ${PV} == * ]]; then
+   inherit golang-vcs
+else
+   MY_PV="${PV/_/-}"
+   EGIT_COMMIT="0351df1c5a66838d0c392b4ac4cf9450de844e2d"
+   RUNC_COMMIT="0351df1" # Change this when you update the ebuild
+   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64"
+   inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="runc container cli tools (docker fork)"
+HOMEPAGE="http://runc.io;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="+ambient apparmor hardened +seccomp"
+
+RDEPEND="
+   apparmor? ( sys-libs/libapparmor )
+   seccomp? ( sys-libs/libseccomp )
+   !app-emulation/runc
+"
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+   sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e 
"/COMMIT_NO :=/d" Makefile || die
+}
+
+src_compile() {
+   # Taken from app-emulation/docker-1.7.0-r1
+   export CGO_CFLAGS="-I${ROOT}/usr/include"
+   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+   -L${ROOT}/usr/$(get_libdir)"
+
+   # build up optional flags
+   local options=(
+   $(usex ambient 'ambient' '')
+   $(usex apparmor 'apparmor' '')
+   $(usex seccomp 'seccomp' '')
+   )
+
+   GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
+   COMMIT="${RUNC_COMMIT}"
+}
+
+src_install() {
+   dobin runc
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-11-05 Thread Manuel Rüger
commit: 1c3a945ebaa15f58928357348d3a5c2372d7f416
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Nov  5 20:50:11 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Nov  5 20:50:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c3a945e

app-emulation/docker-runc: Remove old

Package-Manager: Portage-2.3.12, Repoman-2.3.4

 app-emulation/docker-runc/Manifest |  1 -
 .../docker-runc-1.0.0_rc2_p20170308.ebuild | 59 --
 2 files changed, 60 deletions(-)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index e3fa704b97a..7b6ddb4e544 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,3 +1,2 @@
-DIST docker-runc-1.0.0_rc2_p20170308.tar.gz 561400 SHA256 
bdd0fc0b5db42bb1fc439d5a5d6347d97b285e676559afb620ffd9f62fc1de26 SHA512 
f17c7ff09578573a161f14616446e74d92d66039c1462bce23ea507b151eb66ede12d2ca583d3dace21d186a80bdadf222fc180bf1123e29c68e43f2f2d949c8
 WHIRLPOOL 
f6853ccdd09ca1481828b20e64403151cd9c5d46ceb81c50e884d47e18f8594c21bf53102b252852b259b6b0186f54f070fb7f3c7e4447123cbf05aa69233035
 DIST docker-runc-1.0.0_rc3_p20170706.tar.gz 1042839 SHA256 
d09b31b9a5adf0a3295d10b20e5f65ec8e1c52a371d463218694c37e075829e9 SHA512 
8e937e8ccaa114913d61a450b030496668c1e2d80eecccf5e4914c5685d7dde9a0d50bc2aef9be844dc69eab81621aa1c043abbc72ba28ab6bdb9db5e86daeaf
 WHIRLPOOL 
bec7b506a6b2522d401733b32a9f500aec69920dc6d8072ab434c7bfbb1c88a6fb00afa1d2728f78fbaac1d58f890a2b5932fdbe2b0e87b749293f2b48ed2e8a
 DIST docker-runc-1.0.0_rc4_p20170917.tar.gz 1094599 SHA256 
d5820f1c655061be79441bd57efea4e5b60b25b6a451214b64172395b9fda383 SHA512 
0cb0748812296294a87dda257dbf0947897a1ada2aa861ff3e65309a6bbecebbe798929845fca6f23b66fd0dc019bca0a032737c7192fe20618d8e1849866f3d
 WHIRLPOOL 
ed34894a3878c0cae50888c936eba1dad8d58da8d7042d5e421f06e4e98c1d7701a5c877baaba14a46d588b2ee3354e19d72bb141d5d8e7f6c0bed2d3a6b71b6

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild
deleted file mode 100644
index 0026a269271..000
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="github.com/docker/${PN/docker-}"
-
-if [[ ${PV} == * ]]; then
-   inherit golang-vcs
-else
-   MY_PV="${PV/_/-}"
-   EGIT_COMMIT="54296cf40ad8143b62dbcaa1d90e520a2136ddfe"
-   RUNC_COMMIT="54296cf" # Change this when you update the ebuild
-   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~ppc64"
-   inherit golang-vcs-snapshot
-fi
-
-DESCRIPTION="runc container cli tools (docker fork)"
-HOMEPAGE="http://runc.io;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="apparmor hardened +seccomp"
-
-RDEPEND="
-   apparmor? ( sys-libs/libapparmor )
-   seccomp? ( sys-libs/libseccomp )
-   !app-emulation/runc
-"
-
-S=${WORKDIR}/${P}/src/${EGO_PN}
-
-RESTRICT="test"
-
-src_compile() {
-   # Taken from app-emulation/docker-1.7.0-r1
-   export CGO_CFLAGS="-I${ROOT}/usr/include"
-   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-   -L${ROOT}/usr/$(get_libdir)"
-
-   # Setup GOPATH so things build
-   rm -rf .gopath
-   mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")"
-   ln -sf ../../../.. .gopath/src/"${GITHUB_URI}"
-   export GOPATH="${PWD}/.gopath:${PWD}/vendor"
-
-   # build up optional flags
-   local options=(
-   $(usex apparmor 'apparmor')
-   $(usex seccomp 'seccomp')
-   )
-
-   emake BUILDTAGS="${options[*]}" \
-   COMMIT="${RUNC_COMMIT}"
-}
-
-src_install() {
-   dobin runc
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-11-03 Thread Manuel Rüger
commit: cd96949935c321c24886d43f11d1ada522b4ae20
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Nov  3 11:55:04 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Nov  3 11:55:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd969499

app-emulation/docker-runc: Stable on amd64

Package-Manager: Portage-2.3.12, Repoman-2.3.4

 app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild
index 03e8e10d6e7..930d6d1ff44 100644
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild
@@ -11,7 +11,7 @@ else
EGIT_COMMIT="810190ceaa507aa2727d7ae6f4790c76ec150bd2"
RUNC_COMMIT="810190" # Change this when you update the ebuild
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64"
+   KEYWORDS="amd64 ~arm ~ppc64"
inherit golang-vcs-snapshot
 fi
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-09-25 Thread Manuel Rüger
commit: 492e0f3cf48d0f58aaf7a49286a9c7630ac5460f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep 25 14:06:03 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep 25 14:06:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=492e0f3c

app-emulation/docker-runc: Add snapshot for docker-ce 17.09

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 app-emulation/docker-runc/Manifest |  1 +
 .../docker-runc-1.0.0_rc4_p20170917.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index 8749bbcdb1d..e3fa704b97a 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,2 +1,3 @@
 DIST docker-runc-1.0.0_rc2_p20170308.tar.gz 561400 SHA256 
bdd0fc0b5db42bb1fc439d5a5d6347d97b285e676559afb620ffd9f62fc1de26 SHA512 
f17c7ff09578573a161f14616446e74d92d66039c1462bce23ea507b151eb66ede12d2ca583d3dace21d186a80bdadf222fc180bf1123e29c68e43f2f2d949c8
 WHIRLPOOL 
f6853ccdd09ca1481828b20e64403151cd9c5d46ceb81c50e884d47e18f8594c21bf53102b252852b259b6b0186f54f070fb7f3c7e4447123cbf05aa69233035
 DIST docker-runc-1.0.0_rc3_p20170706.tar.gz 1042839 SHA256 
d09b31b9a5adf0a3295d10b20e5f65ec8e1c52a371d463218694c37e075829e9 SHA512 
8e937e8ccaa114913d61a450b030496668c1e2d80eecccf5e4914c5685d7dde9a0d50bc2aef9be844dc69eab81621aa1c043abbc72ba28ab6bdb9db5e86daeaf
 WHIRLPOOL 
bec7b506a6b2522d401733b32a9f500aec69920dc6d8072ab434c7bfbb1c88a6fb00afa1d2728f78fbaac1d58f890a2b5932fdbe2b0e87b749293f2b48ed2e8a
+DIST docker-runc-1.0.0_rc4_p20170917.tar.gz 1094599 SHA256 
d5820f1c655061be79441bd57efea4e5b60b25b6a451214b64172395b9fda383 SHA512 
0cb0748812296294a87dda257dbf0947897a1ada2aa861ff3e65309a6bbecebbe798929845fca6f23b66fd0dc019bca0a032737c7192fe20618d8e1849866f3d
 WHIRLPOOL 
ed34894a3878c0cae50888c936eba1dad8d58da8d7042d5e421f06e4e98c1d7701a5c877baaba14a46d588b2ee3354e19d72bb141d5d8e7f6c0bed2d3a6b71b6

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild
new file mode 100644
index 000..8ea1d028f5b
--- /dev/null
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc4_p20170917.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/opencontainers/${PN/docker-}"
+
+if [[ ${PV} == * ]]; then
+   inherit golang-vcs
+else
+   MY_PV="${PV/_/-}"
+   EGIT_COMMIT="3f2f8b84a77f73d38244dd690525642a72156c64"
+   RUNC_COMMIT="3f2f8b84" # Change this when you update the ebuild
+   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64"
+   inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="runc container cli tools (docker fork)"
+HOMEPAGE="http://runc.io;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="+ambient apparmor hardened +seccomp"
+
+RDEPEND="
+   apparmor? ( sys-libs/libapparmor )
+   seccomp? ( sys-libs/libseccomp )
+   !app-emulation/runc
+"
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+   sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e 
"/COMMIT_NO :=/d" Makefile || die
+}
+
+src_compile() {
+   # Taken from app-emulation/docker-1.7.0-r1
+   export CGO_CFLAGS="-I${ROOT}/usr/include"
+   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+   -L${ROOT}/usr/$(get_libdir)"
+
+   # build up optional flags
+   local options=(
+   $(usex ambient 'ambient' '')
+   $(usex apparmor 'apparmor' '')
+   $(usex seccomp 'seccomp' '')
+   )
+
+   GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
+   COMMIT="${RUNC_COMMIT}"
+}
+
+src_install() {
+   dobin runc
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-09-10 Thread Manuel Rüger
commit: c688546330dd2a7afeeb09dafc7b229fd9de66cb
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Sep 10 11:24:21 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Sep 10 11:24:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6885463

app-emulation/docker-runc: Enable ambient USEflag by default

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild
index 8bbfc597c1b..03e8e10d6e7 100644
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="http://runc.io;
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="apparmor ambient hardened +seccomp"
+IUSE="+ambient apparmor hardened +seccomp"
 
 RDEPEND="
apparmor? ( sys-libs/libapparmor )
@@ -45,8 +45,8 @@ src_compile() {
 
# build up optional flags
local options=(
-   $(usex apparmor 'apparmor' '')
$(usex ambient 'ambient' '')
+   $(usex apparmor 'apparmor' '')
$(usex seccomp 'seccomp' '')
)
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-09-10 Thread Manuel Rüger
commit: 0a23919d8bd68cbab0b1e17b88f783c784067d7e
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Sep 10 10:59:59 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Sep 10 10:59:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a23919d

app-emulation/docker-runc: Remove old

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-emulation/docker-runc/Manifest |  1 -
 .../docker-runc-1.0.0_rc3_p20170607.ebuild | 59 --
 2 files changed, 60 deletions(-)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index c572147b793..8749bbcdb1d 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,3 +1,2 @@
 DIST docker-runc-1.0.0_rc2_p20170308.tar.gz 561400 SHA256 
bdd0fc0b5db42bb1fc439d5a5d6347d97b285e676559afb620ffd9f62fc1de26 SHA512 
f17c7ff09578573a161f14616446e74d92d66039c1462bce23ea507b151eb66ede12d2ca583d3dace21d186a80bdadf222fc180bf1123e29c68e43f2f2d949c8
 WHIRLPOOL 
f6853ccdd09ca1481828b20e64403151cd9c5d46ceb81c50e884d47e18f8594c21bf53102b252852b259b6b0186f54f070fb7f3c7e4447123cbf05aa69233035
-DIST docker-runc-1.0.0_rc3_p20170607.tar.gz 1043233 SHA256 
b363764efc58fc25757b71b8f64569f1f1f81f0beaa5cc3542ed7d602f15fa75 SHA512 
53b9bc1ffd0c76e886a0eb9d9f0c78238b5bd7ca59884138c0ef438322b3b3b09d58a36e0fec8f6daa8b465323b7dc38515a915945f2009233e343b2ec3eca14
 WHIRLPOOL 
f6069ea7cb9100be36ad40fbd24a46de65837e2408dd045fbb69aa6c6442f0ac662feba8f61caf21ef0aec1fcfed3a47b60e87f179012580d46e3dd041865f32
 DIST docker-runc-1.0.0_rc3_p20170706.tar.gz 1042839 SHA256 
d09b31b9a5adf0a3295d10b20e5f65ec8e1c52a371d463218694c37e075829e9 SHA512 
8e937e8ccaa114913d61a450b030496668c1e2d80eecccf5e4914c5685d7dde9a0d50bc2aef9be844dc69eab81621aa1c043abbc72ba28ab6bdb9db5e86daeaf
 WHIRLPOOL 
bec7b506a6b2522d401733b32a9f500aec69920dc6d8072ab434c7bfbb1c88a6fb00afa1d2728f78fbaac1d58f890a2b5932fdbe2b0e87b749293f2b48ed2e8a

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170607.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170607.ebuild
deleted file mode 100644
index 9fcf75f8485..000
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170607.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="github.com/opencontainers/${PN/docker-}"
-
-if [[ ${PV} == * ]]; then
-   inherit golang-vcs
-else
-   MY_PV="${PV/_/-}"
-   EGIT_COMMIT="2d41c047c83e09a6d61d464906feb2a2f3c52aa4"
-   RUNC_COMMIT="2d41c04" # Change this when you update the ebuild
-   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64"
-   inherit golang-vcs-snapshot
-fi
-
-DESCRIPTION="runc container cli tools (docker fork)"
-HOMEPAGE="http://runc.io;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="apparmor ambient hardened +seccomp"
-
-RDEPEND="
-   apparmor? ( sys-libs/libapparmor )
-   seccomp? ( sys-libs/libseccomp )
-   !app-emulation/runc
-"
-
-S=${WORKDIR}/${P}/src/${EGO_PN}
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-   sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e 
"/COMMIT_NO :=/d" Makefile || die
-}
-
-src_compile() {
-   # Taken from app-emulation/docker-1.7.0-r1
-   export CGO_CFLAGS="-I${ROOT}/usr/include"
-   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-   -L${ROOT}/usr/$(get_libdir)"
-
-   # build up optional flags
-   local options=(
-   $(usex apparmor 'apparmor' '')
-   $(usex ambient 'ambient' '')
-   $(usex seccomp 'seccomp' '')
-   )
-
-   GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
-   COMMIT="${RUNC_COMMIT}"
-}
-
-src_install() {
-   dobin runc
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-08-21 Thread Manuel Rüger
commit: 1418eb24b062c5b120e848319b1b635f8be0bc7d
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Aug 21 10:09:56 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Aug 21 10:09:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1418eb24

app-emulation/docker-runc: Update snapshot

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-emulation/docker-runc/Manifest |  1 +
 .../docker-runc-1.0.0_rc3_p20170706.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index e38abbd9bc9..c572147b793 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,2 +1,3 @@
 DIST docker-runc-1.0.0_rc2_p20170308.tar.gz 561400 SHA256 
bdd0fc0b5db42bb1fc439d5a5d6347d97b285e676559afb620ffd9f62fc1de26 SHA512 
f17c7ff09578573a161f14616446e74d92d66039c1462bce23ea507b151eb66ede12d2ca583d3dace21d186a80bdadf222fc180bf1123e29c68e43f2f2d949c8
 WHIRLPOOL 
f6853ccdd09ca1481828b20e64403151cd9c5d46ceb81c50e884d47e18f8594c21bf53102b252852b259b6b0186f54f070fb7f3c7e4447123cbf05aa69233035
 DIST docker-runc-1.0.0_rc3_p20170607.tar.gz 1043233 SHA256 
b363764efc58fc25757b71b8f64569f1f1f81f0beaa5cc3542ed7d602f15fa75 SHA512 
53b9bc1ffd0c76e886a0eb9d9f0c78238b5bd7ca59884138c0ef438322b3b3b09d58a36e0fec8f6daa8b465323b7dc38515a915945f2009233e343b2ec3eca14
 WHIRLPOOL 
f6069ea7cb9100be36ad40fbd24a46de65837e2408dd045fbb69aa6c6442f0ac662feba8f61caf21ef0aec1fcfed3a47b60e87f179012580d46e3dd041865f32
+DIST docker-runc-1.0.0_rc3_p20170706.tar.gz 1042839 SHA256 
d09b31b9a5adf0a3295d10b20e5f65ec8e1c52a371d463218694c37e075829e9 SHA512 
8e937e8ccaa114913d61a450b030496668c1e2d80eecccf5e4914c5685d7dde9a0d50bc2aef9be844dc69eab81621aa1c043abbc72ba28ab6bdb9db5e86daeaf
 WHIRLPOOL 
bec7b506a6b2522d401733b32a9f500aec69920dc6d8072ab434c7bfbb1c88a6fb00afa1d2728f78fbaac1d58f890a2b5932fdbe2b0e87b749293f2b48ed2e8a

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild
new file mode 100644
index 000..8bbfc597c1b
--- /dev/null
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170706.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/opencontainers/${PN/docker-}"
+
+if [[ ${PV} == * ]]; then
+   inherit golang-vcs
+else
+   MY_PV="${PV/_/-}"
+   EGIT_COMMIT="810190ceaa507aa2727d7ae6f4790c76ec150bd2"
+   RUNC_COMMIT="810190" # Change this when you update the ebuild
+   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64"
+   inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="runc container cli tools (docker fork)"
+HOMEPAGE="http://runc.io;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="apparmor ambient hardened +seccomp"
+
+RDEPEND="
+   apparmor? ( sys-libs/libapparmor )
+   seccomp? ( sys-libs/libseccomp )
+   !app-emulation/runc
+"
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+   sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e 
"/COMMIT_NO :=/d" Makefile || die
+}
+
+src_compile() {
+   # Taken from app-emulation/docker-1.7.0-r1
+   export CGO_CFLAGS="-I${ROOT}/usr/include"
+   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+   -L${ROOT}/usr/$(get_libdir)"
+
+   # build up optional flags
+   local options=(
+   $(usex apparmor 'apparmor' '')
+   $(usex ambient 'ambient' '')
+   $(usex seccomp 'seccomp' '')
+   )
+
+   GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
+   COMMIT="${RUNC_COMMIT}"
+}
+
+src_install() {
+   dobin runc
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-07-16 Thread Manuel Rüger
commit: d769d333972b69bdbfd557c67c5f63f4920a57b6
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Jul 16 11:48:00 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Jul 16 11:48:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d769d333

app-emulation/docker-runc: Remove old

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-emulation/docker-runc/Manifest |  1 -
 .../docker-runc-1.0.0_rc2_p20170310.ebuild | 59 --
 2 files changed, 60 deletions(-)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index b63a3e7e6cf..e38abbd9bc9 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,3 +1,2 @@
 DIST docker-runc-1.0.0_rc2_p20170308.tar.gz 561400 SHA256 
bdd0fc0b5db42bb1fc439d5a5d6347d97b285e676559afb620ffd9f62fc1de26 SHA512 
f17c7ff09578573a161f14616446e74d92d66039c1462bce23ea507b151eb66ede12d2ca583d3dace21d186a80bdadf222fc180bf1123e29c68e43f2f2d949c8
 WHIRLPOOL 
f6853ccdd09ca1481828b20e64403151cd9c5d46ceb81c50e884d47e18f8594c21bf53102b252852b259b6b0186f54f070fb7f3c7e4447123cbf05aa69233035
-DIST docker-runc-1.0.0_rc2_p20170310.tar.gz 561483 SHA256 
b5c50d7d9a5f610d5424f96196efa306ec708fd9299302dd919545099c16b7c1 SHA512 
225a37b4a3a79ff0d7a3e74b997f6e5547e270d02c58e65ccb5ea2d81771c489378727bd6abf2f445ea94c2e7717e2991da9fb4cab74327fd57c0e6218143cc3
 WHIRLPOOL 
ecf6ee1d2ed977b74d0d5d5dbf3ff2cc96728bd680a13c58f715dea2401002b0da461d6d2d9ac6af35f290a356821b19175e6f5004fa25b3c8d82eca69d87965
 DIST docker-runc-1.0.0_rc3_p20170607.tar.gz 1043233 SHA256 
b363764efc58fc25757b71b8f64569f1f1f81f0beaa5cc3542ed7d602f15fa75 SHA512 
53b9bc1ffd0c76e886a0eb9d9f0c78238b5bd7ca59884138c0ef438322b3b3b09d58a36e0fec8f6daa8b465323b7dc38515a915945f2009233e343b2ec3eca14
 WHIRLPOOL 
f6069ea7cb9100be36ad40fbd24a46de65837e2408dd045fbb69aa6c6442f0ac662feba8f61caf21ef0aec1fcfed3a47b60e87f179012580d46e3dd041865f32

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170310.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170310.ebuild
deleted file mode 100644
index 3ed57fa7df8..000
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170310.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="github.com/docker/${PN/docker-}"
-
-if [[ ${PV} == * ]]; then
-   inherit golang-vcs
-else
-   MY_PV="${PV/_/-}"
-   EGIT_COMMIT="9c2d8d184e5da67c95d601382adf14862e4f2228"
-   RUNC_COMMIT="9c2d8d1" # Change this when you update the ebuild
-   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64"
-   inherit golang-vcs-snapshot
-fi
-
-DESCRIPTION="runc container cli tools (docker fork)"
-HOMEPAGE="http://runc.io;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="apparmor hardened +seccomp"
-
-RDEPEND="
-   apparmor? ( sys-libs/libapparmor )
-   seccomp? ( sys-libs/libseccomp )
-   !app-emulation/runc
-"
-
-S=${WORKDIR}/${P}/src/${EGO_PN}
-
-RESTRICT="test"
-
-src_compile() {
-   # Taken from app-emulation/docker-1.7.0-r1
-   export CGO_CFLAGS="-I${ROOT}/usr/include"
-   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-   -L${ROOT}/usr/$(get_libdir)"
-
-   # Setup GOPATH so things build
-   rm -rf .gopath
-   mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")"
-   ln -sf ../../../.. .gopath/src/"${GITHUB_URI}"
-   export GOPATH="${PWD}/.gopath:${PWD}/vendor"
-
-   # build up optional flags
-   local options=(
-   $(usex apparmor 'apparmor')
-   $(usex seccomp 'seccomp')
-   )
-
-   emake BUILDTAGS="${options[*]}" \
-   COMMIT="${RUNC_COMMIT}"
-}
-
-src_install() {
-   dobin runc
-}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-06-28 Thread Manuel Rüger
commit: b014f1073469d86c98637e55c6331eb918c82eb9
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Jun 28 11:13:42 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Jun 28 11:24:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b014f107

app-emulation/docker-runc: Update to a snapshot that is going to be used by 
docker 17.06

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-emulation/docker-runc/Manifest |  1 +
 .../docker-runc-1.0.0_rc3_p20170607.ebuild | 59 ++
 app-emulation/docker-runc/metadata.xml |  5 +-
 3 files changed, 62 insertions(+), 3 deletions(-)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index c4a3d658039..b63a3e7e6cf 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,2 +1,3 @@
 DIST docker-runc-1.0.0_rc2_p20170308.tar.gz 561400 SHA256 
bdd0fc0b5db42bb1fc439d5a5d6347d97b285e676559afb620ffd9f62fc1de26 SHA512 
f17c7ff09578573a161f14616446e74d92d66039c1462bce23ea507b151eb66ede12d2ca583d3dace21d186a80bdadf222fc180bf1123e29c68e43f2f2d949c8
 WHIRLPOOL 
f6853ccdd09ca1481828b20e64403151cd9c5d46ceb81c50e884d47e18f8594c21bf53102b252852b259b6b0186f54f070fb7f3c7e4447123cbf05aa69233035
 DIST docker-runc-1.0.0_rc2_p20170310.tar.gz 561483 SHA256 
b5c50d7d9a5f610d5424f96196efa306ec708fd9299302dd919545099c16b7c1 SHA512 
225a37b4a3a79ff0d7a3e74b997f6e5547e270d02c58e65ccb5ea2d81771c489378727bd6abf2f445ea94c2e7717e2991da9fb4cab74327fd57c0e6218143cc3
 WHIRLPOOL 
ecf6ee1d2ed977b74d0d5d5dbf3ff2cc96728bd680a13c58f715dea2401002b0da461d6d2d9ac6af35f290a356821b19175e6f5004fa25b3c8d82eca69d87965
+DIST docker-runc-1.0.0_rc3_p20170607.tar.gz 1043233 SHA256 
b363764efc58fc25757b71b8f64569f1f1f81f0beaa5cc3542ed7d602f15fa75 SHA512 
53b9bc1ffd0c76e886a0eb9d9f0c78238b5bd7ca59884138c0ef438322b3b3b09d58a36e0fec8f6daa8b465323b7dc38515a915945f2009233e343b2ec3eca14
 WHIRLPOOL 
f6069ea7cb9100be36ad40fbd24a46de65837e2408dd045fbb69aa6c6442f0ac662feba8f61caf21ef0aec1fcfed3a47b60e87f179012580d46e3dd041865f32

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170607.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170607.ebuild
new file mode 100644
index 000..9fcf75f8485
--- /dev/null
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc3_p20170607.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/opencontainers/${PN/docker-}"
+
+if [[ ${PV} == * ]]; then
+   inherit golang-vcs
+else
+   MY_PV="${PV/_/-}"
+   EGIT_COMMIT="2d41c047c83e09a6d61d464906feb2a2f3c52aa4"
+   RUNC_COMMIT="2d41c04" # Change this when you update the ebuild
+   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64"
+   inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="runc container cli tools (docker fork)"
+HOMEPAGE="http://runc.io;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="apparmor ambient hardened +seccomp"
+
+RDEPEND="
+   apparmor? ( sys-libs/libapparmor )
+   seccomp? ( sys-libs/libseccomp )
+   !app-emulation/runc
+"
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+   sed -i -e "s/git rev-parse.*\$/echo gentoo)/" -e "/COMMIT :=/d" -e 
"/COMMIT_NO :=/d" Makefile || die
+}
+
+src_compile() {
+   # Taken from app-emulation/docker-1.7.0-r1
+   export CGO_CFLAGS="-I${ROOT}/usr/include"
+   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+   -L${ROOT}/usr/$(get_libdir)"
+
+   # build up optional flags
+   local options=(
+   $(usex apparmor 'apparmor' '')
+   $(usex ambient 'ambient' '')
+   $(usex seccomp 'seccomp' '')
+   )
+
+   GOPATH="${WORKDIR}/${P}" emake BUILDTAGS="${options[*]}" \
+   COMMIT="${RUNC_COMMIT}"
+}
+
+src_install() {
+   dobin runc
+}

diff --git a/app-emulation/docker-runc/metadata.xml 
b/app-emulation/docker-runc/metadata.xml
index 4a3ebf6cbb7..9fe8126b58a 100644
--- a/app-emulation/docker-runc/metadata.xml
+++ b/app-emulation/docker-runc/metadata.xml
@@ -10,9 +10,8 @@
Manuel Rüger


-   
-   Enable AppArmor support.
-   
+   Enable support for ambient 
capability
+   Enable AppArmor support


docker/runc



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-04-21 Thread William Hubbs
commit: 3578e0cf3488688b391036105ad417d4a4106224
Author: William Hubbs  gentoo  org>
AuthorDate: Fri Apr 21 18:57:53 2017 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Apr 21 19:01:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3578e0cf

app-emulation/docker-runc: stabilize 1.0.0_rc2_p20170308 on amd64

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild
index e8aeca86b70..0026a269271 100644
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild
@@ -11,7 +11,7 @@ else
EGIT_COMMIT="54296cf40ad8143b62dbcaa1d90e520a2136ddfe"
RUNC_COMMIT="54296cf" # Change this when you update the ebuild
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64"
+   KEYWORDS="amd64 ~arm ~ppc64"
inherit golang-vcs-snapshot
 fi
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-04-21 Thread Manuel Rüger
commit: 6729a35619f9c5db1ae96ecc053a5a80aaa669b8
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Apr 21 15:04:30 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Apr 21 15:04:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6729a356

app-emulation/docker-runc: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-emulation/docker-runc/Manifest |  2 -
 .../docker-runc-1.0.0_rc2_p20170201.ebuild | 59 --
 .../docker-runc-1.0.0_rc2_p20170222.ebuild | 59 --
 3 files changed, 120 deletions(-)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index 1f40fc22cb0..c4a3d658039 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,4 +1,2 @@
-DIST docker-runc-1.0.0_rc2_p20170201.tar.gz 560793 SHA256 
11f69923a786efb82b65d9f1eec0ac665a985e631a67f3f4d466dac720efacdd SHA512 
8c19a02a55108cef36cbd1ff739a3c8e2962d188c426517fce91483ec525546d39c14072f0a0f2471b6b70a05cf6c1f0e99cfeb5e87203fcbae955bd5f5bd16b
 WHIRLPOOL 
8a1f44234c668aca5c53e401ce80e2c297ad9c7ed0b10d782494e93020f824e6d5e3a00be221f1ff5d039df998c43556228503788181a45256d91278dd005721
-DIST docker-runc-1.0.0_rc2_p20170222.tar.gz 560798 SHA256 
ab7913b8062f77c0a2b16ae335d74eb78aa85e8d4dcccbf0793b14caf1a3f0b2 SHA512 
1ea7ed8a98b2cbc508933608d7dc16b26c1507021200691e66fa61d4c567a5437aafae8b9710bf29ba94a8c4853de7f9e38e9e09de9a358a68e0e431771a13cc
 WHIRLPOOL 
e198528c956de5921ac5fa4395d0391d4b94413b46d82596bc47c525365e80b3b839df07b7f63642ad7d9c6f078c265f6e0d16397dba086c152e50ee0ebdb7be
 DIST docker-runc-1.0.0_rc2_p20170308.tar.gz 561400 SHA256 
bdd0fc0b5db42bb1fc439d5a5d6347d97b285e676559afb620ffd9f62fc1de26 SHA512 
f17c7ff09578573a161f14616446e74d92d66039c1462bce23ea507b151eb66ede12d2ca583d3dace21d186a80bdadf222fc180bf1123e29c68e43f2f2d949c8
 WHIRLPOOL 
f6853ccdd09ca1481828b20e64403151cd9c5d46ceb81c50e884d47e18f8594c21bf53102b252852b259b6b0186f54f070fb7f3c7e4447123cbf05aa69233035
 DIST docker-runc-1.0.0_rc2_p20170310.tar.gz 561483 SHA256 
b5c50d7d9a5f610d5424f96196efa306ec708fd9299302dd919545099c16b7c1 SHA512 
225a37b4a3a79ff0d7a3e74b997f6e5547e270d02c58e65ccb5ea2d81771c489378727bd6abf2f445ea94c2e7717e2991da9fb4cab74327fd57c0e6218143cc3
 WHIRLPOOL 
ecf6ee1d2ed977b74d0d5d5dbf3ff2cc96728bd680a13c58f715dea2401002b0da461d6d2d9ac6af35f290a356821b19175e6f5004fa25b3c8d82eca69d87965

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170201.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170201.ebuild
deleted file mode 100644
index e91b71ecd35..000
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170201.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="github.com/docker/${PN/docker-}"
-
-if [[ ${PV} == * ]]; then
-   inherit golang-vcs
-else
-   MY_PV="${PV/_/-}"
-   EGIT_COMMIT="9df8b306d01f59d3a8029be411de015b7304dd8f"
-   RUNC_COMMIT="9df8b3" # Change this when you update the ebuild
-   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~ppc64"
-   inherit golang-vcs-snapshot
-fi
-
-DESCRIPTION="runc container cli tools (docker fork)"
-HOMEPAGE="http://runc.io;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="apparmor hardened +seccomp"
-
-RDEPEND="
-   apparmor? ( sys-libs/libapparmor )
-   seccomp? ( sys-libs/libseccomp )
-   !app-emulation/runc
-"
-
-S=${WORKDIR}/${P}/src/${EGO_PN}
-
-RESTRICT="test"
-
-src_compile() {
-   # Taken from app-emulation/docker-1.7.0-r1
-   export CGO_CFLAGS="-I${ROOT}/usr/include"
-   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-   -L${ROOT}/usr/$(get_libdir)"
-
-   # Setup GOPATH so things build
-   rm -rf .gopath
-   mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")"
-   ln -sf ../../../.. .gopath/src/"${GITHUB_URI}"
-   export GOPATH="${PWD}/.gopath:${PWD}/vendor"
-
-   # build up optional flags
-   local options=(
-   $(usex apparmor 'apparmor')
-   $(usex seccomp 'seccomp')
-   )
-
-   emake BUILDTAGS="${options[*]}" \
-   COMMIT="${RUNC_COMMIT}"
-}
-
-src_install() {
-   dobin runc
-}

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170222.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170222.ebuild
deleted file mode 100644
index fad3f4a550e..000
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170222.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="github.com/docker/${PN/docker-}"
-
-if [[ ${PV} == * ]]; then
-   inherit golang-vcs
-else
-   MY_PV="${PV/_/-}"
-   

[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-04-06 Thread Manuel Rüger
commit: 71ea9e55855c0e15153006a6bbc8404726eefd9b
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Apr  6 17:11:35 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Apr  6 17:11:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ea9e55

app-emulation/docker-runc: Update snapshot for docker-17.04.x

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 app-emulation/docker-runc/Manifest |  1 +
 .../docker-runc-1.0.0_rc2_p20170310.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index 9142fa22e14..1f40fc22cb0 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,3 +1,4 @@
 DIST docker-runc-1.0.0_rc2_p20170201.tar.gz 560793 SHA256 
11f69923a786efb82b65d9f1eec0ac665a985e631a67f3f4d466dac720efacdd SHA512 
8c19a02a55108cef36cbd1ff739a3c8e2962d188c426517fce91483ec525546d39c14072f0a0f2471b6b70a05cf6c1f0e99cfeb5e87203fcbae955bd5f5bd16b
 WHIRLPOOL 
8a1f44234c668aca5c53e401ce80e2c297ad9c7ed0b10d782494e93020f824e6d5e3a00be221f1ff5d039df998c43556228503788181a45256d91278dd005721
 DIST docker-runc-1.0.0_rc2_p20170222.tar.gz 560798 SHA256 
ab7913b8062f77c0a2b16ae335d74eb78aa85e8d4dcccbf0793b14caf1a3f0b2 SHA512 
1ea7ed8a98b2cbc508933608d7dc16b26c1507021200691e66fa61d4c567a5437aafae8b9710bf29ba94a8c4853de7f9e38e9e09de9a358a68e0e431771a13cc
 WHIRLPOOL 
e198528c956de5921ac5fa4395d0391d4b94413b46d82596bc47c525365e80b3b839df07b7f63642ad7d9c6f078c265f6e0d16397dba086c152e50ee0ebdb7be
 DIST docker-runc-1.0.0_rc2_p20170308.tar.gz 561400 SHA256 
bdd0fc0b5db42bb1fc439d5a5d6347d97b285e676559afb620ffd9f62fc1de26 SHA512 
f17c7ff09578573a161f14616446e74d92d66039c1462bce23ea507b151eb66ede12d2ca583d3dace21d186a80bdadf222fc180bf1123e29c68e43f2f2d949c8
 WHIRLPOOL 
f6853ccdd09ca1481828b20e64403151cd9c5d46ceb81c50e884d47e18f8594c21bf53102b252852b259b6b0186f54f070fb7f3c7e4447123cbf05aa69233035
+DIST docker-runc-1.0.0_rc2_p20170310.tar.gz 561483 SHA256 
b5c50d7d9a5f610d5424f96196efa306ec708fd9299302dd919545099c16b7c1 SHA512 
225a37b4a3a79ff0d7a3e74b997f6e5547e270d02c58e65ccb5ea2d81771c489378727bd6abf2f445ea94c2e7717e2991da9fb4cab74327fd57c0e6218143cc3
 WHIRLPOOL 
ecf6ee1d2ed977b74d0d5d5dbf3ff2cc96728bd680a13c58f715dea2401002b0da461d6d2d9ac6af35f290a356821b19175e6f5004fa25b3c8d82eca69d87965

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170310.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170310.ebuild
new file mode 100644
index 000..3ed57fa7df8
--- /dev/null
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170310.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/docker/${PN/docker-}"
+
+if [[ ${PV} == * ]]; then
+   inherit golang-vcs
+else
+   MY_PV="${PV/_/-}"
+   EGIT_COMMIT="9c2d8d184e5da67c95d601382adf14862e4f2228"
+   RUNC_COMMIT="9c2d8d1" # Change this when you update the ebuild
+   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64"
+   inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="runc container cli tools (docker fork)"
+HOMEPAGE="http://runc.io;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="apparmor hardened +seccomp"
+
+RDEPEND="
+   apparmor? ( sys-libs/libapparmor )
+   seccomp? ( sys-libs/libseccomp )
+   !app-emulation/runc
+"
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_compile() {
+   # Taken from app-emulation/docker-1.7.0-r1
+   export CGO_CFLAGS="-I${ROOT}/usr/include"
+   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+   -L${ROOT}/usr/$(get_libdir)"
+
+   # Setup GOPATH so things build
+   rm -rf .gopath
+   mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")"
+   ln -sf ../../../.. .gopath/src/"${GITHUB_URI}"
+   export GOPATH="${PWD}/.gopath:${PWD}/vendor"
+
+   # build up optional flags
+   local options=(
+   $(usex apparmor 'apparmor')
+   $(usex seccomp 'seccomp')
+   )
+
+   emake BUILDTAGS="${options[*]}" \
+   COMMIT="${RUNC_COMMIT}"
+}
+
+src_install() {
+   dobin runc
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-04-05 Thread Michael Weber
commit: c45c71e7b366782c59e4d9e4c8a7c3352d5dc116
Author: Michael Weber  gentoo  org>
AuthorDate: Wed Apr  5 10:17:27 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Apr  5 10:20:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c45c71e7

app-emulation/docker-runc: add ~arm (bug 566732)

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="amd64 arm arm64 ppc ppc64"

 app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild
index d57a98ae48f..e8aeca86b70 100644
--- a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild
@@ -11,7 +11,7 @@ else
EGIT_COMMIT="54296cf40ad8143b62dbcaa1d90e520a2136ddfe"
RUNC_COMMIT="54296cf" # Change this when you update the ebuild
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~ppc64"
+   KEYWORDS="~amd64 ~arm ~ppc64"
inherit golang-vcs-snapshot
 fi
 



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-03-20 Thread Manuel Rüger
commit: 49ad99a84bba660751a439bff3ab5b1aeab5faba
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Mar 20 14:37:07 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Mar 20 14:37:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49ad99a8

app-emulation/docker-runc: Update snapshot for docker-17.03.1

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 app-emulation/docker-runc/Manifest |  1 +
 .../docker-runc-1.0.0_rc2_p20170308.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index 28860b54846..9142fa22e14 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1,2 +1,3 @@
 DIST docker-runc-1.0.0_rc2_p20170201.tar.gz 560793 SHA256 
11f69923a786efb82b65d9f1eec0ac665a985e631a67f3f4d466dac720efacdd SHA512 
8c19a02a55108cef36cbd1ff739a3c8e2962d188c426517fce91483ec525546d39c14072f0a0f2471b6b70a05cf6c1f0e99cfeb5e87203fcbae955bd5f5bd16b
 WHIRLPOOL 
8a1f44234c668aca5c53e401ce80e2c297ad9c7ed0b10d782494e93020f824e6d5e3a00be221f1ff5d039df998c43556228503788181a45256d91278dd005721
 DIST docker-runc-1.0.0_rc2_p20170222.tar.gz 560798 SHA256 
ab7913b8062f77c0a2b16ae335d74eb78aa85e8d4dcccbf0793b14caf1a3f0b2 SHA512 
1ea7ed8a98b2cbc508933608d7dc16b26c1507021200691e66fa61d4c567a5437aafae8b9710bf29ba94a8c4853de7f9e38e9e09de9a358a68e0e431771a13cc
 WHIRLPOOL 
e198528c956de5921ac5fa4395d0391d4b94413b46d82596bc47c525365e80b3b839df07b7f63642ad7d9c6f078c265f6e0d16397dba086c152e50ee0ebdb7be
+DIST docker-runc-1.0.0_rc2_p20170308.tar.gz 561400 SHA256 
bdd0fc0b5db42bb1fc439d5a5d6347d97b285e676559afb620ffd9f62fc1de26 SHA512 
f17c7ff09578573a161f14616446e74d92d66039c1462bce23ea507b151eb66ede12d2ca583d3dace21d186a80bdadf222fc180bf1123e29c68e43f2f2d949c8
 WHIRLPOOL 
f6853ccdd09ca1481828b20e64403151cd9c5d46ceb81c50e884d47e18f8594c21bf53102b252852b259b6b0186f54f070fb7f3c7e4447123cbf05aa69233035

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild
new file mode 100644
index 000..d57a98ae48f
--- /dev/null
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170308.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/docker/${PN/docker-}"
+
+if [[ ${PV} == * ]]; then
+   inherit golang-vcs
+else
+   MY_PV="${PV/_/-}"
+   EGIT_COMMIT="54296cf40ad8143b62dbcaa1d90e520a2136ddfe"
+   RUNC_COMMIT="54296cf" # Change this when you update the ebuild
+   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~ppc64"
+   inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="runc container cli tools (docker fork)"
+HOMEPAGE="http://runc.io;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="apparmor hardened +seccomp"
+
+RDEPEND="
+   apparmor? ( sys-libs/libapparmor )
+   seccomp? ( sys-libs/libseccomp )
+   !app-emulation/runc
+"
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_compile() {
+   # Taken from app-emulation/docker-1.7.0-r1
+   export CGO_CFLAGS="-I${ROOT}/usr/include"
+   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+   -L${ROOT}/usr/$(get_libdir)"
+
+   # Setup GOPATH so things build
+   rm -rf .gopath
+   mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")"
+   ln -sf ../../../.. .gopath/src/"${GITHUB_URI}"
+   export GOPATH="${PWD}/.gopath:${PWD}/vendor"
+
+   # build up optional flags
+   local options=(
+   $(usex apparmor 'apparmor')
+   $(usex seccomp 'seccomp')
+   )
+
+   emake BUILDTAGS="${options[*]}" \
+   COMMIT="${RUNC_COMMIT}"
+}
+
+src_install() {
+   dobin runc
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-03-06 Thread Manuel Rüger
commit: cf78c3763258d6bdeda00081c3fa8d90342ecbb5
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Mar  6 15:33:45 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Mar  6 15:33:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf78c376

app-emulation/docker-runc: Add snapshot for docker-17.03.x

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 app-emulation/docker-runc/Manifest |  1 +
 .../docker-runc-1.0.0_rc2_p20170222.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
index e3ee173fa9a..28860b54846 100644
--- a/app-emulation/docker-runc/Manifest
+++ b/app-emulation/docker-runc/Manifest
@@ -1 +1,2 @@
 DIST docker-runc-1.0.0_rc2_p20170201.tar.gz 560793 SHA256 
11f69923a786efb82b65d9f1eec0ac665a985e631a67f3f4d466dac720efacdd SHA512 
8c19a02a55108cef36cbd1ff739a3c8e2962d188c426517fce91483ec525546d39c14072f0a0f2471b6b70a05cf6c1f0e99cfeb5e87203fcbae955bd5f5bd16b
 WHIRLPOOL 
8a1f44234c668aca5c53e401ce80e2c297ad9c7ed0b10d782494e93020f824e6d5e3a00be221f1ff5d039df998c43556228503788181a45256d91278dd005721
+DIST docker-runc-1.0.0_rc2_p20170222.tar.gz 560798 SHA256 
ab7913b8062f77c0a2b16ae335d74eb78aa85e8d4dcccbf0793b14caf1a3f0b2 SHA512 
1ea7ed8a98b2cbc508933608d7dc16b26c1507021200691e66fa61d4c567a5437aafae8b9710bf29ba94a8c4853de7f9e38e9e09de9a358a68e0e431771a13cc
 WHIRLPOOL 
e198528c956de5921ac5fa4395d0391d4b94413b46d82596bc47c525365e80b3b839df07b7f63642ad7d9c6f078c265f6e0d16397dba086c152e50ee0ebdb7be

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170222.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170222.ebuild
new file mode 100644
index 000..fad3f4a550e
--- /dev/null
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170222.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/docker/${PN/docker-}"
+
+if [[ ${PV} == * ]]; then
+   inherit golang-vcs
+else
+   MY_PV="${PV/_/-}"
+   EGIT_COMMIT="a01dafd48bc1c7cc12bdb01206f9fea7dd6feb70"
+   RUNC_COMMIT="a01daf" # Change this when you update the ebuild
+   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~ppc64"
+   inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="runc container cli tools (docker fork)"
+HOMEPAGE="http://runc.io;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="apparmor hardened +seccomp"
+
+RDEPEND="
+   apparmor? ( sys-libs/libapparmor )
+   seccomp? ( sys-libs/libseccomp )
+   !app-emulation/runc
+"
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_compile() {
+   # Taken from app-emulation/docker-1.7.0-r1
+   export CGO_CFLAGS="-I${ROOT}/usr/include"
+   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+   -L${ROOT}/usr/$(get_libdir)"
+
+   # Setup GOPATH so things build
+   rm -rf .gopath
+   mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")"
+   ln -sf ../../../.. .gopath/src/"${GITHUB_URI}"
+   export GOPATH="${PWD}/.gopath:${PWD}/vendor"
+
+   # build up optional flags
+   local options=(
+   $(usex apparmor 'apparmor')
+   $(usex seccomp 'seccomp')
+   )
+
+   emake BUILDTAGS="${options[*]}" \
+   COMMIT="${RUNC_COMMIT}"
+}
+
+src_install() {
+   dobin runc
+}



[gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-runc/

2017-02-24 Thread Manuel Rüger
commit: 37e1e34967ecb4a2ec29122da2339731a9dbb137
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Feb 24 10:25:19 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Feb 24 10:25:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37e1e349

app-emulation/docker-runc: Initial version (docker-fork of runc)

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-emulation/docker-runc/Manifest |  1 +
 .../docker-runc-1.0.0_rc2_p20170201.ebuild | 60 ++
 app-emulation/docker-runc/metadata.xml | 20 
 3 files changed, 81 insertions(+)

diff --git a/app-emulation/docker-runc/Manifest 
b/app-emulation/docker-runc/Manifest
new file mode 100644
index 00..e3ee173fa9
--- /dev/null
+++ b/app-emulation/docker-runc/Manifest
@@ -0,0 +1 @@
+DIST docker-runc-1.0.0_rc2_p20170201.tar.gz 560793 SHA256 
11f69923a786efb82b65d9f1eec0ac665a985e631a67f3f4d466dac720efacdd SHA512 
8c19a02a55108cef36cbd1ff739a3c8e2962d188c426517fce91483ec525546d39c14072f0a0f2471b6b70a05cf6c1f0e99cfeb5e87203fcbae955bd5f5bd16b
 WHIRLPOOL 
8a1f44234c668aca5c53e401ce80e2c297ad9c7ed0b10d782494e93020f824e6d5e3a00be221f1ff5d039df998c43556228503788181a45256d91278dd005721

diff --git a/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170201.ebuild 
b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170201.ebuild
new file mode 100644
index 00..d6ffc9f575
--- /dev/null
+++ b/app-emulation/docker-runc/docker-runc-1.0.0_rc2_p20170201.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+EGO_PN="github.com/docker/${PN/docker-}"
+
+if [[ ${PV} == * ]]; then
+   inherit golang-vcs
+else
+   MY_PV="${PV/_/-}"
+   EGIT_COMMIT="9df8b306d01f59d3a8029be411de015b7304dd8f"
+   RUNC_COMMIT="9df8b3" # Change this when you update the ebuild
+   SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~ppc64"
+   inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="runc container cli tools (docker fork)"
+HOMEPAGE="http://runc.io;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="apparmor hardened +seccomp"
+
+RDEPEND="
+   apparmor? ( sys-libs/libapparmor )
+   seccomp? ( sys-libs/libseccomp )
+   !app-emulation/runc
+"
+
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+RESTRICT="test"
+
+src_compile() {
+   # Taken from app-emulation/docker-1.7.0-r1
+   export CGO_CFLAGS="-I${ROOT}/usr/include"
+   export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+   -L${ROOT}/usr/$(get_libdir)"
+
+   # Setup GOPATH so things build
+   rm -rf .gopath
+   mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")"
+   ln -sf ../../../.. .gopath/src/"${GITHUB_URI}"
+   export GOPATH="${PWD}/.gopath:${PWD}/vendor"
+
+   # build up optional flags
+   local options=(
+   $(usex apparmor 'apparmor')
+   $(usex seccomp 'seccomp')
+   )
+
+   emake BUILDTAGS="${options[*]}" \
+   COMMIT="${RUNC_COMMIT}"
+}
+
+src_install() {
+   dobin runc
+}

diff --git a/app-emulation/docker-runc/metadata.xml 
b/app-emulation/docker-runc/metadata.xml
new file mode 100644
index 00..4a3ebf6cbb
--- /dev/null
+++ b/app-emulation/docker-runc/metadata.xml
@@ -0,0 +1,20 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   runc is a CLI tool for spawning and running containers according
+   to the OCF (Open Container Format) specification.
+   
+   
+   mr...@gentoo.org
+   Manuel Rüger
+   
+   
+   
+   Enable AppArmor support.
+   
+   
+   
+   docker/runc
+   
+