From owner-freebsd-ports Fri Apr 9 23:52:19 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8D8A41512B for ; Fri, 9 Apr 1999 23:52:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id XAA20595; Fri, 9 Apr 1999 23:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from kirk.giovannelli.it (kirk.giovannelli.it [194.184.65.4]) by hub.freebsd.org (Postfix) with ESMTP id 927FC15048 for ; Fri, 9 Apr 1999 23:44:15 -0700 (PDT) (envelope-from gmarco@giovannelli.it) Received: from suzy (modem30.masternet.it [194.184.65.40]) by kirk.giovannelli.it (8.9.3/8.9.2) with SMTP id GAA05786; Sat, 10 Apr 1999 06:41:50 GMT (envelope-from gmarco@giovannelli.it) Message-Id: <4.1.19990410083128.00968100@194.184.65.4> Date: Sat, 10 Apr 1999 08:43:06 +0200 From: Gianmarco Giovannelli To: FreeBSD-gnats-submit@freebsd.org Cc: billf@chc-chimes.com Subject: ports/11053: Update port: net/mtr-0.28 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11053 >Category: ports >Synopsis: Update port: net/mtr-0.28 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 9 23:50:02 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Gianmarco Giovannelli >Release: FreeBSD 4.0-CURRENT i386 >Organization: < Private > >Environment: FreeBSD gmarco.eclipse.org 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Fri Apr 9 10:04:01 CEST 1999 gmarco@gmarco.eclipse.org:/usr/src/sys/compile/GMARCO i386 >Description: This update mtr to version 0.35 Please close pr# 10613 (was updated to 0.33) portlint find only a warning about position of LIB_DEPENDS= gtk12.1 because now it is inside an .if I removed also the patchfiles because the port compile fine after configuring... >How-To-Repeat: >Fix: diff -ruN mtr.old/Makefile mtr/Makefile --- mtr.old/Makefile Tue Mar 2 00:58:35 1999 +++ mtr/Makefile Sat Apr 10 08:31:57 1999 @@ -3,25 +3,43 @@ # Date created: 12 August 1998 # Whom: Bill Fumerola # -# $Id: Makefile,v 1.7 1999/03/01 22:15:45 billf Exp $ +# $Id:$ # -DISTNAME= mtr-0.28 +DISTNAME= mtr-0.35 CATEGORIES= net MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \ - http://www.FreeBSD.org/~billf/distfiles/ + http://www.giovannelli.it/~gmarco/files/ MAINTAINER= billf@FreeBSD.org -LIB_DEPENDS= gtk10.1:${PORTSDIR}/x11-toolkits/gtk10 - -USE_AUTOCONF= yes -USE_XLIB= yes -CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk10-config" +HAS_CONFIGURE= yes MAN8= mtr.8 +pre-fetch: +.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.1:${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: - @chown root ${PREFIX}/sbin/mtr + @${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 diff -ruN mtr.old/files/md5 mtr/files/md5 --- mtr.old/files/md5 Wed Nov 4 08:26:14 1998 +++ mtr/files/md5 Sat Apr 10 08:19:46 1999 @@ -1 +1 @@ -MD5 (mtr-0.28.tar.gz) = 40074f51f01fbd295f330401175f9223 +MD5 (mtr-0.35.tar.gz) = 98cf2e0ca3846329e789bd013e55da60 diff -ruN mtr.old/patches/patch-ab mtr/patches/patch-ab --- mtr.old/patches/patch-ab Wed Nov 4 04:47:25 1998 +++ mtr/patches/patch-ab Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- split.c.old Tue Nov 3 16:33:14 1998 -+++ split.c Tue Nov 3 16:33:24 1998 -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - - #include "display.h" - #include "dns.h" - diff -ruN mtr.old/patches/patch-ac mtr/patches/patch-ac --- mtr.old/patches/patch-ac Mon Mar 1 23:16:51 1999 +++ mtr/patches/patch-ac Thu Jan 1 01:00:00 1970 @@ -1,20 +0,0 @@ ---- net.c.orig Mon Nov 2 04:11:36 1998 -+++ net.c Mon Mar 1 17:02:53 1999 -@@ -136,7 +136,7 @@ - - ip->version = 0x45; - ip->tos = 0; -- ip->len = htons (packetsize); -+ ip->len = /* htons */ (packetsize); - ip->id = 0; - ip->frag = 0; - ip->ttl = 127; -@@ -178,7 +178,7 @@ - - ip->version = 0x45; - ip->tos = 0; -- ip->len = htons (packetsize); -+ ip->len = /* htons */ (packetsize); - ip->id = 0; - ip->frag = 0; - ip->ttl = hops; diff -ruN mtr.old/pkg/DESCR mtr/pkg/DESCR --- mtr.old/pkg/DESCR Wed Nov 4 08:26:14 1998 +++ mtr/pkg/DESCR Sat Apr 10 08:24:38 1999 @@ -1,6 +1,12 @@ mtr combines the functionality of the "traceroute" and "ping" programs into a single network diagnostic tool. -http://www.bitwizard.nl/mtr +Authors: Matt Kimball is the primary author of mtr. + Roger Wolff is currently maintaing mtr. +Homepage: http://www.bitwizard.nl/mtr +Distfile: mtr-0.35.tar.gz (80 kb) + +Ported to FreeBSD by: Bill Fumerola (billf@chc-chimes.com) +Gianmarco Giovannelli (gmarco@giovannelli.it) Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.giovannelli.it/~gmarco http://www2.masternet.it >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message