diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2018-07-08 11:45:46 +0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2018-07-08 12:54:16 +0200 |
commit | 9f9235d35c7bce5cc7ca87b8cb1c6c92a0b2c15c (patch) | |
tree | f0266f563e23681366cfdd13394e0241a159af56 /package/nmap/nmap.mk | |
parent | 2319270de79e01ceb833baa909f2c5723d1926af (diff) | |
download | buildroot-9f9235d35c7bce5cc7ca87b8cb1c6c92a0b2c15c.tar.gz buildroot-9f9235d35c7bce5cc7ca87b8cb1c6c92a0b2c15c.zip |
package/busybox: invert dependency with nmap
We only need that dependency when nmap's ncat is enabled.
For consistency, we add a dependency on nmap, not a suboption of it,
to have a dependency list in busybox that is only about packages, and
directly associates the upper-case package variable to the lower-case
package name, e.g. NMAP <-> nmap.
Thus, if BR2_PACKAGE_NMAP_NCAT is selected, we have a redundant
dependency. But that doesn't hurt and it really simplifies things.
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Reviewed-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/nmap/nmap.mk')
-rw-r--r-- | package/nmap/nmap.mk | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/package/nmap/nmap.mk b/package/nmap/nmap.mk index 1c89b5424e..420aec82d7 100644 --- a/package/nmap/nmap.mk +++ b/package/nmap/nmap.mk @@ -76,12 +76,6 @@ else NMAP_CONF_OPTS += --without-nping endif -# If we are going to install ncat, ensure Busybox gets built/installed -# before, so that this package overrides Busybox nc. -ifeq ($(BR2_PACKAGE_NMAP_NCAT)$(BR2_PACKAGE_BUSYBOX),yy) -NMAP_DEPENDENCIES += busybox -endif - # Add a symlink to "nc" if none of the competing netcats is selected ifeq ($(BR2_PACKAGE_NMAP_NCAT):$(BR2_PACKAGE_NETCAT)$(BR2_PACKAGE_NETCAT_OPENBSD),y:) define NMAP_INSTALL_NCAT_SYMLINK |