termux-packages/packages/nmap/nmap-ncat.subpackage.sh
Leonid Pliushch bd7dd8a9b3
netcat-openbsd: don't conflict with netcat from nmap
Unfortunately subpackages do not support debscripts currently, so nc & netcat
symlinks can't be managed through update-alternatives. As there no other way
to have these symlinks in multiple packages without conflict, nmap package
receives the following changes:

* Rename netcat subpackage to nmap-ncat.
* Remove symlinks nc and netcat pointing to ncat.

***

Requested in https://github.com/termux/termux-packages/issues/6921.
2021-05-29 21:25:13 +03:00

9 lines
452 B
Bash

# FIXME: unsplit and use update-alternatives to provide symlinks and avoid
# the conflict with netcat-openbsd? We do not split nping from nmap package.
TERMUX_SUBPKG_INCLUDE="bin/ncat share/man/man1/ncat.1.gz"
TERMUX_SUBPKG_DESCRIPTION="Feature-packed networking utility which reads and writes data across networks from the command line"
TERMUX_SUBPKG_DEPENDS="libpcap, openssl, liblua53"
TERMUX_SUBPKG_BREAKS="netcat"
TERMUX_SUBPKG_REPLACES="netcat"