A new port for SpamAssassin with Japanese tokenizer patch. This is a slave port of mail/p5-Mail-SpamAssassin. Some changes for the master port are also attached. - Enable master-slave construction. - Add CONFLICTS. - Add DIST_SUBDIR for multiple distfiles. Fix: # 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: # # japanese/p5-Mail-SpamAssassin # japanese/p5-Mail-SpamAssassin/distinfo # japanese/p5-Mail-SpamAssassin/pkg-plist # japanese/p5-Mail-SpamAssassin/pkg-message # japanese/p5-Mail-SpamAssassin/Makefile # japanese/p5-Mail-SpamAssassin/files # japanese/p5-Mail-SpamAssassin/files/patch-rules-local.cf # echo c - japanese/p5-Mail-SpamAssassin mkdir -p japanese/p5-Mail-SpamAssassin > /dev/null 2>&1 echo x - japanese/p5-Mail-SpamAssassin/distinfo sed 's/^X//' >japanese/p5-Mail-SpamAssassin/distinfo << 'END-of-japanese/p5-Mail-SpamAssassin/distinfo' XMD5 (spamassassin/tokenizer.pre) = 72b905b3e7ae7bcfef639bbffbeadb3a XSHA256 (spamassassin/tokenizer.pre) = 565c6aa234fd33c724e119ae10935d61a7d85c2b85520243b4a7d5cc9a06f04c XSIZE (spamassassin/tokenizer.pre) = 164 XMD5 (spamassassin/spamassassin-3.1.8-normalize-test8.txt) = a45eeafbed2d316e4b4d184258df2788 XSHA256 (spamassassin/spamassassin-3.1.8-normalize-test8.txt) = a94ddf5d3fe2f7cbdde44af04eada690ca0bb1643e2597b7d612479fe086c39d XSIZE (spamassassin/spamassassin-3.1.8-normalize-test8.txt) = 12808 XMD5 (spamassassin/Mail-SpamAssassin-3.1.8.tar.gz) = 20a3a6b651a89dcc70634715ca833996 XSHA256 (spamassassin/Mail-SpamAssassin-3.1.8.tar.gz) = 01e5b0d78969cfb0580efb14a7a7212ed3af9f382829afcd61b97a91938831dd XSIZE (spamassassin/Mail-SpamAssassin-3.1.8.tar.gz) = 1173847 XMD5 (spamassassin/spamassassin-3.1.8-normalize-test8.patch) = 5d07043233324d4c3f136a2987a94759 XSHA256 (spamassassin/spamassassin-3.1.8-normalize-test8.patch) = a4d470e7c687833d124c9eab2960bfa6ffff8b6f6205d7420ba4162008d296e7 XSIZE (spamassassin/spamassassin-3.1.8-normalize-test8.patch) = 54747 END-of-japanese/p5-Mail-SpamAssassin/distinfo echo x - japanese/p5-Mail-SpamAssassin/pkg-plist sed 's/^X//' >japanese/p5-Mail-SpamAssassin/pkg-plist << 'END-of-japanese/p5-Mail-SpamAssassin/pkg-plist' X@unexec %D/etc/rc.d/sa-spamd.sh stop > /dev/null 2>&1 || true X@unexec %D/etc/rc.d/sa-spamd stop > /dev/null 2>&1 || true Xbin/sa-learn Xbin/sa-update Xbin/spamassassin Xbin/spamc Xbin/spamd Xetc/mail/spamassassin/local.cf.sample X@unexec if cmp -s %B/init.pre.sample %B/init.pre; then rm -f %B/init.pre; fi Xetc/mail/spamassassin/init.pre.sample X@exec [ -f %B/init.pre ] || cp %B/%f %B/init.pre X@unexec if cmp -s %B/tokenizer.pre.sample %B/tokenizer.pre; then rm -f %B/tokenizer.pre; fi Xetc/mail/spamassassin/tokenizer.pre.sample X@exec [ -f %B/tokenizer.pre ] || cp %B/%f %B/init.pre X@unexec if cmp -s %B/v310.pre.sample %B/v310.pre; then rm -f %B/v310.pre; fi Xetc/mail/spamassassin/v310.pre.sample X@exec [ -f %B/v310.pre ] || cp %B/%f %B/v310.pre X@unexec if cmp -s %B/v312.pre.sample %B/v312.pre; then rm -f %B/v312.pre; fi Xetc/mail/spamassassin/v312.pre.sample X@exec [ -f %B/v312.pre ] || cp %B/%f %B/v312.pre X%%SITE_PERL%%/Mail/SpamAssassin.pm X%%SITE_PERL%%/Mail/SpamAssassin/AICache.pm X%%SITE_PERL%%/Mail/SpamAssassin/ArchiveIterator.pm X%%SITE_PERL%%/Mail/SpamAssassin/AutoWhitelist.pm X%%SITE_PERL%%/Mail/SpamAssassin/Bayes.pm X%%SITE_PERL%%/Mail/SpamAssassin/Bayes/CombineChi.pm X%%SITE_PERL%%/Mail/SpamAssassin/Bayes/CombineNaiveBayes.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/DBM.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/MySQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/PgSQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/SDBM.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/SQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Client.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf/LDAP.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf/Parser.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf/SQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Constants.pm X%%SITE_PERL%%/Mail/SpamAssassin/DBBasedAddrList.pm X%%SITE_PERL%%/Mail/SpamAssassin/Dns.pm X%%SITE_PERL%%/Mail/SpamAssassin/DnsResolver.pm X%%SITE_PERL%%/Mail/SpamAssassin/EvalTests.pm X%%SITE_PERL%%/Mail/SpamAssassin/HTML.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locales.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker/Flock.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker/UnixNFSSafe.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker/Win32.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger/File.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger/Stderr.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger/Syslog.pm X%%SITE_PERL%%/Mail/SpamAssassin/MailingList.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message/Metadata.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message/Metadata/Received.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message/Node.pm X%%SITE_PERL%%/Mail/SpamAssassin/NetSet.pm X%%SITE_PERL%%/Mail/SpamAssassin/PerMsgLearner.pm X%%SITE_PERL%%/Mail/SpamAssassin/PerMsgStatus.pm X%%SITE_PERL%%/Mail/SpamAssassin/PersistentAddrList.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AWL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AccessDB.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AntiVirus.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DCC.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DKIM.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DomainKeys.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Hashcash.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/MIMEHeader.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Pyzor.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Razor2.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/RelayCountry.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/ReplaceTags.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/SPF.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/SpamCop.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Test.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/TextCat.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer/MeCab.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer/SimpleJA.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/URIDNSBL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/WhiteListSubject.pm X%%SITE_PERL%%/Mail/SpamAssassin/PluginHandler.pm X%%SITE_PERL%%/Mail/SpamAssassin/Reporter.pm X%%SITE_PERL%%/Mail/SpamAssassin/SQLBasedAddrList.pm X%%SITE_PERL%%/Mail/SpamAssassin/SpamdForkScaling.pm X%%SITE_PERL%%/Mail/SpamAssassin/SubProcBackChannel.pm X%%SITE_PERL%%/Mail/SpamAssassin/Timeout.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/Charset.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/DependencyInfo.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/Progress.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/RegistrarBoundaries.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/SpamAssassin/.packlist X%%SITE_PERL%%/spamassassin-run.pod X%%DATADIR%%/10_misc.cf X%%DATADIR%%/20_advance_fee.cf X%%DATADIR%%/20_anti_ratware.cf X%%DATADIR%%/20_body_tests.cf X%%DATADIR%%/20_compensate.cf X%%DATADIR%%/20_dnsbl_tests.cf X%%DATADIR%%/20_drugs.cf X%%DATADIR%%/20_fake_helo_tests.cf X%%DATADIR%%/20_head_tests.cf X%%DATADIR%%/20_html_tests.cf X%%DATADIR%%/20_meta_tests.cf X%%DATADIR%%/20_net_tests.cf X%%DATADIR%%/20_phrases.cf X%%DATADIR%%/20_porn.cf X%%DATADIR%%/20_ratware.cf X%%DATADIR%%/20_uri_tests.cf X%%DATADIR%%/23_bayes.cf X%%DATADIR%%/25_accessdb.cf X%%DATADIR%%/25_antivirus.cf X%%DATADIR%%/25_body_tests_es.cf X%%DATADIR%%/25_body_tests_pl.cf X%%DATADIR%%/25_dcc.cf X%%DATADIR%%/25_dkim.cf X%%DATADIR%%/25_domainkeys.cf X%%DATADIR%%/25_hashcash.cf X%%DATADIR%%/25_pyzor.cf X%%DATADIR%%/25_razor2.cf X%%DATADIR%%/25_replace.cf X%%DATADIR%%/25_spf.cf X%%DATADIR%%/25_textcat.cf X%%DATADIR%%/25_uribl.cf X%%DATADIR%%/30_text_de.cf X%%DATADIR%%/30_text_fr.cf X%%DATADIR%%/30_text_it.cf X%%DATADIR%%/30_text_nl.cf X%%DATADIR%%/30_text_pl.cf X%%DATADIR%%/30_text_pt_br.cf X%%DATADIR%%/50_scores.cf X%%DATADIR%%/60_awl.cf X%%DATADIR%%/60_whitelist.cf X%%DATADIR%%/60_whitelist_dk.cf X%%DATADIR%%/60_whitelist_dkim.cf X%%DATADIR%%/60_whitelist_spf.cf X%%DATADIR%%/60_whitelist_subject.cf X%%DATADIR%%/languages X%%DATADIR%%/triplets.txt X%%DATADIR%%/sa-update-pubkey.txt X%%DATADIR%%/user_prefs.template X%%TOOLS%%%%DATADIR%%/tools/README.speedtest X%%TOOLS%%%%DATADIR%%/tools/check_whitelist X%%TOOLS%%%%DATADIR%%/tools/convert_awl_dbm_to_sql X%%TOOLS%%%%DATADIR%%/tools/desc_length.pl X%%TOOLS%%%%DATADIR%%/tools/mboxsplit X%%TOOLS%%%%DATADIR%%/tools/sa-stats.pl X%%TOOLS%%%%DATADIR%%/tools/speedtest X%%TOOLS%%%%DATADIR%%/tools/split_corpora X%%TOOLS%%%%DATADIR%%/tools/sysreport X%%TOOLS%%%%DATADIR%%/tools/test_extract X%%TOOLS%%%%DATADIR%%/tools/triplets.pl X%%TOOLS%%@dirrm %%DATADIR%%/tools X@dirrm %%DATADIR%% X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/SpamAssassin X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Util X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Plugin X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Message/Metadata X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Message X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Logger X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Locker X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Conf X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/BayesStore X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Bayes X@dirrm %%SITE_PERL%%/Mail/SpamAssassin X@dirrmtry %%SITE_PERL%%/Mail X@dirrmtry etc/mail/spamassassin X@dirrmtry etc/mail X@dirrmtry /var/run/spamd END-of-japanese/p5-Mail-SpamAssassin/pkg-plist echo x - japanese/p5-Mail-SpamAssassin/pkg-message sed 's/^X//' >japanese/p5-Mail-SpamAssassin/pkg-message << 'END-of-japanese/p5-Mail-SpamAssassin/pkg-message' 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* For Japanese users, see document in * X* PREFIX/share/doc/ja-p5-Mail-SpamAssassin. * X* * X* Tokenizer::MeCab uses UTF-8 encoding. You may have to * X* manually (re)install the following ports with the build * X* options for UTF-8: * X* japanese/mecab WITH_CHARSET=utf-8 * X* japanese/mecab-ipadic WITH_CHARSET=utf-8 * X* japanese/p5-Text-MeCab ENCODING=utf8 * X* * X************************************************************************* END-of-japanese/p5-Mail-SpamAssassin/pkg-message echo x - japanese/p5-Mail-SpamAssassin/Makefile sed 's/^X//' >japanese/p5-Mail-SpamAssassin/Makefile << 'END-of-japanese/p5-Mail-SpamAssassin/Makefile' X# New ports collection makefile for: p5-Mail-SpamAssassin X# Date created: Jul 22 2006 X# Whom: TAOKA Fumiyoshi X# X# $FreeBSD$ X XCATEGORIES= japanese mail perl5 XPKGNAMEPREFIX= ja-p5- X XMAINTAINER= fmysh@iijmio-mail.jp XCOMMENT= SpamAssassin with Japanese tokenizer X XMASTER_SITES= ${PATCH_SITES} XDISTFILES= tokenizer.pre:JA \ X ${DOCJA}:JA X XEXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} X XPATCH_SITES= http://www.emaillab.org/spamassassin/patch/:JA XPATCHFILES= spamassassin-3.1.8-normalize-test8.patch:JA XPATCH_DIST_STRIP= -p1 X XDOCJA= spamassassin-3.1.8-normalize-test8.txt XPORTDOCS= ${DOCJA} X XMASTERDIR= ${.CURDIR}/../../mail/p5-Mail-SpamAssassin XMD5_FILE= ${.CURDIR}/distinfo XPLIST= ${.CURDIR}/pkg-plist XPKGMESSAGE= ${.CURDIR}/pkg-message X XCONFLICTS= p5-Mail-SpamAssassin-[0-9]* X XRUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Encode/Detect.pm:${PORTSDIR}/converters/p5-Encode-Detect X Xpost-install:: X @${CP} ${DISTDIR}/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 @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${DISTDIR}/${DOCJA} ${DOCSDIR} X.endif X X.include "${MASTERDIR}/Makefile" END-of-japanese/p5-Mail-SpamAssassin/Makefile echo c - japanese/p5-Mail-SpamAssassin/files mkdir -p japanese/p5-Mail-SpamAssassin/files > /dev/null 2>&1 echo x - japanese/p5-Mail-SpamAssassin/files/patch-rules-local.cf sed 's/^X//' >japanese/p5-Mail-SpamAssassin/files/patch-rules-local.cf << 'END-of-japanese/p5-Mail-SpamAssassin/files/patch-rules-local.cf' X--- rules/local.cf.orig Sat Dec 30 07:18:59 2006 X+++ rules/local.cf Sat Dec 30 07:20:48 2006 X@@ -51,3 +51,7 @@ X # bayes_ignore_header X-Spam-Flag X # bayes_ignore_header X-Spam-Status X X+ X+# Normalize charset to UTF-8 (default:0) X+# X+# normalize_charset 1 END-of-japanese/p5-Mail-SpamAssassin/files/patch-rules-local.cf exit
Responsible Changed From-To: freebsd-ports-bugs->clsung I'll take it.
Originally I made the port as slave of mail/p5-Mail-SpamAssassin. Now the current version of SA is 3.2.1, while the latest Japanese patch is for version 3.1.8. Considering such delay I remade the port as standalone one. # 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/distinfo # p5-Mail-SpamAssassin/pkg-plist # p5-Mail-SpamAssassin/pkg-message # p5-Mail-SpamAssassin/Makefile # p5-Mail-SpamAssassin/files # p5-Mail-SpamAssassin/files/sa-spamd.sh.in # p5-Mail-SpamAssassin/files/patch-sa-learn-raw # p5-Mail-SpamAssassin/files/patch-rules-local.cf # p5-Mail-SpamAssassin/pkg-deinstall # p5-Mail-SpamAssassin/pkg-install # p5-Mail-SpamAssassin/pkg-descr # echo c - p5-Mail-SpamAssassin/ mkdir -p p5-Mail-SpamAssassin/ > /dev/null 2>&1 echo x - p5-Mail-SpamAssassin/distinfo sed 's/^X//' >p5-Mail-SpamAssassin/distinfo << 'END-of-p5-Mail-=20 SpamAssassin/distinfo' XMD5 (ja-spamassassin/Mail-SpamAssassin-3.1.8.tar.gz) =3D =20 20a3a6b651a89dcc70634715ca833996 XSHA256 (ja-spamassassin/Mail-SpamAssassin-3.1.8.tar.gz) =3D =20 01e5b0d78969cfb0580efb14a7a7212ed3af9f382829afcd61b97a91938831dd XSIZE (ja-spamassassin/Mail-SpamAssassin-3.1.8.tar.gz) =3D 1173847 XMD5 (ja-spamassassin/tokenizer.pre) =3D = 72b905b3e7ae7bcfef639bbffbeadb3a XSHA256 (ja-spamassassin/tokenizer.pre) =3D =20 565c6aa234fd33c724e119ae10935d61a7d85c2b85520243b4a7d5cc9a06f04c XSIZE (ja-spamassassin/tokenizer.pre) =3D 164 XMD5 (ja-spamassassin/spamassassin-3.1.8-normalize-test8.txt) =3D =20 a45eeafbed2d316e4b4d184258df2788 XSHA256 (ja-spamassassin/spamassassin-3.1.8-normalize-test8.txt) =3D =20 a94ddf5d3fe2f7cbdde44af04eada690ca0bb1643e2597b7d612479fe086c39d XSIZE (ja-spamassassin/spamassassin-3.1.8-normalize-test8.txt) =3D 12808 XMD5 (ja-spamassassin/spamassassin-3.1.8-normalize-test8.patch) =3D =20 5d07043233324d4c3f136a2987a94759 XSHA256 (ja-spamassassin/spamassassin-3.1.8-normalize-test8.patch) =3D =20= a4d470e7c687833d124c9eab2960bfa6ffff8b6f6205d7420ba4162008d296e7 XSIZE (ja-spamassassin/spamassassin-3.1.8-normalize-test8.patch) =3D = 54747 END-of-p5-Mail-SpamAssassin/distinfo echo x - p5-Mail-SpamAssassin/pkg-plist sed 's/^X//' >p5-Mail-SpamAssassin/pkg-plist << 'END-of-p5-Mail-=20 SpamAssassin/pkg-plist' X@unexec %D/etc/rc.d/sa-spamd.sh stop > /dev/null 2>&1 || true X@unexec %D/etc/rc.d/sa-spamd stop > /dev/null 2>&1 || true Xbin/sa-learn Xbin/sa-update Xbin/spamassassin Xbin/spamc Xbin/spamd Xetc/mail/spamassassin/local.cf.sample X@unexec if cmp -s %B/init.pre.sample %B/init.pre; then rm -f %B/=20 init.pre; fi Xetc/mail/spamassassin/init.pre.sample X@exec [ -f %B/init.pre ] || cp %B/%f %B/init.pre X@unexec if cmp -s %B/tokenizer.pre.sample %B/tokenizer.pre; then rm -=20= f %B/tokenizer.pre; fi Xetc/mail/spamassassin/tokenizer.pre.sample X@exec [ -f %B/tokenizer.pre ] || cp %B/%f %B/init.pre X@unexec if cmp -s %B/v310.pre.sample %B/v310.pre; then rm -f %B/=20 v310.pre; fi Xetc/mail/spamassassin/v310.pre.sample X@exec [ -f %B/v310.pre ] || cp %B/%f %B/v310.pre X@unexec if cmp -s %B/v312.pre.sample %B/v312.pre; then rm -f %B/=20 v312.pre; fi Xetc/mail/spamassassin/v312.pre.sample X@exec [ -f %B/v312.pre ] || cp %B/%f %B/v312.pre X%%SITE_PERL%%/Mail/SpamAssassin.pm X%%SITE_PERL%%/Mail/SpamAssassin/AICache.pm X%%SITE_PERL%%/Mail/SpamAssassin/ArchiveIterator.pm X%%SITE_PERL%%/Mail/SpamAssassin/AutoWhitelist.pm X%%SITE_PERL%%/Mail/SpamAssassin/Bayes.pm X%%SITE_PERL%%/Mail/SpamAssassin/Bayes/CombineChi.pm X%%SITE_PERL%%/Mail/SpamAssassin/Bayes/CombineNaiveBayes.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/DBM.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/MySQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/PgSQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/SDBM.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/SQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Client.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf/LDAP.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf/Parser.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf/SQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Constants.pm X%%SITE_PERL%%/Mail/SpamAssassin/DBBasedAddrList.pm X%%SITE_PERL%%/Mail/SpamAssassin/Dns.pm X%%SITE_PERL%%/Mail/SpamAssassin/DnsResolver.pm X%%SITE_PERL%%/Mail/SpamAssassin/EvalTests.pm X%%SITE_PERL%%/Mail/SpamAssassin/HTML.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locales.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker/Flock.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker/UnixNFSSafe.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker/Win32.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger/File.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger/Stderr.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger/Syslog.pm X%%SITE_PERL%%/Mail/SpamAssassin/MailingList.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message/Metadata.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message/Metadata/Received.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message/Node.pm X%%SITE_PERL%%/Mail/SpamAssassin/NetSet.pm X%%SITE_PERL%%/Mail/SpamAssassin/PerMsgLearner.pm X%%SITE_PERL%%/Mail/SpamAssassin/PerMsgStatus.pm X%%SITE_PERL%%/Mail/SpamAssassin/PersistentAddrList.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AWL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AccessDB.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AntiVirus.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DCC.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DKIM.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DomainKeys.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Hashcash.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/MIMEHeader.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Pyzor.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Razor2.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/RelayCountry.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/ReplaceTags.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/SPF.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/SpamCop.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Test.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/TextCat.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer/MeCab.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer/SimpleJA.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/URIDNSBL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/WhiteListSubject.pm X%%SITE_PERL%%/Mail/SpamAssassin/PluginHandler.pm X%%SITE_PERL%%/Mail/SpamAssassin/Reporter.pm X%%SITE_PERL%%/Mail/SpamAssassin/SQLBasedAddrList.pm X%%SITE_PERL%%/Mail/SpamAssassin/SpamdForkScaling.pm X%%SITE_PERL%%/Mail/SpamAssassin/SubProcBackChannel.pm X%%SITE_PERL%%/Mail/SpamAssassin/Timeout.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/Charset.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/DependencyInfo.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/Progress.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/RegistrarBoundaries.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/SpamAssassin/.packlist X%%SITE_PERL%%/spamassassin-run.pod X%%DATADIR%%/10_misc.cf X%%DATADIR%%/20_advance_fee.cf X%%DATADIR%%/20_anti_ratware.cf X%%DATADIR%%/20_body_tests.cf X%%DATADIR%%/20_compensate.cf X%%DATADIR%%/20_dnsbl_tests.cf X%%DATADIR%%/20_drugs.cf X%%DATADIR%%/20_fake_helo_tests.cf X%%DATADIR%%/20_head_tests.cf X%%DATADIR%%/20_html_tests.cf X%%DATADIR%%/20_meta_tests.cf X%%DATADIR%%/20_net_tests.cf X%%DATADIR%%/20_phrases.cf X%%DATADIR%%/20_porn.cf X%%DATADIR%%/20_ratware.cf X%%DATADIR%%/20_uri_tests.cf X%%DATADIR%%/23_bayes.cf X%%DATADIR%%/25_accessdb.cf X%%DATADIR%%/25_antivirus.cf X%%DATADIR%%/25_body_tests_es.cf X%%DATADIR%%/25_body_tests_pl.cf X%%DATADIR%%/25_dcc.cf X%%DATADIR%%/25_dkim.cf X%%DATADIR%%/25_domainkeys.cf X%%DATADIR%%/25_hashcash.cf X%%DATADIR%%/25_pyzor.cf X%%DATADIR%%/25_razor2.cf X%%DATADIR%%/25_replace.cf X%%DATADIR%%/25_spf.cf X%%DATADIR%%/25_textcat.cf X%%DATADIR%%/25_uribl.cf X%%DATADIR%%/30_text_de.cf X%%DATADIR%%/30_text_fr.cf X%%DATADIR%%/30_text_it.cf X%%DATADIR%%/30_text_nl.cf X%%DATADIR%%/30_text_pl.cf X%%DATADIR%%/30_text_pt_br.cf X%%DATADIR%%/50_scores.cf X%%DATADIR%%/60_awl.cf X%%DATADIR%%/60_whitelist.cf X%%DATADIR%%/60_whitelist_dk.cf X%%DATADIR%%/60_whitelist_dkim.cf X%%DATADIR%%/60_whitelist_spf.cf X%%DATADIR%%/60_whitelist_subject.cf X%%DATADIR%%/languages X%%DATADIR%%/triplets.txt X%%DATADIR%%/sa-update-pubkey.txt X%%DATADIR%%/user_prefs.template X%%TOOLS%%%%DATADIR%%/tools/README.speedtest X%%TOOLS%%%%DATADIR%%/tools/check_whitelist X%%TOOLS%%%%DATADIR%%/tools/convert_awl_dbm_to_sql X%%TOOLS%%%%DATADIR%%/tools/desc_length.pl X%%TOOLS%%%%DATADIR%%/tools/mboxsplit X%%TOOLS%%%%DATADIR%%/tools/sa-stats.pl X%%TOOLS%%%%DATADIR%%/tools/speedtest X%%TOOLS%%%%DATADIR%%/tools/split_corpora X%%TOOLS%%%%DATADIR%%/tools/sysreport X%%TOOLS%%%%DATADIR%%/tools/test_extract X%%TOOLS%%%%DATADIR%%/tools/triplets.pl X%%TOOLS%%@dirrm %%DATADIR%%/tools X@dirrm %%DATADIR%% X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/SpamAssassin X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Util X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Plugin X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Message/Metadata X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Message X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Logger X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Locker X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Conf X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/BayesStore X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Bayes X@dirrm %%SITE_PERL%%/Mail/SpamAssassin X@dirrmtry %%SITE_PERL%%/Mail X@dirrmtry etc/mail/spamassassin X@dirrmtry etc/mail X@dirrmtry /var/run/spamd END-of-p5-Mail-SpamAssassin/pkg-plist echo x - p5-Mail-SpamAssassin/pkg-message sed 's/^X//' >p5-Mail-SpamAssassin/pkg-message << 'END-of-p5-Mail-=20 SpamAssassin/pkg-message' X***********************************************************************=20= ** X* _ _____ _____ _____ _ _ _____ ___ ___ _ _ = * X* / =C2=A5|_ _|_ _| ____| =C2=A5 | |_ _|_ _/ _ =C2=A5| =C2=A5= | | * X* / _ =C2=A5 | | | | | _| | =C2=A5| | | | | | | | | =C2=A5| = | * X* / ___ =C2=A5| | | | | |___| |=C2=A5 | | | | | |_| | |=C2=A5 = | * X* /_/ =C2=A5_=C2=A5_| |_| |_____|_| =C2=A5_| |_| |___=C2=A5___/|= _| =C2=A5_| * 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* For Japanese users, see document in = * X* PREFIX/share/doc/ja-p5-Mail-SpamAssassin. = * X* = * X* Tokenizer::MeCab uses UTF-8 encoding. You may have to = * X* manually (re)install the following ports with the build = * X* options for UTF-8: = * X* japanese/mecab WITH_CHARSET=3Dutf-8 = * X* japanese/mecab-ipadic WITH_CHARSET=3Dutf-8 = * X* japanese/p5-Text-MeCab ENCODING=3Dutf8 = * X* = * X***********************************************************************=20= ** END-of-p5-Mail-SpamAssassin/pkg-message echo x - p5-Mail-SpamAssassin/Makefile sed 's/^X//' >p5-Mail-SpamAssassin/Makefile << 'END-of-p5-Mail-=20 SpamAssassin/Makefile' X# New ports collection makefile for: ja-p5-Mail-SpamAssassin X# Date created: Jun 24 2007 X# Whom: TAOKA Fumiyoshi X# X# $FreeBSD$ X XPORTNAME=3D Mail-SpamAssassin XPORTVERSION=3D 3.1.8 XCATEGORIES=3D japanese mail perl5 XMASTER_SITES=3D ${MASTER_SITE_APACHE:S/$/:apache/} $=20 {MASTER_SITE_PERL_CPAN:S/$/:cpan/} =C2=A5 X ${PATCH_SITES} XMASTER_SITE_SUBDIR=3D spamassassin/source/:apache Mail/:cpan XPKGNAMEPREFIX=3D ja-p5- XDISTFILES=3D ${DISTNAME}${EXTRACT_SUFX}:apache,cpan =C2=A5 X tokenizer.pre:JA ${DOCJA}:JA XDIST_SUBDIR=3D ja-spamassassin XEXTRACT_ONLY=3D ${DISTNAME}${EXTRACT_SUFX} X XPATCH_SITES=3D http://www.emaillab.org/spamassassin/patch/:JA XPATCHFILES=3D spamassassin-3.1.8-normalize-test8.patch:JA XPATCH_DIST_STRIP=3D -p1 X XMAINTAINER=3D fmysh@iijmio-mail.jp XCOMMENT=3D SpamAssassin with Japanese tokenizer X XCONFLICTS=3D p5-Mail-SpamAssassin-[0-9]* X XBUILD_DEPENDS=3D p5-Net-DNS>=3D0.58:${PORTSDIR}/dns/p5-Net-DNS =C2=A5= X p5-IO-Zlib>=3D1.04:${PORTSDIR}/archivers/p5-IO-Zlib =C2=A5= X p5-HTML-Parser>=3D3.43:${PORTSDIR}/www/p5-HTML-Parser =C2=A5= X = p5-IO-Compress-Zlib>=3D2.04:${PORTSDIR}/archivers/p5-IO-Compress-=20 Zlib =C2=A5 X = p5-Compress-Zlib>=3D2.04:${PORTSDIR}/archivers/p5-Compress-Zlib =C2=A5 X = ${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools X XRUN_DEPENDS=3D ${BUILD_DEPENDS} =C2=A5 X ${SITE_PERL}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww =C2=A5= X = p5-Archive-Tar>=3D1.23:${PORTSDIR}/archivers/p5-Archive-Tar =C2=A5 X = ${SITE_PERL}/mach/Encode/Detect.pm:${PORTSDIR}/converters/p5-=20 Encode-Detect =C2=A5 X = ${SITE_PERL}/${PERL_ARCH}/Encode/Detect.pm:${PORTSDIR}/converters/=20 p5-Encode-Detect X XPERL_CONFIGURE=3D yes XCONFIGURE_ARGS=3D SYSCONFDIR=3D"${PREFIX}/etc" =C2=A5 X CONTACT_ADDRESS=3D"${CONTACT_ADDRESS}" =C2=A5 X BUILD_SPAMC=3Dyes X X# You can override it if you like XCONTACT_ADDRESS?=3D The administrator of that system X XOPTIONS=3D AS_ROOT "Run spamd as root (recommended)" on =C2=A5 X DOMAINKEYS "DomainKeys support" off =C2=A5 X DKIM "DomainKeys Identified Mail" off =C2=A5 X SSL "Build with SSL support for spamd/spamc" on =C2=A5 X GNUPG "Install GnuPG (for sa-update)" on =C2=A5 X MYSQL "Add MySQL support" off =C2=A5 X PGSQL "Add PostreSQL support" off =C2=A5 X RAZOR "Add Vipul's Razor support" on =C2=A5 X SPF_QUERY "Add SPF query support" off =C2=A5 X RELAY_COUNTRY "Relay country support" off =C2=A5 X TOOLS "Install SpamAssassin tools" off X X.include <bsd.port.pre.mk> X X.if defined(WITH_SPF_QUERY) XRUN_DEPENDS+=3D = ${SITE_PERL}/Mail/SPF/Query.pm:${PORTSDIR}/mail/p5-=20 Mail-SPF-Query X.endif X X.if !defined(WITHOUT_SSL) X.include "${PORTSDIR}/Mk/bsd.openssl.mk" XRUN_DEPENDS+=3D = ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-=20 IO-Socket-SSL XUSE_OPENSSL=3D yes XCFLAGS+=3D -I${OPENSSLINC} XLDFLAGS+=3D -L${OPENSSLLIB} XCONFIGURE_ARGS+=3D ENABLE_SSL=3Dyes X.else XCONFIGURE_ARGS+=3D ENABLE_SSL=3Dno X.endif X X.if !defined(WITHOUT_GNUPG) XRUN_DEPENDS+=3D gnupg>=3D1.4.1:${PORTSDIR}/security/gnupg X.endif X X.if defined(WITH_MYSQL) XRUN_DEPENDS+=3D = ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/=20 databases/p5-DBD-mysql X.endif X X.if defined(WITH_PGSQL) XRUN_DEPENDS+=3D ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/=20= databases/p5-DBD-Pg X.endif X X.if defined(WITH_RAZOR) XRUN_DEPENDS+=3D razor-agents>=3D2.81:${PORTSDIR}/mail/razor-agents= X.endif X X.if defined(WITH_DKIM) XRUN_DEPENDS+=3D = ${SITE_PERL}/Mail/DKIM.pm:${PORTSDIR}/mail/p5-Mail-DKIM X.endif X X.if defined(WITH_DOMAINKEYS) XRUN_DEPENDS+=3D = p5-Mail-DomainKeys>=3D0.80:${PORTSDIR}/mail/p5-Mail-=20 DomainKeys X.endif X X.if defined(WITH_RELAY_COUNTRY) XRUN_DEPENDS+=3D = ${SITE_PERL}/IP/Country/Fast.pm:${PORTSDIR}/net/p5-IP-=20 Country X.endif X X.if defined(WITH_TOOLS) XRUN_DEPENDS+=3D = ${SITE_PERL}/Parse/Syslog.pm:${PORTSDIR}/textproc/p5-=20 Parse-Syslog =C2=A5 X = ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip =C2=A5 X = ${SITE_PERL}/Net/CIDR/Lite.pm:${PORTSDIR}/net/p5-Net-CIDR-Lite XTOOLS=3D "" X.else XTOOLS=3D "@comment " X.endif X XMAN3=3D Mail::SpamAssassin.3 =C2=A5 X Mail::SpamAssassin::AICache.3 =C2=A5 X Mail::SpamAssassin::ArchiveIterator.3 =C2=A5 X Mail::SpamAssassin::AutoWhitelist.3 =C2=A5 X Mail::SpamAssassin::Bayes.3 =C2=A5 X Mail::SpamAssassin::BayesStore.3 =C2=A5 X Mail::SpamAssassin::BayesStore::MySQL.3 =C2=A5 X Mail::SpamAssassin::BayesStore::PgSQL.3 =C2=A5 X Mail::SpamAssassin::BayesStore::SQL.3 =C2=A5 X Mail::SpamAssassin::Client.3 =C2=A5 X Mail::SpamAssassin::Conf.3 =C2=A5 X Mail::SpamAssassin::Conf::LDAP.3 =C2=A5 X Mail::SpamAssassin::Conf::Parser.3 =C2=A5 X Mail::SpamAssassin::Conf::SQL.3 =C2=A5 X Mail::SpamAssassin::DnsResolver.3 =C2=A5 X Mail::SpamAssassin::Logger.3 =C2=A5 X Mail::SpamAssassin::Logger::File.3 =C2=A5 X Mail::SpamAssassin::Logger::Stderr.3 =C2=A5 X Mail::SpamAssassin::Logger::Syslog.3 =C2=A5 X Mail::SpamAssassin::Message.3 =C2=A5 X Mail::SpamAssassin::Message::Metadata.3 =C2=A5 X Mail::SpamAssassin::Message::Node.3 =C2=A5 X Mail::SpamAssassin::PerMsgLearner.3 =C2=A5 X Mail::SpamAssassin::PerMsgStatus.3 =C2=A5 X Mail::SpamAssassin::PersistentAddrList.3 =C2=A5 X Mail::SpamAssassin::Plugin.3 =C2=A5 X Mail::SpamAssassin::Plugin::AWL.3 =C2=A5 X Mail::SpamAssassin::Plugin::AccessDB.3 =C2=A5 X Mail::SpamAssassin::Plugin::AntiVirus.3 =C2=A5 X Mail::SpamAssassin::Plugin::AutoLearnThreshold.3 =C2=A5 X Mail::SpamAssassin::Plugin::DCC.3 =C2=A5 X Mail::SpamAssassin::Plugin::DKIM.3 =C2=A5 X Mail::SpamAssassin::Plugin::DomainKeys.3 =C2=A5 X Mail::SpamAssassin::Plugin::Hashcash.3 =C2=A5 X Mail::SpamAssassin::Plugin::MIMEHeader.3 =C2=A5 X Mail::SpamAssassin::Plugin::Pyzor.3 =C2=A5 X Mail::SpamAssassin::Plugin::Razor2.3 =C2=A5 X Mail::SpamAssassin::Plugin::RelayCountry.3 =C2=A5 X Mail::SpamAssassin::Plugin::ReplaceTags.3 =C2=A5 X Mail::SpamAssassin::Plugin::SPF.3 =C2=A5 X Mail::SpamAssassin::Plugin::SpamCop.3 =C2=A5 X Mail::SpamAssassin::Plugin::Test.3 =C2=A5 X Mail::SpamAssassin::Plugin::TextCat.3 =C2=A5 X Mail::SpamAssassin::Plugin::URIDNSBL.3 =C2=A5 X Mail::SpamAssassin::Plugin::WhiteListSubject.3 =C2=A5 X Mail::SpamAssassin::PluginHandler.3 =C2=A5 X Mail::SpamAssassin::SQLBasedAddrList.3 =C2=A5 X Mail::SpamAssassin::SubProcBackChannel.3 =C2=A5 X Mail::SpamAssassin::Timeout.3 =C2=A5 X Mail::SpamAssassin::Util.3 =C2=A5 X Mail::SpamAssassin::Util::Progress.3 =C2=A5 X spamassassin-run.3 X XMAN1=3D spamd.1 spamassassin.1 spamc.1 sa-learn.1 = sa-update.1 =C2=A5 X spamassassin-run.1 X XPLIST_SUB+=3D TOOLS=3D${TOOLS} X XDOCSDIR=3D ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} XDATADIR=3D ${PREFIX}/share/spamassassin XDOCS=3D BUGS CREDITS Changes INSTALL LICENSE NOTICE = PACKAGING README =20 STATUS TRADEMARK UPGRADE USAGE procmailrc.example XDOCSSQL=3D README README.awl README.bayes awl_mysql.sql awl_pg.sql =20= bayes_mysql.sql bayes_pg.sql userpref_mysql.sql userpref_pg.sql XDOCSCONTRIB=3D mbox-to-check run-corpora run-masses XDOCSLDAP=3D README README.testing sa_test.ldif XDOCJA=3D spamassassin-3.1.8-normalize-test8.txt XPORTDOCS=3D ${DOCS} sql contrib ldap ${DOCJA} X XUSE_RC_SUBR=3D sa-spamd.sh X X.if defined(WITH_MYSQL) || defined(WITH_PGSQL) XSUB_LIST+=3D SQL_FLAG=3D"-Q" X.else XSUB_LIST+=3D SQL_FLAG=3D"" X.endif X.if !defined(WITH_AS_ROOT) XSUB_LIST+=3D RUN_AS_USER=3D"-u spamd -H /var/spool/spamd" X.else XSUB_LIST+=3D RUN_AS_USER=3D"" X.endif X Xpost-patch: X @${FIND} ${WRKSRC} -name =C2=A5*.orig -delete X @${REINPLACE_CMD} -e 's#B_CONFDIR)/local.cf#B_CONFDIR)/=20 local.cf.sample#g' =C2=A5 X -e 's#B_CONFDIR)/init.pre#B_CONFDIR)/init.pre.sample#g' = =C2=A5 X -e 's#B_CONFDIR)/v310.pre#B_CONFDIR)/v310.pre.sample#g' = =C2=A5 X -e 's#B_CONFDIR)/v312.pre#B_CONFDIR)/v312.pre.sample#g' = =C2=A5 X -e 's/require DBI/0/' =C2=A5 X ${WRKSRC}/Makefile.PL X# I cant' seem to get these to work, patches or suggestions welcome X.if defined(WITH_RAZOR) X ${REINPLACE_CMD} -e '/Razor2/s/^#loadplugin/loadplugin/' = ${WRKSRC}/=20 rules/v312.pre X.endif X.if defined(WITH_DOMAINKEYS) X ${REINPLACE_CMD} -e '/DomainKeys/s/^#loadplugin/loadplugin/' $=20= {WRKSRC}/rules/v310.pre X.endif X.if defined(WITH_RELAY_COUNTRY) X ${REINPLACE_CMD} -e '/RelayCountry/s/^# ?loadplugin/loadplugin/' = $=20 {WRKSRC}/rules/init.pre X.endif X.if defined(WITH_DKIM) X ${REINPLACE_CMD} -e '/DKIM/s/^#loadplugin/loadplugin/' = ${WRKSRC}/=20 rules/v312.pre X.endif X.if !defined(WITH_SPF_QUERY) X ${REINPLACE_CMD} -e '/SPF/s/^loadplugin/#loadplugin/' ${WRKSRC}/=20= rules/init.pre X.endif X.if defined(WITH_DCC) X ${REINPLACE_CMD} -e '/DCC/s/^#loadplugin/loadplugin/' ${WRKSRC}/=20= rules/v310.pre X.endif X Xpre-install: X @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL X Xpost-install: X @${STRIP_CMD} ${PREFIX}/bin/spamc X @[ -f ${PREFIX}/etc/mail/spamassassin/init.pre ] || =C2=A5 X ${CP} ${PREFIX}/etc/mail/spamassassin/init.pre.sample =C2=A5= X ${PREFIX}/etc/mail/spamassassin/init.pre X @[ -f ${PREFIX}/etc/mail/spamassassin/v310.pre ] || =C2=A5 X ${CP} ${PREFIX}/etc/mail/spamassassin/v310.pre.sample =C2=A5= X ${PREFIX}/etc/mail/spamassassin/v310.pre X @[ -f ${PREFIX}/etc/mail/spamassassin/v312.pre ] || =C2=A5 X ${CP} ${PREFIX}/etc/mail/spamassassin/v312.pre.sample =C2=A5= X ${PREFIX}/etc/mail/spamassassin/v312.pre X @${CP} ${DISTDIR}/tokenizer.pre ${PREFIX}/etc/mail/spamassassin/=20= tokenizer.pre.sample X @[ -f ${PREFIX}/etc/mail/spamassassin/tokenizer.pre ] || =C2=A5 X ${CP} = ${PREFIX}/etc/mail/spamassassin/tokenizer.pre.sample =C2=A5 X ${PREFIX}/etc/mail/spamassassin/tokenizer.pre X X.if defined(WITH_TOOLS) X @${MKDIR} ${DATADIR}/tools X @for f in ${WRKSRC}/tools/*; do =C2=A5 X ${INSTALL} $${f} ${DATADIR}/tools; =C2=A5 X done X.endif X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} ${DOCSDIR}/sql ${DOCSDIR}/contrib = ${DOCSDIR}/ldap X @${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR} X @${INSTALL_DATA} ${DOCSSQL:S|^|${WRKSRC}/sql/|} ${DOCSDIR}/sql X @${INSTALL_DATA} ${DOCSCONTRIB:S|^|${WRKSRC}/contrib/|} = ${DOCSDIR}/=20 contrib X @${INSTALL_DATA} ${DOCSLDAP:S|^|${WRKSRC}/ldap/|} = ${DOCSDIR}/ldap X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${DISTDIR}/${DOCJA} ${DOCSDIR} X X.endif X @${SED} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE} X X.if ${PERL_LEVEL} < 500600 XIGNORE=3D needs perl 5.6.1 or higher, install lang/perl5.8 and try = again X.endif X X.if ${PERL_LEVEL} < 500800 XBUILD_DEPENDS+=3D = ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/=20 converters/p5-MIME-Base64 =C2=A5 X = ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable X.endif X X.include <bsd.port.post.mk> END-of-p5-Mail-SpamAssassin/Makefile echo c - p5-Mail-SpamAssassin/files mkdir -p p5-Mail-SpamAssassin/files > /dev/null 2>&1 echo x - p5-Mail-SpamAssassin/files/sa-spamd.sh.in sed 's/^X//' >p5-Mail-SpamAssassin/files/sa-spamd.sh.in << 'END-of-p5-=20= Mail-SpamAssassin/files/sa-spamd.sh.in' X#!/bin/sh X# X# $FreeBSD: ports/mail/p5-Mail-SpamAssassin/files/sa-spamd.sh.in,v =20 1.1 2006/03/20 13:03:33 garga Exp $ X# X X# PROVIDE: spamd X# REQUIRE: LOGIN X# BEFORE: mail X# KEYWORD: shutdown X X# X# Add the following lines to /etc/rc.conf to enable spamd: X# X#spamd_enable=3D"YES" X# X# See spamd(8) for flags X# X X. %%RC_SUBR%% X Xname=3Dspamd Xrcvar=3D`set_rcvar` X Xload_rc_config $name X X# Set defaults X: ${spamd_enable:=3D"NO"} X: ${spamd_flags=3D"-c %%SQL_FLAG%% %%RUN_AS_USER%%"} X Xpidfile=3D${spamd_pidfile:-"/var/run/spamd/spamd.pid"} Xcommand=3D%%PREFIX%%/bin/spamd Xcommand_args=3D"-d -r ${pidfile}" Xrequired_dirs=3D%%PREFIX%%/share/spamassassin X Xstop_postcmd=3Dstop_postcmd X Xstop_postcmd() X{ X rm -f $pidfile X} X Xrun_rc_command "$1" END-of-p5-Mail-SpamAssassin/files/sa-spamd.sh.in echo x - p5-Mail-SpamAssassin/files/patch-sa-learn-raw sed 's/^X//' >p5-Mail-SpamAssassin/files/patch-sa-learn-raw << 'END-=20 of-p5-Mail-SpamAssassin/files/patch-sa-learn-raw' X--- sa-learn.raw (revision 507745) X+++ sa-learn.raw (working copy) X@@ -402,7 +402,10 @@ X X # make sure the target list is in the normal AI format X if ($targets[$elem] !~ /^[^:]*:[a-z]+:/) { X- $targets[$elem] =3D target($targets[$elem]); X+ my $item =3D splice @targets, $elem, 1; X+ $elem--; # go back to this element again X+ target($item); # add back to the list X+ next; X } X } X END-of-p5-Mail-SpamAssassin/files/patch-sa-learn-raw echo x - p5-Mail-SpamAssassin/files/patch-rules-local.cf sed 's/^X//' >p5-Mail-SpamAssassin/files/patch-rules-local.cf << 'END-=20= of-p5-Mail-SpamAssassin/files/patch-rules-local.cf' X--- rules/local.cf.orig Sat Dec 30 07:18:59 2006 X+++ rules/local.cf Sat Dec 30 07:20:48 2006 X@@ -51,3 +51,7 @@ X # bayes_ignore_header X-Spam-Flag X # bayes_ignore_header X-Spam-Status X X+ X+# Normalize charset to UTF-8 (default:0) X+# X+# normalize_charset 1 END-of-p5-Mail-SpamAssassin/files/patch-rules-local.cf echo x - p5-Mail-SpamAssassin/pkg-deinstall sed 's/^X//' >p5-Mail-SpamAssassin/pkg-deinstall << 'END-of-p5-Mail-=20 SpamAssassin/pkg-deinstall' X#!/bin/sh X Xif [ "$2" !=3D "POST-DEINSTALL" ]; then X exit 0 Xfi X XUSER=3Dspamd X Xif pw usershow "${USER}" 2>/dev/null 1>&2; then X echo "To delete ${USER} user permanently, use 'rmuser ${USER}'" Xfi X Xexit 0 END-of-p5-Mail-SpamAssassin/pkg-deinstall echo x - p5-Mail-SpamAssassin/pkg-install sed 's/^X//' >p5-Mail-SpamAssassin/pkg-install << 'END-of-p5-Mail-=20 SpamAssassin/pkg-install' X#!/bin/sh X Xif [ "$2" !=3D "PRE-INSTALL" ]; then X exit 0 Xfi X XUSER=3Dspamd XGROUP=3D${USER} XUID=3D58 XGID=3D${UID} XHOME=3D/var/spool/${USER} X Xif ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then X if pw groupadd ${GROUP} -g ${GID}; then X echo "Added group =C2=A5"${GROUP}=C2=A5"." X else X echo "Adding group =C2=A5"${GROUP}=C2=A5" failed..." X exit 1 X fi Xfi X Xif ! pw usershow "${USER}" 2>/dev/null 1>&2; then X if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - =C2=A5 X -s "/sbin/nologin" -d "${HOME}" =C2=A5 X -c "SpamAssassin user"; =C2=A5 X then X echo "Added user =C2=A5"${USER}=C2=A5"." X mkdir ${HOME} && chown ${USER}:${GROUP} ${HOME} X else X echo "Adding user =C2=A5"${USER}=C2=A5" failed..." X exit 1 X fi Xfi X X# Create pid directory Xmkdir /var/run/spamd 2> /dev/null && chown ${USER}:${GROUP} /var/run/=20= spamd X Xexit 0 END-of-p5-Mail-SpamAssassin/pkg-install echo x - p5-Mail-SpamAssassin/pkg-descr sed 's/^X//' >p5-Mail-SpamAssassin/pkg-descr << 'END-of-p5-Mail-=20 SpamAssassin/pkg-descr' XSpamAssassin is a mail filter which attempts to identify spam using =20 text Xanalysis and several internet-based realtime blacklists. X XUsing its rule base, it uses a wide range of heuristic tests on mail Xheaders and body text to identify "spam", also known as unsolicited Xcommercial email. X XOnce identified, the mail can then be optionally tagged as spam for =20 later Xfiltering using the user's own mail user-agent application. X XAdditional drop-in rule sets are available at Xhttp://wiki.apache.org/spamassassin/CustomRulesets X XWWW: http://spamassassin.apache.org/ END-of-p5-Mail-SpamAssassin/pkg-descr exit
The last shar was broken by my MUA. # 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/distinfo # p5-Mail-SpamAssassin/pkg-plist # p5-Mail-SpamAssassin/pkg-message # p5-Mail-SpamAssassin/Makefile # p5-Mail-SpamAssassin/files # p5-Mail-SpamAssassin/files/sa-spamd.sh.in # p5-Mail-SpamAssassin/files/patch-sa-learn-raw # p5-Mail-SpamAssassin/files/patch-rules-local.cf # p5-Mail-SpamAssassin/pkg-deinstall # p5-Mail-SpamAssassin/pkg-install # p5-Mail-SpamAssassin/pkg-descr # echo c - p5-Mail-SpamAssassin/ mkdir -p p5-Mail-SpamAssassin/ > /dev/null 2>&1 echo x - p5-Mail-SpamAssassin/distinfo sed 's/^X//' >p5-Mail-SpamAssassin/distinfo << 'END-of-p5-Mail-SpamAssassin/distinfo' XMD5 (ja-spamassassin/Mail-SpamAssassin-3.1.8.tar.gz) = 20a3a6b651a89dcc70634715ca833996 XSHA256 (ja-spamassassin/Mail-SpamAssassin-3.1.8.tar.gz) = 01e5b0d78969cfb0580efb14a7a7212ed3af9f382829afcd61b97a91938831dd XSIZE (ja-spamassassin/Mail-SpamAssassin-3.1.8.tar.gz) = 1173847 XMD5 (ja-spamassassin/tokenizer.pre) = 72b905b3e7ae7bcfef639bbffbeadb3a XSHA256 (ja-spamassassin/tokenizer.pre) = 565c6aa234fd33c724e119ae10935d61a7d85c2b85520243b4a7d5cc9a06f04c XSIZE (ja-spamassassin/tokenizer.pre) = 164 XMD5 (ja-spamassassin/spamassassin-3.1.8-normalize-test8.txt) = a45eeafbed2d316e4b4d184258df2788 XSHA256 (ja-spamassassin/spamassassin-3.1.8-normalize-test8.txt) = a94ddf5d3fe2f7cbdde44af04eada690ca0bb1643e2597b7d612479fe086c39d XSIZE (ja-spamassassin/spamassassin-3.1.8-normalize-test8.txt) = 12808 XMD5 (ja-spamassassin/spamassassin-3.1.8-normalize-test8.patch) = 5d07043233324d4c3f136a2987a94759 XSHA256 (ja-spamassassin/spamassassin-3.1.8-normalize-test8.patch) = a4d470e7c687833d124c9eab2960bfa6ffff8b6f6205d7420ba4162008d296e7 XSIZE (ja-spamassassin/spamassassin-3.1.8-normalize-test8.patch) = 54747 END-of-p5-Mail-SpamAssassin/distinfo echo x - p5-Mail-SpamAssassin/pkg-plist sed 's/^X//' >p5-Mail-SpamAssassin/pkg-plist << 'END-of-p5-Mail-SpamAssassin/pkg-plist' X@unexec %D/etc/rc.d/sa-spamd.sh stop > /dev/null 2>&1 || true X@unexec %D/etc/rc.d/sa-spamd stop > /dev/null 2>&1 || true Xbin/sa-learn Xbin/sa-update Xbin/spamassassin Xbin/spamc Xbin/spamd Xetc/mail/spamassassin/local.cf.sample X@unexec if cmp -s %B/init.pre.sample %B/init.pre; then rm -f %B/init.pre; fi Xetc/mail/spamassassin/init.pre.sample X@exec [ -f %B/init.pre ] || cp %B/%f %B/init.pre X@unexec if cmp -s %B/tokenizer.pre.sample %B/tokenizer.pre; then rm -f %B/tokenizer.pre; fi Xetc/mail/spamassassin/tokenizer.pre.sample X@exec [ -f %B/tokenizer.pre ] || cp %B/%f %B/init.pre X@unexec if cmp -s %B/v310.pre.sample %B/v310.pre; then rm -f %B/v310.pre; fi Xetc/mail/spamassassin/v310.pre.sample X@exec [ -f %B/v310.pre ] || cp %B/%f %B/v310.pre X@unexec if cmp -s %B/v312.pre.sample %B/v312.pre; then rm -f %B/v312.pre; fi Xetc/mail/spamassassin/v312.pre.sample X@exec [ -f %B/v312.pre ] || cp %B/%f %B/v312.pre X%%SITE_PERL%%/Mail/SpamAssassin.pm X%%SITE_PERL%%/Mail/SpamAssassin/AICache.pm X%%SITE_PERL%%/Mail/SpamAssassin/ArchiveIterator.pm X%%SITE_PERL%%/Mail/SpamAssassin/AutoWhitelist.pm X%%SITE_PERL%%/Mail/SpamAssassin/Bayes.pm X%%SITE_PERL%%/Mail/SpamAssassin/Bayes/CombineChi.pm X%%SITE_PERL%%/Mail/SpamAssassin/Bayes/CombineNaiveBayes.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/DBM.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/MySQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/PgSQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/SDBM.pm X%%SITE_PERL%%/Mail/SpamAssassin/BayesStore/SQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Client.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf/LDAP.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf/Parser.pm X%%SITE_PERL%%/Mail/SpamAssassin/Conf/SQL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Constants.pm X%%SITE_PERL%%/Mail/SpamAssassin/DBBasedAddrList.pm X%%SITE_PERL%%/Mail/SpamAssassin/Dns.pm X%%SITE_PERL%%/Mail/SpamAssassin/DnsResolver.pm X%%SITE_PERL%%/Mail/SpamAssassin/EvalTests.pm X%%SITE_PERL%%/Mail/SpamAssassin/HTML.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locales.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker/Flock.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker/UnixNFSSafe.pm X%%SITE_PERL%%/Mail/SpamAssassin/Locker/Win32.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger/File.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger/Stderr.pm X%%SITE_PERL%%/Mail/SpamAssassin/Logger/Syslog.pm X%%SITE_PERL%%/Mail/SpamAssassin/MailingList.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message/Metadata.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message/Metadata/Received.pm X%%SITE_PERL%%/Mail/SpamAssassin/Message/Node.pm X%%SITE_PERL%%/Mail/SpamAssassin/NetSet.pm X%%SITE_PERL%%/Mail/SpamAssassin/PerMsgLearner.pm X%%SITE_PERL%%/Mail/SpamAssassin/PerMsgStatus.pm X%%SITE_PERL%%/Mail/SpamAssassin/PersistentAddrList.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AWL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AccessDB.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AntiVirus.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DCC.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DKIM.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/DomainKeys.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Hashcash.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/MIMEHeader.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Pyzor.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Razor2.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/RelayCountry.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/ReplaceTags.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/SPF.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/SpamCop.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Test.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/TextCat.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer/MeCab.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer/SimpleJA.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/URIDNSBL.pm X%%SITE_PERL%%/Mail/SpamAssassin/Plugin/WhiteListSubject.pm X%%SITE_PERL%%/Mail/SpamAssassin/PluginHandler.pm X%%SITE_PERL%%/Mail/SpamAssassin/Reporter.pm X%%SITE_PERL%%/Mail/SpamAssassin/SQLBasedAddrList.pm X%%SITE_PERL%%/Mail/SpamAssassin/SpamdForkScaling.pm X%%SITE_PERL%%/Mail/SpamAssassin/SubProcBackChannel.pm X%%SITE_PERL%%/Mail/SpamAssassin/Timeout.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/Charset.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/DependencyInfo.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/Progress.pm X%%SITE_PERL%%/Mail/SpamAssassin/Util/RegistrarBoundaries.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/SpamAssassin/.packlist X%%SITE_PERL%%/spamassassin-run.pod X%%DATADIR%%/10_misc.cf X%%DATADIR%%/20_advance_fee.cf X%%DATADIR%%/20_anti_ratware.cf X%%DATADIR%%/20_body_tests.cf X%%DATADIR%%/20_compensate.cf X%%DATADIR%%/20_dnsbl_tests.cf X%%DATADIR%%/20_drugs.cf X%%DATADIR%%/20_fake_helo_tests.cf X%%DATADIR%%/20_head_tests.cf X%%DATADIR%%/20_html_tests.cf X%%DATADIR%%/20_meta_tests.cf X%%DATADIR%%/20_net_tests.cf X%%DATADIR%%/20_phrases.cf X%%DATADIR%%/20_porn.cf X%%DATADIR%%/20_ratware.cf X%%DATADIR%%/20_uri_tests.cf X%%DATADIR%%/23_bayes.cf X%%DATADIR%%/25_accessdb.cf X%%DATADIR%%/25_antivirus.cf X%%DATADIR%%/25_body_tests_es.cf X%%DATADIR%%/25_body_tests_pl.cf X%%DATADIR%%/25_dcc.cf X%%DATADIR%%/25_dkim.cf X%%DATADIR%%/25_domainkeys.cf X%%DATADIR%%/25_hashcash.cf X%%DATADIR%%/25_pyzor.cf X%%DATADIR%%/25_razor2.cf X%%DATADIR%%/25_replace.cf X%%DATADIR%%/25_spf.cf X%%DATADIR%%/25_textcat.cf X%%DATADIR%%/25_uribl.cf X%%DATADIR%%/30_text_de.cf X%%DATADIR%%/30_text_fr.cf X%%DATADIR%%/30_text_it.cf X%%DATADIR%%/30_text_nl.cf X%%DATADIR%%/30_text_pl.cf X%%DATADIR%%/30_text_pt_br.cf X%%DATADIR%%/50_scores.cf X%%DATADIR%%/60_awl.cf X%%DATADIR%%/60_whitelist.cf X%%DATADIR%%/60_whitelist_dk.cf X%%DATADIR%%/60_whitelist_dkim.cf X%%DATADIR%%/60_whitelist_spf.cf X%%DATADIR%%/60_whitelist_subject.cf X%%DATADIR%%/languages X%%DATADIR%%/triplets.txt X%%DATADIR%%/sa-update-pubkey.txt X%%DATADIR%%/user_prefs.template X%%TOOLS%%%%DATADIR%%/tools/README.speedtest X%%TOOLS%%%%DATADIR%%/tools/check_whitelist X%%TOOLS%%%%DATADIR%%/tools/convert_awl_dbm_to_sql X%%TOOLS%%%%DATADIR%%/tools/desc_length.pl X%%TOOLS%%%%DATADIR%%/tools/mboxsplit X%%TOOLS%%%%DATADIR%%/tools/sa-stats.pl X%%TOOLS%%%%DATADIR%%/tools/speedtest X%%TOOLS%%%%DATADIR%%/tools/split_corpora X%%TOOLS%%%%DATADIR%%/tools/sysreport X%%TOOLS%%%%DATADIR%%/tools/test_extract X%%TOOLS%%%%DATADIR%%/tools/triplets.pl X%%TOOLS%%@dirrm %%DATADIR%%/tools X@dirrm %%DATADIR%% X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/SpamAssassin X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Util X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Plugin/Tokenizer X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Plugin X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Message/Metadata X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Message X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Logger X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Locker X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Conf X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/BayesStore X@dirrm %%SITE_PERL%%/Mail/SpamAssassin/Bayes X@dirrm %%SITE_PERL%%/Mail/SpamAssassin X@dirrmtry %%SITE_PERL%%/Mail X@dirrmtry etc/mail/spamassassin X@dirrmtry etc/mail X@dirrmtry /var/run/spamd END-of-p5-Mail-SpamAssassin/pkg-plist echo x - p5-Mail-SpamAssassin/pkg-message sed 's/^X//' >p5-Mail-SpamAssassin/pkg-message << 'END-of-p5-Mail-SpamAssassin/pkg-message' 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* For Japanese users, see document in * X* PREFIX/share/doc/ja-p5-Mail-SpamAssassin. * X* * X* Tokenizer::MeCab uses UTF-8 encoding. You may have to * X* manually (re)install the following ports with the build * X* options for UTF-8: * X* japanese/mecab WITH_CHARSET=utf-8 * X* japanese/mecab-ipadic WITH_CHARSET=utf-8 * X* japanese/p5-Text-MeCab ENCODING=utf8 * X* * X************************************************************************* END-of-p5-Mail-SpamAssassin/pkg-message echo x - p5-Mail-SpamAssassin/Makefile sed 's/^X//' >p5-Mail-SpamAssassin/Makefile << 'END-of-p5-Mail-SpamAssassin/Makefile' X# New ports collection makefile for: ja-p5-Mail-SpamAssassin X# Date created: Jun 24 2007 X# Whom: TAOKA Fumiyoshi X# X# $FreeBSD$ X XPORTNAME= Mail-SpamAssassin XPORTVERSION= 3.1.8 XCATEGORIES= japanese mail perl5 XMASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} \ X ${PATCH_SITES} XMASTER_SITE_SUBDIR= spamassassin/source/:apache Mail/:cpan XPKGNAMEPREFIX= ja-p5- XDISTFILES= ${DISTNAME}${EXTRACT_SUFX}:apache,cpan \ X tokenizer.pre:JA ${DOCJA}:JA XDIST_SUBDIR= ja-spamassassin XEXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} X XPATCH_SITES= http://www.emaillab.org/spamassassin/patch/:JA XPATCHFILES= spamassassin-3.1.8-normalize-test8.patch:JA XPATCH_DIST_STRIP= -p1 X XMAINTAINER= fmysh@iijmio-mail.jp XCOMMENT= SpamAssassin with Japanese tokenizer X XCONFLICTS= p5-Mail-SpamAssassin-[0-9]* X XBUILD_DEPENDS= p5-Net-DNS>=0.58:${PORTSDIR}/dns/p5-Net-DNS \ X p5-IO-Zlib>=1.04:${PORTSDIR}/archivers/p5-IO-Zlib \ X p5-HTML-Parser>=3.43:${PORTSDIR}/www/p5-HTML-Parser \ X p5-IO-Compress-Zlib>=2.04:${PORTSDIR}/archivers/p5-IO-Compress-Zlib \ X p5-Compress-Zlib>=2.04:${PORTSDIR}/archivers/p5-Compress-Zlib \ X ${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools X XRUN_DEPENDS= ${BUILD_DEPENDS} \ X ${SITE_PERL}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww \ X p5-Archive-Tar>=1.23:${PORTSDIR}/archivers/p5-Archive-Tar \ X ${SITE_PERL}/mach/Encode/Detect.pm:${PORTSDIR}/converters/p5-Encode-Detect \ X ${SITE_PERL}/${PERL_ARCH}/Encode/Detect.pm:${PORTSDIR}/converters/p5-Encode-Detect X XPERL_CONFIGURE= yes XCONFIGURE_ARGS= SYSCONFDIR="${PREFIX}/etc" \ X CONTACT_ADDRESS="${CONTACT_ADDRESS}" \ X BUILD_SPAMC=yes X X# You can override it if you like XCONTACT_ADDRESS?= The administrator of that system X XOPTIONS= AS_ROOT "Run spamd as root (recommended)" on \ X DOMAINKEYS "DomainKeys support" off \ X DKIM "DomainKeys Identified Mail" off \ X SSL "Build with SSL support for spamd/spamc" on \ X GNUPG "Install GnuPG (for sa-update)" on \ X MYSQL "Add MySQL support" off \ X PGSQL "Add PostreSQL support" off \ X RAZOR "Add Vipul's Razor support" on \ X SPF_QUERY "Add SPF query support" off \ X RELAY_COUNTRY "Relay country support" off \ X TOOLS "Install SpamAssassin tools" off X X.include <bsd.port.pre.mk> X X.if defined(WITH_SPF_QUERY) XRUN_DEPENDS+= ${SITE_PERL}/Mail/SPF/Query.pm:${PORTSDIR}/mail/p5-Mail-SPF-Query X.endif X X.if !defined(WITHOUT_SSL) X.include "${PORTSDIR}/Mk/bsd.openssl.mk" XRUN_DEPENDS+= ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL XUSE_OPENSSL= yes XCFLAGS+= -I${OPENSSLINC} XLDFLAGS+= -L${OPENSSLLIB} XCONFIGURE_ARGS+= ENABLE_SSL=yes X.else XCONFIGURE_ARGS+= ENABLE_SSL=no X.endif X X.if !defined(WITHOUT_GNUPG) XRUN_DEPENDS+= gnupg>=1.4.1:${PORTSDIR}/security/gnupg X.endif X X.if defined(WITH_MYSQL) XRUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql X.endif X X.if defined(WITH_PGSQL) XRUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg X.endif X X.if defined(WITH_RAZOR) XRUN_DEPENDS+= razor-agents>=2.81:${PORTSDIR}/mail/razor-agents X.endif X X.if defined(WITH_DKIM) XRUN_DEPENDS+= ${SITE_PERL}/Mail/DKIM.pm:${PORTSDIR}/mail/p5-Mail-DKIM X.endif X X.if defined(WITH_DOMAINKEYS) XRUN_DEPENDS+= p5-Mail-DomainKeys>=0.80:${PORTSDIR}/mail/p5-Mail-DomainKeys X.endif X X.if defined(WITH_RELAY_COUNTRY) XRUN_DEPENDS+= ${SITE_PERL}/IP/Country/Fast.pm:${PORTSDIR}/net/p5-IP-Country X.endif X X.if defined(WITH_TOOLS) XRUN_DEPENDS+= ${SITE_PERL}/Parse/Syslog.pm:${PORTSDIR}/textproc/p5-Parse-Syslog \ X ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \ X ${SITE_PERL}/Net/CIDR/Lite.pm:${PORTSDIR}/net/p5-Net-CIDR-Lite XTOOLS= "" X.else XTOOLS= "@comment " X.endif X XMAN3= Mail::SpamAssassin.3 \ X Mail::SpamAssassin::AICache.3 \ X Mail::SpamAssassin::ArchiveIterator.3 \ X Mail::SpamAssassin::AutoWhitelist.3 \ X Mail::SpamAssassin::Bayes.3 \ X Mail::SpamAssassin::BayesStore.3 \ X Mail::SpamAssassin::BayesStore::MySQL.3 \ X Mail::SpamAssassin::BayesStore::PgSQL.3 \ X Mail::SpamAssassin::BayesStore::SQL.3 \ X Mail::SpamAssassin::Client.3 \ X Mail::SpamAssassin::Conf.3 \ X Mail::SpamAssassin::Conf::LDAP.3 \ X Mail::SpamAssassin::Conf::Parser.3 \ X Mail::SpamAssassin::Conf::SQL.3 \ X Mail::SpamAssassin::DnsResolver.3 \ X Mail::SpamAssassin::Logger.3 \ X Mail::SpamAssassin::Logger::File.3 \ X Mail::SpamAssassin::Logger::Stderr.3 \ X Mail::SpamAssassin::Logger::Syslog.3 \ X Mail::SpamAssassin::Message.3 \ X Mail::SpamAssassin::Message::Metadata.3 \ X Mail::SpamAssassin::Message::Node.3 \ X Mail::SpamAssassin::PerMsgLearner.3 \ X Mail::SpamAssassin::PerMsgStatus.3 \ X Mail::SpamAssassin::PersistentAddrList.3 \ X Mail::SpamAssassin::Plugin.3 \ X Mail::SpamAssassin::Plugin::AWL.3 \ X Mail::SpamAssassin::Plugin::AccessDB.3 \ X Mail::SpamAssassin::Plugin::AntiVirus.3 \ X Mail::SpamAssassin::Plugin::AutoLearnThreshold.3 \ X Mail::SpamAssassin::Plugin::DCC.3 \ X Mail::SpamAssassin::Plugin::DKIM.3 \ X Mail::SpamAssassin::Plugin::DomainKeys.3 \ X Mail::SpamAssassin::Plugin::Hashcash.3 \ X Mail::SpamAssassin::Plugin::MIMEHeader.3 \ X Mail::SpamAssassin::Plugin::Pyzor.3 \ X Mail::SpamAssassin::Plugin::Razor2.3 \ X Mail::SpamAssassin::Plugin::RelayCountry.3 \ X Mail::SpamAssassin::Plugin::ReplaceTags.3 \ X Mail::SpamAssassin::Plugin::SPF.3 \ X Mail::SpamAssassin::Plugin::SpamCop.3 \ X Mail::SpamAssassin::Plugin::Test.3 \ X Mail::SpamAssassin::Plugin::TextCat.3 \ X Mail::SpamAssassin::Plugin::URIDNSBL.3 \ X Mail::SpamAssassin::Plugin::WhiteListSubject.3 \ X Mail::SpamAssassin::PluginHandler.3 \ X Mail::SpamAssassin::SQLBasedAddrList.3 \ X Mail::SpamAssassin::SubProcBackChannel.3 \ X Mail::SpamAssassin::Timeout.3 \ X Mail::SpamAssassin::Util.3 \ X Mail::SpamAssassin::Util::Progress.3 \ X spamassassin-run.3 X XMAN1= spamd.1 spamassassin.1 spamc.1 sa-learn.1 sa-update.1 \ X spamassassin-run.1 X XPLIST_SUB+= TOOLS=${TOOLS} X XDOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} XDATADIR= ${PREFIX}/share/spamassassin XDOCS= BUGS CREDITS Changes INSTALL LICENSE NOTICE PACKAGING README STATUS TRADEMARK UPGRADE USAGE procmailrc.example XDOCSSQL= README README.awl README.bayes awl_mysql.sql awl_pg.sql bayes_mysql.sql bayes_pg.sql userpref_mysql.sql userpref_pg.sql XDOCSCONTRIB= mbox-to-check run-corpora run-masses XDOCSLDAP= README README.testing sa_test.ldif XDOCJA= spamassassin-3.1.8-normalize-test8.txt XPORTDOCS= ${DOCS} sql contrib ldap ${DOCJA} X XUSE_RC_SUBR= sa-spamd.sh X X.if defined(WITH_MYSQL) || defined(WITH_PGSQL) XSUB_LIST+= SQL_FLAG="-Q" X.else XSUB_LIST+= SQL_FLAG="" X.endif X.if !defined(WITH_AS_ROOT) XSUB_LIST+= RUN_AS_USER="-u spamd -H /var/spool/spamd" X.else XSUB_LIST+= RUN_AS_USER="" X.endif X Xpost-patch: X @${FIND} ${WRKSRC} -name \*.orig -delete X @${REINPLACE_CMD} -e 's#B_CONFDIR)/local.cf#B_CONFDIR)/local.cf.sample#g' \ X -e 's#B_CONFDIR)/init.pre#B_CONFDIR)/init.pre.sample#g' \ X -e 's#B_CONFDIR)/v310.pre#B_CONFDIR)/v310.pre.sample#g' \ X -e 's#B_CONFDIR)/v312.pre#B_CONFDIR)/v312.pre.sample#g' \ X -e 's/require DBI/0/' \ X ${WRKSRC}/Makefile.PL X# I cant' seem to get these to work, patches or suggestions welcome X.if defined(WITH_RAZOR) X ${REINPLACE_CMD} -e '/Razor2/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v312.pre X.endif X.if defined(WITH_DOMAINKEYS) X ${REINPLACE_CMD} -e '/DomainKeys/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v310.pre X.endif X.if defined(WITH_RELAY_COUNTRY) X ${REINPLACE_CMD} -e '/RelayCountry/s/^# ?loadplugin/loadplugin/' ${WRKSRC}/rules/init.pre X.endif X.if defined(WITH_DKIM) X ${REINPLACE_CMD} -e '/DKIM/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v312.pre X.endif X.if !defined(WITH_SPF_QUERY) X ${REINPLACE_CMD} -e '/SPF/s/^loadplugin/#loadplugin/' ${WRKSRC}/rules/init.pre X.endif X.if defined(WITH_DCC) X ${REINPLACE_CMD} -e '/DCC/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v310.pre X.endif X Xpre-install: X @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL X Xpost-install: X @${STRIP_CMD} ${PREFIX}/bin/spamc X @[ -f ${PREFIX}/etc/mail/spamassassin/init.pre ] || \ X ${CP} ${PREFIX}/etc/mail/spamassassin/init.pre.sample \ X ${PREFIX}/etc/mail/spamassassin/init.pre X @[ -f ${PREFIX}/etc/mail/spamassassin/v310.pre ] || \ X ${CP} ${PREFIX}/etc/mail/spamassassin/v310.pre.sample \ X ${PREFIX}/etc/mail/spamassassin/v310.pre X @[ -f ${PREFIX}/etc/mail/spamassassin/v312.pre ] || \ X ${CP} ${PREFIX}/etc/mail/spamassassin/v312.pre.sample \ X ${PREFIX}/etc/mail/spamassassin/v312.pre 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(WITH_TOOLS) X @${MKDIR} ${DATADIR}/tools X @for f in ${WRKSRC}/tools/*; do \ X ${INSTALL} $${f} ${DATADIR}/tools; \ X done X.endif X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} ${DOCSDIR}/sql ${DOCSDIR}/contrib ${DOCSDIR}/ldap X @${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR} X @${INSTALL_DATA} ${DOCSSQL:S|^|${WRKSRC}/sql/|} ${DOCSDIR}/sql X @${INSTALL_DATA} ${DOCSCONTRIB:S|^|${WRKSRC}/contrib/|} ${DOCSDIR}/contrib X @${INSTALL_DATA} ${DOCSLDAP:S|^|${WRKSRC}/ldap/|} ${DOCSDIR}/ldap X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DOCJA} ${DOCSDIR} X X.endif X @${SED} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE} X X.if ${PERL_LEVEL} < 500600 XIGNORE= needs perl 5.6.1 or higher, install lang/perl5.8 and try again X.endif X X.if ${PERL_LEVEL} < 500800 XBUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ X ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable X.endif X X.include <bsd.port.post.mk> END-of-p5-Mail-SpamAssassin/Makefile echo c - p5-Mail-SpamAssassin/files mkdir -p p5-Mail-SpamAssassin/files > /dev/null 2>&1 echo x - p5-Mail-SpamAssassin/files/sa-spamd.sh.in sed 's/^X//' >p5-Mail-SpamAssassin/files/sa-spamd.sh.in << 'END-of-p5-Mail-SpamAssassin/files/sa-spamd.sh.in' X#!/bin/sh X# X# $FreeBSD: ports/mail/p5-Mail-SpamAssassin/files/sa-spamd.sh.in,v 1.1 2006/03/20 13:03:33 garga Exp $ X# X X# PROVIDE: spamd X# REQUIRE: LOGIN X# BEFORE: mail X# KEYWORD: shutdown X X# X# Add the following lines to /etc/rc.conf to enable spamd: X# X#spamd_enable="YES" X# X# See spamd(8) for flags X# X X. %%RC_SUBR%% X Xname=spamd Xrcvar=`set_rcvar` X Xload_rc_config $name X X# Set defaults X: ${spamd_enable:="NO"} X: ${spamd_flags="-c %%SQL_FLAG%% %%RUN_AS_USER%%"} X Xpidfile=${spamd_pidfile:-"/var/run/spamd/spamd.pid"} Xcommand=%%PREFIX%%/bin/spamd Xcommand_args="-d -r ${pidfile}" Xrequired_dirs=%%PREFIX%%/share/spamassassin X Xstop_postcmd=stop_postcmd X Xstop_postcmd() X{ X rm -f $pidfile X} X Xrun_rc_command "$1" END-of-p5-Mail-SpamAssassin/files/sa-spamd.sh.in echo x - p5-Mail-SpamAssassin/files/patch-sa-learn-raw sed 's/^X//' >p5-Mail-SpamAssassin/files/patch-sa-learn-raw << 'END-of-p5-Mail-SpamAssassin/files/patch-sa-learn-raw' X--- sa-learn.raw (revision 507745) X+++ sa-learn.raw (working copy) X@@ -402,7 +402,10 @@ X X # make sure the target list is in the normal AI format X if ($targets[$elem] !~ /^[^:]*:[a-z]+:/) { X- $targets[$elem] = target($targets[$elem]); X+ my $item = splice @targets, $elem, 1; X+ $elem--; # go back to this element again X+ target($item); # add back to the list X+ next; X } X } X END-of-p5-Mail-SpamAssassin/files/patch-sa-learn-raw echo x - p5-Mail-SpamAssassin/files/patch-rules-local.cf sed 's/^X//' >p5-Mail-SpamAssassin/files/patch-rules-local.cf << 'END-of-p5-Mail-SpamAssassin/files/patch-rules-local.cf' X--- rules/local.cf.orig Sat Dec 30 07:18:59 2006 X+++ rules/local.cf Sat Dec 30 07:20:48 2006 X@@ -51,3 +51,7 @@ X # bayes_ignore_header X-Spam-Flag X # bayes_ignore_header X-Spam-Status X X+ X+# Normalize charset to UTF-8 (default:0) X+# X+# normalize_charset 1 END-of-p5-Mail-SpamAssassin/files/patch-rules-local.cf echo x - p5-Mail-SpamAssassin/pkg-deinstall sed 's/^X//' >p5-Mail-SpamAssassin/pkg-deinstall << 'END-of-p5-Mail-SpamAssassin/pkg-deinstall' X#!/bin/sh X Xif [ "$2" != "POST-DEINSTALL" ]; then X exit 0 Xfi X XUSER=spamd X Xif pw usershow "${USER}" 2>/dev/null 1>&2; then X echo "To delete ${USER} user permanently, use 'rmuser ${USER}'" Xfi X Xexit 0 END-of-p5-Mail-SpamAssassin/pkg-deinstall echo x - p5-Mail-SpamAssassin/pkg-install sed 's/^X//' >p5-Mail-SpamAssassin/pkg-install << 'END-of-p5-Mail-SpamAssassin/pkg-install' X#!/bin/sh X Xif [ "$2" != "PRE-INSTALL" ]; then X exit 0 Xfi X XUSER=spamd XGROUP=${USER} XUID=58 XGID=${UID} XHOME=/var/spool/${USER} X Xif ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then X if pw groupadd ${GROUP} -g ${GID}; then X echo "Added group \"${GROUP}\"." X else X echo "Adding group \"${GROUP}\" failed..." X exit 1 X fi Xfi X Xif ! pw usershow "${USER}" 2>/dev/null 1>&2; then X if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ X -s "/sbin/nologin" -d "${HOME}" \ X -c "SpamAssassin user"; \ X then X echo "Added user \"${USER}\"." X mkdir ${HOME} && chown ${USER}:${GROUP} ${HOME} X else X echo "Adding user \"${USER}\" failed..." X exit 1 X fi Xfi X X# Create pid directory Xmkdir /var/run/spamd 2> /dev/null && chown ${USER}:${GROUP} /var/run/spamd X Xexit 0 END-of-p5-Mail-SpamAssassin/pkg-install echo x - p5-Mail-SpamAssassin/pkg-descr sed 's/^X//' >p5-Mail-SpamAssassin/pkg-descr << 'END-of-p5-Mail-SpamAssassin/pkg-descr' XSpamAssassin is a mail filter which attempts to identify spam using text Xanalysis and several internet-based realtime blacklists. X XUsing its rule base, it uses a wide range of heuristic tests on mail Xheaders and body text to identify "spam", also known as unsolicited Xcommercial email. X XOnce identified, the mail can then be optionally tagged as spam for later Xfiltering using the user's own mail user-agent application. X XAdditional drop-in rule sets are available at Xhttp://wiki.apache.org/spamassassin/CustomRulesets X XWWW: http://spamassassin.apache.org/ END-of-p5-Mail-SpamAssassin/pkg-descr exit
Responsible Changed From-To: clsung->freebsd-ports-bugs Back to pool. I'm bad in SA these days.
State Changed From-To: open->closed Committed, thanks!
edwin 2007-09-07 04:27:13 UTC FreeBSD ports repository Modified files: japanese Makefile Added files: japanese/p5-Mail-SpamAssassin Makefile distinfo pkg-deinstall pkg-descr pkg-install pkg-message pkg-plist japanese/p5-Mail-SpamAssassin/files patch-rules-local.cf patch-sa-learn-raw sa-spamd.sh.in Log: New port: japanese/p5-Mail-SpamAssassin A new port for SpamAssassin with Japanese tokenizer patch. Now the current version of SA is 3.2.1, while the latest Japanese patch is for version 3.1.8. Considering such delay I remade the port as standalone one. PR: ports/112445 Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> Revision Changes Path 1.668 +1 -0 ports/japanese/Makefile 1.1 +273 -0 ports/japanese/p5-Mail-SpamAssassin/Makefile (new) 1.1 +12 -0 ports/japanese/p5-Mail-SpamAssassin/distinfo (new) 1.1 +10 -0 ports/japanese/p5-Mail-SpamAssassin/files/patch-rules-local.cf (new) 1.1 +14 -0 ports/japanese/p5-Mail-SpamAssassin/files/patch-sa-learn-raw (new) 1.1 +42 -0 ports/japanese/p5-Mail-SpamAssassin/files/sa-spamd.sh.in (new) 1.1 +13 -0 ports/japanese/p5-Mail-SpamAssassin/pkg-deinstall (new) 1.1 +14 -0 ports/japanese/p5-Mail-SpamAssassin/pkg-descr (new) 1.1 +38 -0 ports/japanese/p5-Mail-SpamAssassin/pkg-install (new) 1.1 +31 -0 ports/japanese/p5-Mail-SpamAssassin/pkg-message (new) 1.1 +176 -0 ports/japanese/p5-Mail-SpamAssassin/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
edwin 2007-09-07 04:29:19 UTC FreeBSD ports repository Modified files: mail/p5-Mail-SpamAssassin Makefile Log: Add CONFLICTS for japanese/p5-Mail-SpamAssassin PR: ports/112445 Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> Revision Changes Path 1.110 +2 -0 ports/mail/p5-Mail-SpamAssassin/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"