diff options
Diffstat (limited to 'mail-filter/spambayes')
-rw-r--r-- | mail-filter/spambayes/Manifest | 5 | ||||
-rw-r--r-- | mail-filter/spambayes/files/bayescustomize.ini | 171 | ||||
-rw-r--r-- | mail-filter/spambayes/files/spambayespop3proxy.rc | 22 | ||||
-rw-r--r-- | mail-filter/spambayes/metadata.xml | 9 | ||||
-rw-r--r-- | mail-filter/spambayes/spambayes-1.1_beta2.ebuild | 42 |
5 files changed, 0 insertions, 249 deletions
diff --git a/mail-filter/spambayes/Manifest b/mail-filter/spambayes/Manifest deleted file mode 100644 index c30795b9895d..000000000000 --- a/mail-filter/spambayes/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX bayescustomize.ini 3968 BLAKE2B 99ef3ccb75d00c3615deafc9879d9a2150006df37c2d0c43a61f79ab303ee41d8c5f82ca9a1c5b43ffa0ac63867e8c5a3e89c846feaa9ac1981690984d763767 SHA512 a9608e96fb50fb42f5d0ee746b0e242e465ad072f5c449ab3298b438f314806a24610f56b7dc33473ac6bae14f0c6ad7481699b12a7fc8cc4069fc7736689441 -AUX spambayespop3proxy.rc 580 BLAKE2B 414149415c4f0b4529cdd404c6a9851ff0e233c2d68250b503947f6c9712ee36851328e777696858cae6e113fe2347cad046c9b131ec0f1e18084a4f32fce922 SHA512 414e087a9096eb05453aa57c16563b21045b049354b37aeb0b23915550993cef110650f1283b8cfd31509d58441ca5a55bbe40de8570b6b552fd424edc09ec03 -DIST spambayes-1.1b2.tar.gz 1001993 BLAKE2B 71d5d1f900f144e83844e25e8fa72f2ce99cb4248263f056ebbe65f949172aecea40e7f68164f44b8f5e2300d3f48b6adb3998e32bad2cb22013525222d17ac1 SHA512 0f8e88a2b7d3200fbb08a8e55f549a06530cb2068215023f079bf2f4e399f2f7850bf4e9f01addb6a48f1e41a75872cc3909ca76b7567e2c93a9701bec7b2a39 -EBUILD spambayes-1.1_beta2.ebuild 890 BLAKE2B ca1dc35aae8f0c67e25db4535578d53176f94cdf8f994956a2ff0b2a097d1d11dfe53b7533923b3993c3394463527396ae9ed8d930f72124256a76a4ae8fdbd9 SHA512 6d29acc56f2d851e6845667324a5fac12c2b58c3c1fde971b54ac5dd9978bc5cd78b4bd2a34363b632648f3c2bfa590f5b3ee14adb3d6c3375013b051f068478 -MISC metadata.xml 300 BLAKE2B 5c5d0f1fee6cdfeaa64711764815f4d56af882ac8bf8745a702bfb9ab73f1a9b3b8800f55285cebe4735faaa5c76d44dada70585526321588872a0354f563458 SHA512 70cd147426080843aa4be83710c922d59fdf446e59b273808a3cbb856f8940fe1b4fc32fc62da65e57e142aa4b4efe761c636dd40aef2b5f950f263d72718598 diff --git a/mail-filter/spambayes/files/bayescustomize.ini b/mail-filter/spambayes/files/bayescustomize.ini deleted file mode 100644 index b4eadc7a0a57..000000000000 --- a/mail-filter/spambayes/files/bayescustomize.ini +++ /dev/null @@ -1,171 +0,0 @@ -[CV Driver] -build_each_classifier_from_scratch: False - -[Categorization] -ham_cutoff: 0.2 -spam_cutoff: 0.9 - -[Classifier] -max_discriminators: 150 -minimum_prob_strength: 0.1 -unknown_word_prob: 0.5 -unknown_word_strength: 0.45 -use_chi_squared_combining: True -x-experimental_ham_spam_imbalance_adjustment: False -x-use_bigrams: False - -[Hammie] -train_on_filter: False - -[Headers] -add_unique_id: True -classification_header_name: X-Spambayes-Classification -clue_mailheader_cutoff: 0.5 -evidence_header_name: X-Spambayes-Evidence -header_ham_string: ham -header_score_digits: 2 -header_score_logarithm: False -header_spam_string: spam -header_unsure_string: unsure -include_evidence: False -include_score: False -include_thermostat: False -include_trained: True -mailid_header_name: X-Spambayes-MailId -notate_subject: -notate_to: -score_header_name: X-Spambayes-Spam-Probability -thermostat_header_name: X-Spambayes-Level -trained_header_name: X-Spambayes-Trained - -[Storage] -cache_expiry_days: 7 -cache_messages: True -cache_use_gzip: False -ham_cache: /var/lib/spambayes/pop3proxy-ham-cache -messageinfo_storage_file: /var/lib/spambayes/spambayes.messageinfo.db -no_cache_bulk_ham: False -no_cache_large_messages: 0 -persistent_storage_file: /var/lib/spambayes/hammie.db -persistent_use_database: dbm -spam_cache: /var/lib/spambayes/pop3proxy-spam-cache -unknown_cache: /var/lib/spambayes/pop3proxy-unknown-cache - -[TestDriver] -best_cutoff_fn_weight: 1.0 -best_cutoff_fp_weight: 10.0 -best_cutoff_unsure_weight: 0.2 -compute_best_cutoffs_from_histograms: True -ham_directories: Data/Ham/Set%d -nbuckets: 200 -percentiles: 5 25 75 95 -pickle_basename: class -save_histogram_pickles: False -save_trained_pickles: False -show_charlimit: 3000 -show_false_negatives: False -show_false_positives: True -show_ham_hi: 0.0 -show_ham_lo: 1.0 -show_histograms: True -show_spam_hi: 0.0 -show_spam_lo: 1.0 -show_unsure: False -spam_directories: Data/Spam/Set%d - -[Tokenizer] -address_headers: from to cc sender reply-to -basic_header_skip: received date x-.* -basic_header_tokenize: False -basic_header_tokenize_only: False -check_octets: False -count_all_header_lines: False -generate_long_skips: True -mine_received_headers: False -octet_prefix_size: 5 -record_header_absence: False -replace_nonascii_chars: False -safe_headers: abuse-reports-to date errors-to from importance in-reply-to message-id mime-version organization received reply-to return-path subject to user-agent x-abuse-info x-complaints-to x-face -skip_max_word_size: 12 -summarize_email_prefixes: False -summarize_email_suffixes: False -x-extract_dow: False -x-fancy_url_recognition: False -x-generate_time_buckets: False -x-pick_apart_urls: False -x-reduce_habeas_headers: False -x-search_for_habeas_headers: False - -[URLRetriever] -x-cache_directory: url-cache -x-cache_expiry_days: 7 -x-only_slurp_base: False -x-slurp_urls: False -x-web_prefix: - -[ZODB] -cache_size: 2000 -event_log_file: -event_log_severity: 0 -folder_dir: -ham_folders: -spam_folders: -zeo_addr: - -[globals] -dbm_type: best -proxy_password: -proxy_server: -proxy_username: -verbose: False - -[html_ui] -allow_remote_connections: localhost -default_ham_action: ham -default_spam_action: spam -default_unsure_action: defer -display_adv_find: False -display_headers: Subject From -display_received_time: False -display_score: False -ham_discard_level: 0.0 -http_authentication: None -http_password: admin -http_user_name: admin -launch_browser: False -port: 8880 -rows_per_section: 10000 -spam_discard_level: 100.0 - -[imap] -expunge: False -filter_folders: INBOX -ham_train_folders: -move_trained_ham_to_folder: -move_trained_spam_to_folder: -password: -server: -spam_folder: -spam_train_folders: -unsure_folder: -use_ssl: False -username: - -[imapserver] -password: -port: 143 -username: - -[pop3proxy] -allow_remote_connections: localhost -listen_ports: -remote_servers: - -[smtpproxy] -allow_remote_connections: localhost -ham_address: spambayes_ham@localhost -listen_ports: -remote_servers: -spam_address: spambayes_spam@localhost -use_cached_message: False - diff --git a/mail-filter/spambayes/files/spambayespop3proxy.rc b/mail-filter/spambayes/files/spambayespop3proxy.rc deleted file mode 100644 index f2cfe40eddc9..000000000000 --- a/mail-filter/spambayes/files/spambayespop3proxy.rc +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -customize_ini=/etc/bayescustomize.ini - -depend() { - need net -} - -start() { - ebegin "Starting SpamBayes POP3 Proxy daemon" - export BAYESCUSTOMIZE="${customize_ini}" - start-stop-daemon --start --quiet --background --pidfile /var/run/spambayes.pid --make-pidfile --exec /usr/bin/sb_server.py - eend $? -} - -stop() { - ebegin "Stopping SpamBayes POP3 Proxy daemon" - start-stop-daemon --stop --quiet --pidfile /var/run/spambayes.pid --name sb_server.py - eend $? -} diff --git a/mail-filter/spambayes/metadata.xml b/mail-filter/spambayes/metadata.xml deleted file mode 100644 index b6d87d151069..000000000000 --- a/mail-filter/spambayes/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="pypi">spambayes</remote-id> - <remote-id type="sourceforge">spambayes</remote-id> - </upstream> -</pkgmetadata> diff --git a/mail-filter/spambayes/spambayes-1.1_beta2.ebuild b/mail-filter/spambayes/spambayes-1.1_beta2.ebuild deleted file mode 100644 index ed11cd3e9d9b..000000000000 --- a/mail-filter/spambayes/spambayes-1.1_beta2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -MY_P="${P/_beta/b}" - -DESCRIPTION="An anti-spam filter using on Bayesian filtering" -HOMEPAGE="http://spambayes.sourceforge.net" -SRC_URI=" - mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz - mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="PSF-2.2 GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -DEPEND=" - dev-python/bsddb3[${PYTHON_USEDEP}] - dev-python/lockfile[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -python_install_all() { - distutils-r1_python_install_all - - dodoc -r *.txt contrib utilities testtools - - newinitd "${FILESDIR}"/spambayespop3proxy.rc spambayespop3proxy - - insinto /etc - doins "${FILESDIR}"/bayescustomize.ini - - keepdir /var/lib/spambayes -} |