Date: Mon, 9 Jul 2018 08:36:02 +0000 (UTC) From: Koichiro Iwao <meta@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474240 - in head/security/openvpn-auth-radius: . files Message-ID: <201807090836.w698a2eY062044@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: meta Date: Mon Jul 9 08:36:02 2018 New Revision: 474240 URL: https://svnweb.freebsd.org/changeset/ports/474240 Log: security/openvpn-auth-radius: fix build on 11.2-RELEASE PR: 229456 Submitted by: nicolas@deffayet.com Approved by: maintainer, pi (mentor) MFC after: 2018Q3 Sponsored by: HAW International, Inc. Differential Revision: https://reviews.freebsd.org/D16135 Added: head/security/openvpn-auth-radius/files/patch-RadiusClass_RadiusPacket.cpp (contents, props changed) Modified: head/security/openvpn-auth-radius/Makefile head/security/openvpn-auth-radius/files/patch-Makefile.bsd Modified: head/security/openvpn-auth-radius/Makefile ============================================================================== --- head/security/openvpn-auth-radius/Makefile Mon Jul 9 08:29:44 2018 (r474239) +++ head/security/openvpn-auth-radius/Makefile Mon Jul 9 08:36:02 2018 (r474240) @@ -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/ Modified: head/security/openvpn-auth-radius/files/patch-Makefile.bsd ============================================================================== --- head/security/openvpn-auth-radius/files/patch-Makefile.bsd Mon Jul 9 08:29:44 2018 (r474239) +++ head/security/openvpn-auth-radius/files/patch-Makefile.bsd Mon Jul 9 08:36:02 2018 (r474240) @@ -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 - Added: head/security/openvpn-auth-radius/files/patch-RadiusClass_RadiusPacket.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/openvpn-auth-radius/files/patch-RadiusClass_RadiusPacket.cpp Mon Jul 9 08:36:02 2018 (r474240) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807090836.w698a2eY062044>