summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-07-26 12:19:44 -0500
committerWilliam Hubbs <williamh@gentoo.org>2020-07-26 12:20:51 -0500
commita3baae8c02a2797c80f128f434c993575a6dac41 (patch)
treea4a33570fbd5b4865ee68634cec710f3f2aaea59 /dev-util/clair
parentsys-apps/systemd: bump to 246-rc2 (diff)
downloadgentoo-a3baae8c02a2797c80f128f434c993575a6dac41.tar.gz
gentoo-a3baae8c02a2797c80f128f434c993575a6dac41.tar.bz2
gentoo-a3baae8c02a2797c80f128f434c993575a6dac41.zip
dev-util/clair: 2.1.4 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util/clair')
-rw-r--r--dev-util/clair/Manifest1
-rw-r--r--dev-util/clair/clair-2.1.4.ebuild88
2 files changed, 89 insertions, 0 deletions
diff --git a/dev-util/clair/Manifest b/dev-util/clair/Manifest
index 046399689877..1c0c473a7ef0 100644
--- a/dev-util/clair/Manifest
+++ b/dev-util/clair/Manifest
@@ -1,4 +1,5 @@
DIST clair-2.1.3.tar.gz 3568075 BLAKE2B e16c8d466dda1a7bf93f08a055315e2896949fc075d97b3eac8be9f7bfa4d8cc43c79acec2480445700f4a56e6b4702de3bf087f9a4892e34ccb163bbd7afafe SHA512 7ac879ccd7530f14b43c2fddae3d456cfad99a5bb26b79563b7b45a0525dadd999207e222fc0fa49a9502a62accb051a66a7da891b2b6ea7fbcdd966519c862f
+DIST clair-2.1.4.tar.gz 3568060 BLAKE2B 655f162a6cdefc8a07ec665c1eb625eb44cbe9f18c548caaeef264489ba3627331fe2421685e8cb2141250dba497c982eccdbe94580b8a4a4ea38e00ec7445ab SHA512 67fedb487c297d95c9ab7f8e5ac9a08df85d16a218a718be56ed1af4d7ecee65550e448b9468c3c5bf387a8e37716dda22ac482ee2c2b4d41cbaac3672028570
DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv0.0.0-20160804104726-4c0e84591b9a.mod 31 BLAKE2B f69b0989e51b0b649f81b044169fe4309f130eba5bcc6ff33aa9666b1b754aa0e524b8c7a627a91000ccc4f93bf93cdee3e97bd3b2184b050878bc3f413f0c72 SHA512 f21fd002853e4435421f8396e6be016f65be1537815c60d23940caf26e3f14dd6f2caac802cb64cd586b1b1f1220b2727de347b3d1816b8e741f68d87ebcf03f
DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv0.0.0-20160804104726-4c0e84591b9a.zip 14808 BLAKE2B 823400c1c34bbc0dbb3f51c5836e748aa8277017d1fbd51b7e6c3922e23229dbfaf103745408fca0c96b84c20eb8eb45636cfdbee633a7552e8030e3c28a6456 SHA512 1130292c0454f84e1f6ab78baee4ccbae0b40a8d625c7a214bd7d1db88f4fea738ccd25fad7e2e15986b09ef963912c3fd35c7a36bb5fc879217198560258ecf
DIST github.com%2Fcoreos%2Fpkg%2F@v%2Fv0.0.0-20160727233714-3ac0863d7acf.mod 29 BLAKE2B db9b03b0adf02e3b379eb06d67988a60f2e2034d1217e56b40ebafc1262cb4803500b73a3e697a5a73418615c84310bd7f7aeca6db56f6ddbcf6c044cce0e9f3 SHA512 ea629c85891049bdff24f75a4dbce34f048a9627fc126b44f497b3ae65602045ca4fe0856e1b3d7ba050bb867226b90c25912565867c696bc370697341681c33
diff --git a/dev-util/clair/clair-2.1.4.ebuild b/dev-util/clair/clair-2.1.4.ebuild
new file mode 100644
index 000000000000..f933a561378c
--- /dev/null
+++ b/dev-util/clair/clair-2.1.4.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="Vulnerability Static Analysis for Containers"
+HOMEPAGE="https://github.com/coreos/clair"
+
+EGO_SUM=(
+ "github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a"
+ "github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod"
+ "github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf"
+ "github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod"
+ "github.com/davecgh/go-spew v1.0.1-0.20160907170601-6d212800a42e"
+ "github.com/davecgh/go-spew v1.0.1-0.20160907170601-6d212800a42e/go.mod"
+ "github.com/fernet/fernet-go v0.0.0-20151007213151-1b2437bc582b"
+ "github.com/fernet/fernet-go v0.0.0-20151007213151-1b2437bc582b/go.mod"
+ "github.com/golang/protobuf v0.0.0-20170427213220-18c9bb326172"
+ "github.com/golang/protobuf v0.0.0-20170427213220-18c9bb326172/go.mod"
+ "github.com/guregu/null v3.0.2-0.20160228005316-41961cea0328+incompatible"
+ "github.com/guregu/null v3.0.2-0.20160228005316-41961cea0328+incompatible/go.mod"
+ "github.com/hashicorp/golang-lru v0.0.0-20160813221303-0a025b7e63ad"
+ "github.com/hashicorp/golang-lru v0.0.0-20160813221303-0a025b7e63ad/go.mod"
+ "github.com/julienschmidt/httprouter v1.1.0"
+ "github.com/julienschmidt/httprouter v1.1.0/go.mod"
+ "github.com/lib/pq v0.0.0-20170324204654-2704adc878c2"
+ "github.com/lib/pq v0.0.0-20170324204654-2704adc878c2/go.mod"
+ "github.com/matttproud/golang_protobuf_extensions v1.0.1"
+ "github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
+ "github.com/pborman/uuid v0.0.0-20160209185913-a97ce2ca70fa"
+ "github.com/pborman/uuid v0.0.0-20160209185913-a97ce2ca70fa/go.mod"
+ "github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0"
+ "github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod"
+ "github.com/prometheus/client_golang v0.8.0"
+ "github.com/prometheus/client_golang v0.8.0/go.mod"
+ "github.com/prometheus/client_model v0.0.0-20170216185247-6f3806018612"
+ "github.com/prometheus/client_model v0.0.0-20170216185247-6f3806018612/go.mod"
+ "github.com/prometheus/common v0.0.0-20170427095455-13ba4ddd0caa"
+ "github.com/prometheus/common v0.0.0-20170427095455-13ba4ddd0caa/go.mod"
+ "github.com/prometheus/procfs v0.0.0-20170502131342-d098ca18df8b"
+ "github.com/prometheus/procfs v0.0.0-20170502131342-d098ca18df8b/go.mod"
+ "github.com/remind101/migrate v0.0.0-20160423010909-d22d647232c2"
+ "github.com/remind101/migrate v0.0.0-20160423010909-d22d647232c2/go.mod"
+ "github.com/sirupsen/logrus v0.11.5"
+ "github.com/sirupsen/logrus v0.11.5/go.mod"
+ "github.com/stretchr/testify v1.1.4"
+ "github.com/stretchr/testify v1.1.4/go.mod"
+ "github.com/tylerb/graceful v1.2.15"
+ "github.com/tylerb/graceful v1.2.15/go.mod"
+ "golang.org/x/sys v0.0.0-20170427041856-9ccfe848b9db/go.mod"
+ "gopkg.in/yaml.v2 v2.0.0-20170407172122-cd8b52f8269e"
+ "gopkg.in/yaml.v2 v2.0.0-20170407172122-cd8b52f8269e/go.mod"
+ )
+go-module_set_globals
+SRC_URI="https://github.com/coreos/clair/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_SUM_SRC_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="acct-group/clair
+ acct-user/clair"
+ DEPEND="${COMMON_DEPEND}"
+RDEPEND="app-arch/rpm
+ app-arch/xz-utils
+ dev-vcs/git
+ ${COMMON_DEPEND}
+ !!sci-visualization/xd3d" # File collision (Bug #621044)
+
+src_compile() {
+ go build -o bin/${PN} ./cmd/${PN} || die
+}
+
+src_install() {
+ dobin bin/${PN}
+ dodoc {README,ROADMAP,CONTRIBUTING}.md
+ insinto /usr/share/${PN}
+ doins -r contrib
+ insinto /etc/${PN}
+ doins config.example.yaml
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+}