Permalink
Browse files

FreeBSD ports-current 99.9.3

  • Loading branch information...
1 parent 6c6ccf3 commit afb56c3181794fb7c806e9372d2362c7653a11ef itojun committed Sep 2, 1999
View
45 freebsd3/ports/mtr/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: mtr
+# Version required: 0.28
+# Date created: 12 August 1998
+# Whom: Bill Fumerola <billf@chc-chimes.com>
+#
+# $FreeBSD$
+#
+
+DISTNAME= mtr-0.39
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
+ http://www.giovannelli.it/~gmarco/files/
+
+MAINTAINER= billf@FreeBSD.org
+
+HAS_CONFIGURE= yes
+
+MAN8= mtr.8
+
+pre-patch:
+.if !defined(USE_GTK)
+ @${ECHO} ""
+ @${ECHO} "If you want to compile with GTK support,"
+ @${ECHO} "hit Ctrl-C right now and use \"make USE_GTK=yes\" "
+ @${ECHO} ""
+CONFIGURE_ARGS=--with-gtk-prefix=/nopath
+.else
+USE_XLIB= yes
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
+.endif
+
+do-install:
+ ${INSTALL} -c -s -m 4755 -o root -g wheel ${WRKSRC}/mtr ${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/mtr.8 ${PREFIX}/man/man8
+
+post-install:
+ @${ECHO} ""
+ @${ECHO} "${PREFIX}/sbin/mtr is setuid \"root\" "
+ @${ECHO} ""
+ @${ECHO} "Please read about potential security iussues"
+ @${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
+ @${ECHO} ""
+
+.include <bsd.port.mk>
View
1 freebsd3/ports/mtr/files/md5
@@ -0,0 +1 @@
+MD5 (mtr-0.39.tar.gz) = be918c0b078c2d63ec3d8243c557c189
View
9 freebsd3/ports/mtr/patches/patch-01
@@ -0,0 +1,9 @@
+--- net.c.orig Wed Jun 9 11:06:27 1999
++++ net.c Wed Jul 14 02:03:23 1999
+@@ -205,5 +205,5 @@
+ (struct sockaddr *)&remoteaddress, sizeof(remoteaddress));
+ if (rv >= 0) {
+- fprintf (stderr, "You've got a broken (FreeBSD?) system\n");
++ /* fprintf (stderr, "You've got a broken (FreeBSD?) system\n"); */
+ BSDfix = 1;
+ }
View
11 freebsd3/ports/mtr/patches/patch-02
@@ -0,0 +1,11 @@
+--- dns.c.orig Wed Jun 9 11:09:20 1999
++++ dns.c Tue Aug 10 01:21:12 1999
+@@ -751,7 +751,7 @@
+ 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,buf,MaxPacketsize);
+ if (r == -1){
+ restell("Resolver error: Query too large.");
View
1 freebsd3/ports/mtr/pkg/COMMENT
@@ -0,0 +1 @@
+Traceroute and ping in a single graphical network diagnostic tool
View
10 freebsd3/ports/mtr/pkg/DESCR
@@ -0,0 +1,10 @@
+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 maintaing mtr.
+WWW: http://www.bitwizard.nl/mtr
+
+Ported to FreeBSD by:
+Bill Fumerola (billf@chc-chimes.com)
+Gianmarco Giovannelli (gmarco@giovannelli.it)
View
1 freebsd3/ports/mtr/pkg/PLIST
@@ -0,0 +1 @@
+sbin/mtr

0 comments on commit afb56c3

Please sign in to comment.