Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2002 02:34:14 -0600 (MDT)
From:      Amar Takhar <verm@drunkmonk.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40587: new port: sysutils/fastresolve 
Message-ID:  <200207150834.g6F8YEMg020558@jolly.drunkmonk.net>

next in thread | raw e-mail | index | archive | help

>Number:         40587
>Category:       ports
>Synopsis:       new port: sysutils/fastresolve
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 15 01:40:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Amar Takhar
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:

>Description:

Fastresolve parses web log files extremely quickly (reverse DNS lookup / domain
ownership info, etc..)

>How-To-Repeat:

>Fix:

# 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:
#
#	fastresolve/Makefile
#	fastresolve/distinfo
#	fastresolve/files
#	fastresolve/pkg-comment
#	fastresolve/pkg-descr
#	fastresolve/pkg-plist
#	fastresolve/files/patch-aa
#
echo x - fastresolve/Makefile
sed 's/^X//' >fastresolve/Makefile << 'END-of-fastresolve/Makefile'
X# New ports collection makefile for:	fastresolve
X# Date created:		11 June 2002
X# Whom:			verm@drunkmonk.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fastresolve
XPORTVERSION=	2.8
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.pix.net/staff/djm/sw/dist/
XEXTRACT_SUFX=	.tar.bz2
X
XMAINTAINER=	verm@drunkmonk.net
X
XLIB_DEPENDS=	db3.2:${PORTSDIR}/databases/db3 \
X		adns.1:${PORTSDIR}/net/adns
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XUSE_AUTOCONF=	yes
XUSE_AUTOMAKE=	yes
XAUTOMAKE_ARGS=	-a
XCONFIGURE_ENV=	LDFLAGS=-L${LOCALBASE}/lib CXXFLAGS="-I${LOCALBASE}/include/db3 -I${LOCALBASE}/include"
XMAN1=	dns-terror.1 btree-dump.1 convert-dom-db.1 convert-ip-db.1 expire-ip-db.1 getdominfo.1 \
X	rebuild-dom-db.1 rebuild-ip-db.1 reresolve.1 make-report.1
X
X.include <bsd.port.pre.mk>
X
Xpre-configure:
X	cd ${WRKDIR}/${PORTNAME}-${PORTVERSION} && aclocal
X
X.include <bsd.port.post.mk>
END-of-fastresolve/Makefile
echo x - fastresolve/distinfo
sed 's/^X//' >fastresolve/distinfo << 'END-of-fastresolve/distinfo'
XMD5 (fastresolve-2.8.tar.bz2) = 246a80314c7330f71117913bdf7ddc03
END-of-fastresolve/distinfo
echo c - fastresolve/files
mkdir -p fastresolve/files > /dev/null 2>&1
echo x - fastresolve/pkg-comment
sed 's/^X//' >fastresolve/pkg-comment << 'END-of-fastresolve/pkg-comment'
XPrograms that process web logs to get DNS and domain ownership info
END-of-fastresolve/pkg-comment
echo x - fastresolve/pkg-descr
sed 's/^X//' >fastresolve/pkg-descr << 'END-of-fastresolve/pkg-descr'
XFastresolve is a package of programs to process web log files to get DNS 
Xand domain ownership information for log analysis. It sends out many 
Xqueries in parallel, and caches results, for speed. Its DNS resolver is 
Xabout 10 times as fast as logresolve.pl from the Apache 1.3.9 
Xdistribution, and about 50 times as fast as logresolve.c from that 
Xdistribution. It is 5-20 times as fast as the adnslogres program that 
Xcomes with the adns library, and about 3 times as fast as jdresolve, 
Xwhich is a Perl program that uses similar algorithms.
X
XWWW: http://www.pix.net/staff/djm/sw/fastresolve/
END-of-fastresolve/pkg-descr
echo x - fastresolve/pkg-plist
sed 's/^X//' >fastresolve/pkg-plist << 'END-of-fastresolve/pkg-plist'
Xbin/dns-terror
Xbin/btree-dump
Xbin/convert-dom-db
Xbin/convert-ip-db
Xbin/expire-ip-db
Xbin/getdominfo
Xbin/rebuild-dom-db
Xbin/rebuild-ip-db
Xbin/reresolve
Xbin/make-report
Xshare/fastresolve/AddrCycle.pm
Xshare/fastresolve/analog.cfg
X@dirrm share/fastresolve
END-of-fastresolve/pkg-plist
echo x - fastresolve/files/patch-aa
sed 's/^X//' >fastresolve/files/patch-aa << 'END-of-fastresolve/files/patch-aa'
X--- configure.in.orig	Wed Nov 15 14:50:37 2000
X+++ configure.in	Tue Jun 11 06:16:24 2002
X@@ -27,26 +27,26 @@
X [dnl Check for a C++ interface, either version.
X 
X dnl 2.x.
X-AC_CACHE_CHECK([for Db::open in -ldb], djm_cv_lib_db_Dbopen,
X+AC_CACHE_CHECK([for Db::open in -ldb3], djm_cv_lib_db_Dbopen,
X [AC_LANG_SAVE
X AC_LANG_CPLUSPLUS
X djm_save_LIBS="$LIBS"
X-LIBS="$LIBS -ldb"
X+LIBS="$LIBS -ldb3"
X AC_TRY_LINK([#include <db_cxx.h>], [Db::open(NULL, DB_BTREE, DB_CREATE, 0, NULL, NULL, NULL);],
X 	djm_cv_lib_db_Dbopen=yes, djm_cv_lib_db_Dbopen=no)
X LIBS="$djm_save_LIBS"
X AC_LANG_RESTORE])
X 
X if test $djm_cv_lib_db_Dbopen = yes; then
X-	LIBS="$LIBS -ldb"
X+	LIBS="$LIBS -ldb3"
X else
X 
X dnl 3.x.
X-AC_CACHE_CHECK([for Db::open in -ldb_cxx], djm_cv_lib_db_cxx_Dbopen,
X+AC_CACHE_CHECK([for Db::open in -ldb3_cxx], djm_cv_lib_db_cxx_Dbopen,
X [AC_LANG_SAVE
X AC_LANG_CPLUSPLUS
X djm_save_LIBS="$LIBS"
X-LIBS="$LIBS -ldb -ldb_cxx"
X+LIBS="$LIBS -ldb3 -ldb3_cxx"
X AC_TRY_LINK([#include <db_cxx.h>], [Db *d = new Db(NULL, 0);
X d->open(NULL, NULL, DB_BTREE, DB_CREATE, 0);],
X 	djm_cv_lib_db_cxx_Dbopen=yes, djm_cv_lib_db_cxx_Dbopen=no)
X@@ -54,7 +54,7 @@
X AC_LANG_RESTORE])
X 
X if test $djm_cv_lib_db_cxx_Dbopen = yes; then
X-	LIBS="$LIBS -ldb -ldb_cxx"
X+	LIBS="$LIBS -ldb3 -ldb3_cxx"
X else
X 	AC_MSG_ERROR([Berkeley DB library 2.x or 3.x configured with --enable-cxx is required])
X fi
END-of-fastresolve/files/patch-aa
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207150834.g6F8YEMg020558>