diff options
author | Jason Unovitch <junovitch@FreeBSD.org> | 2016-05-01 01:13:06 +0000 |
---|---|---|
committer | Jason Unovitch <junovitch@FreeBSD.org> | 2016-05-01 01:13:06 +0000 |
commit | 2e4733463a4bc714bc94da00e4e9da9f56fdd703 (patch) | |
tree | 3afde4310eacf906074e9fc3c2684964c5c5aa75 /mail/dspam/files/patch-src__Makefile.in | |
parent | - Update to 0.36.1 (diff) |
mail/dspam: implement privilege separation (resolves bug running with suexec)
- Runs as dspam:dspam instead of root:mail. The dspam UID/GID were created
in r168311 when the UIDs/GIDs files were added but the port had always
used root:mail. This had prevented running the dspam webUI under Apache
with suexec due to a minimal requirement of UID/GID of 100. The original
unsecure behavior is available with the SETUID option.
- Default run directory is now /var/run/dspam. This follows the default
upstream behavior and removes the patch to dspam.c as a result. Use
RUN_DIR and correct the dspam.conf.sample file accordingly.
- Default daemon/client communication port is now 2424.
- Regen patches while here (portlint)
UPDATING: Document privilege separated dspam
PR: 115957
Reported by: tedm@ipinc.net, support@ipinc.net
Submitted by: Danny Warren <danny@dannywarren.com> (maintainer)
Diffstat (limited to 'mail/dspam/files/patch-src__Makefile.in')
-rw-r--r-- | mail/dspam/files/patch-src__Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/dspam/files/patch-src__Makefile.in b/mail/dspam/files/patch-src__Makefile.in index d4c6c5894e95..42e057050c4e 100644 --- a/mail/dspam/files/patch-src__Makefile.in +++ b/mail/dspam/files/patch-src__Makefile.in @@ -1,6 +1,6 @@ ---- src/Makefile.in.orig 2014-05-14 17:35:13.000000000 -0300 -+++ src/Makefile.in 2014-05-14 17:35:48.000000000 -0300 -@@ -1117,11 +1117,11 @@ +--- src/Makefile.in.orig 2012-04-23 17:53:45 UTC ++++ src/Makefile.in +@@ -1249,11 +1249,11 @@ install-exec-hook: mkdir -p $(DESTDIR)$(sysconfdir); \ chmod 755 $(DESTDIR)$(sysconfdir); \ fi |