diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-util/clair | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-util/clair')
-rw-r--r-- | dev-util/clair/Manifest | 2 | ||||
-rw-r--r-- | dev-util/clair/clair-2.1.4.ebuild | 88 |
2 files changed, 90 insertions, 0 deletions
diff --git a/dev-util/clair/Manifest b/dev-util/clair/Manifest index 22ca0f2ab973..d1f12704a36a 100644 --- a/dev-util/clair/Manifest +++ b/dev-util/clair/Manifest @@ -1,6 +1,7 @@ AUX clair.confd 75 BLAKE2B 8700f0e19734c3a6c0f0596e5fcbee5aafaf2bf19dd66fff0a94a29c9f886d6dba1803ba8e3a9e7f9286eaef512c34524a281c952943d455e35446b9a0511187 SHA512 9ff72a41da4600f7c266a7c763520c947e41c1c06dc93f9c8fcdc3f92d5b10ac4a2483122fedc4cf3bfc5de0a48f61366b0d2b72bcc348b736fa958b7065cc87 AUX clair.initd 593 BLAKE2B ec5f50ef2fe997cd0f5e3aa7837be9bb7e39f4a5b766011034bde27c38d7eb32fc61853c8cc82d738724b4c6c5e01306c6e20c9968be0e4bbe8a5f4e7a79b7eb SHA512 827bf28ba4ad7a40f4eb916f315978da6d3fab52a8ac9b3316383d67ed90006f0b13e7cec3a8843d73e5d23ef27bcd53a9a02ec70c1795725cb98e5d1de788bb 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 @@ -45,4 +46,5 @@ DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20170427041856-9ccfe848b9db.mod 24 BLAKE DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.0.0-20170407172122-cd8b52f8269e.mod 24 BLAKE2B 1cb17a1c6b1eb33cebd983f9e965f6db03f5095441d7cd72aff6df805501eef4dc249c22ecc85da360c27696a7c4ae613f0769a1f89e73f286281de89ffd3ef2 SHA512 89b481cc62ed7a486990ebfcf65cf7a344e5d189deef680e6ddd82dc93f31d166af05fc27b4a95ea27c33fd3ced1b87d4050d617d52008ca059c4a5d3b6c26a9 DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.0.0-20170407172122-cd8b52f8269e.zip 68248 BLAKE2B 97d4d17967b276f6e25cf03464627abc28b93b35c82b4140e2d056ed986e9da1c5fc95992ac902188c8d1c769d940044f5a386b2ca19090f7e3a0818f18fc802 SHA512 b3f9fdcd8cb5ebf4afb9e2ef3eca0f16420c31492b877cce4ccd605159379d3c08bf53fb227d40c2fa9caf73ea46ec2d3e3fbacc30dcdb9e310faed732c777d8 EBUILD clair-2.1.3.ebuild 3700 BLAKE2B e54c6dedd649fa28254c53b0072f41751ab13574e3db71786dcbd554037f03210cfd60fd82ed47f674aa8e70dad604307de62384210436ae7dc0e64f339940cc SHA512 681f62697bad471424a9cd5db6226e8d165112f678b21528c7cb77eac69e9821f8389c549da39f627685aa6c001cd10679e815fdd232bed040d412a5bf55495b +EBUILD clair-2.1.4.ebuild 3700 BLAKE2B e54c6dedd649fa28254c53b0072f41751ab13574e3db71786dcbd554037f03210cfd60fd82ed47f674aa8e70dad604307de62384210436ae7dc0e64f339940cc SHA512 681f62697bad471424a9cd5db6226e8d165112f678b21528c7cb77eac69e9821f8389c549da39f627685aa6c001cd10679e815fdd232bed040d412a5bf55495b MISC metadata.xml 325 BLAKE2B 6fd28d942fc1514286b76efceec157b0f6064897c318296829bcae0c085079332895c979cdaf0e17519af610c293e40231d0cd9f1f961935d70942d3608e7dcb SHA512 56995f7e506c9faf9e9ae476a5827999648def77eec67def60a1a5c39b692a17a34dc49fb4a078817d64f6c2a83a7c09633bba30d3a037c14b3625afbe77fead 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} +} |