diff --git a/srcpkgs/Amass/template b/srcpkgs/Amass/template index a1e70b43c2e465..f648b808cf891b 100644 --- a/srcpkgs/Amass/template +++ b/srcpkgs/Amass/template @@ -1,13 +1,23 @@ # Template file for 'Amass' pkgname=Amass -version=4.2.0 -revision=2 +version=5.1.1 +revision=1 build_style=go -go_import_path="github.com/owasp-amass/amass/v4" +go_import_path="github.com/owasp-amass/amass/v5" go_package="${go_import_path}/cmd/amass" short_desc="In-depth Attack Surface Mapping and Asset Discovery" maintainer="Andrew Benson " license="Apache-2.0" homepage="https://www.owasp.org/index.php/OWASP_Amass_Project" +changelog="https://github.com/owasp-amass/amass/releases" distfiles="https://github.com/owasp-amass/amass/archive/v${version}.tar.gz" -checksum=cc6b88593972e7078b73f07a0cef2cd0cd3702694cbc1f727829340a3d33425c +checksum=5aeb5fa23070fbd3aa365757e2bc9bd294f78456c4d391bc077769adbd1dbe0a + +pre_check() { + # XXX: libpostal plugin requires libpostal. + # The plugin is not actually build but the default `do_check` function that + # runs `go test ./...` will try to run its test. Since there is no flag to + # ignore specific packages, manuall set the packages to tests with the + # libpostal plugin removed. + make_check_target=$(go list ./... | grep -Fv 'libpostal') +}