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 57AB3138331 for ; Tue, 15 May 2018 11:23:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 686EEE0919; Tue, 15 May 2018 11:23:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 3365DE0919 for ; Tue, 15 May 2018 11:23:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 11983335C49 for ; Tue, 15 May 2018 11:23:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 27C6E72 for ; Tue, 15 May 2018 11:23:53 +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: <1526383412.fd98b3a47c54ebebf6bbd49fcc0fcbefc8d39238.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.3.ebuild X-VCS-Directories: dev-util/clair/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: fd98b3a47c54ebebf6bbd49fcc0fcbefc8d39238 X-VCS-Branch: master Date: Tue, 15 May 2018 11:23:53 +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: 2d96819d-2d59-4522-abe9-92219d957ea9 X-Archives-Hash: e8816b5e51de2688c189165c78234c13 commit: fd98b3a47c54ebebf6bbd49fcc0fcbefc8d39238 Author: Manuel Rüger gentoo org> AuthorDate: Tue May 15 11:23:32 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue May 15 11:23:32 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd98b3a4 dev-util/clair: Version bump to 2.0.3 Package-Manager: Portage-2.3.36, Repoman-2.3.9 dev-util/clair/Manifest | 1 + dev-util/clair/clair-2.0.3.ebuild | 46 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-util/clair/Manifest b/dev-util/clair/Manifest index 062e7e95e41..e546d59178d 100644 --- a/dev-util/clair/Manifest +++ b/dev-util/clair/Manifest @@ -1,2 +1,3 @@ DIST clair-2.0.1.tar.gz 5194465 BLAKE2B b91bc130ce7237c5398715bfd91f6744d89bd9690ddd5d99aabbcc62b22c148dbbe2594d1c1376010d9cd992012d639ceef4e9a78d1837c633978f52b4d223ae SHA512 03293829426d81157860effd893b72164679b4ec40c19294e321d489ced67dfea72415cdd9b1005ae590367c68f746664a76f63a29c7d714b22917f2323c4937 DIST clair-2.0.2.tar.gz 5194625 BLAKE2B a1866ec881036a3f3891935782ccb4709c26a8051b4d762be2e7eae2da11ecbad794d21fd2d62c842f5d6d18a8f203a2258d9e9fad985455becc494753c75e43 SHA512 1522c40059594f8f7ce17781269a3511e987173c741c550e5c0b87beaabe73e368a23ddd75a2499a6e9f8920308744809c4c938af31cdb93ce2f0a817f906674 +DIST clair-2.0.3.tar.gz 5194681 BLAKE2B b4f809e7699fbf66745c7f528f3f2c249e81541a64c540a8c39b9fa8f5b581d1297abdfe80bdb0ca3aec00010c6c95e8073397df284d2a92a3e95f91049cde80 SHA512 bf2d4ab15efc50bce3e828d0510ceb44463a6c1d978a854b3a05899996203a7c33bb6e60470eccb6e0a1e23b8ff41955cd0fdda4b77a9a7e042e1e27dd2e0885 diff --git a/dev-util/clair/clair-2.0.3.ebuild b/dev-util/clair/clair-2.0.3.ebuild new file mode 100644 index 00000000000..8c92e5db7e5 --- /dev/null +++ b/dev-util/clair/clair-2.0.3.ebuild @@ -0,0 +1,46 @@ +# 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/bzr + 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} +}