From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlos Santos Date: Mon, 9 Oct 2017 20:55:11 -0300 (BRT) Subject: [Buildroot] [PATCH v2] nmap: add option to build/install "ncat" In-Reply-To: <5d1dc740-1eda-8052-1ee0-c8a543524a7b@mind.be> References: <20171004124920.7358-1-casantos@datacom.ind.br> <20171004154313.25762-1-casantos@datacom.ind.br> <1613988304.12988742.1507565613269.JavaMail.zimbra@datacom.ind.br> <1eb061ff-7182-4ee3-15ab-8f2068db4696@mind.be> <5d1dc740-1eda-8052-1ee0-c8a543524a7b@mind.be> Message-ID: <1352411131.13079113.1507593311288.JavaMail.zimbra@datacom.ind.br> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net > From: "Arnout Vandecappelle" > To: "Carlos Santos" > Cc: buildroot at buildroot.org, "Thomas Petazzoni" , "Maxime Hadjinlian" > , "Peter Korsgaard" , "Yann E. MORIN" > Sent: Monday, October 9, 2017 7:10:55 PM > Subject: Re: [Buildroot] [PATCH v2] nmap: add option to build/install "ncat" > On 10-10-17 00:08, Arnout Vandecappelle wrote: >> 2. No specific option, always install nmap + ncat if BR2_PACKAGE_NMAP is >> selected. Note that this might create a problem if both nmap and netcat-openbsd >> are selected, so there should probably be a dependency introduced and a check >> that nc doesn't exist yet before creating the symlink. > > Let me clarify that bit: in all the other options, the user makes a conscious > decision to enable ncat (and therefore the nc symlink). With this option, > however, the nc symlink will be created without the user being aware of it, so > it could be that it is not what the user intended. This is only a problem if > netcat-openbsd is also installed (since ncat is a strict superset of GNU and > busybox nc). That was one of the advantages of the virtual package "nc": it would require the user to choose only one netcat variant at a time. Anyway, I can make the link creation optional or create it only if none of the competing netcat variants is selected. -- Carlos Santos (Casantos) - DATACOM, P&D ?The greatest triumph that modern PR can offer is the transcendent success of having your words and actions judged by your reputation, rather than the other way about.? ? Christopher Hitchens