From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 8 17:10:02 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98BA616A4E7 for ; Sun, 8 May 2005 17:10:02 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CCBA43DAB for ; Sun, 8 May 2005 17:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j48HA2kK032463 for ; Sun, 8 May 2005 17:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j48HA2o5032462; Sun, 8 May 2005 17:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 8 May 2005 17:10:02 GMT Resent-Message-Id: <200505081710.j48HA2o5032462@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Ion-Mihai " IOnut " Tetcu" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5092316A4E4 for ; Sun, 8 May 2005 17:08:29 +0000 (GMT) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 22B6043D93 for ; Sun, 8 May 2005 17:08:28 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 12494 invoked from network); 8 May 2005 17:01:02 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 8 May 2005 17:01:02 -0000 Received: (qmail 25682 invoked by uid 89); 8 May 2005 17:21:18 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 8 May 2005 17:21:18 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 0B643115F8 for ; Sun, 8 May 2005 20:08:22 +0300 (EEST) Message-Id: <1115572102.0@it.buh.tecnik93.com> Date: Sun, 8 May 2005 20:08:22 +0300 From: "Ion-Mihai " IOnut " Tetcu" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Subject: ports/80790: [Maintainer Update] mail/dspam: depends fix, update to 3.4.6, bugfixes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2005 17:10:02 -0000 >Number: 80790 >Category: ports >Synopsis: [Maintainer Update] mail/dspam: depends fix, update to 3.4.6, bugfixes >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 May 08 17:10:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ion-Mihai "IOnut" Tetcu >Release: FreeBSD 5.4-PRERELEASE i386 >Organization: >Environment: System: FreeBSD 5.4-PRERELEASE #2: Thu Mar 3 23:57:35 EET 2005 >Description: Update to dspam-3.4.6 - BUG FIX: "obscure" [1] bug causing dspam to crash under certain conditions when the loose signature was provided without the appropriate delimiter - BUG FIX: fix sqlite3 dependency check [2] - BUG FIX: don't strip binary if we want GDB suport - BUG FIX: DOMAIN_SCALE and LARGE_SCALE are incompatible so catch this before ./cofigure fails [3] [1] "Obscure" = it took me about 4 hours and a 500 queue processed one by one by hand to catch and reproduce the problem after 7 days of mail processing w/o error [2] Pointed out by vanilla@ [3] Pointed out by Arvinn Lokkebakken for >How-To-Repeat: >Fix: --- dspam-3.4.5_to_3.4.6.diff begins here --- diff -urN dspam.cvs/Makefile dspam/Makefile --- dspam.cvs/Makefile Fri May 6 04:46:10 2005 +++ dspam/Makefile Sun May 8 19:38:05 2005 @@ -19,7 +19,7 @@ MAINTAINER= itetcu@people.tecnik93.com COMMENT= Bayesian spam filter - stable maintenance version -PORTVER_MAJ= 3.4.5 +PORTVER_MAJ= 3.4.6 #SNAP_DATE= .20050417.0700 .ifdef(SNAP_DATE) @@ -53,6 +53,9 @@ OPTIONS+= NO_BIAS "No bias toward innocent mail" off OPTIONS+= NEURAL_NET "Enable neural networking" off +#OPTIONS+= CLAMAV "Enable clamav support" off +#OPTIONS+= CLAMAV_DEVEL "Enable clamav support" off + ## run-time configure options OPTIONS+= USER_HOMEDIR "Store user data in ~/.dspam" off OPTIONS+= TRUSTED_USERS "Disable trusted user security" off @@ -96,11 +99,12 @@ .ifdef(GDBS) CFLAGS+= -g -DDEBUG +STRIP= .endif PKGMESSAGE= ${WRKSRC}/src/README.FreeBSD -_UPD_LINE_NO= 16 +_UPD_LINE_NO= 17 CONFLICTS= dspam-2* dspam-3* @@ -120,13 +124,6 @@ .include -## 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} @@ -216,6 +213,16 @@ CONFIGURE_ARGS+= --enable-neural-networking .endif +#.if defined(WITH_CLAMAV) +#RUN_DEPENDS+= ${LOCALBASE}/etc/clamd.conf:${PORTSDIR}/security/clamav +#CONFIGURE_ARGS+= --enable-clamav +#.endif +# +#.if defined(WITH_CLAMAV_DEVEL) +#RUN_DEPENDS+= ${LOCALBASE}/etc/clamd.conf:${PORTSDIR}/security/clamav-devel +#CONFIGURE_ARGS+= --enable-clamav +#.endif + .if defined(WITH_USER_HOMEDIR) CONFIGURE_ARGS+= --enable-homedir .endif @@ -269,7 +276,7 @@ .if defined(WITH_SQLITE3) HAVE_SQLITE= yes -LIB_DEPENDS+= sqlite.3:${PORTSDIR}/databases/sqlite3 +LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3 .endif .if defined(WITH_SQLITE2) @@ -554,6 +561,10 @@ .endif .if defined(WITH_USER_HOMEDIR) && defined(WITH_CGI) @${ECHO_CMD} "USER_HOMEDIR and CGI are incopatible" + @${FALSE} +.endif +.if defined(WITH_DOMAIN_SCALE) && defined(WITH_LARGE_SCALE) + @${ECHO_CMD} "DOMAIN_SCALE and LARGE_SCALE are incopatible" @${FALSE} .endif diff -urN dspam.cvs/distinfo dspam/distinfo --- dspam.cvs/distinfo Fri May 6 04:46:16 2005 +++ dspam/distinfo Sun May 8 19:37:51 2005 @@ -1,2 +1,2 @@ -MD5 (dspam-3.4.5.tar.gz) = fcb16a275e343baaa657eda045123e06 -SIZE (dspam-3.4.5.tar.gz) = 698456 +MD5 (dspam-3.4.6.tar.gz) = 05d6d5546967305e9f1c394f443f8e93 +SIZE (dspam-3.4.6.tar.gz) = 698599 diff -urN dspam.cvs/files/UPDATING dspam/files/UPDATING --- dspam.cvs/files/UPDATING Fri May 6 11:04:07 2005 +++ dspam/files/UPDATING Sun May 8 19:37:40 2005 @@ -16,6 +16,24 @@ make extract; more `find . -type f -maxdepth 2 -name UPGRADING` ########################################################################### +# dspam-3.4.6 +# + +- BUG FIX: "obscure" [1] bug causing dspam to crash under certain conditions +when the loose signature was provided without the appropriate delimiter +- BUG FIX: fix sqlite3 dependency check [2] +- BUG FIX: don't strip binary if we want GDB suport +- BUG FIX: DOMAIN_SCALE and LARGE_SCALE are incompatible so catch this +before ./cofigure fails [3] + +[1] "Obscure" = it took me about 4 hours and a 500 queue processed one by +one by hand to catch and reproduce the problem after 7 days of mail +processing w/o error +[2] Pointed out by vanilla@ +[3] Pointed out by Arvinn Lokkebakken + + +########################################################################### # dspam-3.4.5 # --- dspam-3.4.5_to_3.4.6.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: