diff --git a/www/unfurl/Portfile b/www/unfurl/Portfile new file mode 100644 index 00000000000..66b64471ddf --- /dev/null +++ b/www/unfurl/Portfile @@ -0,0 +1,61 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 + +PortSystem 1.0 +PortGroup python 1.0 + +name unfurl +python.rootname dfir_unfurl +version 20260405 +revision 0 + +categories www +license Apache-2 +maintainers {mps @Schamschula} openmaintainer +description Extract and Visualize Data from URLs +long_description {*}${description} Unfurl takes a URL and expands ("unfurls") it \ + into a directed graph, extracting every bit of information from \ + the URL and exposing the obscured. +homepage https://github.com/obsidianforensics/unfurl + +supported_archs noarch +platforms {darwin any} + +checksums rmd160 af0fbb431c47030d5578bd38562ea92f3424b46b \ + sha256 e6a8b1011af9eb9e04760a4f07a0916191bd6b91c6ee2f3046b6d152e098d2d8 \ + size 12567376 + +variant python310 conflicts python311 python312 python313 python314 description {Use Python 3.10} {} +variant python311 conflicts python310 python312 python313 python314 description {Use Python 3.11} {} +variant python312 conflicts python310 python311 python313 python314 description {Use Python 3.12} {} +variant python313 conflicts python310 python311 python312 python314 description {Use Python 3.13} {} +variant python314 conflicts python310 python311 python312 python313 description {Use Python 3.14} {} + +if {![variant_isset python310] && ![variant_isset python311] && \ + ![variant_isset python312] && ![variant_isset python313]} { + default_variants +python314 +} + +foreach pv {314 313 312 311 310} { + if {[variant_isset python${pv}]} { + python.default_version ${pv} + break + } +} + +depends_build port:py${python.version}-setuptools_scm + +depends_lib-append port:py${python.version}-aniso8601 \ + port:py${python.version}-bbpb \ + port:py${python.version}-dnslib \ + port:py${python.version}-country \ + port:py${python.version}-flask \ + port:py${python.version}-flask-cors \ + port:py${python.version}-flask-restx \ + port:py${python.version}-netaddr \ + port:py${python.version}-networkx \ + port:py${python.version}-protobuf3 \ + port:py${python.version}-publicsuffix2 \ + port:py${python.version}-pymispwarninglists \ + port:py${python.version}-requests \ + port:py${python.version}-torf \ + port:py${python.version}-ulid