summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter/dspam/files')
-rw-r--r--mail-filter/dspam/files/dspam-3.10.2-mysql8-my_bool-typedef.patch13
-rw-r--r--mail-filter/dspam/files/dspam.confd7
-rw-r--r--mail-filter/dspam/files/dspam.cron-r45
-rw-r--r--mail-filter/dspam/files/dspam.initd44
-rw-r--r--mail-filter/dspam/files/dspam.logrotate10
5 files changed, 0 insertions, 79 deletions
diff --git a/mail-filter/dspam/files/dspam-3.10.2-mysql8-my_bool-typedef.patch b/mail-filter/dspam/files/dspam-3.10.2-mysql8-my_bool-typedef.patch
deleted file mode 100644
index 8edafbdf0dab..000000000000
--- a/mail-filter/dspam/files/dspam-3.10.2-mysql8-my_bool-typedef.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/src/mysql_drv.c 2020-07-07 10:40:33.871152228 -0400
-+++ b/src/mysql_drv.c 2020-07-07 10:43:16.187818893 -0400
-@@ -35,6 +35,10 @@
- #include <fcntl.h>
- #include <signal.h>
- #include <mysql.h>
-+#if defined(LIBMYSQL_VERSION_ID) && (LIBMYSQL_VERSION_ID >= 80000)
-+ typedef bool my_bool;
-+#endif
-+
- #include <limits.h>
-
- /* Work around broken limits.h on debian etch (and possibly others?) */
diff --git a/mail-filter/dspam/files/dspam.confd b/mail-filter/dspam/files/dspam.confd
deleted file mode 100644
index 75e0d4bda7d3..000000000000
--- a/mail-filter/dspam/files/dspam.confd
+++ /dev/null
@@ -1,7 +0,0 @@
-# Change this to the user:group you want to run the dspam daemon as.
-# If you need dspam to switch uids, this is root:root.
-# If you use virtual users and deliver via LMTP, this can be nonprivileged such as dspam:dspam.
-DAEMON_USER_GROUP="root:root"
-
-# Pid file
-PID_FILE="/var/run/dspam/dspam.pid"
diff --git a/mail-filter/dspam/files/dspam.cron-r4 b/mail-filter/dspam/files/dspam.cron-r4
deleted file mode 100644
index edf97dce541a..000000000000
--- a/mail-filter/dspam/files/dspam.cron-r4
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-# See dspam_maintenance --help for a list additional parameters
-
-/usr/bin/dspam_maintenance --verbose --purgescriptdir=/usr/share/dspam 1> /dev/null
diff --git a/mail-filter/dspam/files/dspam.initd b/mail-filter/dspam/files/dspam.initd
deleted file mode 100644
index e452630ab946..000000000000
--- a/mail-filter/dspam/files/dspam.initd
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-PIDFILE=${PID_FILE:-/var/run/dspam/dspam.pid}
-
-depend() {
- use logger
- before mta
- after postgresql mysql ldap
-}
-
-checkconfig() {
- local PIDDIR
- PIDDIR=${PIDFILE%/*}
- if [ ! -d "${PIDDIR:-/var/run/dspam}" ]; then
- checkpath -q -d -o dspam:dspam -m 0755 "${PIDDIR}" || return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting dspam"
- start-stop-daemon --start --quiet \
- --user ${DAEMON_USER_GROUP} \
- --pidfile ${PIDFILE} \
- --exec /usr/bin/dspam -- --daemon
- eend $?
-}
-
-stop() {
- ebegin "Stopping dspam"
- start-stop-daemon --stop \
- --pidfile ${PIDFILE} \
- --exec /usr/bin/dspam
- eend $?
-}
-
-reload() {
- ebegin "Reloading dspam"
- start-stop-daemon --signal SIGHUP /usr/bin/dspam
- eend $?
-}
diff --git a/mail-filter/dspam/files/dspam.logrotate b/mail-filter/dspam/files/dspam.logrotate
deleted file mode 100644
index f5e13067cfc7..000000000000
--- a/mail-filter/dspam/files/dspam.logrotate
+++ /dev/null
@@ -1,10 +0,0 @@
-/var/log/dspam/bnr.log
-/var/log/dspam/dspam.debug
-/var/log/dspam/dspam.log
-/var/log/dspam/dspam.messages
-/var/log/dspam/sql.errors {
- weekly
- compress
- missingok
- copytruncate
-}