ports/56580: Request for maintainership, patch: sysutils/fastresolve
Martin Matuska
martin at tradex.sk
Mon Sep 8 10:00:30 UTC 2003
The following reply was made to PR ports/56580; it has been noted by GNATS.
From: Martin Matuska <martin at tradex.sk>
To: freebsd-gnats-submit at FreeBSD.org, martin at tradex.sk
Cc:
Subject: Re: ports/56580: Request for maintainership, patch: sysutils/fastresolve
Date: Mon, 08 Sep 2003 11:58:54 +0200
The Makefile diff was not against correct Makefile.
FIX:
diff -Nbur fastresolve.orig/Makefile fastresolve/Makefile
--- fastresolve.orig/Makefile Mon Sep 8 11:46:51 2003
+++ fastresolve/Makefile Mon Sep 8 11:47:17 2003
@@ -7,20 +7,39 @@
PORTNAME= fastresolve
PORTVERSION= 2.10
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.djmnet.org/sw/dist/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= martin at tradex.sk
COMMENT= Programs that process web logs to get DNS and domain ownership info
-LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3 \
- adns.1:${PORTSDIR}/dns/adns
+LIB_DEPENDS= adns.1:${PORTSDIR}/dns/adns
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB
USE_BZIP2= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
- CXXFLAGS="-I${LOCALBASE}/include/db3 -I${LOCALBASE}/include"
+ CXXFLAGS="-I${LOCALBASE}/include" \
+ PERL=${PERL}
+USE_AUTOCONF= yes
+
+# Default to db3
+WITH_BDB_VER?= 3
+
+.if ${WITH_BDB_VER} == 3
+LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3
+CONFIGURE_ARGS= --with-bdb-lib=-ldb3_cxx --with-bdb-incdir=${LOCALBASE}/include/db3
+.elif ${WITH_BDB_VER} == 4
+LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
+CONFIGURE_ARGS= --with-bdb-lib=-ldb4_cxx --with-bdb-incdir=${LOCALBASE}/include/db4
+.elif ${WITH_BDB_VER} == 41
+LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41
+CONFIGURE_ARGS= --with-bdb-lib=-ldb41_cxx --with-bdb-incdir=${LOCALBASE}/include/db41
+.else
+.error WITH_BDB_VER must be one between 3, 4 and 41
+.endif
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 \
@@ -35,10 +54,5 @@
@${INSTALL_DATA} ${WRKSRC}/doc/TODO ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/timings ${DOCSDIR}
.endif
-
- @${ECHO_MSG} ""
- @${ECHO_MSG} "If you want to use the convert-ip-db script you must"
- @${ECHO_MSG} "install the databases/p5-BerkeleyDB port"
- @${ECHO_MSG} ""
.include <bsd.port.mk>
More information about the freebsd-ports-bugs
mailing list