ports/165765: [maintainer update] modern revamping japanese/p5-Mail-SpamAssassin
Masaki TAGAWA
masaki at club.kyutech.ac.jp
Tue Mar 6 02:30:16 UTC 2012
>Number: 165765
>Category: ports
>Synopsis: [maintainer update] modern revamping japanese/p5-Mail-SpamAssassin
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 06 02:30:14 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Masaki TAGAWA
>Release: FreeBSD 8.2-RELEASE-p5 amd64
>Organization:
Kyushu Institute of Technology
>Environment:
System: FreeBSD sakura.mochipon.com 8.2-RELEASE-p5 FreeBSD 8.2-RELEASE-p5 #2: Thu Jan 5 19:32:16 JST 2012 root at sakura.mochipon.com:/usr/obj/usr/src/sys/SAKURA-VPS amd64
>Description:
- Modern revamping japanese/p5-Mail-SpamAssassin to work as a slave port
- See: p5-Mail-SpamAssassin.shar
- To work this slave port, some assignments on mail/p5-Mail-SpamAssassin should be changed
- See: p5-Mail-SpamAssassin.diff
- CC'd maintainer <scheidell at FreeBSD.org>
>How-To-Repeat:
>Fix:
--- p5-Mail-SpamAssassin.diff begins here ---
diff -ruN /tmp/p5-Mail-SpamAssassin.org/Makefile /tmp/p5-Mail-SpamAssassin/Makefile
--- /tmp/p5-Mail-SpamAssassin.org/Makefile 2012-02-08 00:17:28.000000000 +0900
+++ /tmp/p5-Mail-SpamAssassin/Makefile 2012-03-06 08:55:28.445163638 +0900
@@ -219,7 +219,7 @@
.endif
@${INSTALL_DATA} ${WRKSRC}/spamc/libspamc.h ${PREFIX}/include
-post-install:
+post-install::
.if defined (WITH_SPAMC)
@${STRIP_CMD} ${PREFIX}/bin/spamc
.endif
--- p5-Mail-SpamAssassin.diff ends here ---
--- p5-Mail-SpamAssassin.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Mail-SpamAssassin
# p5-Mail-SpamAssassin/Makefile
# p5-Mail-SpamAssassin/distinfo
# p5-Mail-SpamAssassin/pkg-message
#
echo c - p5-Mail-SpamAssassin
mkdir -p p5-Mail-SpamAssassin > /dev/null 2>&1
echo x - p5-Mail-SpamAssassin/Makefile
sed 's/^X//' >p5-Mail-SpamAssassin/Makefile << '00a579efcf618b9ea8e34785b9e57740'
X# New ports collection makefile for: ja-p5-Mail-SpamAssassin
X# Date created: Jun 24 2007
X# Whom: TAOKA Fumiyoshi
X#
X# $FreeBSD: ports/japanese/p5-Mail-SpamAssassin/Makefile,v 1.28 2012/01/15 21:04:10 jgh Exp $
X#
X
XPORTNAME=Mail-SpamAssassin
XPORTREVISION= 2
XCATEGORIES= japanese mail perl5
XPKGNAMEPREFIX= ja-p5-
XDIST_SUBDIR= ja-spamassassin
X
XPATCH_SITES= http://spamassassin.emaillab.jp/pub/ja-patch/sa${PORTVERSION:R}/:JA
XPATCHFILES= spamassassin-${PORTVERSION}-ja-${PATCHLEVEL}.patch:JA
XPATCHLEVEL= 1
XPATCH_DIST_STRIP= -p1
X
XMAINTAINER= masaki at club.kyutech.ac.jp
XCOMMENT= SpamAssassin with paches for handle multibyte character
X
XMASTERDIR= ${.CURDIR}/../../mail/p5-Mail-SpamAssassin
X
XRUN_DEPENDS+= ja-p5-MeCab>=0.98:${PORTSDIR}/japanese/p5-MeCab
X
XCONFLICTS= p5-Mail-SpamAssassin-[0-9]*
X
XPKGMESSAGE= ${.CURDIR}/pkg-message
XDISTINFO_FILE= ${.CURDIR}/distinfo
X
XPORTDOCS+= ${DOCJA}
X
XDOCJA= ${PATCHFILES:S/.patch:JA/.txt/}
XTOKENIZER_PRE= tokenizer.pre
X
Xpost-install::
X @${CP} ${DISTDIR}/${DIST_SUBDIR}/${TOKENIZER_PRE} ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE}.sample
X @[ -f ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE} ] || \
X ${CP} ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE}.sample \
X ${PREFIX}/etc/mail/spamassassin/${TOKENIZER_PRE}
X
X.if !defined(NOPORTDOCS)
X @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DOCJA} ${DOCSDIR}
X.endif
X
X.include "${MASTERDIR}/Makefile"
00a579efcf618b9ea8e34785b9e57740
echo x - p5-Mail-SpamAssassin/distinfo
sed 's/^X//' >p5-Mail-SpamAssassin/distinfo << '6afdeefed8f212432234b9edf05e0e5a'
XSHA256 (ja-spamassassin/Mail-SpamAssassin-3.3.2.tar.gz) = 5323038939a0ef9fc97d5264defce3ae1d95e98b3a94c4c3b583341c927f32df
XSIZE (ja-spamassassin/Mail-SpamAssassin-3.3.2.tar.gz) = 1208182
XSHA256 (ja-spamassassin/spamassassin-3.3.2-ja-1.patch) = 073e9eaebf0dc2bf9e90f894c171a7654dad8444ed269528045e547302b7136a
XSIZE (ja-spamassassin/spamassassin-3.3.2-ja-1.patch) = 33740
6afdeefed8f212432234b9edf05e0e5a
echo x - p5-Mail-SpamAssassin/pkg-message
sed 's/^X//' >p5-Mail-SpamAssassin/pkg-message << 'cc5722da4a1afb9f9af1f5489b4b76f7'
X*************************************************************************
X* _ _____ _____ _____ _ _ _____ ___ ___ _ _ *
X* / \|_ _|_ _| ____| \ | |_ _|_ _/ _ \| \ | | *
X* / _ \ | | | | | _| | \| | | | | | | | | \| | *
X* / ___ \| | | | | |___| |\ | | | | | |_| | |\ | *
X* /_/ \_\_| |_| |_____|_| \_| |_| |___\___/|_| \_| *
X* *
X* See PREFIX/share/doc/p5-Mail-SpamAssassin/INSTALL, *
X* and PREFIX/share/doc/p5-Mail-SpamAssassin/UPGRADE, *
X* or http://spamassassin.org/dist/INSTALL and *
X* http://spamassassin.org/dist/UPGRADE BEFORE enabling *
X* this version of SpamAssassin for important information *
X* regarding changes in this version. *
X* *
X* SpamAssassin may require additional configuration in *
X* PREFIX/etc/mail/spamassassin/init.pre depending on *
X* the options you have installed. Otherwise, annoying *
X* (but harmless) error messages may result. Read the *
X* files listed above. *
X* *
X*************************************************************************
XYou may wish to run sa-update now to obtain the latest rules.
X
XNOTE: FREEBSD users: If you are updating from a version prior to 3.20.
Xsa-update now places state files in /var/db/spamassassin and not
X/var/lib/spamassassin. This is to be consistant with Freebsd file
Xdirectory conventions.
X
XIf you run sa-compile, you will notice that files are in
X/var/db/spamassassin/compiled/<perlversion>/<version> instead of
X/var/db/spamassassin/compiled/<version>.
XNo attempts have been made to move old versions over. You must recompile.
X
XIf you are running with spamd, you must add the following to rc.conf:
Xspamd_enable="YES"
X
XSecurity Note: If you did NOT deselected AS_ROOT, spamd will be running
Xas root. To change this, also add this to rc.conf:
Xspamd_flags="-u spamd -H /var/spool/spamd"
X
X************************************************************************
XFor Japanese users, see document in
XPREFIX/share/doc/ja-p5-Mail-SpamAssassin/
Xand
Xhttp://emaillab.jp/spamassassin/ja-patch/
X
XTokenizer::MeCab uses UTF-8 encoding. You may have to manually
X(re)install the following ports with the build options for UTF-8:
X japanese/mecab WITH_CHARSET=utf-8
X japanese/mecab-ipadic WITH_CHARSET=utf-8
X japanese/p5-MeCab
X************************************************************************
cc5722da4a1afb9f9af1f5489b4b76f7
exit
--- p5-Mail-SpamAssassin.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list