Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove netcat dependency for nmap so nmap can coexist with netcat-openbsd #6921

Closed
Hackerpcs opened this issue May 29, 2021 · 4 comments
Closed

Comments

@Hackerpcs
Copy link

Hackerpcs commented May 29, 2021

As the title says, netcat-openbsd (#5754) can't be installed along with nmap because netcat which is gnu-netcat (#162) is a dependency for nmap

@ghost
Copy link

ghost commented May 29, 2021

because netcat which is gnu-netcat

This is actually ncat which is part of nmap package. Derived from nmap package by https://github.com/termux/termux-packages/blob/master/packages/nmap/netcat.subpackage.sh.

@Hackerpcs
Copy link
Author

So it can't be separated to be able to use both netcat-openbsd and nmap ?

@ghost
Copy link

ghost commented May 29, 2021

It can be.

@ghost ghost added the enhancement label May 29, 2021
ghost pushed a commit that referenced this issue May 29, 2021
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 #6921.
@ghost
Copy link

ghost commented May 29, 2021

Fixed in bd7dd8a.

@ghost ghost closed this as completed May 29, 2021
Martinvlba pushed a commit to NeoTerrm/neoterm-packages that referenced this issue Jun 13, 2021
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 termux#6921.
amuramatsu pushed a commit to amuramatsu/termux-packages that referenced this issue Jun 26, 2021
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 termux#6921.
@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant