NetBSD Problem Report #41779
From www@NetBSD.org Fri Jul 24 22:27:17 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 8B1F063BBD1
for <gnats-bugs@gnats.netbsd.org>; Fri, 24 Jul 2009 22:27:17 +0000 (UTC)
Message-Id: <20090724222717.5A1BE63B913@www.NetBSD.org>
Date: Fri, 24 Jul 2009 22:27:17 +0000 (UTC)
From: pettai@nordu.net
Reply-To: pettai@nordu.net
To: gnats-bugs@NetBSD.org
Subject: Update net/dnstop 20070219 -> 20090128
X-Send-Pr-Version: www-1.0
>Number: 41779
>Category: pkg
>Synopsis: Update net/dnstop 20070219 -> 20090128
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: obache
>State: closed
>Class: support
>Submitter-Id: net
>Arrival-Date: Fri Jul 24 22:30:00 +0000 2009
>Closed-Date: Sat Jul 25 10:27:00 +0000 2009
>Last-Modified: Sat Jul 25 10:30:03 +0000 2009
>Originator: Fredrik Pettai
>Release: NetBSD 5.0_STABLE
>Organization:
NORDUnet A/S
>Environment:
>Description:
Please update net/dnstop to the latest version.
Patch attached in "Fix to the problem if known".
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/dnstop/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile 2 Dec 2007 12:59:11 -0000 1.19
+++ Makefile 24 Jul 2009 22:25:03 -0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2007/12/02 12:59:11 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2009/07/25 00:16:48 pettai Exp $
#
-DISTNAME= dnstop-20070219
+DISTNAME= dnstop-20090128
CATEGORIES= net
MASTER_SITES= http://dns.measurement-factory.com/tools/dnstop/src/
@@ -9,13 +9,17 @@
HOMEPAGE= http://dns.measurement-factory.com/tools/dnstop/
COMMENT= Diagnose tcpdump trace for DNS queries/replies
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
+GNU_CONFIGURE= yes
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dnstop ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/dnstop.8 ${PREFIX}/${PKGMANDIR}/man8
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dnstop
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/dnstop
+ ${INSTALL_PROGRAM} ${WRKSRC}/dnstop ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/dnstop.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/dnstop
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/dnstop
.include "../../devel/ncurses/buildlink3.mk"
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.7.0
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/dnstop/distinfo,v
retrieving revision 1.12
diff -u -r1.12 distinfo
--- distinfo 4 Mar 2007 06:49:44 -0000 1.12
+++ distinfo 24 Jul 2009 22:25:03 -0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2007/03/04 06:49:44 dogcow Exp $
+$NetBSD: distinfo,v 1.13 2009/07/25 00:16:49 pettai Exp $
-SHA1 (dnstop-20070219.tar.gz) = 09356f1d7cf179c969c240aa7d529d4966df975a
-RMD160 (dnstop-20070219.tar.gz) = d06e164ab5358e22e9d26b688ba877801cc497ef
-Size (dnstop-20070219.tar.gz) = 16685 bytes
+SHA1 (dnstop-20090128.tar.gz) = 17eac98a9065e8b25ea13aa65b647c2b090850f1
+RMD160 (dnstop-20090128.tar.gz) = aa995e7163dcc8575e59065bcc4d6d92812aace5
+Size (dnstop-20090128.tar.gz) = 68132 bytes
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sat, 25 Jul 2009 10:08:03 +0000
Responsible-Changed-Why:
I'll take this.
State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sat, 25 Jul 2009 10:27:00 +0000
State-Changed-Why:
Updated. Thanks!
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/41779 CVS commit: pkgsrc/net/dnstop
Date: Sat, 25 Jul 2009 10:26:17 +0000
Module Name: pkgsrc
Committed By: obache
Date: Sat Jul 25 10:26:17 UTC 2009
Modified Files:
pkgsrc/net/dnstop: Makefile distinfo
Log Message:
Update dnstop to 20090128.
Based on PR 41779 by Fredrik Pettai.
Version 20090128:
I added a new feature to dnstop today that filters on "refused" response codes.
This might be useful in tracking the ongoing DNS-based DDoS attacks.
To use this new feature:
dnstop -R -f refused eth0
Version 20080321:
The interesting changes came in a patch from Dave Plonka:
Fixed a bug that cause dnstop to Memory fault when processing
a DNS packet greater than PCAP_SNAPLEN (previously 1460) bytes
in size.
Raised PCAP_SNAPLEN to 65535 to avoid truncating large DNS
packets.
Eliminated unnecessary stack buffers and memcpy calls when
handling packets.
Also some variables have been added to the Makefile at the request
of a packager so that it may be easier to customize where files are
installed, etc.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/net/dnstop/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/dnstop/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.