summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorabs <abs>2003-09-04 12:47:37 +0000
committerabs <abs>2003-09-04 12:47:37 +0000
commitf1281f57da81a54bee9bb752e2f46b52b65a452d (patch)
treedde37150a74e68b425b97c63a5e8f8cd800402cf /net
parent92e741c573aeb4d40680ea027d0bb84f5b15eddb (diff)
downloadpkgsrc-f1281f57da81a54bee9bb752e2f46b52b65a452d.tar.gz
Update fping and fping6 to 2.4b2nb1.
Add !defined(__NetBSD__) to a broken __alpha__ test.
Diffstat (limited to 'net')
-rw-r--r--net/fping/Makefile3
-rw-r--r--net/fping/distinfo3
-rw-r--r--net/fping/patches/patch-aa17
-rw-r--r--net/fping6/distinfo3
-rw-r--r--net/fping6/patches/patch-ab17
5 files changed, 40 insertions, 3 deletions
diff --git a/net/fping/Makefile b/net/fping/Makefile
index 819ba30542e..8d18cee611a 100644
--- a/net/fping/Makefile
+++ b/net/fping/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2003/07/17 22:51:10 grant Exp $
+# $NetBSD: Makefile,v 1.9 2003/09/04 12:47:37 abs Exp $
# FreeBSD Id: ports/net/fping/Makefile,v 1.10 2000/04/20 20:18:57 mharo Exp
DISTNAME= fping-2.4b2_to
PKGNAME= fping-2.4b2
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.fping.com/download/
diff --git a/net/fping/distinfo b/net/fping/distinfo
index b638f1f36e4..bc3eb43367a 100644
--- a/net/fping/distinfo
+++ b/net/fping/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.5 2003/03/24 16:42:56 bouyer Exp $
+$NetBSD: distinfo,v 1.6 2003/09/04 12:47:37 abs Exp $
SHA1 (fping-2.4b2_to.tar.gz) = 9318f2ec4b389cd74ca32f561fea95f9528f16a3
Size (fping-2.4b2_to.tar.gz) = 60968 bytes
+SHA1 (patch-aa) = df15ec2bd474636c0950b465f918791657b7f5d8
diff --git a/net/fping/patches/patch-aa b/net/fping/patches/patch-aa
new file mode 100644
index 00000000000..9db9cb743c5
--- /dev/null
+++ b/net/fping/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.6 2003/09/04 12:47:38 abs Exp $
+
+--- fping.c.orig Fri Jul 20 18:10:26 2001
++++ fping.c
+@@ -1547,8 +1547,10 @@ int wait_for_reply( void )
+
+ ip = ( struct ip* )buffer;
+
+-#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ )
+- /* The alpha headers are decidedly broken.
++#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ ) && !defined( __NetBSD__ )
++ /* The alpha headers are decidedly broken.
++ * XXX _WHAT_ 'alpha'? OSF? True64? Linux?... Certainly not NetBSD
++ * XXX If defining for a particular broken OS then _include the OS_.
+ * Using an ANSI compiler, it provides ip_vhl instead of ip_hl and
+ * ip_v. So, to get ip_hl, we mask off the bottom four bits.
+ */
diff --git a/net/fping6/distinfo b/net/fping6/distinfo
index 8319f23b684..c0f1c039f85 100644
--- a/net/fping6/distinfo
+++ b/net/fping6/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/03/24 15:21:36 bouyer Exp $
+$NetBSD: distinfo,v 1.2 2003/09/04 12:47:39 abs Exp $
SHA1 (fping-2.4b2_to-ipv6.tar.gz) = d310c6fe951f64660d4c0a5f2bd1c5379c1e5bde
Size (fping-2.4b2_to-ipv6.tar.gz) = 63333 bytes
SHA1 (patch-aa) = 4cf9043f7106d9c85b2401a63d1c1dd50d4ee8f0
+SHA1 (patch-ab) = c09f49b1d5851a8a871b7b910c3d53554629e55e
diff --git a/net/fping6/patches/patch-ab b/net/fping6/patches/patch-ab
new file mode 100644
index 00000000000..4e1734b307c
--- /dev/null
+++ b/net/fping6/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1 2003/09/04 12:47:39 abs Exp $
+
+--- fping.c.orig Thu Sep 4 13:44:10 2003
++++ fping.c
+@@ -1625,8 +1625,10 @@ int wait_for_reply( void )
+
+ ip = ( struct ip* )buffer;
+ #ifndef IPV6
+-#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ )
+- /* The alpha headers are decidedly broken.
++#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ ) && !defined( __NetBSD__ )
++ /* The alpha headers are decidedly broken.
++ * XXX _WHAT_ 'alpha'? OSF? True64? Linux?... Certainly not NetBSD
++ * XXX If defining for a particular broken OS then _include the OS_.
+ * Using an ANSI compiler, it provides ip_vhl instead of ip_hl and
+ * ip_v. So, to get ip_hl, we mask off the bottom four bits.
+ */