summaryrefslogtreecommitdiff
path: root/packages/nonworking
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-11-18 08:19:15 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-18 08:19:15 +0000
commitc7ced19dc6616e09f8c45d0c539339fbe17a9caf (patch)
tree16c9a3b2860668671b9bad054f479dfe478465db /packages/nonworking
parentcce6287a6f4589a6494835b7710fcfa5d7d8bbe8 (diff)
libnet 1.1.2.1: moved from nonworking by Jamie Lenehan - close #467
Diffstat (limited to 'packages/nonworking')
-rw-r--r--packages/nonworking/libnet/.mtn2git_empty0
-rw-r--r--packages/nonworking/libnet/files/.mtn2git_empty0
-rw-r--r--packages/nonworking/libnet/files/compile-fix.patch16
-rw-r--r--packages/nonworking/libnet/files/configure.patch61
-rw-r--r--packages/nonworking/libnet/libnet_1.1.2.1.bb25
5 files changed, 0 insertions, 102 deletions
diff --git a/packages/nonworking/libnet/.mtn2git_empty b/packages/nonworking/libnet/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/nonworking/libnet/.mtn2git_empty
+++ /dev/null
diff --git a/packages/nonworking/libnet/files/.mtn2git_empty b/packages/nonworking/libnet/files/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/nonworking/libnet/files/.mtn2git_empty
+++ /dev/null
diff --git a/packages/nonworking/libnet/files/compile-fix.patch b/packages/nonworking/libnet/files/compile-fix.patch
deleted file mode 100644
index 24e30c84fe..0000000000
--- a/packages/nonworking/libnet/files/compile-fix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- libnet/include/libnet.h.in~compile-fix
-+++ libnet/include/libnet.h.in
-@@ -114,7 +114,7 @@
- #include <stdarg.h>
-
- #define LIBNET_VERSION "@LIBNET_VERSION@"
--#define @ENDIANESS@ 1
-+//#define @ENDIANESS@ 1
-
- #include "./libnet/libnet-types.h"
- #include "./libnet/libnet-macros.h"
diff --git a/packages/nonworking/libnet/files/configure.patch b/packages/nonworking/libnet/files/configure.patch
deleted file mode 100644
index 876c4292bd..0000000000
--- a/packages/nonworking/libnet/files/configure.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- libnet/acinclude.m4~configure
-+++ libnet/acinclude.m4
-@@ -184,7 +184,7 @@
- AC_CACHE_VAL(ac_cv_lbl_unaligned_fail,
- [case "$target_cpu" in
-
-- alpha|hp*|mips|sparc)
-+ alpha|hp*|mips|sparc|arm)
- ac_cv_lbl_unaligned_fail=yes
- ;;
-
-@@ -259,7 +259,8 @@
- dnl
-
- AC_DEFUN(AC_LIBNET_ENDIAN_CHECK,
-- [AC_MSG_CHECKING(machine endianess)
-+ [AC_CACHE_CHECK([machine_endianness],
-+ ac_cv_libnet_endianess, [
-
- cat > conftest.c << EOF
- # include <stdio.h>
-@@ -312,8 +313,7 @@
- fi
- fi
- rm -f conftest* core core.conftest
--
-- AC_MSG_RESULT($ac_cv_libnet_endianess)
-+ ])
-
- if test $ac_cv_libnet_endianess = big ; then
- AC_DEFINE(LIBNET_BIG_ENDIAN)
-@@ -324,7 +324,7 @@
- ENDIANESS="LIBNET_LIL_ENDIAN"
- LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DLIBNET_LIL_ENDIAN"
- fi
-- ])
-+])
-
- dnl
- dnl Improved version of AC_CHECK_LIB
---- libnet/./configure.in~configure
-+++ libnet/./configure.in
-@@ -7,10 +7,11 @@
- dnl Process this file with autoconf to produce a configure script.
-
-
--AC_INIT(src/libnet_build_ip.c)
-+AC_INIT
-+AC_CONFIG_SRCDIR([src/libnet_build_ip.c])
- LIBNET_VERSION=`cat VERSION`
- AC_MSG_RESULT(beginning autoconfiguration process for libnet-$LIBNET_VERSION...)
--AC_CANONICAL_SYSTEM
-+AC_CANONICAL_TARGET([])
-
- AM_INIT_AUTOMAKE(libnet, $LIBNET_VERSION)
- AM_CONFIG_HEADER(include/config.h)
diff --git a/packages/nonworking/libnet/libnet_1.1.2.1.bb b/packages/nonworking/libnet/libnet_1.1.2.1.bb
deleted file mode 100644
index 58d13c9be1..0000000000
--- a/packages/nonworking/libnet/libnet_1.1.2.1.bb
+++ /dev/null
@@ -1,25 +0,0 @@
-#FIXME: Does not compile against linux-libc-headers 2.6
-BROKEN = "1"
-DESCRIPTION = "A packet dissection and creation library"
-SRC_URI = "http://www.packetfactory.net/libnet/dist/libnet.tar.gz \
- file://configure.patch;patch=1 \
- file://compile-fix.patch;patch=1"
-S = "${WORKDIR}/libnet"
-
-inherit autotools
-
-CPPFLAGS_prepend = "-I${S}/libnet/include "
-
-do_configure() {
- oe_runconf
-}
-
-do_stage () {
- install -m 0755 libnet-config ${STAGING_BINDIR}/
- oe_runmake -C src 'DESTDIR=${STAGING_DIR}/target' \
- 'libdir=/lib' install-libLIBRARIES
- oe_runmake -C include 'DESTDIR=${STAGING_DIR}/target' \
- 'includedir=/include' install-includeHEADERS
- oe_runmake -C include/libnet 'DESTDIR=${STAGING_DIR}/target' \
- 'includedir=/include' install-libnetincludeHEADERS
-}