distributable: url: https://nmap.org/dist/nmap-{{version.raw}}.tgz strip-components: 1 versions: url: https://nmap.org/dist/ match: /nmap-\d+\.\d+(\.\d+)?\.tgz/ strip: - /nmap-/ - /.tgz/ dependencies: openssl.org: '*' build: dependencies: tea.xyz/gx/cc: c99 tea.xyz/gx/make: '*' gnu.org/patch: '*' script: | # https://github.com/openresty/openresty/issues/372 patch -p1