From owner-svn-ports-head@freebsd.org Sun Jan 5 04:07:54 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9AE251D7D31; Sun, 5 Jan 2020 04:07:54 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47r4qZ35cPz3Kp2; Sun, 5 Jan 2020 04:07:54 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5CB901FCC4; Sun, 5 Jan 2020 04:07:54 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00547sAP049198; Sun, 5 Jan 2020 04:07:54 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00547riE049196; Sun, 5 Jan 2020 04:07:53 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202001050407.00547riE049196@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 5 Jan 2020 04:07:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522094 - in head/net/mtr: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/net/mtr: . files X-SVN-Commit-Revision: 522094 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2020 04:07:54 -0000 Author: sunpoet Date: Sun Jan 5 04:07:53 2020 New Revision: 522094 URL: https://svnweb.freebsd.org/changeset/ports/522094 Log: Update to 0.93 Changes: https://github.com/traviscross/mtr/blob/master/NEWS Added: head/net/mtr/files/patch-packet-probe_unix.c (contents, props changed) Deleted: head/net/mtr/files/patch-ui-mtr.c Modified: head/net/mtr/Makefile head/net/mtr/distinfo Modified: head/net/mtr/Makefile ============================================================================== --- head/net/mtr/Makefile Sun Jan 5 04:07:48 2020 (r522093) +++ head/net/mtr/Makefile Sun Jan 5 04:07:53 2020 (r522094) @@ -2,11 +2,9 @@ # $FreeBSD$ PORTNAME= mtr -PORTVERSION= 0.92 -PORTREVISION= 1 +PORTVERSION= 0.93 +DISTVERSIONPREFIX= v CATEGORIES= net -MASTER_SITES= https://www.bitwizard.nl/mtr/files/ \ - LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Traceroute and ping in a single network diagnostic tool @@ -14,26 +12,27 @@ COMMENT= Traceroute and ping in a single network diagn LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING +USES= autoreconf ncurses pkgconfig + +GNU_CONFIGURE= yes +LDFLAGS+= -lncurses + +GH_ACCOUNT= traviscross +USE_GITHUB= yes + CONFLICTS_INSTALL?= mtr-nox11 OPTIONS_DEFINE= IPV6 X11 OPTIONS_DEFAULT=X11 X11_DESC= Build X11-enabled mtr -USES= autoreconf ncurses pkgconfig - -GNU_CONFIGURE= yes -LDFLAGS+= -lncurses - IPV6_CONFIGURE_ENABLE= ipv6 X11_CONFIGURE_WITH= gtk X11_USE= GNOME=gtk20 X11_USES= gnome post-patch: - @${REINPLACE_CMD} -e 's|getopt.*$$(OBJEXT)||g; s|getopt.*[ch]||g; /getopt.*Po/d' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|m4_esyscmd(\[build-aux/git-version-gen \.tarball-version\])|${PORTVERSION}|' ${WRKSRC}/configure.ac - @${REINPLACE_CMD} -e 's|"getopt\.h"||g' ${WRKSRC}/ui/mtr.c post-install: @${ECHO_MSG} "" Modified: head/net/mtr/distinfo ============================================================================== --- head/net/mtr/distinfo Sun Jan 5 04:07:48 2020 (r522093) +++ head/net/mtr/distinfo Sun Jan 5 04:07:53 2020 (r522094) @@ -1,3 +1,3 @@ -TIMESTAMP = 1496491441 -SHA256 (mtr-0.92.tar.gz) = f2979db9e2f41aa8e6574e7771767c9afe111d9213814eb47f5e1e71876e4382 -SIZE (mtr-0.92.tar.gz) = 296430 +TIMESTAMP = 1578125689 +SHA256 (traviscross-mtr-v0.93_GH0.tar.gz) = 3a1ab330104ddee3135af3cfa567b9608001c5deecbf200c08b545ed6d7a4c8f +SIZE (traviscross-mtr-v0.93_GH0.tar.gz) = 142148 Added: head/net/mtr/files/patch-packet-probe_unix.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mtr/files/patch-packet-probe_unix.c Sun Jan 5 04:07:53 2020 (r522094) @@ -0,0 +1,25 @@ +--- packet/probe_unix.c.orig 2019-08-03 08:31:26 UTC ++++ packet/probe_unix.c +@@ -798,6 +798,7 @@ void receive_replies_from_recv_socket( + #endif + + #ifdef SO_PROTOCOL ++#ifdef HAVE_LINUX_ERRQUEUE_H + if (icmp_connrefused_received) { + /* using ICMP type ICMP_ECHOREPLY is not a bug, it is an + indication of successfully reaching dst host. +@@ -815,11 +816,14 @@ void receive_replies_from_recv_socket( + packet, packet_length, ×tamp); + } else { + #endif ++#endif + /* ICMP packets received from raw socket */ + handle_received_packet(net_state, &remote_addr, packet, + packet_length, ×tamp); + #ifdef SO_PROTOCOL ++#ifdef HAVE_LINUX_ERRQUEUE_H + } ++#endif + #endif + } + }