ports/61284: [MAINTAINER] mail/bogofilter: update to 0.15.13.2
Matthias Andree
matthias.andree at gmx.de
Tue Jan 13 03:01:01 UTC 2004
>Number: 61284
>Category: ports
>Synopsis: [MAINTAINER] mail/bogofilter: update to 0.15.13.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 12 19:00:37 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Matthias Andree
>Release: FreeBSD 5.2-RC i386
>Organization:
>Environment:
System: FreeBSD merlin.emma.line.org 5.2-RC FreeBSD 5.2-RC #1: Thu Jan 8 03:06:25 CET
>Description:
RECOMMENDS: ports/61283 committed
- Update to 0.15.13.2, to fix Alpha SIGFPE (we use -mieee now)
- Support WITH_DB_VER=42 to build against db42 rather than default db4
- Switch to bz2 to reduce download time and data volume.
- Fix up forgotten src/version.c update to 0.15.13.2
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- bogofilter-0.15.13.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/bogofilter/Makefile /root/ports/mail/bogofilter/Makefile
--- /usr/ports/mail/bogofilter/Makefile Thu Jan 8 02:59:53 2004
+++ /root/ports/mail/bogofilter/Makefile Tue Jan 13 03:49:03 2004
@@ -6,8 +6,7 @@
#
PORTNAME= bogofilter
-PORTVERSION= 0.15.13.1
-PORTREVISION= 0
+PORTVERSION= 0.15.13.2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,19 +16,28 @@
# There is a sibling port, bogofilter-tdb, which presets different
# values for some of our variables
+WITH_DB_VER?= 4
+.if ${WITH_DB_VER} == 42
+LIB_DEPENDS?= db-4.2.2:${PORTSDIR}/databases/db42
+libs= -ldb-4.2
+.else
+WITH_DB_VER= 4
LIB_DEPENDS?= db4.0:${PORTSDIR}/databases/db4
+libs= -ldb4
+.endif
LIB_DEPENDS+= gsl.5:${PORTSDIR}/math/gsl
CONFLICTS?= bogofilter-tdb* bogofilter-qdbm*
+USE_BZIP2= yes
USE_REINPLACE= yes
USE_PERL5_RUN= yes
GNU_CONFIGURE= yes
PATCH_STRIP= -p1
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc
-CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include/db4" \
- LDFLAGS="-L${LOCALBASE}/lib" LIBS="-ldb4"
+CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include/db${WITH_DB_VER}" \
+ LDFLAGS="-L${LOCALBASE}/lib" LIBS="${libs}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= bogofilter.1 bogoutil.1 bogoupgrade.1 bogolexer.1 bogotune.1
@@ -38,6 +46,15 @@
${WRKSRC}/contrib/randomtrain \
${WRKSRC}/contrib/scramble \
${WRKSRC}/contrib/trainbogo.sh
+ ${REINPLACE_CMD} -e "s/0.15.13.1/0.15.13.2/" ${WRKSRC}/src/version.c
+
+.if !defined(PKGNAMESUFFIX) && ${WITH_DB_VER} != 42
+pre-everything::
+ @${ECHO} ""
+ @${ECHO} "Use -DWITH_DB_VER=42 to link against db42 instead of the default db4"
+ @${ECHO} ""
+.endif
+
post-build::
cd ${WRKSRC} && make check SHELL=${SH}
diff -ruN --exclude=CVS /usr/ports/mail/bogofilter/distinfo /root/ports/mail/bogofilter/distinfo
--- /usr/ports/mail/bogofilter/distinfo Thu Jan 8 02:59:53 2004
+++ /root/ports/mail/bogofilter/distinfo Tue Jan 13 02:55:08 2004
@@ -1 +1 @@
-MD5 (bogofilter-0.15.13.1.tar.gz) = 4dff0a39cfa81753c0d3a546ed0bc908
+MD5 (bogofilter-0.15.13.2.tar.bz2) = 1d52ab08c6f198a511dc516a3ce801c5
--- bogofilter-0.15.13.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list