Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154325775
D16135.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D16135.id.diff
View Options
Index: head/security/openvpn-auth-radius/Makefile
===================================================================
--- head/security/openvpn-auth-radius/Makefile
+++ head/security/openvpn-auth-radius/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openvpn-auth-radius
PORTVERSION= 2.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= http://www.nongnu.org/radiusplugin/ \
http://svn-cache.ipcopaddons.org/
Index: head/security/openvpn-auth-radius/files/patch-Makefile.bsd
===================================================================
--- head/security/openvpn-auth-radius/files/patch-Makefile.bsd
+++ head/security/openvpn-auth-radius/files/patch-Makefile.bsd
@@ -1,9 +1,8 @@
---- ./Makefile.bsd.orig 2010-04-06 19:07:33.000000000 +0200
-+++ ./Makefile.bsd 2014-01-03 11:29:36.000000000 +0100
+--- Makefile.bsd.orig 2010-04-06 17:07:33 UTC
++++ Makefile.bsd
@@ -1,4 +1,4 @@
-CC=g++
+CC?=g++
INCL=-I/usr/local/include
LDFLAGS=-L/usr/local/lib
LIBS=-lgcrypt -lgpg-error -lstdc++ -lm -lpthread
-
Index: head/security/openvpn-auth-radius/files/patch-RadiusClass_RadiusPacket.cpp
===================================================================
--- head/security/openvpn-auth-radius/files/patch-RadiusClass_RadiusPacket.cpp
+++ head/security/openvpn-auth-radius/files/patch-RadiusClass_RadiusPacket.cpp
@@ -0,0 +1,11 @@
+--- RadiusClass/RadiusPacket.cpp.orig 2010-01-31 14:34:02 UTC
++++ RadiusClass/RadiusPacket.cpp
+@@ -442,7 +442,7 @@ int RadiusPacket::radiusSend(list<Radius
+ cliAddr.sin_port=htons(0);
+
+ //Bind the socket port,
+- if(bind(socket2Radius,(struct sockaddr*)&cliAddr,sizeof(struct sockaddr))<0)
++ if(::bind(socket2Radius,(struct sockaddr*)&cliAddr,sizeof(struct sockaddr))<0)
+ {
+ cerr << "Cannot bind port: " << strerror(errno) << "\n";
+ socket2Radius=-1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 28, 8:51 PM (1 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32304966
Default Alt Text
D16135.id.diff (1 KB)
Attached To
Mode
D16135: security/openvpn-auth-radius: fix build on 11.2-RELEASE
Attached
Detach File
Event Timeline
Log In to Comment