Date: 19 Dec 2004 10:11:30 +0900 From: Masafumi Otsune <info@otsune.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/75245: [MAINTAINER] mail/bsfilter: update to 1.0.6 Message-ID: <20041219011152.20696.qmail@a.mx.xebec1995.jp> Resent-Message-ID: <200412190120.iBJ1KdES040174@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 75245 >Category: ports >Synopsis: [MAINTAINER] mail/bsfilter: update to 1.0.6 >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 Dec 19 01:20:38 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Masafumi Otsune >Release: FreeBSD 4.10-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD ports.xe.production-ig.co.jp 4.10-RELEASE-p3 FreeBSD 4.10-RELEASE-p3 #0: Sun Oct 31 10:50:45 JST 2004 >Description: - Update to 1.0.6 Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- bsfilter-1.0.6.patch begins here --- diff -ruN --exclude=CVS /usr/ports/mail/bsfilter.orig/Makefile /usr/ports/mail/bsfilter/Makefile --- /usr/ports/mail/bsfilter.orig/Makefile Sun Dec 19 10:10:00 2004 +++ /usr/ports/mail/bsfilter/Makefile Sun Dec 19 10:09:49 2004 @@ -6,10 +6,10 @@ # PORTNAME= bsfilter -PORTVERSION= 1.0.4 +PORTVERSION= 1.0.6 CATEGORIES= mail ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} -MASTER_SITE_SUBDIR= bsfilter/10876 +MASTER_SITE_SUBDIR= bsfilter/12638 EXTRACT_SUFX= .tgz MAINTAINER= info@otsune.com @@ -20,12 +20,16 @@ NO_BUILD= yes USE_RUBY= yes -OPTIONS= MECAB "Use japanese/mecab" off \ - KAKASI "Use japanese/kakasi" off +OPTIONS= CHASEN "Japanese Morphological Analysis Support" Off \ + MECAB "Part-of-Speech and Morphological Analyzer(i386 only)" Off \ + KAKASI "Language processing filter/converter" Off .include <bsd.port.pre.mk> -.if defined(WITH_MECAB) +.if defined(WITH_CHASEN) +RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/chasen.so:${PORTSDIR}/japanese/ruby-chasen +.endif +.if ${ARCH} == i386 && defined(WITH_MECAB) RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/MeCab.so:${PORTSDIR}/japanese/ruby-mecab .endif .if defined(WITH_KAKASI) @@ -43,5 +47,8 @@ @${CP} -r ${WRKSRC}/${DIR} ${EXAMPLESDIR}/${DIR} .endfor .endif + +post-install: + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/mail/bsfilter.orig/distinfo /usr/ports/mail/bsfilter/distinfo --- /usr/ports/mail/bsfilter.orig/distinfo Sun Aug 22 03:13:25 2004 +++ /usr/ports/mail/bsfilter/distinfo Sun Dec 19 10:05:20 2004 @@ -1,2 +1,2 @@ -MD5 (bsfilter-1.0.4.tgz) = 6fb0bb985bd6c4cbac1d5589de03d985 -SIZE (bsfilter-1.0.4.tgz) = 862941 +MD5 (bsfilter-1.0.6.tgz) = da1cfbe99b13e372644fc433306ec55f +SIZE (bsfilter-1.0.6.tgz) = 863767 diff -ruN --exclude=CVS /usr/ports/mail/bsfilter.orig/pkg-message /usr/ports/mail/bsfilter/pkg-message --- /usr/ports/mail/bsfilter.orig/pkg-message Wed Mar 31 05:33:29 2004 +++ /usr/ports/mail/bsfilter/pkg-message Sun Dec 19 10:07:29 2004 @@ -1,12 +1,12 @@ Before actually using it, it is necessary to prepare a word database. 1.The word contained in clean mail is counted. -% bsfilter --add-clean ~/Maildir/.cur/* +% bsfilter --add-clean ~/Maildir/cur/* or % cd ~/Maildir/cur/ ; ls | xargs bsfilter -c 2.The word in spam is counted. -% bsfilter --add-spam ~/Maildir/.spam/* +% bsfilter --add-spam ~/Maildir/.spam/cur/* or % cd ~/Maildir/.spam/cur/ ; ls | xargs bsfilter -s --- bsfilter-1.0.6.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041219011152.20696.qmail>