Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  4 May 2009 19:02:16 -0500 (CDT)
From:      Corey Halpin <chalpin@cs.wisc.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134213: ports: mail/crm114 - new upstream version (patch)
Message-ID:  <20090505000216.BAD345F2F@spiff.home.crhalpin.org>
Resent-Message-ID: <200905050010.n450A11e054037@freefall.freebsd.org>

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

>Number:         134213
>Category:       ports
>Synopsis:       ports: mail/crm114 - new upstream version (patch)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 05 00:10:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Corey Halpin
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD spiff.home.crhalpin.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


>Description:
  There's a new upstream version of CRM114.
  The upstream archive has a typo in the archive name, hence the odd DISTNAME.
  Note, though: css files will have to be rebuilt to work against this version, as the data file format has changed.
>How-To-Repeat:
	NA
>Fix:

diff -ru /usr/ports/mail/crm114/Makefile crm114/Makefile
--- /usr/ports/mail/crm114/Makefile	2009-04-21 20:58:12.000000000 -0500
+++ crm114/Makefile	2009-05-04 17:39:55.000000000 -0500
@@ -5,24 +5,25 @@
 #
 
 PORTNAME=	crm114
-PORTVERSION=	20080326
+PORTVERSION=	20090423
 # WARNING change versionname in CRM114RELEASENAME too.
 # portlint didn't like this variable at this place.
 # So I have to put it down in this file.
-PORTREVISION=	2
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://crm114.sourceforge.net/tarballs/
 # Oliver Eikemeier recommended the following construction
 # to avoid the reduncany of the CRM114RELEASENAME and .src and
 # .css extention.
-DISTNAME=	${PORTNAME}-${PORTVERSION}-${CRM114RELEASENAME}.src
+#DISTNAME=	${PORTNAME}-${PORTVERSION}-${CRM114RELEASENAME}.src
+DISTNAME=	${PORTNAME}-200904023-${CRM114RELEASENAME}.src
 
 MAINTAINER=	hideo@lastamericanempire.com
 COMMENT=	A Markov based SpamFilter
 
 LIB_DEPENDS=	tre.6:${PORTSDIR}/textproc/libtre
 
-CRM114RELEASENAME=BlameSentansoken
+CRM114RELEASENAME=BlameSteveJobs
 
 USE_GETTEXT=	yes
 USE_ICONV=	yes
@@ -32,16 +33,20 @@
 		INSTALL_PROGRAM="${INSTALL_PROGRAM}"
 
 CFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 LIBS+=		-L${LOCALBASE}/lib -liconv -lintl
 
+CFLAGS+=	-DVERSION='\"${PORTVERSION}-${CRM114RELEASENAME}\"'
+CFLAGS+=	-DNO_LOGL
+
 INSTALL_TARGET=	install_binary_only
 
 CRM_FILES=	mailfilter.crm mailfilter.cf mailreaver.crm mailtrainer.crm \
 		maillib.crm shuffle.crm rewriteutil.crm rewrites.mfp \
 		whitelist.mfp blacklist.mfp priolist.mfp priolist.mfp.example \
 		blacklist.mfp.example whitelist.mfp.example crm114-mode.el \
-		procmailrc.recipe
+		reto_procmailrc.recipe
 
 OPTIONS=	PGO "Enable Profile-Guided Optimization" off
 
diff -ru /usr/ports/mail/crm114/distinfo crm114/distinfo
--- /usr/ports/mail/crm114/distinfo	2008-04-25 11:11:05.000000000 -0500
+++ crm114/distinfo	2009-05-04 17:05:38.000000000 -0500
@@ -1,3 +1,3 @@
-MD5 (crm114-20080326-BlameSentansoken.src.tar.gz) = 0e9a0ea01f73cd600a92c56b82b29ad4
-SHA256 (crm114-20080326-BlameSentansoken.src.tar.gz) = 1d9638a3542d7e91d401ba57be27de0ee15bdba942ca3b97d3615e860b917e88
-SIZE (crm114-20080326-BlameSentansoken.src.tar.gz) = 593676
+MD5 (crm114-200904023-BlameSteveJobs.src.tar.gz) = 60c3bb5f0408341ce02c0571308259f3
+SHA256 (crm114-200904023-BlameSteveJobs.src.tar.gz) = dd2ba229444ca3d0364b859402af0dc69adc3ac3e898cb4e8ce46dd66faba17b
+SIZE (crm114-200904023-BlameSteveJobs.src.tar.gz) = 623779
diff -ru /usr/ports/mail/crm114/pkg-plist crm114/pkg-plist
--- /usr/ports/mail/crm114/pkg-plist	2007-08-09 18:27:05.000000000 -0500
+++ crm114/pkg-plist	2009-05-04 18:50:23.000000000 -0500
@@ -9,13 +9,17 @@
 %%PORTDOCS%%%%DOCSDIR%%/INTRO.txt
 %%PORTDOCS%%%%DOCSDIR%%/QUICKREF.txt
 %%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/classify_details.txt
+%%PORTDOCS%%%%DOCSDIR%%/CLASSIFY_DETAILS.txt
 %%PORTDOCS%%%%DOCSDIR%%/inoc_passwd.txt
 %%PORTDOCS%%%%DOCSDIR%%/COLOPHON.txt
-%%PORTDOCS%%%%DOCSDIR%%/knownbugs.txt
-%%PORTDOCS%%%%DOCSDIR%%/things_to_do.txt
+%%PORTDOCS%%%%DOCSDIR%%/KNOWNBUGS.txt
+%%PORTDOCS%%%%DOCSDIR%%/THINGS_TO_DO.txt
+%%PORTDOCS%%%%DOCSDIR%%/Alice_In_Wonderland_Chap_1_And_2.txt
+%%PORTDOCS%%%%DOCSDIR%%/Hound_of_the_Baskervilles_first_500_lines.txt
+%%PORTDOCS%%%%DOCSDIR%%/Macbeth_Act_IV.txt
+%%PORTDOCS%%%%DOCSDIR%%/The_Wind_in_the_Willows_Chap_1.txt
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%EXAMPLESDIR%%/procmailrc.recipe
+%%EXAMPLESDIR%%/reto_procmailrc.recipe
 %%EXAMPLESDIR%%/mailfilter.crm
 %%EXAMPLESDIR%%/mailfilter.cf
 %%EXAMPLESDIR%%/mailreaver.crm
>Release-Note:
>Audit-Trail:
>Unformatted:



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