diff options
Diffstat (limited to 'net/mtr-gtk')
-rw-r--r-- | net/mtr-gtk/DESCR | 5 | ||||
-rw-r--r-- | net/mtr-gtk/MESSAGE | 9 | ||||
-rw-r--r-- | net/mtr-gtk/Makefile | 35 | ||||
-rw-r--r-- | net/mtr-gtk/PLIST | 5 | ||||
-rw-r--r-- | net/mtr-gtk/distinfo | 7 | ||||
-rw-r--r-- | net/mtr-gtk/patches/patch-aa | 14 | ||||
-rw-r--r-- | net/mtr-gtk/patches/patch-ab | 121 |
7 files changed, 0 insertions, 196 deletions
diff --git a/net/mtr-gtk/DESCR b/net/mtr-gtk/DESCR deleted file mode 100644 index ce71350b7b7..00000000000 --- a/net/mtr-gtk/DESCR +++ /dev/null @@ -1,5 +0,0 @@ -mtr combines the functionality of the "traceroute" and "ping" programs -into a single network diagnostic tool. - -Authors: Matt Kimball <mkimball@xmission.com> is the primary author of mtr. - Roger Wolff <R.E.Wolff@BitWizard.nl> is currently maintaining mtr. diff --git a/net/mtr-gtk/MESSAGE b/net/mtr-gtk/MESSAGE deleted file mode 100644 index e5a41b21499..00000000000 --- a/net/mtr-gtk/MESSAGE +++ /dev/null @@ -1,9 +0,0 @@ -=========================================================================== -$NetBSD: MESSAGE,v 1.2 2003/05/06 17:42:12 jmmv Exp $ - - ${PREFIX}/sbin/mtr-gtk is setuid "root". - - Please read about potential security issues in - ${PREFIX}/share/doc/mtr-gtk/SECURITY - -=========================================================================== diff --git a/net/mtr-gtk/Makefile b/net/mtr-gtk/Makefile deleted file mode 100644 index 7e3c860875b..00000000000 --- a/net/mtr-gtk/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# $NetBSD: Makefile,v 1.27 2006/02/05 23:10:27 joerg Exp $ -# - -DISTNAME= mtr-0.69 -PKGNAME= ${DISTNAME:S/-/-gtk-/} -PKGREVISION= 1 -CATEGORIES= net -MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ - -MAINTAINER= sommerfeld@NetBSD.org -HOMEPAGE= http://www.bitwizard.nl/mtr/ -COMMENT= Traceroute and ping in a single graphical network diagnostic tool - -PKG_INSTALLATION_TYPES= overwrite pkgviews - -GNU_CONFIGURE= yes -USE_TOOLS+= gmake - -INSTALLATION_DIRS= man/man8 sbin - -# mtr uses libtermcap by default, but needs wattr_{on,off} from (n)curses, -# so we rewrite -ltermcap to -lncurses (which will be auto-mangled into -# -lcurses on the appropriate platforms). -BUILDLINK_TRANSFORM+= l:termcap:ncurses - -do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mtr-gtk - ${INSTALL} -c -s -m 4755 -o ${ROOT_USER} -g ${ROOT_GROUP} ${WRKSRC}/mtr ${PREFIX}/sbin/mtr-gtk - ${INSTALL_DATA} ${WRKSRC}/mtr.8 ${PREFIX}/man/man8/mtr-gtk.8 - ${INSTALL_DATA} ${WRKSRC}/SECURITY ${PREFIX}/share/doc/mtr-gtk - -.include "../../devel/ncurses/buildlink3.mk" -.include "../../x11/gtk/buildlink3.mk" - -.include "../../mk/bsd.pkg.mk" diff --git a/net/mtr-gtk/PLIST b/net/mtr-gtk/PLIST deleted file mode 100644 index fcff7c94c8b..00000000000 --- a/net/mtr-gtk/PLIST +++ /dev/null @@ -1,5 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:56:20 zuntum Exp $ -man/man8/mtr-gtk.8 -sbin/mtr-gtk -share/doc/mtr-gtk/SECURITY -@dirrm share/doc/mtr-gtk diff --git a/net/mtr-gtk/distinfo b/net/mtr-gtk/distinfo deleted file mode 100644 index 73369cb8147..00000000000 --- a/net/mtr-gtk/distinfo +++ /dev/null @@ -1,7 +0,0 @@ -$NetBSD: distinfo,v 1.12 2006/03/22 23:56:38 joerg Exp $ - -SHA1 (mtr-0.69.tar.gz) = 3fd0fa148b349d1966e0d79af0ffb84ecc7bed4b -RMD160 (mtr-0.69.tar.gz) = e95e0f27253d8d94587b429cbb65311035e93c2e -Size (mtr-0.69.tar.gz) = 183216 bytes -SHA1 (patch-aa) = 5eb4ab7bfa02095c2b7a110426dd4aa5738f0a2c -SHA1 (patch-ab) = f132e394a4b6b00f56e38333d3f49bf5c11965b9 diff --git a/net/mtr-gtk/patches/patch-aa b/net/mtr-gtk/patches/patch-aa deleted file mode 100644 index e55f5d89646..00000000000 --- a/net/mtr-gtk/patches/patch-aa +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-aa,v 1.4 2005/02/27 22:49:43 wiz Exp $ - ---- net.c.orig 2005-01-13 09:13:53.000000000 +0100 -+++ net.c -@@ -305,7 +305,9 @@ void net_send_query(int index) - rv = sendto(sendsock, packet, abs(packetsize), 0, - remotesockaddr, salen); - if (rv >= 0) { -+#if 0 - fprintf (stderr, "You've got a broken (FreeBSD?) system\n"); -+#endif - BSDfix = 1; - } - } diff --git a/net/mtr-gtk/patches/patch-ab b/net/mtr-gtk/patches/patch-ab deleted file mode 100644 index 8270639f0c2..00000000000 --- a/net/mtr-gtk/patches/patch-ab +++ /dev/null @@ -1,121 +0,0 @@ -$NetBSD: patch-ab,v 1.8 2006/03/22 23:56:38 joerg Exp $ - ---- dns.c.orig 2005-01-11 08:32:42.000000000 +0000 -+++ dns.c -@@ -28,13 +28,20 @@ - #include <sys/time.h> - #include <sys/select.h> - #include <sys/stat.h> --#include <sys/errno.h> - #include <sys/socket.h> - #include <netinet/in.h> - #include <arpa/inet.h> -+#ifdef __APPLE__ -+#include <arpa/nameser8_compat.h> -+#else - #include <arpa/nameser.h> -+#endif - #include <netdb.h> -+#ifdef __APPLE__ -+#include <resolv8_compat.h> -+#else - #include <resolv.h> -+#endif - #include <unistd.h> - #include <fcntl.h> - #include <ctype.h> -@@ -54,9 +61,6 @@ extern char *sys_errlist[]; - #define strerror(errno) (((errno) >= 0 && (errno) < sys_nerr) ? sys_errlist[errno] : "unlisted error") - #endif - --/* Hmm, it seems Irix requires this */ --extern int errno; -- - extern int af; - - /* Defines */ -@@ -294,6 +298,17 @@ char nullstring[] = ""; - - int use_dns = 1; - -+#ifdef res_ninit -+#define RES_INIT() res_ninit(&myres); -+#define RES_MKQUERY(a, b, c, d, e, f, g, h, i) \ -+ res_nmkquery(&myres, a, b, c, d, e, f, g, h, i) -+struct __res_state myres; -+#else -+#define RES_INIT() res_init(); -+#define RES_MKQUERY(a, b, c, d, e, f, g, h, i) \ -+ res_mkquery(a, b, c, d, e, f, g, h, i) -+#define myres _res -+#endif - - /* Code */ - #ifdef CorruptCheck -@@ -468,14 +483,14 @@ void dns_open(void) - { - int option,i; - -- res_init(); -- if (!_res.nscount) { -+ RES_INIT(); -+ if (!myres.nscount) { - fprintf(stderr,"No nameservers defined.\n"); - exit(-1); - } -- _res.options|= RES_RECURSE | RES_DEFNAMES | RES_DNSRCH; -- for (i = 0;i < _res.nscount;i++) -- _res.nsaddr_list[i].sin_family = AF_INET; -+ myres.options|= RES_RECURSE | RES_DEFNAMES | RES_DNSRCH; -+ for (i = 0;i < myres.nscount;i++) -+ myres.nsaddr_list[i].sin_family = AF_INET; - resfd = socket(AF_INET, SOCK_DGRAM, 0); - if (resfd == -1) { - fprintf(stderr,"Unable to allocate socket for nameserver communication: %s\n", -@@ -858,17 +873,17 @@ void dorequest(char *s,int type,word id) - { - packetheader *hp; - int r,i; -- int buf[(MaxPacketsize/sizeof (int))+1]; -+ unsigned char buf[MaxPacketsize]; - -- r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,(unsigned char*)buf,MaxPacketsize); -+ r = RES_MKQUERY(QUERY,s,C_IN,type,NULL,0,NULL,(unsigned char*)buf,MaxPacketsize); - if (r == -1) { - restell("Resolver error: Query too large."); - return; - } - hp = (packetheader *)buf; - hp->id = id; /* htons() deliberately left out (redundant) */ -- for (i = 0;i < _res.nscount;i++) -- (void)sendto(resfd,buf,r,0,(struct sockaddr *)&_res.nsaddr_list[i], -+ for (i = 0;i < myres.nscount;i++) -+ (void)sendto(resfd,buf,r,0,(struct sockaddr *)&myres.nsaddr_list[i], - sizeof(struct sockaddr)); - } - -@@ -1224,18 +1239,18 @@ void dns_ack(void) - /* Check to see if this server is actually one we sent to */ - if ( addrcmp( (void *) &(from4->sin_addr), (void *) &localhost, - (int) AF_INET ) == 0 ) { -- for (i = 0;i < _res.nscount;i++) -- if ( addrcmp( (void *) &(_res.nsaddr_list[i].sin_addr), -+ for (i = 0;i < myres.nscount;i++) -+ if ( addrcmp( (void *) &(myres.nsaddr_list[i].sin_addr), - (void *) &(from4->sin_addr), (int) AF_INET ) == 0 || -- addrcmp( (void *) &(_res.nsaddr_list[i].sin_addr), -+ addrcmp( (void *) &(myres.nsaddr_list[i].sin_addr), - (void *) &unspec_addr, (int) AF_INET ) != 0 ) /* 0.0.0.0 replies as 127.0.0.1 */ - break; - } else -- for (i = 0;i < _res.nscount;i++) -- if ( addrcmp( (void *) &(_res.nsaddr_list[i].sin_addr), -+ for (i = 0;i < myres.nscount;i++) -+ if ( addrcmp( (void *) &(myres.nsaddr_list[i].sin_addr), - (void *) &(from4->sin_addr), AF_INET ) == 0 ) - break; -- if (i == _res.nscount) { -+ if (i == myres.nscount) { - sprintf(tempstring,"Resolver error: Received reply from unknown source: %s", - inet_ntoa(from4->sin_addr )); - restell(tempstring); |