From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 C8C17138334 for ; Thu, 20 Sep 2018 22:39:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C0E4E0874; Thu, 20 Sep 2018 22:39:07 +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 2F4E0E0874 for ; Thu, 20 Sep 2018 22:39:07 +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 927A7335D04 for ; Thu, 20 Sep 2018 22:39:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 76E7038A for ; Thu, 20 Sep 2018 22:39:03 +0000 (UTC) From: "Manuel Rüger" 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" Message-ID: <1537483116.1dfe1fad9afbdeef7e0e42c19c07a9674136d4ba.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/clair/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/clair/Manifest dev-util/clair/clair-2.0.6.ebuild X-VCS-Directories: dev-util/clair/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 1dfe1fad9afbdeef7e0e42c19c07a9674136d4ba X-VCS-Branch: master Date: Thu, 20 Sep 2018 22:39:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 42848433-a32e-4cea-af3e-2ce4bf18b464 X-Archives-Hash: 2dc8f4b4f5061e9ad304df014ba686a8 commit: 1dfe1fad9afbdeef7e0e42c19c07a9674136d4ba Author: Manuel Rüger gentoo org> AuthorDate: Thu Sep 20 22:37:07 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Thu Sep 20 22:38:36 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dfe1fad dev-util/clair: Version bump to 2.0.6 Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-util/clair/Manifest | 1 + dev-util/clair/clair-2.0.6.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-util/clair/Manifest b/dev-util/clair/Manifest index 5b6e2b1bb1a..9f4aad8c9e6 100644 --- a/dev-util/clair/Manifest +++ b/dev-util/clair/Manifest @@ -1,3 +1,4 @@ DIST clair-2.0.3.tar.gz 5194681 BLAKE2B b4f809e7699fbf66745c7f528f3f2c249e81541a64c540a8c39b9fa8f5b581d1297abdfe80bdb0ca3aec00010c6c95e8073397df284d2a92a3e95f91049cde80 SHA512 bf2d4ab15efc50bce3e828d0510ceb44463a6c1d978a854b3a05899996203a7c33bb6e60470eccb6e0a1e23b8ff41955cd0fdda4b77a9a7e042e1e27dd2e0885 DIST clair-2.0.4.tar.gz 5194393 BLAKE2B 631ab14acfcf516a5dd65753fe2088dbabf1c7d13a6b079cb09f0c6a3000b346da948d9c6edd16c999753342d67b9bb2165a1b38956ee8957b48953d10490430 SHA512 fee3b9fe2865c0e352b454767383bf47d67bd14f7d08171197350c20f32bc80eb318db10c9fd4bd9da0024dac97ae287cb8dcc7605c3094f4d567122bfe3f7ed DIST clair-2.0.5.tar.gz 5194565 BLAKE2B 19eb49b5b3d4d3c3694c4aefc21abbdefbc5b6d3a53a0f845c587bfc98052be93bb83283b0b3fe42a5ed950e55390810032abb4ae4eba8de999f99f07528b1a5 SHA512 551b006c32f6e0c93f2ace33151864f876a7e32c85cf13d8e1dcf23b91f79c32d4b4a4c9bbb3991ff6955897c8dcdfdcec2d6fbbbdcf0b684522375269abca89 +DIST clair-2.0.6.tar.gz 5195113 BLAKE2B 6044ba36d63d74eaecad5cc48173cd56867fb3004c7a667b9134105815171fb34b99d86f7fbb7b9a3f69ff6061a7419a63ceb23a07280eedba36b9046a401ad6 SHA512 7d996200e9a30fb569243592f88a9ef4b3a7b32852abb953518e3b6b2833bdb8e81fa8528f35feda0a16d514e48714fa60b716d038fdeafd5f3398cbccec145a diff --git a/dev-util/clair/clair-2.0.6.ebuild b/dev-util/clair/clair-2.0.6.ebuild new file mode 100644 index 00000000000..1cb27791309 --- /dev/null +++ b/dev-util/clair/clair-2.0.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit user golang-build golang-vcs-snapshot + +EGO_PN="github.com/coreos/clair" +EGIT_COMMIT="v${PV}" +ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Vulnerability Static Analysis for Containers" +HOMEPAGE="https://github.com/coreos/clair" +SRC_URI="${ARCHIVE_URI}" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +RDEPEND="app-arch/rpm + app-arch/xz-utils + dev-vcs/git + !!sci-visualization/xd3d" # File collision (Bug #621044) + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 -1 ${PN} +} + +src_compile() { + GOPATH="${S}" go build -o bin/${PN} -v ${EGO_PN}/cmd/${PN} || die +} + +src_install() { + dobin bin/${PN} + pushd src/${EGO_PN} || die + dodoc {README,ROADMAP,CONTRIBUTING}.md + insinto /etc/${PN} + doins config.example.yaml + popd || die + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} +}