pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/dnstop Update dnstop to 20090128.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e0183ab4480a
branches: trunk
changeset: 396468:e0183ab4480a
user: obache <obache%pkgsrc.org@localhost>
date: Sat Jul 25 10:26:17 2009 +0000
description:
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.
diffstat:
net/dnstop/Makefile | 17 ++++++++++-------
net/dnstop/distinfo | 8 ++++----
2 files changed, 14 insertions(+), 11 deletions(-)
diffs (48 lines):
diff -r f7ffbe69df40 -r e0183ab4480a net/dnstop/Makefile
--- a/net/dnstop/Makefile Sat Jul 25 07:55:47 2009 +0000
+++ b/net/dnstop/Makefile Sat Jul 25 10:26:17 2009 +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 10:26:17 obache Exp $
#
-DISTNAME= dnstop-20070219
+DISTNAME= dnstop-20090128
CATEGORIES= net
MASTER_SITES= http://dns.measurement-factory.com/tools/dnstop/src/
@@ -9,13 +9,16 @@
HOMEPAGE= http://dns.measurement-factory.com/tools/dnstop/
COMMENT= Diagnose tcpdump trace for DNS queries/replies
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 share/doc/dnstop
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} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/dnstop
.include "../../devel/ncurses/buildlink3.mk"
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.7.0
diff -r f7ffbe69df40 -r e0183ab4480a net/dnstop/distinfo
--- a/net/dnstop/distinfo Sat Jul 25 07:55:47 2009 +0000
+++ b/net/dnstop/distinfo Sat Jul 25 10:26:17 2009 +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 10:26:17 obache 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
Home |
Main Index |
Thread Index |
Old Index