1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/net/ss5/files/patch-src-SS5Server.c
John Marino 77ce50732f net/ss5: Fix on clang, DragonFly, and support stage
I estimated it would take me 15 minutes to incorporate the PR, but boy
was I wrong.  After several HOURS I finally got this port staged,
building on FreeBSD 10+, DragonFly too, and fix accomplished the
intent of the PR (don't clobber conf files, less noisy).

Staging revealed the original port was installing undocumented files.
Clang was having issues with the "inline" directives and I could only
get it to build on clang by removing them (this doesn't mean the
functions won't be inlined, nor does the directive mean that it will.)

Anyway -- a gift.  I wouldn't have done this had I know how much work
it was going to be.  I also should have overwritten the install
target instead of patch the vendor Makefile, that would have been a
lot easier and faster.

PR:		ports/176676
Submitted by:	Lawrence Chen
Approved by:	maintainer (Raffaele DeLorenzo)
Other work by:	marino
MFH:		2014Q2
2014-04-21 18:14:29 +00:00

12 lines
445 B
C

--- src/SS5Server.c.orig 2009-08-02 01:57:19.000000000 -0500
+++ src/SS5Server.c 2013-03-05 19:49:44.744425659 -0600
@@ -44,6 +44,8 @@
SS5SocksOpt.PreforkProcesses = 1;
SS5SocksOpt.PropagateKey = 0;
SS5SocksOpt.Role = ALONE;
+ SS5SocksOpt.SyslogFa = LOG_LOCAL6;
+ SS5SocksOpt.SyslogLe = LOG_ERR;
S5Radius.AuthPort = RADIUS_AUTH_PORT;
S5Radius.AcctPort = RADIUS_ACCT_PORT;