mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 10:59:14 -04:00
- 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)
22 lines
548 B
C
22 lines
548 B
C
--- src/client.c.orig 2012-04-11 18:48:33 UTC
|
|
+++ src/client.c
|
|
@@ -304,7 +304,7 @@ int client_connect(AGENT_CTX *ATX, int f
|
|
struct sockaddr_un saun;
|
|
int sockfd;
|
|
int yes = 1;
|
|
- int port = 24;
|
|
+ int port = 2424;
|
|
int domain = 0;
|
|
int addr_len;
|
|
char *host;
|
|
--- src/client.c.orig 2012-04-11 18:48:33 UTC
|
|
+++ src/client.c
|
|
@@ -304,7 +304,7 @@ int client_connect(AGENT_CTX *ATX, int f
|
|
struct sockaddr_un saun;
|
|
int sockfd;
|
|
int yes = 1;
|
|
- int port = 24;
|
|
+ int port = 2424;
|
|
int domain = 0;
|
|
int addr_len;
|
|
char *host;
|