aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-10-24 19:59:01 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-10-24 19:59:50 +0000
commit14dfdd508748cab7dfd27526ddd3e7bea2877e75 (patch)
tree0ddee79297f85b172ddc99418ef49936c23944cf
parent6338934b7c42825d661bca04efbaef58f9439c70 (diff)
secutiry/trufflehog: New port: Find and verify credentials
-rw-r--r--security/Makefile1
-rw-r--r--security/trufflehog/Makefile20
-rw-r--r--security/trufflehog/distinfo5
-rw-r--r--security/trufflehog/pkg-descr2
4 files changed, 28 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 2aaa9580ddf3..8d1b789f682b 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1324,6 +1324,7 @@
SUBDIR += trezord
SUBDIR += tripwire
SUBDIR += trousers
+ SUBDIR += trufflehog
SUBDIR += tthsum
SUBDIR += u2f-devd
SUBDIR += uacme
diff --git a/security/trufflehog/Makefile b/security/trufflehog/Makefile
new file mode 100644
index 000000000000..cb8bb6b72df0
--- /dev/null
+++ b/security/trufflehog/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= trufflehog
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.60.2
+CATEGORIES= security
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Find and verify credentials
+WWW= https://trufflesecurity.com/
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:1.21,modules
+
+GO_MODULE= github.com/trufflesecurity/trufflehog/v3
+#GO_TARGET= ./${PORTNAME}
+
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/security/trufflehog/distinfo b/security/trufflehog/distinfo
new file mode 100644
index 000000000000..c177293fc916
--- /dev/null
+++ b/security/trufflehog/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1698174804
+SHA256 (go/security_trufflehog/trufflehog-v3.60.2/v3.60.2.mod) = 4dce2272a2c61335d1466f5cb72fb00f3097baee14f6ee5f3d7752d39a33e63f
+SIZE (go/security_trufflehog/trufflehog-v3.60.2/v3.60.2.mod) = 13158
+SHA256 (go/security_trufflehog/trufflehog-v3.60.2/v3.60.2.zip) = a9664182bb9b69b8fa42ab5f34c251f52c8fb5d03c939ea41b52975f81aba076
+SIZE (go/security_trufflehog/trufflehog-v3.60.2/v3.60.2.zip) = 4896528
diff --git a/security/trufflehog/pkg-descr b/security/trufflehog/pkg-descr
new file mode 100644
index 000000000000..b7e8bddc4a15
--- /dev/null
+++ b/security/trufflehog/pkg-descr
@@ -0,0 +1,2 @@
+TruffleHog scans for sensitive keys in hidden content and version history from
+commonly used tools across your company.