Index: head/dns/fastresolve/Makefile =================================================================== --- head/dns/fastresolve/Makefile (revision 409914) +++ head/dns/fastresolve/Makefile (revision 409915) @@ -1,41 +1,41 @@ # Created by: Amar Takhar # $FreeBSD$ PORTNAME= fastresolve PORTVERSION= 2.10 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= dns MASTER_SITES= http://BSDforge.com/projects/source/dns/fastresolve/ MAINTAINER= portmaster@BSDforge.com COMMENT= Programs to get DNS and domain ownership information from web logs LICENSE= GPLv2 LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns RUN_DEPENDS= p5-BerkeleyDB>=0:${PORTSDIR}/databases/p5-BerkeleyDB USES= perl5 tar:bzip2 USE_BDB= yes GNU_CONFIGURE= yes CONFIGURE_ENV= PERL=${PERL} \ djm_cv_lib_db_Dbopen=yes LDFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's/-ldb"/-l${BDB_LIB_CXX_NAME}"/' \ ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in AUTHORS COPYING ChangeLog INSTALL NEWS README ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/doc/TODO ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/timings ${STAGEDIR}${DOCSDIR} .include Index: head/dns/fastresolve/files/patch-dns-terror_BoolString.h =================================================================== --- head/dns/fastresolve/files/patch-dns-terror_BoolString.h (nonexistent) +++ head/dns/fastresolve/files/patch-dns-terror_BoolString.h (revision 409915) @@ -0,0 +1,10 @@ +--- dns-terror/BoolString.h.orig 2003-05-17 17:58:52 UTC ++++ dns-terror/BoolString.h +@@ -56,6 +56,7 @@ public: + BoolString &operator=(const BoolString &other) { + str = other.str; + flag = other.flag; ++ return *this; + } + int operator<(const BoolString &other) const { + return strcmp(str, other.str) < 0; Property changes on: head/dns/fastresolve/files/patch-dns-terror_BoolString.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/fastresolve/files/patch-dns-terror__DatedStringDb.cc =================================================================== --- head/dns/fastresolve/files/patch-dns-terror__DatedStringDb.cc (revision 409914) +++ head/dns/fastresolve/files/patch-dns-terror__DatedStringDb.cc (revision 409915) @@ -1,14 +1,14 @@ ---- dns-terror/DatedStringDb.cc.orig Sat Sep 6 18:38:24 2003 -+++ dns-terror/DatedStringDb.cc Sat Sep 6 18:38:31 2003 -@@ -69,7 +69,11 @@ +--- dns-terror/DatedStringDb.cc.orig 2003-05-17 18:14:35 UTC ++++ dns-terror/DatedStringDb.cc +@@ -69,7 +69,11 @@ DatedStringDb::DatedStringDb(const char env->set_cachesize(0, MPOOL_SIZE, 0); env->open(dbhome, DB_CREATE|DB_INIT_MPOOL|DB_PRIVATE, 0644); db = new Db(env, 0); +#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1 || DB_VERSION_MAJOR > 4 + db->open(NULL, storename, NULL, DB_BTREE, DB_CREATE, 0644); +#else db->open(storename, NULL, DB_BTREE, DB_CREATE, 0644); +#endif #elif DB_VERSION_MAJOR == 2 env = new DbEnv; env->set_error_stream(&cerr); Index: head/dns/fastresolve/files/patch-dns-terror__dns-terror.cc =================================================================== --- head/dns/fastresolve/files/patch-dns-terror__dns-terror.cc (revision 409914) +++ head/dns/fastresolve/files/patch-dns-terror__dns-terror.cc (revision 409915) @@ -1,12 +1,12 @@ ---- dns-terror/dns-terror.cc.orig Mon Oct 4 13:28:02 2004 -+++ dns-terror/dns-terror.cc Mon Oct 4 13:28:53 2004 -@@ -331,8 +331,7 @@ +--- dns-terror/dns-terror.cc.orig 2003-05-17 18:04:55 UTC ++++ dns-terror/dns-terror.cc +@@ -331,8 +331,7 @@ submit_query(adns_state ads, BoolStringM } r = adns_submit(ads, rev, adns_r_ptr_raw, - (enum adns_queryflags) - (adns_qf_quoteok_cname|adns_qf_quoteok_anshost), lp, &qu); + adns_queryflags (adns_qf_quoteok_cname|adns_qf_quoteok_anshost), lp, &qu); if (r) fatal_errno("adns_submit", r); if (verbose) Index: head/dns/fastresolve/files/patch-dns-terror_getline.c =================================================================== --- head/dns/fastresolve/files/patch-dns-terror_getline.c (revision 409914) +++ head/dns/fastresolve/files/patch-dns-terror_getline.c (revision 409915) @@ -1,24 +1,24 @@ ---- dns-terror/getline.c.orig 2009-03-25 02:34:45.000000000 -0400 -+++ dns-terror/getline.c 2009-03-25 02:38:48.000000000 -0400 -@@ -26,6 +26,7 @@ +--- dns-terror/getline.c.orig 2002-10-07 02:53:13 UTC ++++ dns-terror/getline.c +@@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place - Suit is defined. */ #define _GNU_SOURCE 1 #include +#include #include #if defined __GNU_LIBRARY__ && HAVE_GETDELIM -@@ -134,6 +135,7 @@ +@@ -134,6 +135,7 @@ getstr (lineptr, n, stream, terminator, return ret; } +#if __FreeBSD_version < 800067 int getline (lineptr, n, stream) char **lineptr; -@@ -152,4 +154,5 @@ +@@ -152,4 +154,5 @@ getdelim (lineptr, n, delimiter, stream) { return getstr (lineptr, n, stream, delimiter, 0); } +#endif /* __FreeBSD_version < 800067 */ #endif