ports/85299: [MAINTAINER] security/openvpn: fix two bugs, one incompatibility
Matthias Andree
matthias.andree at gmx.de
Thu Aug 25 19:20:13 UTC 2005
>Number: 85299
>Category: ports
>Synopsis: [MAINTAINER] security/openvpn: fix two bugs, one incompatibility
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 25 19:20:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Matthias Andree
>Release: FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #1: Sat Jul 2 12:53:26 CEST
>Description:
OpenVPN 2.0.2 brings these upstream changes:
- fix bug that would exhaust file descriptors as the routing table was modified
(this had already been part of the port previously)
- fix bug that would block the management socket until the peer connected
- fix pkitool sh incompatibilities (from NetBSD)
Removed file(s):
- files/patch-route.c (merged into upstream version)
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- openvpn-2.0.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/openvpn/Makefile /usr/home/emma/ports/security/openvpn/Makefile
--- /usr/ports/security/openvpn/Makefile Wed Aug 24 12:09:53 2005
+++ /usr/home/emma/ports/security/openvpn/Makefile Thu Aug 25 20:44:30 2005
@@ -6,8 +6,7 @@
#
PORTNAME= openvpn
-DISTVERSION= 2.0.1
-PORTREVISION= 1
+DISTVERSION= 2.0.2
CATEGORIES= security
MASTER_SITES= http://openvpn.net/release/
diff -ruN --exclude=CVS /usr/ports/security/openvpn/distinfo /usr/home/emma/ports/security/openvpn/distinfo
--- /usr/ports/security/openvpn/distinfo Sat Aug 20 14:59:19 2005
+++ /usr/home/emma/ports/security/openvpn/distinfo Thu Aug 25 20:44:52 2005
@@ -1,2 +1,2 @@
-MD5 (openvpn-2.0.1.tar.gz) = fad7a08c0d68371c2c0e6428bcb98fa5
-SIZE (openvpn-2.0.1.tar.gz) = 662428
+MD5 (openvpn-2.0.2.tar.gz) = 862f8788f080f669b1ae00a74ef68001
+SIZE (openvpn-2.0.2.tar.gz) = 663246
diff -ruN --exclude=CVS /usr/ports/security/openvpn/files/patch-route.c /usr/home/emma/ports/security/openvpn/files/patch-route.c
--- /usr/ports/security/openvpn/files/patch-route.c Thu May 19 18:22:20 2005
+++ /usr/home/emma/ports/security/openvpn/files/patch-route.c Thu Jan 1 01:00:00 1970
@@ -1,50 +0,0 @@
---- route.c.orig Mon Apr 11 05:43:56 2005
-+++ route.c Mon May 16 21:13:41 2005
-@@ -1380,6 +1380,7 @@
- {
- warn("writing to routing socket");
- gc_free (&gc);
-+ close(s);
- return false;
- }
-
-@@ -1387,6 +1388,7 @@
- l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg));
- } while (l > 0 && (rtm.rtm_seq != seq || rtm.rtm_pid != pid));
-
-+ close(s);
-
- rtm_aux = &rtm;
-
-@@ -1535,6 +1537,7 @@
- {
- msg (M_WARN, "ROUTE: problem writing to routing socket");
- gc_free (&gc);
-+ close(s);
- return false;
- }
-
-@@ -1542,6 +1545,7 @@
- l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg));
- } while (l > 0 && (rtm.rtm_seq != seq || rtm.rtm_pid != pid));
-
-+ close(s);
-
- rtm_aux = &rtm;
-
-@@ -1690,6 +1694,7 @@
- {
- warn("writing to routing socket");
- gc_free (&gc);
-+ close(s);
- return false;
- }
-
-@@ -1697,6 +1702,7 @@
- l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg));
- } while (l > 0 && (rtm.rtm_seq != seq || rtm.rtm_pid != pid));
-
-+ close(s);
-
- rtm_aux = &rtm;
-
--- openvpn-2.0.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list