diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-07-15 11:36:32 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-07-15 11:36:32 +0000 |
commit | f27f75dcfbc34ce4929755aad32e8ed9c3a1fb20 (patch) | |
tree | aec11568f59a627a648511aac885b17d0a382030 /sysutils/fastresolve | |
parent | 079cf3fdbbf927a7eeb352f9ae85b7598d53f49a (diff) | |
download | FreeBSD-ports-f27f75dcfbc34ce4929755aad32e8ed9c3a1fb20.zip FreeBSD-ports-f27f75dcfbc34ce4929755aad32e8ed9c3a1fb20.tar.gz |
add fastresolve 2.8
Programs that process web logs to get DNS and domain ownership info
PR: 40587
Submitted by: Amar Takhar <verm@drunkmonk.net>
Diffstat (limited to 'sysutils/fastresolve')
-rw-r--r-- | sysutils/fastresolve/Makefile | 34 | ||||
-rw-r--r-- | sysutils/fastresolve/distinfo | 1 | ||||
-rw-r--r-- | sysutils/fastresolve/files/patch-configure.in | 43 | ||||
-rw-r--r-- | sysutils/fastresolve/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/fastresolve/pkg-descr | 10 | ||||
-rw-r--r-- | sysutils/fastresolve/pkg-plist | 13 |
6 files changed, 102 insertions, 0 deletions
diff --git a/sysutils/fastresolve/Makefile b/sysutils/fastresolve/Makefile new file mode 100644 index 0000000..6831d16 --- /dev/null +++ b/sysutils/fastresolve/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: fastresolve +# Date created: 11 June 2002 +# Whom: verm@drunkmonk.net +# +# $FreeBSD$ +# + +PORTNAME= fastresolve +PORTVERSION= 2.8 +CATEGORIES= sysutils +MASTER_SITES= http://www.pix.net/staff/djm/sw/dist/ + +MAINTAINER= verm@drunkmonk.net + +LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3 \ + adns.1:${PORTSDIR}/net/adns + +USE_BZIP2= yes +USE_GMAKE= yes +USE_AUTOMAKE= yes +AUTOMAKE_ARGS= -a +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \ + CXXFLAGS="-I${LOCALBASE}/include/db3 -I${LOCALBASE}/include" + +MAN1= dns-terror.1 btree-dump.1 convert-dom-db.1 convert-ip-db.1 \ + expire-ip-db.1 getdominfo.1 rebuild-dom-db.1 rebuild-ip-db.1 \ + reresolve.1 make-report.1 + +.include <bsd.port.pre.mk> + +pre-configure: + @(cd ${WRKSRC} && aclocal14) + +.include <bsd.port.post.mk> diff --git a/sysutils/fastresolve/distinfo b/sysutils/fastresolve/distinfo new file mode 100644 index 0000000..5cff43a --- /dev/null +++ b/sysutils/fastresolve/distinfo @@ -0,0 +1 @@ +MD5 (fastresolve-2.8.tar.bz2) = 246a80314c7330f71117913bdf7ddc03 diff --git a/sysutils/fastresolve/files/patch-configure.in b/sysutils/fastresolve/files/patch-configure.in new file mode 100644 index 0000000..04094e1 --- /dev/null +++ b/sysutils/fastresolve/files/patch-configure.in @@ -0,0 +1,43 @@ +--- configure.in.orig Wed Nov 15 14:50:37 2000 ++++ configure.in Tue Jun 11 06:16:24 2002 +@@ -27,26 +27,26 @@ + [dnl Check for a C++ interface, either version. + + dnl 2.x. +-AC_CACHE_CHECK([for Db::open in -ldb], djm_cv_lib_db_Dbopen, ++AC_CACHE_CHECK([for Db::open in -ldb3], djm_cv_lib_db_Dbopen, + [AC_LANG_SAVE + AC_LANG_CPLUSPLUS + djm_save_LIBS="$LIBS" +-LIBS="$LIBS -ldb" ++LIBS="$LIBS -ldb3" + AC_TRY_LINK([#include <db_cxx.h>], [Db::open(NULL, DB_BTREE, DB_CREATE, 0, NULL, NULL, NULL);], + djm_cv_lib_db_Dbopen=yes, djm_cv_lib_db_Dbopen=no) + LIBS="$djm_save_LIBS" + AC_LANG_RESTORE]) + + if test $djm_cv_lib_db_Dbopen = yes; then +- LIBS="$LIBS -ldb" ++ LIBS="$LIBS -ldb3" + else + + dnl 3.x. +-AC_CACHE_CHECK([for Db::open in -ldb_cxx], djm_cv_lib_db_cxx_Dbopen, ++AC_CACHE_CHECK([for Db::open in -ldb3_cxx], djm_cv_lib_db_cxx_Dbopen, + [AC_LANG_SAVE + AC_LANG_CPLUSPLUS + djm_save_LIBS="$LIBS" +-LIBS="$LIBS -ldb -ldb_cxx" ++LIBS="$LIBS -ldb3 -ldb3_cxx" + AC_TRY_LINK([#include <db_cxx.h>], [Db *d = new Db(NULL, 0); + d->open(NULL, NULL, DB_BTREE, DB_CREATE, 0);], + djm_cv_lib_db_cxx_Dbopen=yes, djm_cv_lib_db_cxx_Dbopen=no) +@@ -54,7 +54,7 @@ + AC_LANG_RESTORE]) + + if test $djm_cv_lib_db_cxx_Dbopen = yes; then +- LIBS="$LIBS -ldb -ldb_cxx" ++ LIBS="$LIBS -ldb3 -ldb3_cxx" + else + AC_MSG_ERROR([Berkeley DB library 2.x or 3.x configured with --enable-cxx is required]) + fi diff --git a/sysutils/fastresolve/pkg-comment b/sysutils/fastresolve/pkg-comment new file mode 100644 index 0000000..c92a7c9 --- /dev/null +++ b/sysutils/fastresolve/pkg-comment @@ -0,0 +1 @@ +Programs that process web logs to get DNS and domain ownership info diff --git a/sysutils/fastresolve/pkg-descr b/sysutils/fastresolve/pkg-descr new file mode 100644 index 0000000..40bd79a --- /dev/null +++ b/sysutils/fastresolve/pkg-descr @@ -0,0 +1,10 @@ +Fastresolve is a package of programs to process web log files to get DNS +and domain ownership information for log analysis. It sends out many +queries in parallel, and caches results, for speed. Its DNS resolver is +about 10 times as fast as logresolve.pl from the Apache 1.3.9 +distribution, and about 50 times as fast as logresolve.c from that +distribution. It is 5-20 times as fast as the adnslogres program that +comes with the adns library, and about 3 times as fast as jdresolve, +which is a Perl program that uses similar algorithms. + +WWW: http://www.pix.net/staff/djm/sw/fastresolve/ diff --git a/sysutils/fastresolve/pkg-plist b/sysutils/fastresolve/pkg-plist new file mode 100644 index 0000000..9feca9d --- /dev/null +++ b/sysutils/fastresolve/pkg-plist @@ -0,0 +1,13 @@ +bin/dns-terror +bin/btree-dump +bin/convert-dom-db +bin/convert-ip-db +bin/expire-ip-db +bin/getdominfo +bin/rebuild-dom-db +bin/rebuild-ip-db +bin/reresolve +bin/make-report +share/fastresolve/AddrCycle.pm +share/fastresolve/analog.cfg +@dirrm share/fastresolve |