diff options
Diffstat (limited to 'app-emulation/img')
-rw-r--r-- | app-emulation/img/Manifest | 6 | ||||
-rw-r--r-- | app-emulation/img/img-0.4.5.ebuild (renamed from app-emulation/img/img-0.4.4.ebuild) | 2 | ||||
-rw-r--r-- | app-emulation/img/img-0.4.6.ebuild | 32 |
3 files changed, 37 insertions, 3 deletions
diff --git a/app-emulation/img/Manifest b/app-emulation/img/Manifest index 487b7f21ef83..2250305b13d3 100644 --- a/app-emulation/img/Manifest +++ b/app-emulation/img/Manifest @@ -1,3 +1,5 @@ -DIST img-0.4.4.tar.gz 5626989 BLAKE2B ba67acb795cb4e1da412773fe37be5c64fe0743d527e2565fe03fabad0cf45cbb3c2abba24da9346b5aa25842be69150d9d195e4ceb737a6ac5a47f372da9816 SHA512 718ced82f7df555c8c3f35c7e466842129190d422fc36a82feae4837045d65f86ba2e162c590369dcc758f3f3ddab21f758b03131796f41daab186df06e96697 -EBUILD img-0.4.4.ebuild 921 BLAKE2B 1a49162a327da1989e62907945ba3d43f7dacedf11bb7a3236ecd2c5ce639aa333aa4a51f12b7bb7fd827d172b15ed9c8e33dc2eee4795a81f5a97f280c62d55 SHA512 a5ada1debbba53e8796cb267c5f24d72484eda56cf71bce57d16d0a1a93cf7a8647cf6c89a2dedc16ea556ec5a6720f159becddc4813692a4e1b265e7cd998fa +DIST img-0.4.5.tar.gz 5635062 BLAKE2B 7161225494c8db0f6a91cda186d9c5804eff9f5fec5645dd1b61ac5f76de10ad8d63f2723030b9e3e886f292ce2c4a8d1e325c0adff759893b6455dc2c540e51 SHA512 ca427127b716f69d474912fad1e8a24008d671c3da266560466a1ff54690439fc3bc04b736f3ae3e12534a708ad4f6b9a6c910334dfc68ce2e1f63ecb1a5cac5 +DIST img-0.4.6.tar.gz 5635103 BLAKE2B 88e0ae3bdc0b9e1784d4d67635d119084a5e9dbe258b55da10f549b97f2d566f312226687bef0d28ad1ae3b13c764a44071bfe10ec0a189ad4bcf0bc8c83df5f SHA512 7f75d66237fe5ccf5923774e1d40ef04d9447f3e7de6641167679a1bf5b6305880a046e664fa7adb93dc4bd28e9f0e1ee790ecf2a225aa98b0202e47b8d01987 +EBUILD img-0.4.5.ebuild 921 BLAKE2B 2e83f9f376a86f0951fa8f252339f727771d4570553eea41973a774f27856e4b210f898dfd58b1947e063667f96e7b3d4abf3dab7172d1ae31bd4679fcd6fc54 SHA512 f1951feee4341b4540253ef1b89eeeeae51a1d60cb1a76d456cda775ac2bf635d4fa4de2c28a314ce055480400bfcf6032ecd480b7c6e1221b7035bad7f1ede4 +EBUILD img-0.4.6.ebuild 921 BLAKE2B a0fc0c56c0bc10a929fa4932d1095f8d6e3f1af6bd65125eb85f8011fefdcc5e89aa12ba0755ea75b562cfe3f23c60d42ed1b7e094dddefc487ecd3e34baee71 SHA512 78ee9d32a0493d3d1bd8bd4611d81a25dfc69502a56e1b4ec5000d0f8c3356dd8f72569866ed74e75959834801a24536465316b34180905b693e5353a15c7cc9 MISC metadata.xml 326 BLAKE2B bade1307a8d5bd0a9945fbb417b8506b7aaa4b66d5a502e18af1f7b008e325b5514e0fc018932396aba1116b5a3c11b12b89c43d925f7e97c8a75efcd9ef4f3d SHA512 a75050de970991e19edf7b7560ca46d27c959b9a91dcf87d40d31532c85c7af24ab29743d7295c731a3153774d33b03afa5c92470ca0c0c572d50c6ec65e5692 diff --git a/app-emulation/img/img-0.4.4.ebuild b/app-emulation/img/img-0.4.5.ebuild index 1850a5472769..dc566ad24047 100644 --- a/app-emulation/img/img-0.4.4.ebuild +++ b/app-emulation/img/img-0.4.5.ebuild @@ -6,7 +6,7 @@ inherit golang-build golang-vcs-snapshot EGO_PN="github.com/genuinetools/img" EGIT_COMMIT="v${PV}" -GIT_COMMIT="3e14a5ba47c580651b08fa2d63d5f4af42ebb180" +GIT_COMMIT="64f47e3c5a9bdd2a8d4189aa981d4a7e2de862ae" ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" diff --git a/app-emulation/img/img-0.4.6.ebuild b/app-emulation/img/img-0.4.6.ebuild new file mode 100644 index 000000000000..00b9e9fe0d17 --- /dev/null +++ b/app-emulation/img/img-0.4.6.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/genuinetools/img" +EGIT_COMMIT="v${PV}" +GIT_COMMIT="9c9f6f6fa351ddf9afd6a39cdb1a44ab290dd6a3" +ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Standalone daemon-less unprivileged Dockerfile and OCI container image builder" +HOMEPAGE="https://github.com/genuinetools/img" +SRC_URI="${ARCHIVE_URI}" +LICENSE="MIT" +SLOT="0" +IUSE="seccomp" + +RESTRICT="test" + +src_compile() { + local TAGS=$(usex seccomp 'seccomp' '') + pushd src/${EGO_PN} || die + GOPATH="${S}" go build -tags "noembed ${TAGS}" -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/img . || die + popd || die +} + +src_install() { + dobin bin/* + dodoc -r src/${EGO_PN}/README.md +} |