summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel M. Dutra <dutra@FreeBSD.org>2024-12-04 01:35:39 -0300
committerGabriel M. Dutra <dutra@FreeBSD.org>2024-12-04 12:12:21 -0300
commit4e789bf705ef77c73fd6eef9b53e74cdb06b345f (patch)
tree17a870d2c1a016146b92a4b8e56a755623d496f1
parentnet/frr10: Update to 10.2 (diff)
www/httpx: Add new port
HTTP toolkit that allows running multiple probes using the retryablehttp library
-rw-r--r--www/Makefile1
-rw-r--r--www/httpx/Makefile19
-rw-r--r--www/httpx/distinfo5
-rw-r--r--www/httpx/pkg-descr10
4 files changed, 35 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 8380ecfd3105..67d6fa8c1a55 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -266,6 +266,7 @@
SUBDIR += httpclient
SUBDIR += httpcore
SUBDIR += httptunnel
+ SUBDIR += httpx
SUBDIR += httrack
SUBDIR += hurl
SUBDIR += hypermail
diff --git a/www/httpx/Makefile b/www/httpx/Makefile
new file mode 100644
index 000000000000..7c5aff8c8cde
--- /dev/null
+++ b/www/httpx/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= httpx
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.6.9
+CATEGORIES= www
+
+MAINTAINER= dutra@FreeBSD.org
+COMMENT= Multi-purpose HTTP toolkit
+WWW= https://github.com/projectdiscovery/httpx
+
+LICENSE= MIT
+
+USES= go:1.21,modules
+GO_MODULE= github.com/projectdiscovery/httpx
+
+GO_TARGET= ./cmd/${PORTNAME}
+
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/www/httpx/distinfo b/www/httpx/distinfo
new file mode 100644
index 000000000000..cfe3b7366d5f
--- /dev/null
+++ b/www/httpx/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1733285562
+SHA256 (go/www_httpx/httpx-v1.6.9/v1.6.9.mod) = 7a7cb1058905f462f0b0101488c724e70929d3d4be866e302f29ed0a44f11c0a
+SIZE (go/www_httpx/httpx-v1.6.9/v1.6.9.mod) = 7736
+SHA256 (go/www_httpx/httpx-v1.6.9/v1.6.9.zip) = 32f0faeb8db9296652261c2135bba300e6d11c386a2a7adc76bcfd6c37dfd686
+SIZE (go/www_httpx/httpx-v1.6.9/v1.6.9.zip) = 1766955
diff --git a/www/httpx/pkg-descr b/www/httpx/pkg-descr
new file mode 100644
index 000000000000..253c2c8a8cb1
--- /dev/null
+++ b/www/httpx/pkg-descr
@@ -0,0 +1,10 @@
+httpx is a fast and multi-purpose HTTP toolkit that allows running
+multiple probes using the retryablehttp library.
+
+Features:
+ - Simple and modular code base making it easy to contribute.
+ - Fast And fully configurable flags to probe multiple elements.
+ - Supports multiple HTTP based probings.
+ - Smart auto fallback from https to http as default.
+ - Supports hosts, URLs and CIDR as input.
+ - Handles edge cases doing retries, backoffs etc for handling WAFs.