diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-15 11:36:32 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-15 11:36:32 +0000 |
commit | 759a8b35fc5bde2be08727b55191e5e913b3d0f7 (patch) | |
tree | 4e848102cbb5630d34c42aef6f32d2a3484b28d4 /dns/fastresolve | |
parent | fdd1d67fea2f36feb573427d25142c6f3c1af947 (diff) | |
download | ports-759a8b35fc5bde2be08727b55191e5e913b3d0f7.tar.gz ports-759a8b35fc5bde2be08727b55191e5e913b3d0f7.zip |
Notes
Diffstat (limited to 'dns/fastresolve')
-rw-r--r-- | dns/fastresolve/Makefile | 34 | ||||
-rw-r--r-- | dns/fastresolve/distinfo | 1 | ||||
-rw-r--r-- | dns/fastresolve/files/patch-configure.in | 43 | ||||
-rw-r--r-- | dns/fastresolve/pkg-comment | 1 | ||||
-rw-r--r-- | dns/fastresolve/pkg-descr | 10 | ||||
-rw-r--r-- | dns/fastresolve/pkg-plist | 13 |
6 files changed, 102 insertions, 0 deletions
diff --git a/dns/fastresolve/Makefile b/dns/fastresolve/Makefile new file mode 100644 index 000000000000..6831d168f180 --- /dev/null +++ b/dns/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/dns/fastresolve/distinfo b/dns/fastresolve/distinfo new file mode 100644 index 000000000000..5cff43aa88c1 --- /dev/null +++ b/dns/fastresolve/distinfo @@ -0,0 +1 @@ +MD5 (fastresolve-2.8.tar.bz2) = 246a80314c7330f71117913bdf7ddc03 diff --git a/dns/fastresolve/files/patch-configure.in b/dns/fastresolve/files/patch-configure.in new file mode 100644 index 000000000000..04094e1eb987 --- /dev/null +++ b/dns/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/dns/fastresolve/pkg-comment b/dns/fastresolve/pkg-comment new file mode 100644 index 000000000000..c92a7c93c772 --- /dev/null +++ b/dns/fastresolve/pkg-comment @@ -0,0 +1 @@ +Programs that process web logs to get DNS and domain ownership info diff --git a/dns/fastresolve/pkg-descr b/dns/fastresolve/pkg-descr new file mode 100644 index 000000000000..40bd79a4eed4 --- /dev/null +++ b/dns/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/dns/fastresolve/pkg-plist b/dns/fastresolve/pkg-plist new file mode 100644 index 000000000000..9feca9d40935 --- /dev/null +++ b/dns/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 |