aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-12 03:51:17 +0800
committeradamw <adamw@FreeBSD.org>2014-08-12 03:51:17 +0800
commit98c4f84309a9884bc52c887ebbc0846aa620d9b7 (patch)
tree5ca2335d8bcf78ec831eceee45fb13183867f227 /dns
parentda227570e17a2cc60f8ba5886ea7bed930444eea (diff)
downloadfreebsd-ports-gnome-98c4f84309a9884bc52c887ebbc0846aa620d9b7.tar.gz
freebsd-ports-gnome-98c4f84309a9884bc52c887ebbc0846aa620d9b7.tar.zst
freebsd-ports-gnome-98c4f84309a9884bc52c887ebbc0846aa620d9b7.zip
Add dns/dnshistory. It caches DNS lookups into a BDB database. It's designed
to be used with awffull. Provide a means for storing a history of DNS/Name changes for the IP Addresses extracted from web log files. The major target being that multiple analyses of older log files do not require re-lookups of IP Address to FQDNs, and additionally maintain the accuracy of the lookup as it was then and not as it is now. WWW: http://www.stedee.id.au/dnshistory
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/dnshistory/Makefile33
-rw-r--r--dns/dnshistory/distinfo2
-rw-r--r--dns/dnshistory/pkg-descr7
4 files changed, 43 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index aaa038c55275..57a2cf8d2fcf 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -34,6 +34,7 @@
SUBDIR += dnscrypt-proxy
SUBDIR += dnsflood
SUBDIR += dnshijacker
+ SUBDIR += dnshistory
SUBDIR += dnsjava
SUBDIR += dnsmasq
SUBDIR += dnsmasq-devel
diff --git a/dns/dnshistory/Makefile b/dns/dnshistory/Makefile
new file mode 100644
index 000000000000..55eeeaa77c9d
--- /dev/null
+++ b/dns/dnshistory/Makefile
@@ -0,0 +1,33 @@
+# Created by: adamw
+# $FreeBSD$
+
+PORTNAME= dnshistory
+PORTVERSION= 1.3
+CATEGORIES= dns
+MASTER_SITES= http://www.stedee.id.au/files/
+
+MAINTAINER= adamw@FreeBSD.org
+COMMENT= Store DNS lookups to a DB
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
+
+USE_BDB= yes
+GNU_CONFIGURE= yes
+
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+PORTDOCS= COPYING ChangeLog NEWS
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.pre.mk>
+
+CPPFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
+LDFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR}
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.post.mk>
diff --git a/dns/dnshistory/distinfo b/dns/dnshistory/distinfo
new file mode 100644
index 000000000000..ef0a8db2e1f4
--- /dev/null
+++ b/dns/dnshistory/distinfo
@@ -0,0 +1,2 @@
+SHA256 (dnshistory-1.3.tar.gz) = 608f3a16ff8b99397c4361bbfc0ef28665b0c7380941cb6f89bd0d5ce3e4061b
+SIZE (dnshistory-1.3.tar.gz) = 123554
diff --git a/dns/dnshistory/pkg-descr b/dns/dnshistory/pkg-descr
new file mode 100644
index 000000000000..30b4c6beb092
--- /dev/null
+++ b/dns/dnshistory/pkg-descr
@@ -0,0 +1,7 @@
+Provide a means for storing a history of DNS/Name changes for the IP Addresses
+extracted from web log files. The major target being that multiple analyses of
+older log files do not require re-lookups of IP Address to FQDNs, and
+additionally maintain the accuracy of the lookup as it was then and not as it
+is now.
+
+WWW: http://www.stedee.id.au/dnshistory