summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-07-25 10:26:17 +0000
committerobache <obache@pkgsrc.org>2009-07-25 10:26:17 +0000
commitfe5b33622af3518c8afbdc481a2b548a96d1f69a (patch)
tree9361e880491aa42f39ed9cd4962b2ed1fa45458d /net
parent9a67a3750708678456e8cdc3d0c43565a3cf18db (diff)
downloadpkgsrc-fe5b33622af3518c8afbdc481a2b548a96d1f69a.tar.gz
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 (limited to 'net')
-rw-r--r--net/dnstop/Makefile17
-rw-r--r--net/dnstop/distinfo8
2 files changed, 14 insertions, 11 deletions
diff --git a/net/dnstop/Makefile b/net/dnstop/Makefile
index c9089722e3e..631b7d47c88 100644
--- a/net/dnstop/Makefile
+++ b/net/dnstop/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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 --git a/net/dnstop/distinfo b/net/dnstop/distinfo
index 68af683fee5..d337b784ff2 100644
--- a/net/dnstop/distinfo
+++ b/net/dnstop/distinfo
@@ -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