libnet: new package
authorJoris Lijssens <joris.lijssens@gmail.com>
Mon, 9 Nov 2015 09:03:31 +0000 (10:03 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 11 Nov 2015 13:59:48 +0000 (14:59 +0100)
[Thomas: add hash file.]

Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/libnet/Config.in [new file with mode: 0644]
package/libnet/libnet.hash [new file with mode: 0644]
package/libnet/libnet.mk [new file with mode: 0644]

index bdc3063abd1a5fb6b4c020cb2b2cff5dfe690b4b..e0b42c0f3e7ea65f916623ccfbe84397078a18f3 100644 (file)
@@ -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 (file)
index 0000000..7186972
--- /dev/null
@@ -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 (file)
index 0000000..dd33490
--- /dev/null
@@ -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 (file)
index 0000000..d021f76
--- /dev/null
@@ -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))