libnet: add PROVIDES for API specific versions in 1.0.2a, 1.1.2.1
authorJohn Bowler <jbowler@nslu2-linux.org>
Wed, 18 Jan 2006 20:25:05 +0000 (20:25 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 18 Jan 2006 20:25:05 +0000 (20:25 +0000)
dsniff: change DEPENDS to use libnet-1.0 in 2.3
  - v2.3 of dsniff uses the API from libnet 1.0, no later version of
    dsniff exists, therefore the API must be forced to be 1.0

packages/dsniff/dsniff_2.3.bb
packages/libnet/libnet_1.0.2a.bb
packages/libnet/libnet_1.1.2.1.bb

index 21e7c39..8da4ad8 100644 (file)
@@ -3,7 +3,10 @@ DESCRIPTION = "dsniff is a collection of tools for network auditing and penetrat
 LICENSE = "BSD"
 PR = "r1"
 
-DEPENDS = "virtual/db libpcap libnet libnids openssl"
+# There is a significant API change beween 1.0.2a of libnet and
+# 1.1.x, dsniff will only work with the older and there is no
+# updated version of dnsniff.
+DEPENDS = "virtual/db libpcap libnet-1.0 libnids openssl"
 
 SRC_URI = "http://www.monkey.org/~dugsong/dsniff/dsniff-${PV}.tar.gz \
           file://configure.patch;patch=1"
index 9cfcdf8..071a53e 100644 (file)
@@ -6,6 +6,9 @@ SECTION = "libs/network"
 LICENSE = "GPL"
 PR = "r1"
 
+# There are major API changes beween libnet v1.0 and libnet v1.1
+PROVIDES = "libnet-1.0"
+
 SRC_URI = "http://www.packetfactory.net/libnet/dist/deprecated/libnet-${PV}.tar.gz \
           file://configure.patch;patch=1 \
           file://configure.uclibc.patch;patch=1 \
index 4c862dc..c28b98a 100644 (file)
@@ -6,6 +6,9 @@ PRIORITY = "optional"
 DEPENDS = "libpcap"
 PR = "r0"
 
+# There are major API changes beween libnet v1.0 and libnet v1.1
+PROVIDES = "libnet-1.1"
+
 SRC_URI = "http://www.packetfactory.net/libnet/dist/libnet-${PV}.tar.gz \
           file://support-uclibc.patch;patch=1 \
           file://fix-endianess-test.patch;patch=1 \