mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
mail/spampd: Update to 2.51 and refine rc script
- Include /usr/local/bin and /usr/local/sbin to PATH (this way pyzor and razor work, which wouldn't be used otherwise [debug output would show that they're silently skipped]) - support for sockets - IPv6 support - Fix injected X-Envelope-* headers so that spamassassin actually can pick them up for SPF and other checks - support for sid (so patch-setsid not required anymore), toggled by --setsid (rc script always sets this so it doesn't break on update) - new rc var (spampd_extra_flags), so it's easy to use the default setup and just add deltas in rc.conf like in: spampd_enable="YES" spampd_extra_flags="--sef" PR: 227903 Approved by: maintainer timeout
This commit is contained in:
parent
47622c7de3
commit
cd38ece830
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474724
@ -2,14 +2,13 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= spampd
|
||||
PORTVERSION= 2.42
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 2.51
|
||||
CATEGORIES= mail perl5
|
||||
|
||||
MAINTAINER= des@FreeBSD.org
|
||||
COMMENT= Spamassassin SMTP Proxy
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE= GPLv3
|
||||
|
||||
RUN_DEPENDS= spamc:mail/spamassassin \
|
||||
p5-Net-Server>=0:net/p5-Net-Server
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (mpaperno-spampd-2.42_GH0.tar.gz) = c6dcef8df0c471b3982e777bcccfe343f1f6f921113c2b369a76144724b1d15d
|
||||
SIZE (mpaperno-spampd-2.42_GH0.tar.gz) = 202504
|
||||
TIMESTAMP = 1525190858
|
||||
SHA256 (mpaperno-spampd-2.51_GH0.tar.gz) = 93cc3ef19ecff224ac00f6c7a0e028f059ec839703329f4567846b750964ac07
|
||||
SIZE (mpaperno-spampd-2.51_GH0.tar.gz) = 215462
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- spampd.pl.orig 2013-12-08 11:34:02 UTC
|
||||
+++ spampd.pl
|
||||
@@ -961,7 +961,7 @@ my $server = bless {
|
||||
syslog_ident => 'spampd',
|
||||
syslog_facility => 'mail',
|
||||
background => $background,
|
||||
- # setsid => 1,
|
||||
+ setsid => 1,
|
||||
pid_file => $pidfile,
|
||||
user => $user,
|
||||
group => $group,
|
@ -9,7 +9,11 @@
|
||||
#
|
||||
# spampd_enable (bool): Set it to "YES" to enable spampd
|
||||
# Default is "NO"
|
||||
# spampd_flags
|
||||
# spampd_flags: Flags to spampd
|
||||
# spampd_extra_flags: Additional flags, so one can
|
||||
# keep defaults in spampd_flags, e.g.
|
||||
# spampd_extra_flags="--sef" to add
|
||||
# "X-Envelope-From" header.
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
@ -23,7 +27,7 @@ rcvar=spampd_enable
|
||||
load_rc_config $name
|
||||
|
||||
command="%%PREFIX%%/sbin/$name"
|
||||
command_args="--pid=${spampd_pidfile}"
|
||||
command_args="--setsid --pid=${spampd_pidfile} ${spampd_extra_flags}"
|
||||
command_interpreter="%%PERL%% -T"
|
||||
pidfile="${spampd_pidfile}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user