aboutsummaryrefslogtreecommitdiff
path: root/mail/py-spambayes/files
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-12-12 13:10:02 +0000
committerRene Ladan <rene@FreeBSD.org>2020-12-12 13:10:02 +0000
commite5aa301f0f704efbe3e5b544af4f9c22f917d62d (patch)
tree381f336556d12177c59307ab07522e769cc24a98 /mail/py-spambayes/files
parent01895e04f3bbeb8b3a40c484537df1e071150738 (diff)
downloadports-e5aa301f0f704efbe3e5b544af4f9c22f917d62d.tar.gz
ports-e5aa301f0f704efbe3e5b544af4f9c22f917d62d.zip
Notes
Diffstat (limited to 'mail/py-spambayes/files')
-rw-r--r--mail/py-spambayes/files/patch-spambayes_Dibbler.py11
-rw-r--r--mail/py-spambayes/files/pyspamd.in34
2 files changed, 0 insertions, 45 deletions
diff --git a/mail/py-spambayes/files/patch-spambayes_Dibbler.py b/mail/py-spambayes/files/patch-spambayes_Dibbler.py
deleted file mode 100644
index 6c8781d4ece1..000000000000
--- a/mail/py-spambayes/files/patch-spambayes_Dibbler.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- spambayes/Dibbler.py.orig 2013-02-06 11:28:18 UTC
-+++ spambayes/Dibbler.py
-@@ -215,7 +215,7 @@ class BrighterAsyncChat(asynchat.async_c
- # self.initiate_send() raises an exception, causing self.close()
- # to be called. If we didn't check, we could end up in an infinite
- # loop.
-- while (self.producer_fifo or self.ac_out_buffer) and not self._closed:
-+ while (self.producer_fifo) and not self._closed:
- self.initiate_send()
-
- def close(self):
diff --git a/mail/py-spambayes/files/pyspamd.in b/mail/py-spambayes/files/pyspamd.in
deleted file mode 100644
index 3336584074f4..000000000000
--- a/mail/py-spambayes/files/pyspamd.in
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-# Start or stop pyspamd
-# $FreeBSD$
-
-# PROVIDE: pyspamd
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-#
-
-# Define these pyspamd_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-#
-# DO NOT CHANGE THESE DEFAULT VALUES HERE
-#
-
-. /etc/rc.subr
-
-name="pyspamd"
-rcvar=pyspamd_enable
-
-load_rc_config $name
-
-: ${pyspamd_enable="NO"}
-: ${pyspamd_config="%%PREFIX%%/etc/bayescustomize.ini"}
-
-command="/usr/sbin/daemon"
-pidfile="/var/run/pyspamd.pid"
-command_args="-p ${pidfile} %%PYTHON_CMD%% -OO %%PREFIX%%/bin/sb_server.py 2>&1 >/dev/null"
-procname="%%PYTHON_CMD%%"
-export BAYESCUSTOMIZE=${pyspamd_config}
-
-run_rc_command "$1"