FreeBSD Bugzilla – Attachment 90292 Details for
Bug 127433
[new port] dns/dnscap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 3.58 KB, created by
edwin
on 2008-09-17 06:10:00 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
edwin
Created:
2008-09-17 06:10:00 UTC
Size:
3.58 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># dnscap ># dnscap/Makefile ># dnscap/distinfo ># dnscap/pkg-descr ># dnscap/files ># dnscap/files/patch-Makefile ># dnscap/files/patch-dump_dns.c ># >echo c - dnscap >mkdir -p dnscap > /dev/null 2>&1 >echo x - dnscap/Makefile >sed 's/^X//' >dnscap/Makefile << '1deed7291fb2fac40824a110f8e6e56b' >X# >X# Ports collection makefile for: dns/dnscap >X# Whom: Edwin Groothuis <edwin@mavetju.org> >X# Date created: 2008-09-17 >X# >X# $FreeBSD$ >X >XPORTNAME= dnscap >XDISTVERSION= 1.0-RC6 >XCATEGORIES= dns >XMASTER_SITES= http://www.mavetju.org/download/adopted/ >X >XMAINTAINER= edwin@mavetju.org >XCOMMENT= DNS network traffic capture utility >X >XUSE_BZIP2= yes >X >XWRKSRC= ${WRKDIR}/dnscap/ >X >XMAN1= dnscap.1 >XPLIST_FILES= bin/dnscap >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/dnscap ${PREFIX}/bin >X ${INSTALL_MAN} ${WRKSRC}/dnscap.1 ${PREFIX}/man/man1 >X >X.include <bsd.port.mk> >1deed7291fb2fac40824a110f8e6e56b >echo x - dnscap/distinfo >sed 's/^X//' >dnscap/distinfo << '55d9c32b907aede2f24123b0fae22064' >XMD5 (dnscap-1.0-RC6.tar.bz2) = 2a863029f2eba59891ea3b4fb52c40c2 >XSHA256 (dnscap-1.0-RC6.tar.bz2) = 7751ff964c09ffb0b1a8ce82358546232a3980ef59e305522ccfd260ff6dad52 >XSIZE (dnscap-1.0-RC6.tar.bz2) = 18777 >55d9c32b907aede2f24123b0fae22064 >echo x - dnscap/pkg-descr >sed 's/^X//' >dnscap/pkg-descr << '9cf15bd537a01db08765874b6f4cd0e9' >Xdnscap is a network capture utility designed specifically for DNS >Xtraffic. It normally produces binary data in pcap(3) format, either >Xon standard output or in successive dump files (based on the -w >Xcommand line option.) This utility is similar to tcpdump(1), but >Xhas finer grained packet recognition tailored to DNS transactions >Xand protocol options. dnscap is expected to be used for gathering >Xcontinuous research or audit traces. >X >XWWW: https://www.dns-oarc.net/tools/dnscap >9cf15bd537a01db08765874b6f4cd0e9 >echo c - dnscap/files >mkdir -p dnscap/files > /dev/null 2>&1 >echo x - dnscap/files/patch-Makefile >sed 's/^X//' >dnscap/files/patch-Makefile << '9763ae46f8617bfdddd291a2cf0ee014' >XRCS file: /proj/cvsroot/dnscap/Makefile,v >Xretrieving revision 1.17 >Xdiff -u -r1.17 Makefile >X--- Makefile 22 Apr 2008 00:37:44 -0000 1.17 >X+++ Makefile 17 Sep 2008 04:49:10 -0000 >X@@ -50,6 +50,8 @@ >X #PORTLIBS= -lhplx >X >X # uncomment these if you're building on FreeBSD or where fp_nquery() is in libc >X+HAVE_BINDLIB= 9 >X+BINDLIB= -lbind9 >X #PORTCFLAGS= >X #PORTLDFLAGS= >X #PORTLIBS= >9763ae46f8617bfdddd291a2cf0ee014 >echo x - dnscap/files/patch-dump_dns.c >sed 's/^X//' >dnscap/files/patch-dump_dns.c << '5f43bf383892216df6be42ab0ecd2aba' >Xdiff -u -r1.2 dump_dns.c >X--- dump_dns.c 14 Mar 2008 21:33:28 -0000 1.2 >X+++ dump_dns.c 17 Sep 2008 04:49:12 -0000 >X@@ -61,7 +61,6 @@ >X #include <time.h> >X #include <unistd.h> >X >X-extern const char *_res_opcodes[]; >X extern const char *_res_sectioncodes[]; >X #define p_rcode __p_rcode >X extern const char *p_rcode(int rcode); >X@@ -87,6 +86,26 @@ >X (cp) += INT32SZ; \ >X } while (0) >X >X+ >X+const char *_res_opcodes[] = { >X+ "QUERY", >X+ "IQUERY", >X+ "CQUERYM", >X+ "CQUERYU", /*%< experimental */ >X+ "NOTIFY", /*%< experimental */ >X+ "UPDATE", >X+ "6", >X+ "7", >X+ "8", >X+ "9", >X+ "10", >X+ "11", >X+ "12", >X+ "13", >X+ "ZONEINIT", >X+ "ZONEREF", >X+}; >X+ >X #include "dump_dns.h" >X >X void >5f43bf383892216df6be42ab0ecd2aba >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 127433
: 90292