Bug 183204 - [PATCH] mail/bsfilter: update to 1.0.18.rc5 and etc.
Summary: [PATCH] mail/bsfilter: update to 1.0.18.rc5 and etc.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-22 16:40 UTC by Yasuhiro Kimura
Modified: 2014-03-30 14:50 UTC (History)
0 users

See Also:


Attachments
patch-bsfilter (13.05 KB, text/plain)
2013-10-22 16:40 UTC, Yasuhiro Kimura
no flags Details
patch-bsfilter (4.62 KB, text/plain; charset=Shift_JIS)
2013-11-03 22:32 UTC, Yasuhiro Kimura
no flags Details
patch-bsfilter (4.72 KB, text/plain; charset=Shift_JIS)
2013-12-01 04:09 UTC, Yasuhiro Kimura
no flags Details
bsfilter-1.0.19_patch.txt (3.92 KB, text/plain)
2014-02-13 02:39 UTC, Koichiro Iwao
no flags Details
patch-bsfilter (4.04 KB, text/plain; charset=Shift_JIS)
2014-03-15 06:38 UTC, Yasuhiro Kimura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2013-10-22 16:40:00 UTC
	
	- Update to 1.0.18.rc5 (+ patch) to support Ruby 1.9.
	- Use more proper EXAMPLES option instead of DOCS.
	- Support staging.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-22 16:40:09 UTC
Maintainer of mail/bsfilter,

Please note that PR ports/183204 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/183204

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-22 16:40:10 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Yasuhiro Kimura freebsd_committer freebsd_triage 2013-11-03 22:32:37 UTC
New version 1.0.19 is released. So please commit attached patch instead
of original one.

Regards.
Comment 4 Yasuhiro Kimura freebsd_committer freebsd_triage 2013-11-24 02:55:22 UTC
Otsune-san,

Would you please approve this PR? And also, I would like to take over
maintainership of this ports if you agree. So please reply if you
agree with transfer of maintainership.

Best Regards.

---
Yasuhiro KIMURA
Comment 5 Yasuhiro Kimura freebsd_committer freebsd_triage 2013-12-01 04:09:16 UTC
Take over maintainership because current maintainer does not respond to
my request of transfer. So please commit attached patch instead of
previous ones.

Regards.
Comment 6 Koichiro Iwao freebsd_committer freebsd_triage 2014-02-13 02:39:46 UTC
I've also updated mail/bsfilter to 1.0.19.

- Update to 1.0.19
- Use EXAMPLES for example files instead of DOCS

-- 
`whois vmeta.jp | nkf -w`
meta <meta@vmeta.jp>
Comment 7 Steve Wills freebsd_committer freebsd_triage 2014-02-13 03:02:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

I'll take it.
Comment 8 Yasuhiro Kimura freebsd_committer freebsd_triage 2014-03-15 06:38:29 UTC
Add 'USES=shebangfix' to fix ruby path of bsfilter. So please commit
attached patch instead of previous ones.

Regards.
Comment 9 Yasuhiro Kimura freebsd_committer freebsd_triage 2014-03-18 02:49:17 UTC
Hello,

Would you please commit this PR with maintainer timeout?

Best Regards.

---
Yasuhiro KIMURA
Comment 10 dfilter service freebsd_committer freebsd_triage 2014-03-30 00:13:18 UTC
Author: swills
Date: Sun Mar 30 00:13:13 2014
New Revision: 349599
URL: http://svnweb.freebsd.org/changeset/ports/349599
QAT: https://qat.redports.org/buildarchive/r349599/

Log:
  - Update to 1.0.19
  - Stage
  - Use more proper EXAMPLES option instead of DOCS
  - Assign maintainership to submitter
  
  PR:		ports/183204
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
  Approved by:	maintainer timeout (info@otsune.com, >5 months)

Modified:
  head/mail/bsfilter/Makefile
  head/mail/bsfilter/distinfo
  head/mail/bsfilter/pkg-message
  head/mail/bsfilter/pkg-plist

Modified: head/mail/bsfilter/Makefile
==============================================================================
--- head/mail/bsfilter/Makefile	Sat Mar 29 23:49:12 2014	(r349598)
+++ head/mail/bsfilter/Makefile	Sun Mar 30 00:13:13 2014	(r349599)
@@ -2,13 +2,13 @@
 # $FreeBSD$
 
 PORTNAME=	bsfilter
-PORTVERSION=	1.0.17
+PORTVERSION=	1.0.19
 CATEGORIES=	mail ruby
 MASTER_SITES=	SFJP
-MASTER_SITE_SUBDIR=	bsfilter/49795
+MASTER_SITE_SUBDIR=	bsfilter/59804
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	info@otsune.com
+MAINTAINER=	yasu@utahime.org
 COMMENT=	Bayesian spam filter written in Ruby
 
 LICENSE=	GPLv2
@@ -17,8 +17,10 @@ RUN_DEPENDS=	${RUBY_PKGNAMEPREFIX}gdbm>=
 
 NO_BUILD=	yes
 USE_RUBY=	yes
+USES=		shebangfix
+SHEBANG_FILES=	bsfilter/bsfilter
 
-OPTIONS_DEFINE=	DOCS MECAB
+OPTIONS_DEFINE=	EXAMPLES MECAB
 
 MECAB_DESC=	Part-of-Speech and Morphological Analyzer
 

Modified: head/mail/bsfilter/distinfo
==============================================================================
--- head/mail/bsfilter/distinfo	Sat Mar 29 23:49:12 2014	(r349598)
+++ head/mail/bsfilter/distinfo	Sun Mar 30 00:13:13 2014	(r349599)
@@ -1,2 +1,2 @@
-SHA256 (bsfilter-1.0.17.tgz) = 80aff0cc641894d9292be3c76d5ff7b074382a89057bdf4d42cd79eb459245c7
-SIZE (bsfilter-1.0.17.tgz) = 1348493
+SHA256 (bsfilter-1.0.19.tgz) = 8aa1d713cc848b20d678eb7a5f24bec1879860d023701644bfd426a587998ac9
+SIZE (bsfilter-1.0.19.tgz) = 78660

Modified: head/mail/bsfilter/pkg-message
==============================================================================
--- head/mail/bsfilter/pkg-message	Sat Mar 29 23:49:12 2014	(r349598)
+++ head/mail/bsfilter/pkg-message	Sun Mar 30 00:13:13 2014	(r349599)
@@ -1,14 +1,21 @@
 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/*
+1. The word contained in clean mail is counted.
+
+  $ 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/cur/*
+  $ cd ~/Maildir/cur/ ; ls | xargs bsfilter -c
+
+2. The word in spam is counted.
+
+  $ bsfilter --add-spam ~/Maildir/.spam/cur/*
+
  or
-% cd ~/Maildir/.spam/cur/ ; ls | xargs bsfilter -s
 
-3.A database is updated for every word.
-% bsfilter -u
+  $ cd ~/Maildir/.spam/cur/ ; ls | xargs bsfilter -s
+
+3. A database is updated for every word.
+
+  $ bsfilter -u

Modified: head/mail/bsfilter/pkg-plist
==============================================================================
--- head/mail/bsfilter/pkg-plist	Sat Mar 29 23:49:12 2014	(r349598)
+++ head/mail/bsfilter/pkg-plist	Sun Mar 30 00:13:13 2014	(r349599)
@@ -1,24 +1,26 @@
 bin/bsfilter
-%%PORTDOCS%%share/examples/bsfilter/bsfilter.conf.sample
-%%PORTDOCS%%share/examples/bsfilter/dot-qmail.sample
-%%PORTDOCS%%share/examples/bsfilter/mda/maildrop/mailfilter.header
-%%PORTDOCS%%share/examples/bsfilter/mda/procmail/procmailrc.black_gray
-%%PORTDOCS%%share/examples/bsfilter/mda/procmail/procmailrc.header
-%%PORTDOCS%%share/examples/bsfilter/mda/procmail/procmailrc.status
-%%PORTDOCS%%share/examples/bsfilter/mua/mew3/bs_clean
-%%PORTDOCS%%share/examples/bsfilter/mua/mew3/bs_mark
-%%PORTDOCS%%share/examples/bsfilter/mua/mew3/bs_spam
-%%PORTDOCS%%share/examples/bsfilter/mua/mew3/mew.el
-%%PORTDOCS%%share/examples/bsfilter/mua/mew4/emacs.el
-%%PORTDOCS%%share/examples/bsfilter/mua/mew4/mew.el
-%%PORTDOCS%%share/examples/bsfilter/mua/mew5/mew.el
-%%PORTDOCS%%share/examples/bsfilter/mua/mew6/mew.el
-%%PORTDOCS%%@dirrm share/examples/bsfilter/mda/maildrop
-%%PORTDOCS%%@dirrm share/examples/bsfilter/mda/procmail
-%%PORTDOCS%%@dirrm share/examples/bsfilter/mda
-%%PORTDOCS%%@dirrm share/examples/bsfilter/mua/mew6
-%%PORTDOCS%%@dirrm share/examples/bsfilter/mua/mew5
-%%PORTDOCS%%@dirrm share/examples/bsfilter/mua/mew4
-%%PORTDOCS%%@dirrm share/examples/bsfilter/mua/mew3
-%%PORTDOCS%%@dirrm share/examples/bsfilter/mua
-%%PORTDOCS%%@dirrm share/examples/bsfilter
+%%PORTEXAMPLES%%share/examples/bsfilter/bsfilter.conf.sample
+%%PORTEXAMPLES%%share/examples/bsfilter/dot-qmail.sample
+%%PORTEXAMPLES%%share/examples/bsfilter/mda/maildrop/mailfilter.header
+%%PORTEXAMPLES%%share/examples/bsfilter/mda/procmail/procmailrc.black_gray
+%%PORTEXAMPLES%%share/examples/bsfilter/mda/procmail/procmailrc.header
+%%PORTEXAMPLES%%share/examples/bsfilter/mda/procmail/procmailrc.status
+%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew3/bs_clean
+%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew3/bs_mark
+%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew3/bs_spam
+%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew3/mew.el
+%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew4/emacs.el
+%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew4/mew.el
+%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew5/mew.el
+%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew6/mew.el
+%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew6.4/mew.el
+%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mda/maildrop
+%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mda/procmail
+%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mda
+%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua/mew6.4
+%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua/mew6
+%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua/mew5
+%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua/mew4
+%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua/mew3
+%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua
+%%PORTEXAMPLES%%@dirrm share/examples/bsfilter
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 11 Steve Wills freebsd_committer freebsd_triage 2014-03-30 00:13:53 UTC
State Changed
From-To: feedback->closed

Committed, with minor change to remove ruby_OLD_CMD. Sorry for the slow 
response and thanks for the patch!
Comment 12 Yasuhiro Kimura freebsd_committer freebsd_triage 2014-03-30 13:07:27 UTC
From: swills@FreeBSD.org
Subject: Re: ports/183204: [PATCH] mail/bsfilter: update to 1.0.18.rc5 and etc.
Date: Sun, 30 Mar 2014 00:13:53 GMT

> State-Changed-Why: 
> Committed, with minor change to remove ruby_OLD_CMD. Sorry for the slow
> response and thanks for the patch!

Thank you committing, but setting ruby_OLD_CMD is necessary because
original 'bsfilter' script start with such shebang line as following:

----------------------------------------------------------------------
yasu@rolling-vm-freebsd2[36980]% head bsfilter-1.0.19/bsfilter/bsfilter
#! /usr/bin/env ruby
## -*-Ruby-*- $Id: bsfilter,v 1.87 2013/11/03 10:22:15 nabeken Exp $
## Copyright (C) 2003, 2004, 2005, 2006 NABEYA Kenichi
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
yasu@rolling-vm-freebsd2[36981]%
----------------------------------------------------------------------

Unless setting ruby_OLD_CMD to '/usr/bin/env ruby', shebang fix does
not work as is expected. So please commit it together.

Best Regards.

---
Yasuhiro KIMURA
Comment 13 dfilter service freebsd_committer freebsd_triage 2014-03-30 14:47:43 UTC
Author: swills
Date: Sun Mar 30 13:47:39 2014
New Revision: 349619
URL: http://svnweb.freebsd.org/changeset/ports/349619
QAT: https://qat.redports.org/buildarchive/r349619/

Log:
  - Include ruby_OLD_CMD so that shebangfix works properly
  - Bump PORTREVISION due to package change
  
  PR:		ports/183204
  Reported by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer, submitter)
  Pointyhat to:	swills

Modified:
  head/mail/bsfilter/Makefile

Modified: head/mail/bsfilter/Makefile
==============================================================================
--- head/mail/bsfilter/Makefile	Sun Mar 30 13:33:19 2014	(r349618)
+++ head/mail/bsfilter/Makefile	Sun Mar 30 13:47:39 2014	(r349619)
@@ -3,6 +3,7 @@
 
 PORTNAME=	bsfilter
 PORTVERSION=	1.0.19
+PORTREVISION=	1
 CATEGORIES=	mail ruby
 MASTER_SITES=	SFJP
 MASTER_SITE_SUBDIR=	bsfilter/59804
@@ -19,6 +20,7 @@ NO_BUILD=	yes
 USE_RUBY=	yes
 USES=		shebangfix
 SHEBANG_FILES=	bsfilter/bsfilter
+ruby_OLD_CMD=	/usr/bin/env ruby
 
 OPTIONS_DEFINE=	EXAMPLES MECAB
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"