* [Buildroot] [PATCH] nmap: new package
@ 2013-02-25 14:39 Gustavo Zacarias
2013-02-25 19:46 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Zacarias @ 2013-02-25 14:39 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/Config.in | 1 +
package/nmap/Config.in | 16 ++++++++++++++++
package/nmap/nmap.mk | 24 ++++++++++++++++++++++++
3 files changed, 41 insertions(+)
create mode 100644 package/nmap/Config.in
create mode 100644 package/nmap/nmap.mk
diff --git a/package/Config.in b/package/Config.in
index f77911f..4defd72 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -680,6 +680,7 @@ source "package/netsnmp/Config.in"
source "package/netstat-nat/Config.in"
source "package/network-manager/Config.in"
source "package/nfacct/Config.in"
+source "package/nmap/Config.in"
source "package/noip/Config.in"
source "package/ngircd/Config.in"
source "package/ngrep/Config.in"
diff --git a/package/nmap/Config.in b/package/nmap/Config.in
new file mode 100644
index 0000000..be1be33
--- /dev/null
+++ b/package/nmap/Config.in
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_NMAP
+ bool "nmap"
+ depends on BR2_INET_IPV6
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_MMU # fork()
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_PACKAGE_LIBPCAP
+ select BR2_PACKAGE_PCRE
+ help
+ Nmap ("Network Mapper") is a free and open source (license)
+ utility for network discovery and security auditing.
+
+ http://nmap.org
+
+comment "nmap requires a toolchain with C++, IPV6 and thread support"
+ depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_TOOLCHAIN_HAS_THREADS)
diff --git a/package/nmap/nmap.mk b/package/nmap/nmap.mk
new file mode 100644
index 0000000..a5b085d
--- /dev/null
+++ b/package/nmap/nmap.mk
@@ -0,0 +1,24 @@
+#############################################################
+#
+# nmap
+#
+#############################################################
+
+NMAP_VERSION = 6.01
+NMAP_SITE = http://nmap.org/dist
+NMAP_SOURCE = nmap-$(NMAP_VERSION).tar.bz2
+NMAP_DEPENDENCIES = libpcap pcre
+NMAP_CONF_OPT = --without-liblua --without-zenmap \
+ --with-libdnet=included --with-liblinear=included \
+ --with-libpcre="$(STAGING_DIR)/usr"
+NMAP_LICENSE = GPLv2
+NMAP_LICENSE_FILES = COPYING
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+NMAP_CONF_OPT += --with-openssl="$(STAGING_DIR)/usr"
+NMAP_DEPENDENCIES += openssl
+else
+NMAP_CONF_OPT += --without-openssl
+endif
+
+$(eval $(autotools-package))
--
1.7.12.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] nmap: new package
2013-02-25 14:39 [Buildroot] [PATCH] nmap: new package Gustavo Zacarias
@ 2013-02-25 19:46 ` Peter Korsgaard
2013-02-25 19:47 ` Gustavo Zacarias
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2013-02-25 19:46 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Gustavo> ---
Gustavo> package/Config.in | 1 +
Gustavo> package/nmap/Config.in | 16 ++++++++++++++++
Gustavo> package/nmap/nmap.mk | 24 ++++++++++++++++++++++++
Gustavo> 3 files changed, 41 insertions(+)
Gustavo> create mode 100644 package/nmap/Config.in
Gustavo> create mode 100644 package/nmap/nmap.mk
Gustavo> diff --git a/package/Config.in b/package/Config.in
Gustavo> index f77911f..4defd72 100644
Gustavo> --- a/package/Config.in
Gustavo> +++ b/package/Config.in
Gustavo> @@ -680,6 +680,7 @@ source "package/netsnmp/Config.in"
Gustavo> source "package/netstat-nat/Config.in"
Gustavo> source "package/network-manager/Config.in"
Gustavo> source "package/nfacct/Config.in"
Gustavo> +source "package/nmap/Config.in"
Gustavo> source "package/noip/Config.in"
Gustavo> source "package/ngircd/Config.in"
Gustavo> source "package/ngrep/Config.in"
Gustavo> diff --git a/package/nmap/Config.in b/package/nmap/Config.in
Gustavo> new file mode 100644
Gustavo> index 0000000..be1be33
Gustavo> --- /dev/null
Gustavo> +++ b/package/nmap/Config.in
Gustavo> @@ -0,0 +1,16 @@
Gustavo> +config BR2_PACKAGE_NMAP
Gustavo> + bool "nmap"
Gustavo> + depends on BR2_INET_IPV6
Gustavo> + depends on BR2_INSTALL_LIBSTDCPP
Gustavo> + depends on BR2_USE_MMU # fork()
Gustavo> + depends on BR2_TOOLCHAIN_HAS_THREADS
Gustavo> + select BR2_PACKAGE_LIBPCAP
Gustavo> + select BR2_PACKAGE_PCRE
Gustavo> + help
Gustavo> + Nmap ("Network Mapper") is a free and open source (license)
Gustavo> + utility for network discovery and security auditing.
Gustavo> +
Gustavo> + http://nmap.org
Gustavo> +
Gustavo> +comment "nmap requires a toolchain with C++, IPV6 and thread support"
Gustavo> + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_TOOLCHAIN_HAS_THREADS)
Gustavo> diff --git a/package/nmap/nmap.mk b/package/nmap/nmap.mk
Gustavo> new file mode 100644
Gustavo> index 0000000..a5b085d
Gustavo> --- /dev/null
Gustavo> +++ b/package/nmap/nmap.mk
Gustavo> @@ -0,0 +1,24 @@
Gustavo> +#############################################################
Gustavo> +#
Gustavo> +# nmap
Gustavo> +#
Gustavo> +#############################################################
Gustavo> +
Gustavo> +NMAP_VERSION = 6.01
Gustavo> +NMAP_SITE = http://nmap.org/dist
Gustavo> +NMAP_SOURCE = nmap-$(NMAP_VERSION).tar.bz2
Gustavo> +NMAP_DEPENDENCIES = libpcap pcre
Gustavo> +NMAP_CONF_OPT = --without-liblua --without-zenmap \
Gustavo> + --with-libdnet=included --with-liblinear=included \
Gustavo> + --with-libpcre="$(STAGING_DIR)/usr"
Committed to next, thanks. It would be good to see optional lua support
as a followup.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] nmap: new package
2013-02-25 19:46 ` Peter Korsgaard
@ 2013-02-25 19:47 ` Gustavo Zacarias
0 siblings, 0 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2013-02-25 19:47 UTC (permalink / raw)
To: buildroot
On 02/25/2013 04:46 PM, Peter Korsgaard wrote:
> Committed to next, thanks. It would be good to see optional lua support
> as a followup.
Yup, it needs patching from what i've seen though.
And 6.25 which also needs patching to fix some build failures.
Regards.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-25 19:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-25 14:39 [Buildroot] [PATCH] nmap: new package Gustavo Zacarias
2013-02-25 19:46 ` Peter Korsgaard
2013-02-25 19:47 ` Gustavo Zacarias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox