Opened 17 years ago

Closed 17 years ago

#11341 closed enhancement (fixed)

Bogofilter 1.1.5 Portfile

Reported by: chenggao@… Owned by: macports-tickets@…
Priority: Not set Milestone:
Component: ports Version:
Keywords: bogofilter Cc:
Port:

Description (last modified by jmpp@…)

As instructed by jmpp, I sumbit my patch file here. I patched original bogofilter 0.95.2 portfile to work with latest version 1.1.5. It works for me. Anyone interested please try it. Any problem please send me to me.

Patch file is below (Mercurial exported patch):

# HG changeset patch
# User CHENG Gao <chenggao@gmail.com>
# Date 1170686251 -28800
# Node ID c939130c6d441d3fcdccc075cc217c520793e7a6
# Parent  9a718a63168c1c506b100c497e2e6363db200ba4
Revised to bogofilter 1.1.5 and added myself as maintainer.

diff -r 9a718a63168c -r c939130c6d44 bogofilter/Portfile
--- a/bogofilter/Portfile	Mon Feb 05 22:32:56 2007 +0800
+++ b/bogofilter/Portfile	Mon Feb 05 22:37:31 2007 +0800
@@ -2,9 +2,9 @@
 
 PortSystem 1.0
 name		bogofilter
-version		0.95.2
+version		1.1.5
 categories	mail
-maintainers	nomaintainer@macports.org
+maintainers	chenggao@gmail.com
 description	Fast Bayesian Spam Filter
 homepage	http://bogofilter.sourceforge.net/
 long_description 	Bogofilter is a mail filter that classifies mail as spam or\
@@ -12,16 +12,15 @@ long_description 	Bogofilter is a mail f
 		 	header and content (body). The program is able to learn from\
 		 	the user's classifications and corrections.
 master_sites	sourceforge
-checksums	md5 43da78d185f6a206923e6fb8e50c6fe7
+checksums	md5 d524be9e9c43d9dbb593d7a3c4564f5d
 use_bzip2	yes
 depends_lib	port:sqlite3 port:libiconv port:gsl
 configure.args	--with-libsqlite3-prefix=${prefix} \
 		--with-libiconv-prefix=${prefix} \
 		--with-gsl-prefix=${prefix} \
-		--with-database=sqlite \
+		--with-database=sqlite3 \
 		--without-libdb-prefix \
 		--without-libqdbm-prefix \
-		--without-libtdb-prefix \
 		--mandir=${prefix}/share/man
 
 platform darwin 8 {

Attachments (1)

bogofilter-Portfile.patch (1.4 KB) - added by chenggao@… 17 years ago.
bogofilter Portfile patch to work with 1.1.5

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by chenggao@…

Attachment: bogofilter-Portfile.patch added

bogofilter Portfile patch to work with 1.1.5

comment:1 Changed 17 years ago by chenggao@…

Sorry I dont know I need attach file after first submission of description. I pasted patch file into message and messed it. Please forgive me.

comment:2 Changed 17 years ago by jmpp@…

Description: modified (diff)
Resolution: fixed
Status: newclosed

Hey Gao! Thanks for the patch, I committed it in r21752, rendering this ticket fixed. As a side note, you were right to submit the patch as a ticket attachment, that's the best way to work with them. However, for ticket readability, I'm formatting your original description to display your inlined patch properly; please read WikiFormatting to learn more about customizing text in your tickets. Thanks again and keep those contributions coming!

-jmpp

Note: See TracTickets for help on using tickets.