summaryrefslogtreecommitdiff
path: root/packages/libnids
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/libnids
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/libnids')
-rw-r--r--packages/libnids/libnids-1.18/configure.patch60
-rw-r--r--packages/libnids/libnids_1.18.bb24
2 files changed, 0 insertions, 84 deletions
diff --git a/packages/libnids/libnids-1.18/configure.patch b/packages/libnids/libnids-1.18/configure.patch
deleted file mode 100644
index 332675b057..0000000000
--- a/packages/libnids/libnids-1.18/configure.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- tmp/base/libnids-1.18-r0/libnids-1.18/configure.in Tue Oct 14 18:40:00 2003
-+++ libnids-1.18/configure.in Wed Nov 5 16:01:27 2003
-@@ -65,12 +65,15 @@
- ;;
- *)
- AC_MSG_RESULT($withval)
-- if test -f $withval/pcap.h -a -f $withval/libpcap.a; then
-- owd=`pwd`
-- if cd $withval; then withval=`pwd`; cd $owd; fi
-- PCAP_CFLAGS="-I$withval -I$withval/bpf"
-- PCAPLIB="-L$withval -lpcap"
-- else
-+ for i in $withval $withval/include $withval/lib $withval/include/pcap; do
-+ if test -f $i/pcap.h; then
-+ PCAP_CFLAGS="-I$i -I$i/bpf"
-+ fi
-+ if test -f $i/libpcap.a; then
-+ PCAPLIB="-L$i -lpcap"
-+ fi
-+ done
-+ if test -z "$PCAP_CFLAGS" -o -z "$PCAPLIB"; then
- AC_ERROR(pcap.h or libpcap.a not found in $withval)
- fi
- ;;
-@@ -127,20 +130,22 @@
- ;;
- *)
- AC_MSG_RESULT($withval)
-- if test -f $withval/include/libnet.h -a -f $withval/lib/libnet.a -a -f $withval/libnet-config ; then
-- owd=`pwd`
-- if cd $withval; then withval=`pwd`; cd $owd; fi
-- LNET_CFLAGS="-I$withval/include `$withval/libnet-config --defines`"
-- LNETLIB="-L$withval/lib -lnet"
-- elif test -f $withval/include/libnet.h -a -f $withval/src/libnet.a; then
-- owd=`pwd`
-- if cd $withval; then withval=`pwd`; cd $owd; fi
-- LNET_CFLAGS="-I$withval/include"
-- LNETLIB="-L$withval/src -lnet"
-- else
-- echo "A working combination of libnet.h, libnet.a and libnet-config not found in $withval; get libnet from www.packetfactory.net/projects/libnet and reinstall"
-- AC_ERROR(libnet)
-+ LNETC="`which libnet-config 2>/dev/null`"
-+ for i in $withval $withval/include $withval/lib $withval/bin; do
-+ if test -f $i/libnet-config; then
-+ LNETC"=$i/libnet-config"
-+ fi
-+ if test -f $i/libnet.h; then
-+ LNET_CFLAGS="-I$i"
-+ fi
-+ if test -f $i/libnet.a; then
-+ LNETLIB="-L$i -lnet"
-+ fi
-+ done
-+ if test -z "$LNET_CFLAGS" -o -z "$LNETLIB" -o -z "$LNETC"; then
-+ AC_ERROR([libnet not found in $withval])
- fi
-+ LNET_CFLAGS="$LNET_CFLAGS `$LNETC --defines`"
- ;;
- esac ],
- [ if test "x"$LIBNET_VER = "x"-1 ; then
diff --git a/packages/libnids/libnids_1.18.bb b/packages/libnids/libnids_1.18.bb
deleted file mode 100644
index cf887457a2..0000000000
--- a/packages/libnids/libnids_1.18.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-DESCRIPTION = "Libnids performs assembly of TCP segments \
-into TCP streams, IP defragmentation, and TCP port \
-scan detection."
-LICENSE = "GPL"
-SECTION = "libs"
-DEPENDS = "libnet-1.0 libpcap"
-PR = "r1"
-
-SRC_URI = "\
- ${SOURCEFORGE_MIRROR}/libnids/libnids-${PV}.tar.gz \
- file://configure.patch;patch=1"
-
-inherit autotools
-
-EXTRA_OECONF = "\
- --with-libpcap=${STAGING_LIBDIR}/.. \
- --with-libnet=${STAGING_LIBDIR}/.. \
-"
-EXTRA_OEMAKE = "'install_prefix=${D}'"
-
-do_stage () {
- install -m 0644 ${S}/src/nids.h ${STAGING_INCDIR}/
- oe_libinstall -a -C src libnids ${STAGING_LIBDIR}
-}