From nobody Wed Dec 04 15:13:28 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y3Ld42kRcz5fjWV; Wed, 04 Dec 2024 15:13:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y3Ld42D2Mz4TqF; Wed, 4 Dec 2024 15:13:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733325208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I7BszTx7KdtxhgPs7RCbQz8xKJylQsFDgwrDlBFoLPM=; b=eRZarsq2ocU7nh4tcc5XYUu3G/+3MXGuUZKDWF6oc/BuRrkkmaqQPZ80Wnzi5yo4uESuvg jvUyR8IWgdbZv/PbhQDFaNcUyZRQGQ/hmUKNHpZX9lZE5wf5xlpLaYPNzGx6KolDh5vGpb DpziVL61ZnS3sTby6dGylqAqufB0mv3U23GjgxSyCIPEpbAyAiw3+CSmstaodXIOMztPSi pAgzOC8zECDdSHCNE1QdqHFkvrb76NOZRUg48HhNP+H6Y+S9vEe6LeNISXfD9h48+SaRGa qPvG4R99bvoyZNOVfWqD/r245A6J2M3Nr+kwCJJB+tY3EPAIJ40BfQ9BMC/tpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733325208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I7BszTx7KdtxhgPs7RCbQz8xKJylQsFDgwrDlBFoLPM=; b=fa+IRR/7mHXFjco3/+R8+sK7PqkB8gh/uttWmK3WqzraOU3as/F8eSN8yoihmTtqtBEj6M 1uRRhSd6lbEoWZMPZSIfsyIBIGVi7n3zc67EKY7kat0Jgdw3c+2G8fUa9fGaIHpd8B6P03 bJ01BHpzyOSbrBMe8M/uo0fxa9cKb6R2GYl0l9H2ygsqBi1AlkLkYGpH0tK62pTcbjJLnG 0RxdLmDzQovCecmxSteVnceO6DSsdxtzeaxmDqgPTFyWYGGeZcqnnkNAeAgC+i1OhV9EXc GPRTi9rQuV7x7iBTSUtgtcYxWRN2zVfP8E49bQIpCWpclgZI2fPFhn+F6hhZtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733325208; a=rsa-sha256; cv=none; b=uN0FHyy3m1Z/VTjD/vOuCIuJpqkLmGjxvrB46NEAk4Qw2i0edzsYRnkYgWdSw2dBM6Et6r vLNv68YEz5iPXz/5G+KbK6F39KgFxGR/QmuCk11UZt9rNp+ljQpIRl9DlO2KfyCzkVoIZy IuAJQqOkysV4c6eY1AJVH0W0w6mY6g4JJuZ7IqJwI0CF8PYxAL6VbnQsI/Gx++VFkVyPNc hy1fdKgmT/pqugOqXQaW+ZUqXUhvp5HWczRWrNnDFnkULIR1rwHdDTXmidg1iC6MCtPCFv V0u7VL16Sxedj+P3oGyRoJWxeQIe/i5sydyO1zcDSnO60YXchDcaXv96jFuPJg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y3Ld41q1Yz1C3R; Wed, 4 Dec 2024 15:13:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B4FDS7e003627; Wed, 4 Dec 2024 15:13:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B4FDSus003624; Wed, 4 Dec 2024 15:13:28 GMT (envelope-from git) Date: Wed, 4 Dec 2024 15:13:28 GMT Message-Id: <202412041513.4B4FDSus003624@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Gabriel M. Dutra" Subject: git: 4e789bf705ef - main - www/httpx: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dutra X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4e789bf705ef77c73fd6eef9b53e74cdb06b345f Auto-Submitted: auto-generated The branch main has been updated by dutra: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e789bf705ef77c73fd6eef9b53e74cdb06b345f commit 4e789bf705ef77c73fd6eef9b53e74cdb06b345f Author: Gabriel M. Dutra AuthorDate: 2024-12-04 04:35:39 +0000 Commit: Gabriel M. Dutra CommitDate: 2024-12-04 15:12:21 +0000 www/httpx: Add new port HTTP toolkit that allows running multiple probes using the retryablehttp library --- www/Makefile | 1 + www/httpx/Makefile | 19 +++++++++++++++++++ www/httpx/distinfo | 5 +++++ www/httpx/pkg-descr | 10 ++++++++++ 4 files changed, 35 insertions(+) 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 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.