From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1039061-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 15AE7138334 for <garchives@archives.gentoo.org>; Fri, 27 Jul 2018 13:53:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA10BE0863; Fri, 27 Jul 2018 13:52:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8CFAFE0863 for <gentoo-commits@lists.gentoo.org>; Fri, 27 Jul 2018 13:52:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9707A335CA7 for <gentoo-commits@lists.gentoo.org>; Fri, 27 Jul 2018 13:52:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4565388 for <gentoo-commits@lists.gentoo.org>; Fri, 27 Jul 2018 13:52:54 +0000 (UTC) From: "Manuel Rüger" <mrueg@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" <mrueg@gentoo.org> Message-ID: <1532699503.498fc6a834f50ff9f734a7c7a2ad1dc2da8c6feb.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/img/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/img/Manifest app-emulation/img/img-0.4.8.ebuild X-VCS-Directories: app-emulation/img/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 498fc6a834f50ff9f734a7c7a2ad1dc2da8c6feb X-VCS-Branch: master Date: Fri, 27 Jul 2018 13:52:54 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9f6d527c-4e9b-4a39-98f8-d3067ff5ef14 X-Archives-Hash: dc77ed6911637a10001a04fe84c49940 commit: 498fc6a834f50ff9f734a7c7a2ad1dc2da8c6feb Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Fri Jul 27 13:29:02 2018 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Fri Jul 27 13:51:43 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=498fc6a8 app-emulation/img: Version bump to 0.4.8 Package-Manager: Portage-2.3.43, Repoman-2.3.10 app-emulation/img/Manifest | 1 + app-emulation/img/img-0.4.8.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/app-emulation/img/Manifest b/app-emulation/img/Manifest index 39e65827764..af6370df552 100644 --- a/app-emulation/img/Manifest +++ b/app-emulation/img/Manifest @@ -1,2 +1,3 @@ DIST img-0.4.6.tar.gz 5635103 BLAKE2B 88e0ae3bdc0b9e1784d4d67635d119084a5e9dbe258b55da10f549b97f2d566f312226687bef0d28ad1ae3b13c764a44071bfe10ec0a189ad4bcf0bc8c83df5f SHA512 7f75d66237fe5ccf5923774e1d40ef04d9447f3e7de6641167679a1bf5b6305880a046e664fa7adb93dc4bd28e9f0e1ee790ecf2a225aa98b0202e47b8d01987 DIST img-0.4.7.tar.gz 5642840 BLAKE2B 0cff71ad2e3ee7e7a21273bd7171a1cafb51b932a55981081bcd809f62c463e8a58d739ed5e7e46355a596650e272a90b848eb6c1818e948e6512cb07ac5fc5e SHA512 23e059537baedf20c17724f972db2fa2b81677bf7d62ce3f78cabde9984f10923f4fe56d3f02252f578b15e06112066c5ea7e6b41d61554bcafc618cca85d014 +DIST img-0.4.8.tar.gz 5587652 BLAKE2B 5b74ff24e6f36674b66b3f87abe928a9d8c8361835eb61cb04ddfce6bfc7cb7b8e6e1f41d61d9f75c09c3646d0d697074882e1f7b87259b60d7c53303718e325 SHA512 fb5b97c4794798dc2dba5d4c9493da9708a55a9e5e7b2259585409c4e7973fecd362132dabb81c72f20b61956c5a8bc67b58db49c22e7ce56eaec784bbb51ca5 diff --git a/app-emulation/img/img-0.4.8.ebuild b/app-emulation/img/img-0.4.8.ebuild new file mode 100644 index 00000000000..8c9d8c988ab --- /dev/null +++ b/app-emulation/img/img-0.4.8.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="88f96d872335cf2746380fa87ba62fd5b63540b4" +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 +}