summaryrefslogtreecommitdiff
path: root/data/_libnet
diff options
context:
space:
mode:
Diffstat (limited to 'data/_libnet')
-rw-r--r--data/_libnet/_metadata/description1
-rw-r--r--data/_libnet/_metadata/homepage1
-rw-r--r--data/_libnet/_metadata/in.1443.000
-rw-r--r--data/_libnet/_metadata/license31
l---------data/_libnet/_metadata/maintainer1
-rw-r--r--data/_libnet/_metadata/priority1
-rw-r--r--data/_libnet/_metadata/role1
-rw-r--r--data/_libnet/_metadata/section1
-rw-r--r--data/_libnet/_metadata/tags1
-rw-r--r--data/_libnet/_metadata/version1
-rw-r--r--data/_libnet/libnet-1.1.6.tar.gzbin0 -> 1202970 bytes
-rw-r--r--data/_libnet/make.sh5
-rw-r--r--data/_libnet/patch-configure.in.diff29
13 files changed, 73 insertions, 0 deletions
diff --git a/data/_libnet/_metadata/description b/data/_libnet/_metadata/description
new file mode 100644
index 000000000..4276163ba
--- /dev/null
+++ b/data/_libnet/_metadata/description
@@ -0,0 +1 @@
+Construct and inject network packets
diff --git a/data/_libnet/_metadata/homepage b/data/_libnet/_metadata/homepage
new file mode 100644
index 000000000..ae3b44369
--- /dev/null
+++ b/data/_libnet/_metadata/homepage
@@ -0,0 +1 @@
+http://www.packetfactory.net/libnet/
diff --git a/data/_libnet/_metadata/in.1443.00 b/data/_libnet/_metadata/in.1443.00
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/_libnet/_metadata/in.1443.00
diff --git a/data/_libnet/_metadata/license b/data/_libnet/_metadata/license
new file mode 100644
index 000000000..1a2956818
--- /dev/null
+++ b/data/_libnet/_metadata/license
@@ -0,0 +1,31 @@
+ $Id: COPYING,v 1.1.1.1 2003/06/26 21:55:10 route Exp $
+
+ libnet 1.1.x
+ Copyright (c) 1998 - 2002 Mike D. Schiffman <mike@infonexus.com>
+ http://www.packetfactory.net/libnet
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+
+EOF
diff --git a/data/_libnet/_metadata/maintainer b/data/_libnet/_metadata/maintainer
new file mode 120000
index 000000000..0c538aadb
--- /dev/null
+++ b/data/_libnet/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/mac \ No newline at end of file
diff --git a/data/_libnet/_metadata/priority b/data/_libnet/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/_libnet/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/_libnet/_metadata/role b/data/_libnet/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/_libnet/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/_libnet/_metadata/section b/data/_libnet/_metadata/section
new file mode 100644
index 000000000..8708e4b54
--- /dev/null
+++ b/data/_libnet/_metadata/section
@@ -0,0 +1 @@
+Networking
diff --git a/data/_libnet/_metadata/tags b/data/_libnet/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/_libnet/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/_libnet/_metadata/version b/data/_libnet/_metadata/version
new file mode 100644
index 000000000..dee2cba9b
--- /dev/null
+++ b/data/_libnet/_metadata/version
@@ -0,0 +1 @@
+1.1.2.1
diff --git a/data/_libnet/libnet-1.1.6.tar.gz b/data/_libnet/libnet-1.1.6.tar.gz
new file mode 100644
index 000000000..5ce5ab904
--- /dev/null
+++ b/data/_libnet/libnet-1.1.6.tar.gz
Binary files differ
diff --git a/data/_libnet/make.sh b/data/_libnet/make.sh
new file mode 100644
index 000000000..f2379bc99
--- /dev/null
+++ b/data/_libnet/make.sh
@@ -0,0 +1,5 @@
+pkg:setup
+autoreconf -fvi
+pkg:configure ac_cv_libnet_endianess=lil ac_libnet_have_packet_socket=no ac_cv_libnet_linux_procfs=no ac_cv_lbl_unaligned_fail=no
+pkg:make
+pkg:install
diff --git a/data/_libnet/patch-configure.in.diff b/data/_libnet/patch-configure.in.diff
new file mode 100644
index 000000000..a0ce6fa58
--- /dev/null
+++ b/data/_libnet/patch-configure.in.diff
@@ -0,0 +1,29 @@
+--- a/configure.in.orig 2012-03-30 00:16:23.000000000 +0300
++++ b/configure.in 2012-07-09 02:15:10.000000000 +0300
+@@ -199,23 +199,9 @@
+ *darwin*)
+ AC_DEFINE(HAVE_SOCKADDR_SA_LEN, 1,
+ [Define if the sockaddr structure includes a sa_len member.])
+- LIBNET_CONFIG_DEFINES="-DHAVE_SOCKADDR_SA_LEN"
+-
+-dnl
+-dnl Check to see if x86
+-dnl
+-
+- case "$target" in
+- i?86-*-*darwin*)
+- AC_DEFINE(LIBNET_BSDISH_OS)
+- AC_DEFINE(LIBNET_BSD_BYTE_SWAP)
+- LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP"
+- ;;
+-
+- *)
+- ;;
+-
+- esac
++ AC_DEFINE(LIBNET_BSDISH_OS)
++ AC_DEFINE(LIBNET_BSD_BYTE_SWAP)
++ LIBNET_CONFIG_DEFINES="-DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP"
+
+ ;;
+