summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2006-01-18 20:25:05 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-18 20:25:05 +0000
commit0b48df1db4195820cb9ac13f1e221de0427495d3 (patch)
treed7a4d7ee4345c1e6f2d033af258fb9a42c50f678
parent65b7c2346f0f1421ea1297a3a0aa994ecac192ec (diff)
libnet: add PROVIDES for API specific versions in 1.0.2a, 1.1.2.1
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
-rw-r--r--packages/dsniff/dsniff_2.3.bb5
-rw-r--r--packages/libnet/libnet_1.0.2a.bb3
-rw-r--r--packages/libnet/libnet_1.1.2.1.bb3
3 files changed, 10 insertions, 1 deletions
diff --git a/packages/dsniff/dsniff_2.3.bb b/packages/dsniff/dsniff_2.3.bb
index 21e7c39674..8da4ad82aa 100644
--- a/packages/dsniff/dsniff_2.3.bb
+++ b/packages/dsniff/dsniff_2.3.bb
@@ -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"
diff --git a/packages/libnet/libnet_1.0.2a.bb b/packages/libnet/libnet_1.0.2a.bb
index 9cfcdf8a2a..071a53e0cd 100644
--- a/packages/libnet/libnet_1.0.2a.bb
+++ b/packages/libnet/libnet_1.0.2a.bb
@@ -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 \
diff --git a/packages/libnet/libnet_1.1.2.1.bb b/packages/libnet/libnet_1.1.2.1.bb
index 4c862dce9e..c28b98a304 100644
--- a/packages/libnet/libnet_1.1.2.1.bb
+++ b/packages/libnet/libnet_1.1.2.1.bb
@@ -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 \