diff options
author | James Mills <prologic@daisy.(none)> | 2006-11-14 09:13:35 +1000 |
---|---|---|
committer | James Mills <prologic@daisy.(none)> | 2006-11-14 09:13:35 +1000 |
commit | 577628b6e19141b5f3914b4699e794b859572aba (patch) | |
tree | 28d16d6a03716cf0fe12e4b44ca60b6d71d387f0 /spamassassin | |
parent | 70006e31d25693aa65fc985124ce9babbd3347fc (diff) | |
download | contrib-577628b6e19141b5f3914b4699e794b859572aba.tar.gz contrib-577628b6e19141b5f3914b4699e794b859572aba.tar.xz |
Imported from personal repo
Diffstat (limited to 'spamassassin')
-rw-r--r-- | spamassassin/.footprint | 214 | ||||
-rw-r--r-- | spamassassin/.md5sum | 2 | ||||
-rw-r--r-- | spamassassin/Pkgfile | 39 | ||||
-rw-r--r-- | spamassassin/spamassassin.rc | 50 |
4 files changed, 305 insertions, 0 deletions
diff --git a/spamassassin/.footprint b/spamassassin/.footprint new file mode 100644 index 000000000..96dd20207 --- /dev/null +++ b/spamassassin/.footprint @@ -0,0 +1,214 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/rc.d/ +-rwxr-xr-x root/root etc/rc.d/spamassassin +drwxr-xr-x root/root etc/spamassassin/ +-rw-r--r-- root/root etc/spamassassin/init.pre +-rw-r--r-- root/root etc/spamassassin/local.cf +-rw-r--r-- root/root etc/spamassassin/v310.pre +-rw-r--r-- root/root etc/spamassassin/v312.pre +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/sa-learn +-rwxr-xr-x root/root usr/bin/sa-update +-rwxr-xr-x root/root usr/bin/spamassassin +-rwxr-xr-x root/root usr/bin/spamc +-rwxr-xr-x root/root usr/bin/spamd +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/libspamc.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libspamc.so +drwxr-xr-x root/root usr/lib/perl5/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Mail/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/ArchiveIterator.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/AutoWhitelist.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Bayes.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Bayes/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Bayes/CombineChi.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Bayes/CombineNaiveBayes.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/BayesStore.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/BayesStore/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/BayesStore/DBM.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/BayesStore/MySQL.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/BayesStore/PgSQL.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/BayesStore/SDBM.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/BayesStore/SQL.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Client.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Conf.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Conf/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Conf/LDAP.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Conf/Parser.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Conf/SQL.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Constants.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/DBBasedAddrList.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Dns.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/DnsResolver.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/EvalTests.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/HTML.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Locales.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Locker.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Locker/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Locker/Flock.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Locker/UnixNFSSafe.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Locker/Win32.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Logger.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Logger/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Logger/File.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Logger/Stderr.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Logger/Syslog.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/MailingList.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Message.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Message/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Message/Metadata.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Message/Metadata/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Message/Metadata/Received.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Message/Node.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/NetSet.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgLearner.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PersistentAddrList.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/AWL.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/AccessDB.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/AntiVirus.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/DCC.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/DKIM.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/DomainKeys.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Hashcash.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/MIMEHeader.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Pyzor.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/RelayCountry.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/ReplaceTags.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/SPF.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/SpamCop.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Test.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/TextCat.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/URIDNSBL.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/WhiteListSubject.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PluginHandler.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Reporter.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/SQLBasedAddrList.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/SpamdForkScaling.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/SubProcBackChannel.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Timeout.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Util.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Util/ +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Util/DependencyInfo.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Util/Progress.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Util/RegistrarBoundaries.pm +-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/spamassassin-run.pod +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/sa-learn.1pm.gz +-rw-r--r-- root/root usr/man/man1/sa-update.1pm.gz +-rw-r--r-- root/root usr/man/man1/spamassassin-run.1pm.gz +-rw-r--r-- root/root usr/man/man1/spamassassin.1pm.gz +-rw-r--r-- root/root usr/man/man1/spamc.1pm.gz +-rw-r--r-- root/root usr/man/man1/spamd.1pm.gz +drwxr-xr-x root/root usr/man/man3/ +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::ArchiveIterator.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::AutoWhitelist.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Bayes.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::BayesStore.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::BayesStore::MySQL.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::BayesStore::PgSQL.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::BayesStore::SQL.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Client.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Conf.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Conf::LDAP.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Conf::Parser.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Conf::SQL.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::DnsResolver.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Logger.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Logger::File.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Logger::Stderr.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Logger::Syslog.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Message.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Message::Metadata.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Message::Node.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::PerMsgLearner.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::PerMsgStatus.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::PersistentAddrList.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::AWL.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::AccessDB.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::AntiVirus.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::AutoLearnThreshold.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::DCC.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::DKIM.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::DomainKeys.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::Hashcash.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::MIMEHeader.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::Pyzor.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::Razor2.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::RelayCountry.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::ReplaceTags.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::SPF.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::SpamCop.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::Test.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::TextCat.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::URIDNSBL.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Plugin::WhiteListSubject.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::PluginHandler.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::SQLBasedAddrList.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::SubProcBackChannel.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Timeout.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Util.3pm.gz +-rw-r--r-- root/root usr/man/man3/Mail::SpamAssassin::Util::Progress.3pm.gz +-rw-r--r-- root/root usr/man/man3/spamassassin-run.3pm.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/spamassassin/ +-rw-r--r-- root/root usr/share/spamassassin/10_misc.cf +-rw-r--r-- root/root usr/share/spamassassin/20_advance_fee.cf +-rw-r--r-- root/root usr/share/spamassassin/20_anti_ratware.cf +-rw-r--r-- root/root usr/share/spamassassin/20_body_tests.cf +-rw-r--r-- root/root usr/share/spamassassin/20_compensate.cf +-rw-r--r-- root/root usr/share/spamassassin/20_dnsbl_tests.cf +-rw-r--r-- root/root usr/share/spamassassin/20_drugs.cf +-rw-r--r-- root/root usr/share/spamassassin/20_fake_helo_tests.cf +-rw-r--r-- root/root usr/share/spamassassin/20_head_tests.cf +-rw-r--r-- root/root usr/share/spamassassin/20_html_tests.cf +-rw-r--r-- root/root usr/share/spamassassin/20_meta_tests.cf +-rw-r--r-- root/root usr/share/spamassassin/20_net_tests.cf +-rw-r--r-- root/root usr/share/spamassassin/20_phrases.cf +-rw-r--r-- root/root usr/share/spamassassin/20_porn.cf +-rw-r--r-- root/root usr/share/spamassassin/20_ratware.cf +-rw-r--r-- root/root usr/share/spamassassin/20_uri_tests.cf +-rw-r--r-- root/root usr/share/spamassassin/23_bayes.cf +-rw-r--r-- root/root usr/share/spamassassin/25_accessdb.cf +-rw-r--r-- root/root usr/share/spamassassin/25_antivirus.cf +-rw-r--r-- root/root usr/share/spamassassin/25_body_tests_es.cf +-rw-r--r-- root/root usr/share/spamassassin/25_body_tests_pl.cf +-rw-r--r-- root/root usr/share/spamassassin/25_dcc.cf +-rw-r--r-- root/root usr/share/spamassassin/25_dkim.cf +-rw-r--r-- root/root usr/share/spamassassin/25_domainkeys.cf +-rw-r--r-- root/root usr/share/spamassassin/25_hashcash.cf +-rw-r--r-- root/root usr/share/spamassassin/25_pyzor.cf +-rw-r--r-- root/root usr/share/spamassassin/25_razor2.cf +-rw-r--r-- root/root usr/share/spamassassin/25_replace.cf +-rw-r--r-- root/root usr/share/spamassassin/25_spf.cf +-rw-r--r-- root/root usr/share/spamassassin/25_textcat.cf +-rw-r--r-- root/root usr/share/spamassassin/25_uribl.cf +-rw-r--r-- root/root usr/share/spamassassin/30_text_de.cf +-rw-r--r-- root/root usr/share/spamassassin/30_text_fr.cf +-rw-r--r-- root/root usr/share/spamassassin/30_text_it.cf +-rw-r--r-- root/root usr/share/spamassassin/30_text_nl.cf +-rw-r--r-- root/root usr/share/spamassassin/30_text_pl.cf +-rw-r--r-- root/root usr/share/spamassassin/30_text_pt_br.cf +-rw-r--r-- root/root usr/share/spamassassin/50_scores.cf +-rw-r--r-- root/root usr/share/spamassassin/60_awl.cf +-rw-r--r-- root/root usr/share/spamassassin/60_whitelist.cf +-rw-r--r-- root/root usr/share/spamassassin/60_whitelist_dkim.cf +-rw-r--r-- root/root usr/share/spamassassin/60_whitelist_spf.cf +-rw-r--r-- root/root usr/share/spamassassin/60_whitelist_subject.cf +-rw-r--r-- root/root usr/share/spamassassin/languages +-rw-r--r-- root/root usr/share/spamassassin/sa-update-pubkey.txt +-rw-r--r-- root/root usr/share/spamassassin/triplets.txt +-rw-r--r-- root/root usr/share/spamassassin/user_prefs.template diff --git a/spamassassin/.md5sum b/spamassassin/.md5sum new file mode 100644 index 000000000..c90313da9 --- /dev/null +++ b/spamassassin/.md5sum @@ -0,0 +1,2 @@ +5f049f0b9fc63585a85593a3c68409bb Mail-SpamAssassin-3.1.3.tar.bz2 +9bdd02c43c3fc2eb677b0ea93152e629 spamassassin.rc diff --git a/spamassassin/Pkgfile b/spamassassin/Pkgfile new file mode 100644 index 000000000..55b87501b --- /dev/null +++ b/spamassassin/Pkgfile @@ -0,0 +1,39 @@ +# $Id: Pkgfile 1330 2006-11-13 20:54:04Z prologic $ +# Description: SpamAssassin(tm) is a mail filter to identify spam. +# URL: http://www.spamassassin.org +# Maintainer: James Mills prologic at shortcircuit dot net dot au +# Packager: Victor <victord@users.berlios.de> +# Depends on: perl, p5-digest-sha1, p5-html-parser + +name=spamassassin +version=3.1.3 +release=1 +source=(http://www.axint.net/apache/$name/Mail-SpamAssassin-$version.tar.bz2 \ + $name.rc) + +build() { + cd Mail-SpamAssassin-$version + perl Makefile.PL PREFIX=/usr CONFDIR=/etc/$name DESTDIR=$PKG < /dev/null + make + make spamc/libspamc.so + + make install \ + INSTALLMAN1DIR=/usr/man/man1 \ + INSTALLMAN3DIR=/usr/man/man3 \ + INSTALLSITEMAN1DIR=/usr/man/man1 \ + INSTALLSITEMAN3DIR=/usr/man/man3 \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + + mkdir -p $PKG/{etc/rc.d,usr/include,usr/lib} + install -m0755 ../$name.rc $PKG/etc/rc.d/$name + install -m0644 spamc/libspamc.so $PKG/usr/lib + install -m0644 spamc/libspamc.h $PKG/usr/include/libspamc.h + + chmod 0644 $PKG/usr/lib/perl5/site_perl/5.*.*/Mail/SpamAssassin/*.pm + chmod 0644 $PKG/usr/share/$name/* + chmod -R u+w $PKG/* + + rm -fr $PKG/usr/lib/perl5/{5.*.*, site_perl/5.*.*/linux} + chown -R root:root $PKG +} diff --git a/spamassassin/spamassassin.rc b/spamassassin/spamassassin.rc new file mode 100644 index 000000000..be9c1a6e5 --- /dev/null +++ b/spamassassin/spamassassin.rc @@ -0,0 +1,50 @@ +#!/bin/sh +###################################################################### +# spamassassin: This script starts and stops the spamd daemon +# description: spamd is a daemon process which uses SpamAssassin +# to check email messages for SPAM. It is normally +# called by spamc from a MDA. +###################################################################### + +daemon="/usr/bin/spamd" +options="-d -c -a -m5 -H" + +###################################################################### +# Start/Stop/Reload/Status Functions +###################################################################### +start() { + $daemon $options + return $? +} +stop() { + pkill -x ${daemon##*/} + return $? +} +reload() { + pkill -HUP -x ${daemon##*/} + return $? +} +status() { + base=${daemon##*/} + dpid=`pidof -o $$ -o $PPID -o %PPID -x ${base}` + if [ "$dpid" != "" ]; then + echo "${base} (pid $dpid) is running..." + elif [ -s /var/run/${base}.pid ]; then + echo "${base} is dead but pid file exists..." + else + echo "${base} is stopped." + fi + return +} +###################################################################### +# See how we were called +###################################################################### +case "$1" in + start) start ;; + stop) stop ;; + reload) reload ;; + restart) stop;start ;; + status) status ;; + *) echo "Usage: $0 {start|stop|reload|restart|status}" ; exit 1 +esac +exit $? |