NetBSD Problem Report #46330
From www@NetBSD.org Fri Apr 13 16:43:38 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id E483963BBEC
for <gnats-bugs@gnats.NetBSD.org>; Fri, 13 Apr 2012 16:43:37 +0000 (UTC)
Message-Id: <20120413164337.1CCBE63B9FE@www.NetBSD.org>
Date: Fri, 13 Apr 2012 16:43:37 +0000 (UTC)
From: mjl@luckie.org.nz
Reply-To: mjl@luckie.org.nz
To: gnats-bugs@NetBSD.org
Subject: [patch] update pkgsrc/net/scamper to 20111202b
X-Send-Pr-Version: www-1.0
>Number: 46330
>Category: pkg
>Synopsis: [patch] update pkgsrc/net/scamper to 20111202b
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Apr 13 16:45:00 +0000 2012
>Closed-Date: Mon Apr 16 06:19:29 +0000 2012
>Last-Modified: Mon Apr 16 06:35:04 +0000 2012
>Originator: Matthew Luckie
>Release: 5.1.2
>Organization:
>Environment:
NetBSD netbsd.caida.org 5.1.2 NetBSD 5.1.2 (GENERIC) #0: Thu Feb 2 17:22:10 UTC 2012 builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-2-RELEASE/i386/201202021012Z-obj/home/builds/ab/netbsd-5-1-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
update pkgsrc/net/scamper from 20110503 to 20111202b. Changelogs:
http://www.wand.net.nz/pipermail/scamper-announce/2011-May/000010.html
http://www.wand.net.nz/pipermail/scamper-announce/2011-June/000011.html
http://www.wand.net.nz/pipermail/scamper-announce/2011-August/000012.html
http://www.wand.net.nz/pipermail/scamper-announce/2011-December/000013.html
http://www.wand.net.nz/pipermail/scamper-announce/2012-March/000014.html
http://www.wand.net.nz/pipermail/scamper-announce/2012-April/000015.html
>How-To-Repeat:
NA
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/scamper/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile 3 May 2011 11:51:12 -0000 1.11
+++ Makefile 13 Apr 2012 16:36:08 -0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.11 2011/05/03 11:51:12 obache Exp $
#
-DISTNAME= scamper-cvs-20110503
+DISTNAME= scamper-cvs-20111202b
PKGNAME= ${DISTNAME:S/-cvs//}
CATEGORIES= net
MASTER_SITES= http://www.wand.net.nz/scamper/
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/net/scamper/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST 30 Apr 2011 11:35:26 -0000 1.2
+++ PLIST 13 Apr 2012 16:36:08 -0000
@@ -31,3 +31,6 @@
man/man1/sc_wartscat.1
man/man1/sc_wartsdump.1
man/man1/scamper.1
+man/man3/libscamperfile.3
+man/man5/warts.5
+
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/scamper/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo 3 May 2011 11:51:12 -0000 1.7
+++ distinfo 13 Apr 2012 16:36:08 -0000
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.7 2011/05/03 11:51:12 obache Exp $
-SHA1 (scamper-cvs-20110503.tar.gz) = 65eb854a359a4f084f0d9616adfca617d5e6cb48
-RMD160 (scamper-cvs-20110503.tar.gz) = 2f3e1d25f1b5f36527f532078900a15d2f36aadc
-Size (scamper-cvs-20110503.tar.gz) = 1087267 bytes
+SHA1 (scamper-cvs-20111202b.tar.gz) = cb4a2aff46afd05618e7134b7edf3bc2e0f84300
+RMD160 (scamper-cvs-20111202b.tar.gz) = cf1e43c4f50d03a44df2b32b3127ffe90f4b1723
+Size (scamper-cvs-20111202b.tar.gz) = 1118438 bytes
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: markd@NetBSD.org
State-Changed-When: Mon, 16 Apr 2012 06:19:29 +0000
State-Changed-Why:
update applied. thanks
From: "Mark Davies" <markd@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/46330 CVS commit: pkgsrc/net/scamper
Date: Mon, 16 Apr 2012 06:09:48 +0000
Module Name: pkgsrc
Committed By: markd
Date: Mon Apr 16 06:09:48 UTC 2012
Modified Files:
pkgsrc/net/scamper: Makefile PLIST distinfo
Log Message:
Update to 20111202b (PR pkg/46330)
* provide documentation for libscamperfile
* fix ping -O spoof
* fix tracelb and sniff bugs that cause scamper to crash
* fix sc_analysis_dump, sc_warts2pcap, and sc_wartscat man pages
* fix sc_warts2text to read from stdin if no files specified
* add -a (all) -m (pair method) and -n (use dns) options to sc_tracediff
* initial draft of a man page for the warts file format.
man 5 warts.
* provide -O copyout option to scamper itself, which allows all
data written over the control socket in "attach" mode to also
be sent to a named file. useful for debugging. documented
in the scamper man page.
* provide ability to specify the source address of a PTB in tbit.
* in attach mode, each command now returns a command ID as part
of the OK response. a command may be halted before it completes
by issuing a halt command over the same control socket.
* when sanity checking the probe size requested in ping, take
account of the timestamp IP option correctly. noticed by
Alistair.
* fix scamper man page to say -d can be used to set the ICMP checksum
value in Paris traceroute. noticed by Alistair.
* add scamper_addr_netaddr, a routine to mask the network portion of
an IP address in a scamper_addr_t.
* fix scamper's ping to actually set the tos byte that is passed in.
noticed by Alistair.
* fix scamper's ping to record ICMPv6 PTB messages.
* fix the result code set on sniff tasks when a sniff task is halted.
* fix compiler warnings
* correct copyright notices to reflect that, until 2006,
I have copyright. No change to GPLv2 license.
* Switch from select(2) to poll(2) by default, which is useful
when more than a thousand fds are monitored for events.
Force the use of select instead of poll by invoking scamper
with -O select.
* Add support for kqueue (BSD) and epoll (Linux). To use,
specify -O kqueue or -O epoll when scamper is invoked.
* Fix a bug that could allow scamper to enter an infinite
loop if a packet with malformed IP options is received.
* Add support for raw IP sockets, and use these to send
TCP probes in traceroute if the datalink socket can't be
used to transmit.
* Set SO_REUSEADDR on TCP sockets.
* Add a new traceroute method: IPv6 fragment traceroute.
specify the offset to encode in the fragment offset with -o
* Fix file support so that if '-' is specified as the source of
addresses to probe stdin is read, rather than stdout. ensure
the file is closed if an error is encountered when opening a
file.
* Fix bug in MDA traceroute where some TCP responses from the
target were ignored.
* Fix a potential memory leak in the neighbour discovery code
* Implement code to calculate statistics (min/mean/max/stddev)
on ping results.
* Detach the writebuf before closing an attached control socket
* Silence all clang static analysis warnings.
* do not output scamper_debug to stderr if NDEBUG has been specified
* fix logic when -O rawtcp is used with tcptraceroute
* fix scamper event loop to drain sockets that are currently
unreferenced
* fix scamper event loop to handle POLLHUP
* fix double-frees in scamper_sources.c
* fix small memory leak in scamper_sources.c, noticed by Stephen
* fix uname_wrap on 64bit systems, noticed by Stephen
* do not print "cat" when the -e option is used with sc_analysis_dump.
* fix mixing of sources according to their priority.
* when building the scamper binary, do not use the libscamperfile
library. instead, build all code into scamper to ensure scamper
itself will always work.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/net/scamper/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/scamper/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/scamper/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.