Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2005 23:33:47 +0200
From:      "Ion-Mihai " IOnut " Tetcu" <itetcu@people.tecnik93.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/77807: [MAINT-UPD] mail/dspam-devel: update to 3.4.RC1
Message-ID:  <1108935227.0@it.buh.tecnik93.com>
Resent-Message-ID: <200502202140.j1KLeE20096738@freefall.freebsd.org>

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

>Number:         77807
>Category:       ports
>Synopsis:       [MAINT-UPD] mail/dspam-devel: update to 3.4.RC1
>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:   Sun Feb 20 21:40:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:


System: FreeBSD 5.3-STABLE #0: Thu Feb 10 17:38:05 EET 2005



>Description:



[ Note to commiter: please make any necassary adjustments w/o my approuval, I might not be able ot respond timely for a few days ] 

Update to dspam-devel-3.4.r1.20050216.0945


# In memoriam: Ioan Victor TETCU, maintainer's grandfather who's life ceased while he was filling this PR.
# Odihneasca-se in pace.


Help / ideas during almost 2 months of debugging from: from Sean Chittenden <sean@gigave.com>, Brian Fundakowski Feldman <green@freebsd.org>, "Daniel S. Haischt" <me@daniel.stefan.haischt.name>, Jonathan Zdziarski <jonathan@nuclearelephant.com> (author)

Tested on:
i386 5.2.1-RELEASE-p1, i386 5.3-STABLE, amd64 5.3-RELEASE with help from Erwin Lansing <erwin@lansing.dk> , "Daniel S. Haischt" <me@daniel.stefan.haischt.name> and Joey Freeland <joeyfreeland@gmail.com>

NO HELP / TESTS from: the rest few hundreds users, despite 2 call for testers.

- if dspam --daemon SIGBUS please send date of your sources, CFLAGS and other
relevant information; this version is believed to be working;

- patch dspam.c for bug causing signature to not get written to message
body (obtained from dspam cvs)
- (local) patch dspam.c to write X-DSPAM-User also in innocent messages headers
- drop WITH_WHITELIST, it's not supported by ./configure but by dspam.conf
- (added post-factum) change POSTGRESQL* to POSTGRESQL because of "Split the
postgresql ports into a server and a client part"

- drop USE_GNOME as per PH 6.6
- kinldy ask non-maintainer-approved commits to be logged in files/UPDATING if they contain user-visible changes ( like the change of POSTGRESQL* to POSTGRESQL because of "Split the postgresql ports into a server and a client part" )
- misc Makefile clean-up, try to bring it closer to mail/dspam/Makefile for upcoming stable release


>How-To-Repeat:





>Fix:


--- dspam-devel-3.3.4_to_3.4.r1.20050216.0945.diff begins here ---
diff -urN dspam-devel.cvs/Makefile dspam-devel/Makefile
--- dspam-devel.cvs/Makefile	Sun Feb 13 22:40:36 2005
+++ dspam-devel/Makefile	Sun Feb 20 22:55:52 2005
@@ -5,30 +5,43 @@
 # $FreeBSD: ports/mail/dspam-devel/Makefile,v 1.28 2005/01/31 00:35:49 girgen Exp $
 #
 
+# Note to commiters: If don't commit a maintainer patch and as a result PKGNAME
+# or user variables (WITH*) changes please add an entry in ${FILESDIR}/UPDATING and
+# modify UPD_LINE_NO=(no_of_added_lines-1) in this Makefile
+# else the port will be broken. Thanks.
+
 PORTNAME=	dspam-devel
 PORTVERSION=	${PORTVER_MAJ}${SNAP_DATE}
+PORTREVISION=	0
 CATEGORIES=	mail
-MASTER_SITES=	http://people.tecnik93.com/~itetcu/FreeBSD/ports/dspam-devel/sources/
-DISTNAME=	${PORTNAME}-${PORTVERSION}
+MASTER_SITES=	http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/
 
 MAINTAINER=	itetcu@people.tecnik93.com
 COMMENT=	Bayesian spam filter - development version
 
+PORTVER_MAJ=	3.4.r1
+SNAP_DATE=	.20050216.0945
+
 .ifdef(SNAP_DATE)
 WRKSRC=		${WRKDIR}/dspam-cvs-devel${SNAP_DATE}
-.else
-WRKSRC=		${WRKDIR}/dspam-${PORTVER_MAJ}
 .endif
 
-#SNAP_DATE=	.20041225.1815
-PORTVER_MAJ=	3.3.4
+## maintainer only
+.ifdef(MAINT)
+MASTER_SITES=	http://dspam.nuclearelephant.com/sources/
+NO_CHECKSUM=	yes
+.	ifdef(SNAP_DATE)
+DISTFILES=	snapshot-devel.tar.gz
+FETCH_BEFORE_ARGS=	-v -o ${DISTDIR}/${PORTNAME}-${PORTVERSION}.tar.gz
+.	endif
+.endif
 
 ## debug / log / admin options
 OPTIONS=	DEBUG "Enable debugging logging" on
 OPTIONS+=	VERBOSE_DEBUG "Enable debug in LOGDIR/dspam.debug" off
 OPTIONS+=	BNR_DEBUG "Enable debug for BNR" off
 OPTIONS+=	PREF_EXT "Preferences in database not in files" off
-OPTIONS+=	DAEMON "Daemonize dspam; speak LMTP" on
+OPTIONS+=	DAEMON "Daemonize dspam; speak proprietary LMTP" on
 
 ## algorithm options
 OPTIONS+=	GRAHAM_BAYES "Enable Graham (traditional) bayesian" on
@@ -38,7 +51,6 @@
 OPTIONS+=	RPV "Use Robinson technique combining p-values" on
 OPTIONS+=	TEST_COND "More inoculous results rapidly, risk fps" on
 OPTIONS+=	NO_BIAS "No bias toward innocent mail" off
-OPTIONS+=	WHITELIST "Automatic whitelisting of ham" off
 OPTIONS+=	NEURAL_NET "Enable neural networking" off
 
 ## run-time configure  options
@@ -75,7 +87,6 @@
 
 OPTIONS+=	CGI "Install CGI (pulls in apache)" off
 
-USE_GNOME=	pkgconfig
 USE_LIBTOOL_VER=15
 USE_REINPLACE=	yes
 INSTALLS_SHLIB=	yes
@@ -83,11 +94,13 @@
 CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
-#CFLAGS+=	-g
+.ifdef(GDBS)
+CFLAGS+=	-g -DDEBUG
+.endif
 
 PKGMESSAGE=	 ${WRKSRC}/src/README.FreeBSD
 
-UPD_LINE_NO=	39
+UPD_LINE_NO=	15
 
 CONFLICTS=	dspam-2* dspam-3*
 
@@ -107,6 +120,13 @@
 
 .include <bsd.port.pre.mk>
 
+## Actually Thu Feb 10 17:38:05 EET 2005 works
+#.if ${OSVERSION} >= 500036
+#.	if	${OSVERSION} < 503102
+#IGNORE=	Need newer pthread support, please upgrade your system
+#.	endif
+#.endif
+
 CONFIGURE_ARGS+=	--with-logdir=${LOG_DIR}
 PLIST_SUB+=	LOG_DIR=${LOG_DIR}
 
@@ -116,12 +136,8 @@
 CONFIGURE_ARGS+=	--with-dspam-home-mode=${DSPAM_HOME_MODE}
 PLIST_SUB+=	DSPAM_HOME=${DSPAM_HOME}
 
-.if defined(DSPAM_OWNER)
 CONFIGURE_ARGS+=	--with-dspam-owner=${DSPAM_OWNER}
-.endif
-.if defined(DSPAM_GROUP)
 CONFIGURE_ARGS+=	--with-dspam-group=${DSPAM_GROUP}
-.endif
 # we set DSPAM_MODE at the end as some LDA whant specific mode
 
 SED_SCRIPT=	-e 's,%%DOCSDIR%%,${DOCSDIR},g' \
@@ -157,6 +173,7 @@
 CONFIGURE_ARGS+=	--enable-daemon
 RC_DIR=		${PREFIX}/etc/rc.d
 RC_SUFX=	.sh
+USE_RC_SUBR=	yes
 PLIST_FILES+=	etc/rc.d/dspam${RC_SUFX}
 SED_SCRIPT+=	-e 's,%%DAEMON%%,,g'
 SED_RC_SCRIPT=	-e 's,%%PREFIX%%,${PREFIX},g' \
@@ -193,10 +210,6 @@
 CONFIGURE_ARGS+=	--disable-bias
 .endif
 
-.if defined(WITH_WHITELIST)
-CONFIGURE_ARGS+=	--enable-whitelist
-.endif
-
 .if defined(WITH_NEURAL_NET)
 CONFIGURE_ARGS+=	--enable-neural-networking
 .endif
@@ -209,11 +222,11 @@
 CONFIGURE_ARGS+=	--disable-trusted-user-security
 .endif
 
-DBDRV_TOTAL_COUNT=	ooooooooo # 9
+DBDRV_TOTAL_COUNT=	ooooooooo # 8
 DBDRV_COUNT=	${DBDRV_TOTAL_COUNT}
 
 .if defined(WITH_POSTGRESQL)
-USE_PGSQL=	YES
+USE_PGSQL=	yes
 CONFIGURE_ARGS+=	--with-storage-driver=pgsql_drv \
 		--with-pgsql-includes=${LOCALBASE}/include \
 		--with-pgsql-libraries=${LOCALBASE}/lib
@@ -343,9 +356,6 @@
 .	if defined(WITH_MYSQL40) || (WITH_MYSQL41)
 _EXIM_EXT=	-mysql
 .	elseif defined(WITH_POSTGRESQL)
-####
-### fix me for pg 7.3: how to pass the db option to exim port ?
-###
 _EXIM_EXT=	-postgresql
 .	endif
 RUN_DEPENDS+=	exim:${PORTSDIR}/mail/exim${_EXIM_EXT}
@@ -355,13 +365,13 @@
 
 .if defined(WITH_MAILDROP_LDA)
 RUN_DEPENDS+=	maildrop:${PORTSDIR}/mail/maildrop
-CONFIGURE_ARGS+=	--with-delivery-agent='${LOCALBASE}/bin/maildrop -d $$u'
+CONFIGURE_ARGS+=	--with-delivery-agent='${LOCALBASE}/bin/maildrop'
 LDA_COUNT:=	${LDA_COUNT:S/o//}
 .endif
 
 .if defined(WITH_PROCMAIL_LDA)
 RUN_DEPENDS+=	procmail:${PORTSDIR}/mail/procmail
-CONFIGURE_ARGS+=	--with-delivery-agent='${LOCALBASE}/bin/procmail -d $$u'
+CONFIGURE_ARGS+=	--with-delivery-agent='${LOCALBASE}/bin/procmail'
 LDA_COUNT:=	${LDA_COUNT:S/o//}
 .endif
 
@@ -408,8 +418,8 @@
 CGI_PATH?=	${PREFIX}/www/vhosts/dspam
 SED_SCRIPT+=	-e 's,%%CGI%%,,g'
 SED_SCRIPT+=	-e 's,%%CGI_PATH%%,${CGI_PATH},g'
-#SED_FILES=      ${LS}  ${WRKSRC}/cgi/*.pl
-#SED_FILES+=     ${LS} $PWRKSRC}/cgi/*.cgi
+#SED_FILES=	${LS}  ${WRKSRC}/cgi/*.pl
+#SED_FILES+=	${LS} $PWRKSRC}/cgi/*.cgi
 .else
 PLIST_SUB+=	CGI="@comment "
 SED_SCRIPT+=	-e '/%%CGI%%/D'
@@ -431,13 +441,21 @@
 	README.pop3filter README.postfix README.qmail README.sendmail \
 	RELEASE.NOTES
 
+.ifndef(MAINT)
 pre-everything::
 	@${ECHO_CMD} ""
 	@${ECHO_CMD} "Last ${FILESDIR}/UPDATING entry:"
 	@${GREP} -B 1 -A ${UPD_LINE_NO} ${PKGNAME} ${FILESDIR}/UPDATING
 	@${ECHO_CMD} ""
+.else # maintainer only
+post-fetch:
+.	ifndef(STOP)
+#.		include "/root/ports/upd"
+.	endif
+.endif
 
 pre-extract:
+	@${ECHO_CMD} ""
 	@${ECHO_CMD} "Define vars below before make-ing if you need:"
 	@${ECHO_CMD} ""
 	@${ECHO_CMD} "SIGNATURE_LIFE=${SIGNATURE_LIFE} (default 15)"
@@ -454,12 +472,15 @@
 		@${ECHO_CMD} "installed in other place that this installation's default"
 		@${ECHO_CMD} "${PREFIX}/www/vhosts/dspam"
 .	endif
-	@${ECHO_CMD} "Define WITHOUT_DAEMON if not using OPTIONS and do not whant daemon."
+	@${ECHO_CMD} "Define WITHOUT_DAEMON if not using OPTIONS and do not want daemon."
+	@${ECHO_CMD} ""
+	@sleep 5
 
-.for old_opt in MAILDROP PROCMAIL TRAD_BAYES ALT_BAYES WITH_SPAM_SUBJ \
+.for old_opt in MAILDROP PROCMAIL TRAD_BAYES ALT_BAYES SPAM_SUBJ \
 	USER_LOGGING SYSTEM_LOGGING WEBMAIL OPT_IN SAT PARSE_TO_HEADERS \
 	BROKEN_MTA BROKEN_ERR_CODES SIGNATURE_HEADERS SIGNATURE_ATACH \
-	HOMEDIR_DOT SIGNATURE_LIFE SQLITE QUARANTINE_AGENT
+	HOMEDIR_DOT SIGNATURE_LIFE SQLITE QUARANTINE_AGENT WHITELIST \
+	POSTGRESQL73 POSTGRESQL74
 .	if defined(WITH_${old_opt}) || defined(WITHOUT_${old_opt})
 	@${ECHO_CMD} ""
 	@${ECHO_CMD} "******************************************************************"
@@ -548,6 +569,8 @@
 # stupid hack until I figure out where/how to patch
 	@${MKDIR} ${PREFIX}/libdata/pkgconfig
 	@${MV} ${PREFIX}/lib/pkgconfig/dspam.pc ${PREFIX}/libdata/pkgconfig/dspam.pc
+	${TEST} `ls -1 ${PREFIX}/lib/pkgconfig | wc -l` -eq 0 && \
+		${RM} -R ${PREFIX}/lib/pkgconfig || true
 
 .if defined(USE_MYSQL)
 	@${MKDIR} ${EXAMPLESDIR}/mysql
@@ -566,34 +589,34 @@
 .endif
 .if defined(HAVE_SQLITE)
 	@${MKDIR} ${EXAMPLESDIR}/sqlite
-	cd  ${WRKSRC}/src/tools.sqlite_drv && \
+	cd ${WRKSRC}/src/tools.sqlite_drv && \
 		${INSTALL_DATA} README *.sql ${EXAMPLESDIR}/sqlite
 .endif
 .if defined(WITH_ORACLE)
 	@${MKDIR} ${EXAMPLESDIR}/oracle
-	cd  ${WRKSRC}/src/tools.ora_drv && \
+	cd ${WRKSRC}/src/tools.ora_drv && \
 		${INSTALL_DATA} README *.sql ${EXAMPLESDIR}/oracle
 .endif
 
 .if defined(WITH_CGI)
 .	for I in admin.cgi admingraph.cgi configure.pl dspam.cgi graph.cgi
-		@${SED} -i '' -e "s,/usr/bin/perl,${PERL},g"  ${WRKSRC}/cgi/${I}
+		@${SED} -i '' -e "s,/usr/bin/perl,${PERL},g" ${WRKSRC}/cgi/${I}
 .	endfor
-	cd  ${WRKSRC}/cgi && ${MV} configure.pl configure.pl.sample
-	cd  ${WRKSRC}/cgi && ${MKDIR} ${CGI_PATH} && \
+	cd ${WRKSRC}/cgi && ${MV} configure.pl configure.pl.sample
+	cd ${WRKSRC}/cgi && ${MKDIR} ${CGI_PATH} && \
 		${INSTALL_SCRIPT} configure.pl.sample ${CGI_PATH}/ && \
 		${INSTALL_SCRIPT} *.cgi ${CGI_PATH}
-	cd  ${WRKSRC}/cgi && \
+	cd ${WRKSRC}/cgi && \
 		${INSTALL_DATA} base.css dspam-logo-small.gif rgb.txt ${CGI_PATH}/
-	cd  ${WRKSRC}/cgi && \
+	cd ${WRKSRC}/cgi && \
 		${INSTALL_DATA} default.prefs ${CGI_PATH}/default.prefs.sample
-	cd  ${WRKSRC}/cgi && \
+	cd ${WRKSRC}/cgi && \
 		${INSTALL_DATA} admins ${CGI_PATH}/admins.sample
-	@${MKDIR} ${CGI_PATH}/templates && cd  ${WRKSRC}/cgi/templates && \
+	@${MKDIR} ${CGI_PATH}/templates && cd ${WRKSRC}/cgi/templates && \
 		${INSTALL_DATA} *.html ${CGI_PATH}/templates/
 .endif
 
-	@${SED} ${SED_SCRIPT} ${.CURDIR}/pkg-message >  ${WRKSRC}/README.FreeBSD
+	@${SED} ${SED_SCRIPT} ${.CURDIR}/pkg-message > ${WRKSRC}/README.FreeBSD
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
@@ -603,18 +626,18 @@
 	@${MKDIR} -m ${DSPAM_HOME_MODE} ${DSPAM_HOME}
 	@${CHOWN} ${DSPAM_HOME_OWNER}:${DSPAM_HOME_GROUP} ${DSPAM_HOME}
 .for _file in firstrun.txt firstspam.txt quarantinefull.txt
-	if ! ${TEST} -e  ${WRKSRC}/txt/${_file}.sample;\
+	if ! ${TEST} -e ${WRKSRC}/txt/${_file}.sample;\
 	then\
-		cd  ${WRKSRC}/txt && \
+		cd ${WRKSRC}/txt && \
 		${MV} ${_file} ${_file}.sample;\
 	fi
-	cd  ${WRKSRC}/txt && \
+	cd ${WRKSRC}/txt && \
 		${INSTALL_DATA} ${_file}.sample ${DSPAM_HOME}
 .endfor
 
 	@${MKDIR} -m ${DSPAM_HOME_MODE} ${LOG_DIR}
 
-	@${CAT}  ${WRKSRC}/README.FreeBSD
+	@${CAT} ${WRKSRC}/README.FreeBSD
 	@${ECHO_CMD} "If you haven't defined NOPORTDOCS you can review this"
 	@${ECHO_CMD} "message in ${DOCSDIR}/README.FreeBSD"
 	@${ECHO_CMD}
diff -urN dspam-devel.cvs/distinfo dspam-devel/distinfo
--- dspam-devel.cvs/distinfo	Wed Jan 12 14:50:36 2005
+++ dspam-devel/distinfo	Sun Feb 20 22:55:52 2005
@@ -1,2 +1,2 @@
-MD5 (dspam-devel-3.3.4.tar.gz) = 254af99f8a1ee24f53e743cdf6d2c43e
-SIZE (dspam-devel-3.3.4.tar.gz) = 649379
+MD5 (dspam-devel-3.4.r1.20050216.0945.tar.gz) = af3a9a4d47463e3a7f85b4a6877127fe
+SIZE (dspam-devel-3.4.r1.20050216.0945.tar.gz) = 676650
diff -urN dspam-devel.cvs/files/UPDATING dspam-devel/files/UPDATING
--- dspam-devel.cvs/files/UPDATING	Wed Jan 12 14:50:36 2005
+++ dspam-devel/files/UPDATING	Sun Feb 20 22:55:52 2005
@@ -11,6 +11,22 @@
 make extract;  more `find . -type f -maxdepth 2 -name UPGRADING`
 
 ###########################################################################
+# dspam-devel-3.4.r1.20050216.0945
+#
+
+- if dspam --daemon SIGBUS please send your sources date, CFLAGS and other
+relevant information; this version is believed to be working; tested on:
+i386 5.2.1-RELEASE-p1, i386 5.3-STABLE, amd64 5.3-RELEASE with help from Erwin Lansing <erwin@lansing.dk>, 
+"Daniel S. Haischt" <me@daniel.stefan.haischt.name> and Joey Freeland <joeyfreeland@gmail.com>
+- patch dspam.c for bug causing signature to not get written to message
+body (obtained from dspam cvs)
+- patch dspam.c to write X-DSPAM-User also in innocent messages headers
+- drop WITH_WHITELIST, it's not supported by ./configure but by dspam.conf
+- (added post-factum) change POSTGRESQL* to POSTGRESQL because of "Split the
+postgresql ports into a server and a client part"
+
+
+###########################################################################
 # dspam-devel-3.3.4
 #
 
diff -urN dspam-devel.cvs/files/dspam.rc dspam-devel/files/dspam.rc
--- dspam-devel.cvs/files/dspam.rc	Wed Jan 12 09:28:34 2005
+++ dspam-devel/files/dspam.rc	Sun Feb 20 22:55:52 2005
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $FreeBSD: ports/mail/dspam-devel/files/dspam.rc,v 1.1 2005/01/12 07:28:34 edwin Exp $
+# $FreeBSD$
 #
 
 # PROVIDE: dspam
diff -urN dspam-devel.cvs/files/patch-dspam.c dspam-devel/files/patch-dspam.c
--- dspam-devel.cvs/files/patch-dspam.c	Thu Jan  1 02:00:00 1970
+++ dspam-devel/files/patch-dspam.c	Sun Feb 20 22:55:52 2005
@@ -0,0 +1,66 @@
+--- src/dspam.c.dist	Sun Feb 20 22:42:47 2005
++++ src/dspam.c	Sun Feb 20 22:46:22 2005
+@@ -2543,8 +2543,9 @@
+           LOG (LOG_CRIT, ERROR_MEM_ALLOC);
+       }
+ 
+-      if (CTX->result == DSR_ISSPAM)
+-      {
++// FreeBSD patch: put the user in all emails, extremely usefull for scripts
++//      if (CTX->result == DSR_ISSPAM)
++//      {
+         snprintf(data, sizeof(data), "X-DSPAM-User: %s", CTX->username);
+         head = _ds_create_header_field(data);
+         if (head != NULL)
+@@ -2556,7 +2557,7 @@
+         }
+         else
+           LOG (LOG_CRIT, ERROR_MEM_ALLOC);
+-      }
++//      }  // end of FreeBSD patch
+ 
+       if (!strcmp(_ds_pref_val(PTX, "showFactors"), "on")) {
+ 
+@@ -2594,7 +2595,7 @@
+ int embed_signature(DSPAM_CTX *CTX, AGENT_CTX *ATX, agent_pref_t PTX) {
+   struct nt_node *node_nt;
+   struct nt_c c_nt;
+-/*  char toplevel_boundary[128] = { 0 }; */
++  char toplevel_boundary[128] = { 0 };
+   struct _ds_message_block *block;
+   int i = 0;
+ 
+@@ -2613,13 +2614,13 @@
+   if (block->media_subtype == MST_SIGNED)
+     return embed_signed(CTX, ATX, PTX);
+ 
+-/*
++
+   if (block->media_type == MT_MULTIPART && block->terminating_boundary != NULL)
+   {
+     strlcpy(toplevel_boundary, block->terminating_boundary,
+             sizeof(toplevel_boundary));
+   }
+-*/
++
+ 
+   while (node_nt != NULL)
+   {
+@@ -2635,16 +2636,7 @@
+         && (block->media_type == MT_TEXT
+             || (block->boundary == NULL && i == 0
+                 && block->media_type != MT_MULTIPART))
+-
+-        /* The part is one of the top-level parts */ 
+-        && (
+-/*toplevel_boundary[0] == 0 || */
+-           (block->terminating_boundary 
+-/*            && 
+-            !strncmp(block->terminating_boundary, toplevel_boundary,
+-             strlen(toplevel_boundary))   
+-*/
+-           )))
++        && (toplevel_boundary[0] == 0 || block->terminating_boundary))
+     {
+       int is_attachment = 0;
+       struct _ds_header_field *field;
diff -urN dspam-devel.cvs/pkg-plist dspam-devel/pkg-plist
--- dspam-devel.cvs/pkg-plist	Thu Jan 20 15:04:02 2005
+++ dspam-devel/pkg-plist	Sun Feb 20 22:55:52 2005
@@ -7,6 +7,7 @@
 bin/dspam_crc
 bin/dspam_dump
 bin/dspam_genaliases
+bin/dspam_logrotate
 bin/dspam_merge
 bin/dspam_stats
 @unexec if cmp -s %D/etc/dspam.conf %D/etc/dspam.conf.sample; then rm -f %D/etc/dspam.conf; fi
@@ -14,18 +15,18 @@
 include/dspam/buffer.h
 include/dspam/config.h
 include/dspam/decode.h
+include/dspam/diction.h
 include/dspam/error.h
 include/dspam/heap.h
-include/dspam/lht.h
 include/dspam/libdspam.h
 include/dspam/libdspam_objects.h
 include/dspam/nodetree.h
 include/dspam/storage_driver.h
-include/dspam/tbt.h
 lib/libdspam.a
 lib/libdspam.so
 lib/libdspam.so.6
 libdata/pkgconfig/dspam.pc
+@unexec rmdir %B 2>/dev/null || true
 %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/README
--- dspam-devel-3.3.4_to_3.4.r1.20050216.0945.diff ends here ---



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



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