-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-util/trivy: new package, add 0.55.1
Signed-off-by: Alexey Zapparov <[email protected]>
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DIST trivy-0.55.1-vendor.tar.gz 65614814 BLAKE2B 1fb45b854185fe18b637e5be1ddde96b8d483c9a3d4ca55db3492f6aa921dd04fc628998e1f1ca413447b93097ed694015a171c1e6a3b3de3ebb86ddff238f3d SHA512 7d360a64f863824ef401d604dd14c227b81f6ce1edddd5494f2fbb17154b1a3bba913a65e8d14a706c0317f848b7f9523fd365473eaa6fefc1a1f12d82b523dd | ||
DIST trivy-0.55.1.tar.gz 56420808 BLAKE2B 2f223432394b1dd9458464f9d6e5ea77de952883ac9e7451051236a686096f240be74c5a94ae48c62de6a2e414cc06278e463745a973d96dd1f53cc81c727ac7 SHA512 d769eab5d20124ddd30abf38b20ba12f165914766d36557104bb724dc670a0b67b6b950d146a57cebfb48deeb7870a0c36d83becc12a0668e2b06ee6289b0173 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Alexey Zapparov</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">aquasecurity/trivy</remote-id> | ||
</upstream> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright 2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit go-module | ||
|
||
DESCRIPTION="Vulnerability scanner for container images, file systems, and Git repos" | ||
HOMEPAGE="https://aquasecurity.github.io/trivy" | ||
SRC_URI=" | ||
https://github.com/aquasecurity/trivy/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz | ||
https://github.com/ixti/trivy/releases/download/v${PV}/trivy-${PV}-vendor.tar.gz | ||
" | ||
|
||
LICENSE="" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ixti
Author
Contributor
|
||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
|
||
DEPEND="" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND=" | ||
>=dev-lang/go-1.22.0 | ||
" | ||
|
||
src_compile() { | ||
ego build -ldflags="-s -X github.com/aquasecurity/trivy/pkg/version/app.ver=${PV}" ./cmd/trivy | ||
} | ||
|
||
src_install() { | ||
dobin trivy | ||
|
||
default | ||
} |
I don't know if you seen the pkgcheck failure. In case you didn't, please add a license.