View | Details | Raw Unified | Return to bug 59911
Collapse All | Expand All

(-)Makefile (-3 / +2 lines)
Lines 6-15 Link Here
6
#
6
#
7
7
8
PORTNAME=	bing
8
PORTNAME=	bing
9
PORTVERSION=	1.0.4
9
PORTVERSION=	1.0.5
10
PORTREVISION=	1
11
CATEGORIES=	net
10
CATEGORIES=	net
12
MASTER_SITES=	ftp://netsw.org/net/ip/audit/load/bing/
11
MASTER_SITES=	http://www.freenix.org/reseau/
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	A point-to-point bandwith measurement tool
14
COMMENT=	A point-to-point bandwith measurement tool
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (bing-1.0.4.tar.gz) = 33533c137cbe31931ece57b1e5b9d552
1
MD5 (bing-1.0.5.tar.gz) = 6ff7c1c2f3586935ed69cbe2deb4f95b
(-)pkg-descr (+2 lines)
Lines 1-2 Link Here
1
Bing is a point-to-point bandwidth measurement tool (hence the 'b'), based
1
Bing is a point-to-point bandwidth measurement tool (hence the 'b'), based
2
on ping.  It is written by Pierre Beyssac <pb@fasterix.freenix.fr>.
2
on ping.  It is written by Pierre Beyssac <pb@fasterix.freenix.fr>.
3
4
WWW: http://www.freenix.fr/freenix/logiciels/bing.html
(-)pkg-plist (-2 / +2 lines)
Lines 1-3 Link Here
1
bin/bing
1
bin/bing
2
share/doc/bing/README
2
%%DOCSDIR%%/README
3
@dirrm share/doc/bing
3
@dirrm %%DOCSDIR%%
(-)files/patch-aa (-19 lines)
Removed Link Here
1
--- bing.c.orig	Thu Jul 20 16:45:32 1995
2
+++ bing.c	Sat Mar  4 16:13:05 2000
3
@@ -718,13 +718,13 @@
4
 	u_long l;
5
 {
6
 	struct hostent *hp;
7
-	static char buf[80];
8
+	static char buf[MAXHOSTNAMELEN+19];
9
 
10
 	if ((options & F_NUMERIC) ||
11
 	    !(hp = gethostbyaddr((char *)&l, 4, AF_INET)))
12
-		(void)sprintf(buf, "%s", inet_ntoa(*(struct in_addr *)&l));
13
+		(void)snprintf(buf, sizeof(buf), "%s", inet_ntoa(*(struct in_addr *)&l));
14
 	else
15
-		(void)sprintf(buf, "%s (%s)", hp->h_name,
16
+		(void)snprintf(buf, sizeof(buf), "%s (%s)", hp->h_name,
17
 		    inet_ntoa(*(struct in_addr *)&l));
18
 	return(buf);
19
 }

Return to bug 59911