summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoris Lijssens <joris.lijssens@gmail.com>2015-11-09 10:03:31 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-11 14:59:48 +0100
commit9d3855012c9ff5769451175fa47abeca908e40a9 (patch)
treeb60edd28c4193212ed9c4822d3080c85f12586ab
parent18566c37dc226fb22fee3a069afaf70a97e656b8 (diff)
downloadbuildroot-9d3855012c9ff5769451175fa47abeca908e40a9.tar.gz
buildroot-9d3855012c9ff5769451175fa47abeca908e40a9.zip
libnet: new package
[Thomas: add hash file.] Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/libnet/Config.in7
-rw-r--r--package/libnet/libnet.hash3
-rw-r--r--package/libnet/libnet.mk13
4 files changed, 24 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index bdc3063abd..e0b42c0f3e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1019,6 +1019,7 @@ menu "Networking"
source "package/libmnl/Config.in"
source "package/libmodbus/Config.in"
source "package/libndp/Config.in"
+ source "package/libnet/Config.in"
source "package/libnetfilter_acct/Config.in"
source "package/libnetfilter_conntrack/Config.in"
source "package/libnetfilter_cthelper/Config.in"
diff --git a/package/libnet/Config.in b/package/libnet/Config.in
new file mode 100644
index 0000000000..7186972b7e
--- /dev/null
+++ b/package/libnet/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBNET
+ bool "libnet"
+ help
+ libnet provides a portable framework for low-level network
+ packet construction.
+
+ http://sourceforge.net/projects/libnet-dev
diff --git a/package/libnet/libnet.hash b/package/libnet/libnet.hash
new file mode 100644
index 0000000000..dd3349082d
--- /dev/null
+++ b/package/libnet/libnet.hash
@@ -0,0 +1,3 @@
+# From https://sourceforge.net/projects/libnet-dev/files/
+sha1 dffff71c325584fdcf99b80567b60f8ad985e34c libnet-1.1.6.tar.gz
+md5 710296fe424a49344e5fcc0d09e53317 libnet-1.1.6.tar.gz
diff --git a/package/libnet/libnet.mk b/package/libnet/libnet.mk
new file mode 100644
index 0000000000..d021f7663d
--- /dev/null
+++ b/package/libnet/libnet.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# libnet
+#
+################################################################################
+
+LIBNET_VERSION = 1.1.6
+LIBNET_SITE = http://sourceforge.net/projects/libnet-dev/files
+LIBNET_INSTALL_STAGING = YES
+LIBNET_LICENSE = BSD-2c
+LIBNET_LICENSE_FILES = doc/COPYING
+
+$(eval $(autotools-package))
OpenPOWER on IntegriCloud