Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2003 23:07:45 -0500 (CDT)
From:      Marius Strom <marius@marius.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57144: Upgrade dspam to 2.7.1
Message-ID:  <200309240407.h8O47jc2094519@marius.org>
Resent-Message-ID: <200309240410.h8O4AGwX095262@freefall.freebsd.org>

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

>Number:         57144
>Category:       ports
>Synopsis:       Upgrade dspam to 2.7.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 23 21:10:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Marius Strom
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
marius dot org
>Environment:
System: FreeBSD sashimi.marius.org 4.8-STABLE FreeBSD 4.8-STABLE #4: Tue Jun 3 11:58:34 CDT 2003 root@sashimi.marius.org:/usr/obj/usr/src/sys/SASHIMI.MARIUS.ORG i386


>Description:
Update from dspam 2.6.3 to 2.7.1
>How-To-Repeat:
N/A
>Fix:
Patch existing Makefile, pkg-plist, and distinfo as follows:

--- Makefile.orig	Mon Aug  4 06:38:19 2003
+++ Makefile	Tue Sep 23 22:53:38 2003
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	dspam
-PORTVERSION=	2.6.3
+PORTVERSION=	2.7.1
 CATEGORIES=	mail
-MASTER_SITES=	http://www.networkdweebs.com/software/dspam/
-DISTNAME=	${PORTNAME}-${PORTVERSION:R}
+MASTER_SITES=	http://www.nuclearelephant.com/projects/dspam/
+DISTNAME=	${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	dom@wirespeed.org.uk
 COMMENT=	A server-side bayesian spam filter


--- pkg-plist.orig	Mon Aug  4 06:38:19 2003
+++ pkg-plist	Tue Sep 23 22:53:34 2003
@@ -1,12 +1,13 @@
 bin/dspam
 bin/dspam_dump
-bin/dspam_convert
 bin/dspam_clean
 bin/dspam_crc
+bin/dspam_merge
 bin/dspam_purge
 bin/dspam_stats
 bin/dspam_corpus
-lib/libdspam.so.2
+bin/dspam_genaliases
+lib/libdspam.so.3
 lib/libdspam.so
 lib/libdspam.a
 %%PORTDOCS%%%%DOCSDIR%%/README


--- distinfo.orig	Mon Aug  4 06:38:19 2003
+++ distinfo	Tue Sep 23 22:48:30 2003
@@ -1 +1 @@
-MD5 (dspam-2.6.tar.gz) = 3fd1eb76bd4d28fd7707b64e7899b3cd
+MD5 (dspam-2.7.1.tar.gz) = 91af21f8f0636249c8c888b101b63f1f


8<----8<---- 8<----8<---- 8<----8<---- 8<----8<---- 8<----8<----
Replace files/patch-configure with the following:

--- configure.orig      Tue Sep 23 22:45:17 2003
+++ configure   Tue Sep 23 22:44:11 2003
@@ -7513,7 +7513,8 @@


 # This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+LIBTOOL_DEPS="%%LIBTOOLFLAGS%% $ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS

 # Always use our own libtool.
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -9287,9 +9288,9 @@
     ds_db4_libs_LIBS="-L$with_db4_libraries"
 fi

-echo "$as_me:$LINENO: checking for db_create in -ldb-4" >&5
-echo $ECHO_N "checking for db_create in -ldb-4... $ECHO_C" >&6
-LIBS="$ds_db4_libs_LIBS -ldb-4 $ds_db4_libs_save_LIBS"
+echo "$as_me:$LINENO: checking for db_create in -ldb41" >&5
+echo $ECHO_N "checking for db_create in -ldb41... $ECHO_C" >&6
+LIBS="$ds_db4_libs_LIBS -ldb41 $ds_db4_libs_save_LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 /* confdefs.h.  */
@@ -9325,7 +9326,7 @@
   (exit $ac_status); }; }; then

         ds_db4_libs_success=yes
-        ds_db4_libs_LIBS="$ds_db4_libs_LIBS -ldb-4"
+        ds_db4_libs_LIBS="$ds_db4_libs_LIBS -ldb41"

 else
   echo "$as_me: failed program was:" >&5
@@ -9340,9 +9341,9 @@

 if test "x$ds_db4_libs_success" != xyes
 then
-    echo "$as_me:$LINENO: checking for db_create in -ldb-4 (with -lpthread)" >&5
-echo $ECHO_N "checking for db_create in -ldb-4 (with -lpthread)... $ECHO_C" >&6
-    LIBS="$ds_db4_libs_LIBS -ldb-4 -lpthread $LIBS"
+    echo "$as_me:$LINENO: checking for db_create in -ldb41 (with -lpthread)" >&5
+echo $ECHO_N "checking for db_create in -ldb41 (with -lpthread)... $ECHO_C" >&6
+    LIBS="$ds_db4_libs_LIBS -ldb41 -lpthread $LIBS"
     cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 /* confdefs.h.  */
@@ -9378,7 +9379,7 @@
   (exit $ac_status); }; }; then

             ds_db4_libs_success=yes
-            ds_db4_libs_LIBS="$ds_db4_libs_LIBS -ldb-4 -lpthread"
+            ds_db4_libs_LIBS="$ds_db4_libs_LIBS -ldb41 -lpthread"

 else
   echo "$as_me: failed program was:" >&5




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



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