git: c4bb005c93e4 - main - www/zgrab2: update 0.1.7 → 0.1.8

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 19 Nov 2024 05:18:26 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c4bb005c93e4d35a879dc05224a1b2e07f78da6c

commit c4bb005c93e4d35a879dc05224a1b2e07f78da6c
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2024-11-19 04:02:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-19 04:02:03 +0000

    www/zgrab2: update 0.1.7 → 0.1.8
    
    PR:     282247
---
 www/zgrab2/Makefile | 31 ++++++++++++++++++++++++++---
 www/zgrab2/distinfo | 56 ++++++++++++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 79 insertions(+), 8 deletions(-)

diff --git a/www/zgrab2/Makefile b/www/zgrab2/Makefile
index 114d560d2a0a..ed1f42b34bc4 100644
--- a/www/zgrab2/Makefile
+++ b/www/zgrab2/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	zgrab2
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.1.7
-PORTREVISION=	10
+DISTVERSION=	0.1.8
 CATEGORIES=	www
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -15,7 +14,33 @@ BROKEN_aarch64=	compilation fails: ztypes_freebsd_arm64.go:400:12: undefined: ui
 
 USES=		go:modules
 
-GO_MODULE=	github.com/zmap/zgrab2
+USE_GITHUB=	yes
+GH_ACCOUNT=	zmap
+GH_TUPLE=	beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
+		cespare:xxhash:v2.2.0:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
+		go-check:check:10cb98267c6c:go_check_check/vendor/gopkg.in/check.v1 \
+		go-mgo:mgo:a6b53ec6cb22:go_mgo_mgo/vendor/gopkg.in/mgo.v2 \
+		go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
+		golang:crypto:v0.23.0:golang_crypto/vendor/golang.org/x/crypto \
+		golang:net:v0.25.0:golang_net/vendor/golang.org/x/net \
+		golang:protobuf:v1.5.3:golang_protobuf/vendor/github.com/golang/protobuf \
+		golang:sys:v0.20.0:golang_sys/vendor/golang.org/x/sys \
+		golang:text:v0.15.0:golang_text/vendor/golang.org/x/text \
+		hdm:jarm-go:v0.0.7:hdm_jarm_go/vendor/github.com/hdm/jarm-go \
+		kr:pretty:v0.2.1:kr_pretty/vendor/github.com/kr/pretty \
+		kr:text:v0.1.0:kr_text/vendor/github.com/kr/text \
+		matttproud:golang_protobuf_extensions:v1.0.4:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
+		prometheus:client_golang:v1.14.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
+		prometheus:client_model:v0.3.0:prometheus_client_model/vendor/github.com/prometheus/client_model \
+		prometheus:common:v0.42.0:prometheus_common/vendor/github.com/prometheus/common \
+		prometheus:procfs:v0.9.0:prometheus_procfs/vendor/github.com/prometheus/procfs \
+		protocolbuffers:protobuf-go:v1.30.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
+		sirupsen:logrus:v1.9.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
+		weppos:publicsuffix-go:v0.30.0:weppos_publicsuffix_go/vendor/github.com/weppos/publicsuffix-go \
+		zmap:rc2:abaa70531248:zmap_rc2/vendor/github.com/zmap/rc2 \
+		zmap:zcrypto:c8b263fd8300:zmap_zcrypto/vendor/github.com/zmap/zcrypto \
+		zmap:zflags:9d95409821b6:zmap_zflags/vendor/github.com/zmap/zflags
+#GO_MODULE=	github.com/zmap/zgrab2 # fails to build: "unsafe.Slice requires go1.17 or later"
 GO_TARGET=	./cmd/${PORTNAME}
 
 PLIST_FILES=	bin/${PORTNAME}
diff --git a/www/zgrab2/distinfo b/www/zgrab2/distinfo
index 03ea87ad1e47..8076eda87685 100644
--- a/www/zgrab2/distinfo
+++ b/www/zgrab2/distinfo
@@ -1,5 +1,51 @@
-TIMESTAMP = 1687676208
-SHA256 (go/www_zgrab2/zgrab2-v0.1.7/v0.1.7.mod) = 3bbb36f55fcf412090b10fb334cced23783605af60f3ac7b0d79729ec51dc7e4
-SIZE (go/www_zgrab2/zgrab2-v0.1.7/v0.1.7.mod) = 548
-SHA256 (go/www_zgrab2/zgrab2-v0.1.7/v0.1.7.zip) = 5a962abd6ff3daa072866943560166d5c70a3beaeb6f483eccb060b6aa479499
-SIZE (go/www_zgrab2/zgrab2-v0.1.7/v0.1.7.zip) = 1060870
+TIMESTAMP = 1729522929
+SHA256 (zmap-zgrab2-v0.1.8_GH0.tar.gz) = fff326af4192217f6ef4599adba7f780148b8810f4ca4cddb2db939f05df3c24
+SIZE (zmap-zgrab2-v0.1.8_GH0.tar.gz) = 859838
+SHA256 (beorn7-perks-v1.0.1_GH0.tar.gz) = 98db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825
+SIZE (beorn7-perks-v1.0.1_GH0.tar.gz) = 10867
+SHA256 (cespare-xxhash-v2.2.0_GH0.tar.gz) = b8c684b9e5e136510913727e6a845b28f8176e55db827b11f17769fba970fe13
+SIZE (cespare-xxhash-v2.2.0_GH0.tar.gz) = 12334
+SHA256 (go-check-check-10cb98267c6c_GH0.tar.gz) = 0a42d9d5a49ebc30174e5840238e446f5fb16899bfaa6a6f63d12ab9953df293
+SIZE (go-check-check-10cb98267c6c_GH0.tar.gz) = 32375
+SHA256 (go-mgo-mgo-a6b53ec6cb22_GH0.tar.gz) = e3373369ed1eefc88cb2ee55fa8fcb30c988b6979eaf6db0889d1520b83f302c
+SIZE (go-mgo-mgo-a6b53ec6cb22_GH0.tar.gz) = 376779
+SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0
+SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209
+SHA256 (golang-crypto-v0.23.0_GH0.tar.gz) = e6cfbf5f44d6b89b748c87fdbabd04c9634c5b825e39032a69854c300be9fb43
+SIZE (golang-crypto-v0.23.0_GH0.tar.gz) = 1813872
+SHA256 (golang-net-v0.25.0_GH0.tar.gz) = aadaa826201391d12437e61b1680276ce4a270439f8f390af7f506fd0e499f64
+SIZE (golang-net-v0.25.0_GH0.tar.gz) = 1510596
+SHA256 (golang-protobuf-v1.5.3_GH0.tar.gz) = 48457a6a9e8c78a7556ff5ff4a4c77d7df9bf70e882491ee0f3f1ff06db2bfaa
+SIZE (golang-protobuf-v1.5.3_GH0.tar.gz) = 171822
+SHA256 (golang-sys-v0.20.0_GH0.tar.gz) = eb2569cab8d7a92ce3afa9119538b61fc03d575c01f1548ec1e152c330ac591d
+SIZE (golang-sys-v0.20.0_GH0.tar.gz) = 1494604
+SHA256 (golang-text-v0.15.0_GH0.tar.gz) = 6b3893012ab61dacc64efc47574b2554e4cfbeb5e453a3b39e500713614cd63d
+SIZE (golang-text-v0.15.0_GH0.tar.gz) = 8974475
+SHA256 (hdm-jarm-go-v0.0.7_GH0.tar.gz) = fad20638dfc609206bddcc0ea4dca995e6f6b6edf255dd70bf20eecb04e0132f
+SIZE (hdm-jarm-go-v0.0.7_GH0.tar.gz) = 65591
+SHA256 (kr-pretty-v0.2.1_GH0.tar.gz) = 01db9d66df2482ad7ade0cf1e194c2d703de4c2ed0a0b1bd3758ab31c5e35ea5
+SIZE (kr-pretty-v0.2.1_GH0.tar.gz) = 8761
+SHA256 (kr-text-v0.1.0_GH0.tar.gz) = b67f2744020b25f9298153af0992db252d195edd7ca5afa3b19d6ac300c2d14e
+SIZE (kr-text-v0.1.0_GH0.tar.gz) = 8686
+SHA256 (matttproud-golang_protobuf_extensions-v1.0.4_GH0.tar.gz) = b64cab9cb9ae8b9162c7197aeedc6ed617b4c93e4f5674c3ec6cd2e9b0d9d09c
+SIZE (matttproud-golang_protobuf_extensions-v1.0.4_GH0.tar.gz) = 37510
+SHA256 (prometheus-client_golang-v1.14.0_GH0.tar.gz) = e774de79b48fcaf27a5b6bbeb6da0e814fee33c5050550625ef9b33f77835049
+SIZE (prometheus-client_golang-v1.14.0_GH0.tar.gz) = 236318
+SHA256 (prometheus-client_model-v0.3.0_GH0.tar.gz) = c71dc6402fe2414dec82c48173fe8d5aa9fc7c43af2f1f1f48d05c1652b965b9
+SIZE (prometheus-client_model-v0.3.0_GH0.tar.gz) = 14941
+SHA256 (prometheus-common-v0.42.0_GH0.tar.gz) = 156b60f595cab579dc6e5475f4125ebcbd73c25d0f42de1d6442eea73cd4e750
+SIZE (prometheus-common-v0.42.0_GH0.tar.gz) = 130574
+SHA256 (prometheus-procfs-v0.9.0_GH0.tar.gz) = 58e339aeb758e502cea6231f82add4924778b0df4544a918786fcf54de20fa95
+SIZE (prometheus-procfs-v0.9.0_GH0.tar.gz) = 220383
+SHA256 (protocolbuffers-protobuf-go-v1.30.0_GH0.tar.gz) = 3279a16ec3bdd7c53fe1599134de298ed90d9f3b6ec1c1eb5f3b76ba5aaa9f0c
+SIZE (protocolbuffers-protobuf-go-v1.30.0_GH0.tar.gz) = 1298988
+SHA256 (sirupsen-logrus-v1.9.0_GH0.tar.gz) = 12446ed9eb96573c2aae4df2db81900a65bfd21d2ce92efde7201614e42134f7
+SIZE (sirupsen-logrus-v1.9.0_GH0.tar.gz) = 49098
+SHA256 (weppos-publicsuffix-go-v0.30.0_GH0.tar.gz) = ed3342f308cf69f64ce3bb4b65d109d5d3c3fc61ebfca3763dfae79238201efb
+SIZE (weppos-publicsuffix-go-v0.30.0_GH0.tar.gz) = 67851
+SHA256 (zmap-rc2-abaa70531248_GH0.tar.gz) = 4620a69a5be4d77901549f1c0d14f4db7df5ad3fe33f6408879aaeb328a2d24b
+SIZE (zmap-rc2-abaa70531248_GH0.tar.gz) = 6964
+SHA256 (zmap-zcrypto-c8b263fd8300_GH0.tar.gz) = bf6abcae3b8bcd96f3a200585585d109e951f466b947b612553cdcdc3b3d5112
+SIZE (zmap-zcrypto-c8b263fd8300_GH0.tar.gz) = 2409450
+SHA256 (zmap-zflags-9d95409821b6_GH0.tar.gz) = ce5ffd74197d8874e0f3bdb2c4086b47be6fb84a1597ba7037e57225b78aa3b5
+SIZE (zmap-zflags-9d95409821b6_GH0.tar.gz) = 57760