diff options
Diffstat (limited to 'mail/smfsav/files')
-rw-r--r-- | mail/smfsav/files/patch-readme | 28 | ||||
-rw-r--r-- | mail/smfsav/files/patch-smf-sav.c | 57 | ||||
-rw-r--r-- | mail/smfsav/files/patch-smf-sav.conf | 28 | ||||
-rw-r--r-- | mail/smfsav/files/pkg-message.in | 9 | ||||
-rw-r--r-- | mail/smfsav/files/smfsav.in | 24 |
5 files changed, 0 insertions, 146 deletions
diff --git a/mail/smfsav/files/patch-readme b/mail/smfsav/files/patch-readme deleted file mode 100644 index 37a0ed97d447..000000000000 --- a/mail/smfsav/files/patch-readme +++ /dev/null @@ -1,28 +0,0 @@ ---- readme.orig 2006-10-25 23:15:10.000000000 +0300 -+++ readme 2008-02-17 14:50:09.000000000 +0200 -@@ -38,21 +38,18 @@ - make - make install - -- Inspect and edit the /etc/mail/smfs/smf-sav.conf file. -+ Inspect and edit the %%PREFIX%%/etc/smfsav.conf file. - --/usr/local/sbin/smf-sav -+%%PREFIX%%/sbin/smfsav - or --/usr/local/sbin/smf-sav -c /etc/mail/smfs/smf-sav.conf -+%%PREFIX%%/sbin/smfsav -c %%PREFIX%%/etc/smfsav.conf - - Add this milter to start-up scripts before starting a Sendmail daemon. - Look at the contributed samples of start-up scripts. - - Add these lines to your Sendmail configuration file (usually sendmail.mc): - define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO`, {verify}')dnl --INPUT_MAIL_FILTER(`smf-sav', `S=unix:/var/run/smfs/smf-sav.sock, T=S:30s;R:4m')dnl -- --IMPORTANT: make sure that /var/run is not a group writable directory! If so, --or chmod 755 /var/run, or if it's impossible switch to another directory. -+INPUT_MAIL_FILTER(`smfsav', `S=unix:/var/run/smfsav/smfsav.sock, T=S:30s;R:4m')dnl - - IMPORTANT: make sure that libmilter is compiled with BROKEN_PTHREAD_SLEEP defined. - If this symbol is not defined, libmilter will use sleep() in signal-handler thread, diff --git a/mail/smfsav/files/patch-smf-sav.c b/mail/smfsav/files/patch-smf-sav.c deleted file mode 100644 index 6c1bbc21004a..000000000000 --- a/mail/smfsav/files/patch-smf-sav.c +++ /dev/null @@ -1,57 +0,0 @@ ---- smf-sav.c.orig Wed Oct 25 23:15:10 2006 -+++ smf-sav.c Wed Aug 29 15:54:13 2007 -@@ -20,11 +20,7 @@ - #endif - - #include <arpa/inet.h> --#if __linux__ || __sun__ - #include <arpa/nameser.h> --#else --#include <bind/arpa/nameser.h> --#endif - #include <ctype.h> - #include <errno.h> - #include <fcntl.h> -@@ -33,20 +29,12 @@ - #endif - #include <grp.h> - #include <libmilter/mfapi.h> --#if __linux__ || __sun__ - #include <netdb.h> --#else --#include <bind/netdb.h> --#endif - #include <netinet/in.h> - #include <pthread.h> - #include <pwd.h> - #include <regex.h> --#if __linux__ || __sun__ - #include <resolv.h> --#else --#include <bind/resolv.h> --#endif - #include <signal.h> - #include <stdio.h> - #include <stdlib.h> -@@ -68,7 +56,7 @@ - #define hash_size(x) ((unsigned long) 1 << x) - #define hash_mask(x) (hash_size(x) - 1) - --#define CONFIG_FILE "/etc/mail/smfs/smf-sav.conf" -+#define CONFIG_FILE "/usr/local/etc/smfsav.conf" - #define PUBLIC_NAME "yourhost.yourdomain.tld" - #define SAFE_CALLBACK "postmaster@yourdomain.tld" - #define SYSLOG_FACILITY LOG_MAIL -@@ -81,9 +69,9 @@ - #define TO_PASS_TTL 3600 - #define TO_TEMPFAIL_TTL 300 - #define TO_FAIL_TTL 3600 --#define WORK_SPACE "/var/run/smfs" --#define OCONN "unix:" WORK_SPACE "/smf-sav.sock" --#define USER "smfs" -+#define WORK_SPACE "/var/run/smfsav" -+#define OCONN "unix:" WORK_SPACE "/smfsav.sock" -+#define USER "smfsav" - - #define DNS_RETRANS 7 - #define DNS_RETRY 4 diff --git a/mail/smfsav/files/patch-smf-sav.conf b/mail/smfsav/files/patch-smf-sav.conf deleted file mode 100644 index e2d4aa44bb1f..000000000000 --- a/mail/smfsav/files/patch-smf-sav.conf +++ /dev/null @@ -1,28 +0,0 @@ ---- smf-sav.conf.orig 2006-10-25 23:15:10.000000000 +0300 -+++ smf-sav.conf 2008-02-17 14:25:26.000000000 +0200 -@@ -1,4 +1,4 @@ --# /etc/mail/smfs/smf-sav.conf -+# /usr/local/etc/smfsav.conf - # - # smf-sav configuration file v1.4.0 (it's read at start) - # -@@ -97,15 +97,15 @@ - - # Run as a selected user (smf-sav must be started by root) - # --# Default: smfs -+# Default: smfsav - # --#User smfs -+#User smfsav - - # Socket used to communicate with a Sendmail daemon - # --# Default: unix:/var/run/smfs/smf-sav.sock -+# Default: unix:/var/run/smfsav/smfsav.sock - # --#Socket unix:/var/run/smfs/smf-sav.sock -+#Socket unix:/var/run/smfsav/smfsav.sock - - # Facility for logging via a Syslog daemon - # diff --git a/mail/smfsav/files/pkg-message.in b/mail/smfsav/files/pkg-message.in deleted file mode 100644 index 8bfaf8488b02..000000000000 --- a/mail/smfsav/files/pkg-message.in +++ /dev/null @@ -1,9 +0,0 @@ - -===================================================================================== -1. Inspect and edit the %%PREFIX%%/etc/smfsav.conf file -2. Add these lines to your Sendmail configuration file (usually sendmail.mc): - define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO`, {verify}')dnl - INPUT_MAIL_FILTER(`smfsav', `S=unix:/var/run/smfsav/smfsav.sock, T=S:30s;R:4m')dnl -3. Put line smfsav_enable="YES" to /etc/rc.conf file -4. Run %%PREFIX%%/etc/rc.d/smfsav start -===================================================================================== diff --git a/mail/smfsav/files/smfsav.in b/mail/smfsav/files/smfsav.in deleted file mode 100644 index 8ebddd4e9e90..000000000000 --- a/mail/smfsav/files/smfsav.in +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -# PROVIDE: smfsav -# REQUIRE: NETWORKING -# BEFORE: sendmail - -# Written for FreeBSD. -# -# $FreeBSD$ -# -# Copy this file into /usr/local/etc/rc.d as /usr/local/etc/rc.d/smfsav -# Add this line to /etc/rc.conf: -# -# smfsav_enable="YES" - -. /etc/rc.subr - -name="smfsav" -rcvar=smfsav_enable -command="%%PREFIX%%/sbin/smfsav" - -load_rc_config ${name} -run_rc_command "$1" - |