Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

14
net/fping6/DESCR Normal file
View File

@@ -0,0 +1,14 @@
A tool with IPv6 support to quickly ping N number of hosts to determine their
reachability without flooding the network.
fping is different from ping in that you can specify any number of
hosts on the command line, or specify a file containing the lists
of hosts to ping. Instead of trying one host until it timeouts or
replies, fping will send out a ping packet and move on to the next
host in a round-robin fashion. If a host replies, it is noted and
removed from the list of hosts to check. If a host does not respond
within a certain time limit and/or retry limit it will be considered
unreachable.
Unlike ping, fping is meant to be used in scripts and its
output is easy to parse.

20
net/fping6/Makefile Normal file
View File

@@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.7 2012/10/23 17:18:21 asau Exp $
DISTNAME= fping-2.4b2_to-ipv6
PKGNAME= fping6-2.4b2
CATEGORIES= net
MASTER_SITES= http://www.fping.com/download/
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://www.fping.com/
COMMENT= Quickly ping many hosts w/o flooding the network
GNU_CONFIGURE= YES
USE_FEATURES+= inet6
SPECIAL_PERMS+= sbin/fping6 ${SETUID_ROOT_PERMS}
post-patch:
@${MV} ${WRKSRC}/fping.8 ${WRKSRC}/fping6.8
.include "../../mk/bsd.pkg.mk"

3
net/fping6/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/24 15:21:36 bouyer Exp $
sbin/fping6
man/man8/fping6.8

7
net/fping6/distinfo Normal file
View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.3 2005/02/24 12:13:46 agc Exp $
SHA1 (fping-2.4b2_to-ipv6.tar.gz) = d310c6fe951f64660d4c0a5f2bd1c5379c1e5bde
RMD160 (fping-2.4b2_to-ipv6.tar.gz) = cff101a53baec9cc23063ff2004db69a3510c51f
Size (fping-2.4b2_to-ipv6.tar.gz) = 63333 bytes
SHA1 (patch-aa) = 4cf9043f7106d9c85b2401a63d1c1dd50d4ee8f0
SHA1 (patch-ab) = c09f49b1d5851a8a871b7b910c3d53554629e55e

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-aa,v 1.1.1.1 2003/03/24 15:21:36 bouyer Exp $
--- Makefile.in.orig Fri Mar 21 15:42:12 2003
+++ Makefile.in Fri Mar 21 15:42:55 2003
@@ -63,9 +63,9 @@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
-sbin_PROGRAMS = fping
+sbin_PROGRAMS = fping6
fping_SOURCES = fping.c options.h linux.h
-man_MANS = fping.8
+man_MANS = fping6.8
AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = $(man_MANS)
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -193,8 +193,8 @@
maintainer-clean-compile:
-fping: $(fping_OBJECTS) $(fping_DEPENDENCIES)
- @rm -f fping
+fping6: $(fping_OBJECTS) $(fping_DEPENDENCIES)
+ @rm -f fping6
$(LINK) $(fping_LDFLAGS) $(fping_OBJECTS) $(fping_LDADD) $(LIBS)
install-man8:

View File

@@ -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.
*/