summaryrefslogtreecommitdiff
path: root/dev-util/log4shelldetect
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
commit93a93e9a3b53c1a73142a305ea1f8136846942ee (patch)
treeb9791a06ab3284e27b568412c59316c66240c682 /dev-util/log4shelldetect
parent2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff)
gentoo resync : 22.12.2021
Diffstat (limited to 'dev-util/log4shelldetect')
-rw-r--r--dev-util/log4shelldetect/Manifest16
-rw-r--r--dev-util/log4shelldetect/log4shelldetect-0.0.4.ebuild40
-rw-r--r--dev-util/log4shelldetect/metadata.xml8
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-util/log4shelldetect/Manifest b/dev-util/log4shelldetect/Manifest
new file mode 100644
index 000000000000..f6910fef0c67
--- /dev/null
+++ b/dev-util/log4shelldetect/Manifest
@@ -0,0 +1,16 @@
+DIST github.com%2Ffatih%2Fcolor%2F@v%2Fv1.13.0.mod 126 BLAKE2B 994134e6d9b2ced5dccc884460b1e474a906c1fc27accd9481f0ae664d225eb57423f0820499b95157726a39dd69831aba944c443dafced0318af10cea46e53e SHA512 657d9220217da47372f647fee297258a13495d7c10bd75d0645a21e81c41443b7a71f8162178181396129983cb695241056f052412fc2d5c4fefb214a2a82587
+DIST github.com%2Ffatih%2Fcolor%2F@v%2Fv1.13.0.zip 12921 BLAKE2B 9f4ddf0c3d4020892065746228c41e260abe78fb17f6ed87e664e8fd3e883f0851db52697eca0e6e52fa02d36509dca0092b516b5084a0cbb499e5f87a8e48b0 SHA512 64a2b414704a06e4b181984ea287a10db68e1a3af0df276da3fb8241ce7a2f5ec501dd1b8a0cb8ae093419378a6ef3b84b4ef197be66ba620ed296e9e99e68e6
+DIST github.com%2Fkarrick%2Fgodirwalk%2F@v%2Fv1.16.1.mod 45 BLAKE2B e071beae9a17798a9d03db9a8683db282536a4fd999d9d0715eee723ba995955cf1c4f364631b58fadf446d6d9818d02aa69298d55d339eb38533c096c83960d SHA512 703d71ec5ec222e1c475dbe132870d5aab5061f00ff69604f73fda9a66934fcd7e7f14df52c4ced59580cc8240a83d99709c746f5c833c33913e18a172220bad
+DIST github.com%2Fkarrick%2Fgodirwalk%2F@v%2Fv1.16.1.zip 40715 BLAKE2B e77f11b763855b748bc9a653af51dbf9143a2774e5b464c068b0981cc861f043ccaeca2357d5773a21a31872cd8efa64440bb52b47474d80faf7ebdc8cab7257 SHA512 77233d5bc0bee531a07ef5757708b5073562c79047184dcd91d6b293ad7cbca00a7624ae10ecb3b130afeb9f3e63014bd5488a9d1984bcb3ac5e3bf6c9bdfcb9
+DIST github.com%2Fmattn%2Fgo-colorable%2F@v%2Fv0.1.9.mod 160 BLAKE2B 10c23e5a0edbdd398d6913ee8e4665e15ab0c30c6aad4d8e113533d421058858a4c23898f8f360b72cc39922bf9b4e7c6c656faab76ec4616e05285932bfef03 SHA512 60840c731813699f19e9a23f3cc0e890c0b0e8228510b0021aa2696f35f3aefa1fc06eb396c5035214ac185816d5757896da1bfaf59e2dd24ca750f5b792e6c5
+DIST github.com%2Fmattn%2Fgo-colorable%2F@v%2Fv0.1.9.zip 13700 BLAKE2B d0c2e07e5c55928d5995ec8a030c3dc864920d915e8c6c190df8e2c8317e3effaad46d10acf10ee58a52551150cea73df126cfa54590fbaf1fc53e16a9b92366 SHA512 f4d58021a6eb37c7878f2efd6466cf0395b73426de11d929d4822feb4fc7358ccf7a7b21a5275432f51149c0e8e04dcd74d3558e03bb316b8c8f2486ed8bba0f
+DIST github.com%2Fmattn%2Fgo-isatty%2F@v%2Fv0.0.12.mod 104 BLAKE2B a8f54d5566d54ac27763dd535705d64dddd862f32d23f234b1ffbf759cbf4aa16886c90a96198ae2f4c0d0bc892932f1b8244e8ff0f8150bb87123947d734016 SHA512 7bd9f6a38aa9a16c3569142164389d1c4046170f66b5e9044f7aaa3192e9d2e2ccec486e3bc7fbac868c9693b6d333068c1a34ccd9e79dec1746a86348951503
+DIST github.com%2Fmattn%2Fgo-isatty%2F@v%2Fv0.0.14.mod 104 BLAKE2B e859512911c1621e5ba3e46249c5b9b5e4b0bae854bb3a18d7e39d6da27c93e133d43851d5e6bf2ede44fdee31801b19fe274b55a1f37b1291bf27262e2f2385 SHA512 23b01eb4023ff5018437ff98b55ada053eba49feab2777eed36d033f426c5456b143f3defbc3131dad1251205f3ffb3553e3c10bd98de80f0a462e8450d6d56c
+DIST github.com%2Fmattn%2Fgo-isatty%2F@v%2Fv0.0.14.zip 8919 BLAKE2B fc84f4f16176d14f177f029cae5ecf0221a8f0ce716c499e8b5d49c8e1523673a2fbb600a769ac26be98b591b3cbc3730d447c412b2acd3eff7f878526c271a4 SHA512 c6401cf5af80ea2495cb63800ff39fb9490f212f3aae0ac1d86b3d37ce6734eb35aea00b35bd26532feab77ef80322e765925f302d77f664dd57163f67a8374e
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20200116001909-b77594299b42.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20200223170610-d5e6a3e2c0ae.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210630005230-0f9fa26af87c.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210630005230-0f9fa26af87c.zip 1646674 BLAKE2B a2975e42ede4b3923b53f6c28b8360a49b47734e5512ffe9e52e8920f79af09420d3702d3d7e54e5755c04fddd0836e11c7fb83441065bf9dd31da363f5121a2 SHA512 6a36b9dd8ab6582abf0721e3fdfd19c2cbf9caf02a2f8aeff8952175553e35ab9f9972c2e524ad947e51e24f5eaee23984fc1670d512c04e50b2d71890c5d392
+DIST log4shelldetect-0.0.4.tar.gz 12486156 BLAKE2B a04a09c2b4e79649200819d6af215293b0ec7f40f388a954793b373d397b45dabdb615aac60c2c9f32d0d987363122aaeb599b1d2b8588a878d78d3866fcccd2 SHA512 0f404e26bcc7ddfbbf9bd2c30b297eb0a3ba7d2533597bb5024dc7eb70528c7ef979c8b1dc00161b583319c9baf577058bc4bfb6431c321b23317d21d7b6f10a
+EBUILD log4shelldetect-0.0.4.ebuild 1135 BLAKE2B 81feb3b4220c90556cc9e1267253511accd08f7c43849ad3a4426824f8ce75c5d443c3e9da50b496f53e0432b96f1571c3a54a702cfdb9451298ea972bc56f61 SHA512 75a966b1e6d83168731598c943db720eca967e94c48567533edc80f62912386c71f09eccb9b33063ef51aaa2684df48a8843a9ccf45cc84491e52717756e6353
+MISC metadata.xml 243 BLAKE2B 63665ae2020bc799fa6ebd6e1fca6755be6498803fdbc17cc630f9f4ffa03fbd46a9ad396e70adc3bc1c32b0a746fe4bab1c6291f32e68e636251207bca9e95c SHA512 78eab20831018fcf4957171a83aaaca9ced53380e01f083c07450c30fa1adfc02dd50ff2fa9f491dd62802f6e779264add1c47a09ade0a35cda558c1d5529ad0
diff --git a/dev-util/log4shelldetect/log4shelldetect-0.0.4.ebuild b/dev-util/log4shelldetect/log4shelldetect-0.0.4.ebuild
new file mode 100644
index 000000000000..faca4fb5bf77
--- /dev/null
+++ b/dev-util/log4shelldetect/log4shelldetect-0.0.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="check for java programs vulnerable to log4shell"
+HOMEPAGE="https://github.com/1lann/log4shelldetect"
+
+EGO_SUM=(
+ "github.com/fatih/color v1.13.0"
+ "github.com/fatih/color v1.13.0/go.mod"
+ "github.com/karrick/godirwalk v1.16.1"
+ "github.com/karrick/godirwalk v1.16.1/go.mod"
+ "github.com/mattn/go-colorable v0.1.9"
+ "github.com/mattn/go-colorable v0.1.9/go.mod"
+ "github.com/mattn/go-isatty v0.0.12/go.mod"
+ "github.com/mattn/go-isatty v0.0.14"
+ "github.com/mattn/go-isatty v0.0.14/go.mod"
+ "golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod"
+ "golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod"
+ "golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c"
+ "golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod"
+ )
+go-module_set_globals
+SRC_URI="https://github.com/1lann/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_SUM_SRC_URI}"
+
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ go build . || die
+}
+
+src_install() {
+dobin log4shelldetect
+dodoc README.md
+}
diff --git a/dev-util/log4shelldetect/metadata.xml b/dev-util/log4shelldetect/metadata.xml
new file mode 100644
index 000000000000..3b2a9c591010
--- /dev/null
+++ b/dev-util/log4shelldetect/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>williamh@gentoo.org</email>
+<name>William Hubbs</name>
+</maintainer>
+</pkgmetadata>