From: Carlos Santos <casantos@datacom.com.br>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 21/50] package/busybox: invert dependency with nnamp
Date: Tue, 3 Jul 2018 08:30:51 -0300 (BRT) [thread overview]
Message-ID: <746334206.1185409.1530617451899.JavaMail.zimbra@datacom.com.br> (raw)
In-Reply-To: <b40a7c127764639247fb674610da56c7023811b9.1530565933.git.yann.morin.1998@free.fr>
> From: "Yann Morin" <yann.morin.1998@free.fr>
> To: "buildroot" <buildroot@buildroot.org>
> Cc: "Yann Morin" <yann.morin.1998@free.fr>
> Sent: Monday, July 2, 2018 6:11:55 PM
> Subject: [Buildroot] [PATCH 21/50] package/busybox: invert dependency with nnamp
nnamp -> nmap
> We only need that dependency whan 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.
>
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> ---
> package/busybox/busybox.mk | 1 +
> package/nmap/nmap.mk | 6 ------
> 2 files changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
> index 7f08d857f8..4039d1c9ad 100644
> --- a/package/busybox/busybox.mk
> +++ b/package/busybox/busybox.mk
> @@ -22,6 +22,7 @@ BUSYBOX_LDFLAGS = \
>
> # Packages that provide commands that may also be busybox applets:
> BUSYBOX_DEPENDENCIES = \
> + $(if $(BR2_PACKAGE_NMAP),nmap) \
> $(if $(BR2_PACKAGE_NTP),ntp) \
> $(if $(BR2_PACKAGE_PCIUTILS),pciutils) \
> $(if $(BR2_PACKAGE_PROCPS_NG),procps-ng) \
> 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
> --
> 2.14.1
Reviewed-by: Carlos Santos <casantos@datacom.com.br>
--
Carlos Santos (Casantos) - DATACOM, P&D
?Marched towards the enemy, spear upright, armed with the certainty
that only the ignorant can have.? ? Epitaph of a volunteer
next prev parent reply other threads:[~2018-07-03 11:30 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-02 21:12 [Buildroot] [PATCH 00/50] busybox: invert dependencies Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 01/50] package/busybox: backport upstream patch to fix install-noclobber Yann E. MORIN
2018-07-02 21:28 ` Matthew Weber
2018-07-03 5:25 ` Baruch Siach
2018-07-03 11:37 ` Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 02/50] package/busybox: invert dependency with whois Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 03/50] package/busybox: invert dependency with wget Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 04/50] package/busybox: invert dependency with vim Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 05/50] package/busybox: invert dependency with util-linux Yann E. MORIN
2018-07-03 11:12 ` Carlos Santos
2018-07-02 21:11 ` [Buildroot] [PATCH 06/50] package/busybox: invert dependency with usbutils Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 07/50] package/busybox: invert dependency with unzip Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 08/50] package/busybox: invert dependency with traceroute Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 09/50] package/busybox: invert dependency with tftpd Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 10/50] package/busybox: invert dependency with tar Yann E. MORIN
2018-07-03 5:29 ` Baruch Siach
2018-07-02 21:11 ` [Buildroot] [PATCH 11/50] package/busybox: invert dependency with sysvinit Yann E. MORIN
2018-07-03 11:13 ` Carlos Santos
2018-07-02 21:11 ` [Buildroot] [PATCH 12/50] package/busybox: invert dependency with systemd Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 13/50] package/busybox: invert dependency with syslog-ng Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 14/50] package/busybox: invert dependency with sysklogd Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 15/50] package/busybox: invert dependency with start-stop-daemon Yann E. MORIN
2018-07-03 11:33 ` Carlos Santos
2018-07-02 21:11 ` [Buildroot] [PATCH 16/50] package/busybox: invert dependency with rsyslogd Yann E. MORIN
2018-07-06 1:58 ` Carlos Santos
2018-07-06 15:10 ` Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 17/50] package/busybox: invert dependency with psmisc Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 18/50] package/busybox: invert dependency with procps-ng Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 19/50] package/busybox: invert dependency with pciutils Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 20/50] package/busybox: invert dependency with ntp Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 21/50] package/busybox: invert dependency with nnamp Yann E. MORIN
2018-07-03 11:30 ` Carlos Santos [this message]
2018-07-02 21:11 ` [Buildroot] [PATCH 22/50] package/busybox: invert dependency with netcat-openbsd Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 23/50] package/busybox: invert dependency with netcat Yann E. MORIN
2018-07-02 21:11 ` [Buildroot] [PATCH 24/50] package/busybox: invert dependency with net-tools Yann E. MORIN
2018-07-03 5:36 ` Baruch Siach
2018-07-02 21:11 ` [Buildroot] [PATCH 25/50] package/busybox: invert dependency with mtd Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 26/50] package/busybox: invert dependency with lsof Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 27/50] package/busybox: invert dependency with less Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 28/50] package/busybox: invert dependency with kmod Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 29/50] package/busybox: invert dependency with iputils Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 30/50] package/busybox: invert dependency with iproute2 Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 31/50] package/busybox: invert dependency with ifupdown Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 32/50] package/busybox: invert dependency with ifplugd Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 33/50] package/busybox: invert dependency with ifenslave Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 34/50] package/busybox: invert dependency with i2c-tools Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 35/50] package/busybox: invert dependency with gzip Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 36/50] package/busybox: invert dependency with grep Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 37/50] package/busybox: invert dependency with gawk Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 38/50] package/busybox: invert dependency with fbset Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 39/50] package/busybox: invert dependency with e2fsprogs Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 40/50] package/busybox: invert dependency with dos2unix Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 41/50] package/busybox: invert dependency with diffutils Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 42/50] package/busybox: invert dependency with debianutils Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 43/50] package/busybox: invert dependency with dcron Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 44/50] package/busybox: invert dependency with cpio Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 45/50] package/busybox: invert dependency with coreutils Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 46/50] package/busybox: invert dependency with binutils Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 47/50] package/busybox: invert dependency with bc Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 48/50] package/busybox: invert dependency with bash Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 49/50] package/busybox: add dependency on attr Yann E. MORIN
2018-07-02 21:12 ` [Buildroot] [PATCH 50/50] support/scripts: don't draw most of busybox' dependencies Yann E. MORIN
2018-07-02 21:28 ` Matthew Weber
2018-07-03 11:20 ` Carlos Santos
2018-07-03 11:41 ` Yann E. MORIN
2018-07-03 12:19 ` Carlos Santos
2018-07-03 22:56 ` [Buildroot] [PATCH 00/50] busybox: invert dependencies Arnout Vandecappelle
2018-07-04 16:39 ` Yann E. MORIN
2018-07-05 22:54 ` Arnout Vandecappelle
2018-07-06 15:10 ` Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=746334206.1185409.1530617451899.JavaMail.zimbra@datacom.com.br \
--to=casantos@datacom.com.br \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox