summaryrefslogtreecommitdiff
path: root/packages/nonworking
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-03 15:56:32 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-03 15:56:32 +0000
commit347bcf2912a94be0803d8e80b09594b422ce7eee (patch)
tree61470e3f27ea7acced88f624f0b86558e57d065d /packages/nonworking
parent848f3e2caf73a9da8d67ba99decce08eaa50fb9b (diff)
parentb57ec72f165d15125f9038279a0f812c17d23a0a (diff)
propagate from branch 'org.openembedded.dev' (head d4d1f1f38e2b9006a47fa1739eaf2f6a0772c35b)
to branch 'org.openembedded.nslu2-linux' (head dec105cc4ce8fb17e240e1ab3e3dde4819edd3ff)
Diffstat (limited to 'packages/nonworking')
-rw-r--r--packages/nonworking/iperf/.mtn2git_empty0
-rw-r--r--packages/nonworking/iperf/iperf-1.7.0/.mtn2git_empty0
-rw-r--r--packages/nonworking/iperf/iperf-1.7.0/socketaddr-h-errno.diff11
-rw-r--r--packages/nonworking/iperf/iperf_1.7.0.bb27
4 files changed, 38 insertions, 0 deletions
diff --git a/packages/nonworking/iperf/.mtn2git_empty b/packages/nonworking/iperf/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/iperf/.mtn2git_empty
diff --git a/packages/nonworking/iperf/iperf-1.7.0/.mtn2git_empty b/packages/nonworking/iperf/iperf-1.7.0/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/iperf/iperf-1.7.0/.mtn2git_empty
diff --git a/packages/nonworking/iperf/iperf-1.7.0/socketaddr-h-errno.diff b/packages/nonworking/iperf/iperf-1.7.0/socketaddr-h-errno.diff
new file mode 100644
index 0000000000..15b1bc2928
--- /dev/null
+++ b/packages/nonworking/iperf/iperf-1.7.0/socketaddr-h-errno.diff
@@ -0,0 +1,11 @@
+--- lib/SocketAddr.cpp.orig 2004-10-05 12:10:06.763746800 +0200
++++ lib/SocketAddr.cpp 2004-10-05 12:10:21.079570464 +0200
+@@ -65,7 +65,7 @@
+
+
+ #ifndef WIN32
+-extern int h_errno;
++//extern int h_errno;
+ #endif
+
+ Socklen_t SocketAddr::mAddress_size = sizeof(iperf_sockaddr);
diff --git a/packages/nonworking/iperf/iperf_1.7.0.bb b/packages/nonworking/iperf/iperf_1.7.0.bb
new file mode 100644
index 0000000000..ef075e8c8a
--- /dev/null
+++ b/packages/nonworking/iperf/iperf_1.7.0.bb
@@ -0,0 +1,27 @@
+SECTION = "console/network"
+DESCRIPTION = "Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various parameters and UDP characteristics"
+HOMEPAGE = "http://dast.nlanr.net/Projects/Iperf/"
+LICENSE = "BSD"
+MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
+
+SRC_URI = "http://dast.nlanr.net/Projects/Iperf/iperf-${PV}-source.tar.gz \
+ file://socketaddr-h-errno.diff;patch=1;pnum=0"
+
+inherit autotools
+
+S="${WORKDIR}/iperf-${PV}/cfg"
+PATCHES_DIR="${WORKDIR}/iperf-${PV}"
+
+do_configure() {
+ oe_runconf
+}
+
+do_compile() {
+ cd ${WORKDIR}/iperf-${PV}
+ oe_runmake
+}
+
+do_install() {
+ cd ${WORKDIR}/iperf-${PV}/src
+ oe_runmake INSTALL_DIR=${D}${bindir} install
+}