aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-07-12 00:51:06 +0800
committerijliao <ijliao@FreeBSD.org>2002-07-12 00:51:06 +0800
commit355f300440d2bd9dae6636ba5c8bf4eacacc9567 (patch)
treefa7512c5a49e2964db368a47356436c8687f542e
parentf9d47d3740d3e5a8ab52cda3d224b80f03c5a48f (diff)
downloadfreebsd-ports-gnome-355f300440d2bd9dae6636ba5c8bf4eacacc9567.tar.gz
freebsd-ports-gnome-355f300440d2bd9dae6636ba5c8bf4eacacc9567.tar.zst
freebsd-ports-gnome-355f300440d2bd9dae6636ba5c8bf4eacacc9567.zip
upgrade to 1.3.0
PR: 40424 Submitted by: maintainer
-rw-r--r--security/openvpn-devel/Makefile3
-rw-r--r--security/openvpn-devel/distinfo2
-rw-r--r--security/openvpn-devel/files/patch-error.c11
-rw-r--r--security/openvpn-devel/files/patch-tun.c53
-rw-r--r--security/openvpn-devel/pkg-message5
-rw-r--r--security/openvpn/Makefile3
-rw-r--r--security/openvpn/distinfo2
-rw-r--r--security/openvpn/files/patch-error.c11
-rw-r--r--security/openvpn/files/patch-tun.c53
-rw-r--r--security/openvpn/pkg-message5
-rw-r--r--security/openvpn20/Makefile3
-rw-r--r--security/openvpn20/distinfo2
-rw-r--r--security/openvpn20/files/patch-error.c11
-rw-r--r--security/openvpn20/files/patch-tun.c53
-rw-r--r--security/openvpn20/pkg-message5
15 files changed, 24 insertions, 198 deletions
diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile
index c19f50915d6b..424de0bc1a62 100644
--- a/security/openvpn-devel/Makefile
+++ b/security/openvpn-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= openvpn
-PORTVERSION= 1.2.1
+PORTVERSION= 1.3.0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -34,6 +34,7 @@ post-install:
@${MKDIR} ${DOCSDIR}/${dirs}
@${INSTALL_DATA} ${WRKSRC}/${dirs}/* ${DOCSDIR}/${dirs}
.endfor
+ @${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
diff --git a/security/openvpn-devel/distinfo b/security/openvpn-devel/distinfo
index fe7c070c3db3..9e382514ed67 100644
--- a/security/openvpn-devel/distinfo
+++ b/security/openvpn-devel/distinfo
@@ -1 +1 @@
-MD5 (openvpn-1.2.1.tar.gz) = 9a41f775bb5045d225483c8a2a9b0ad0
+MD5 (openvpn-1.3.0.tar.gz) = f82482f0ec8d9091876bd86133a8ff2f
diff --git a/security/openvpn-devel/files/patch-error.c b/security/openvpn-devel/files/patch-error.c
deleted file mode 100644
index 8193100c0e6b..000000000000
--- a/security/openvpn-devel/files/patch-error.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- error.c.orig Mon Jun 24 02:27:37 2002
-+++ error.c Mon Jun 24 02:28:05 2002
-@@ -215,7 +215,7 @@
- #if defined(HAVE_OPENLOG) && defined(HAVE_SYSLOG)
- if (daemon (cd != NULL, 0) < 0)
- msg (M_ERR, "daemon() failed");
-- openlog ("openvpn", LOG_PID, 0);
-+ openlog ("openvpn", LOG_PID, LOG_DAEMON);
- #else
- msg (M_WARN, "Warning: this operating system lacks daemon logging features, therefore when I become a daemon, I won't be able to log status or error messages");
- if (daemon (cd != NULL, 0) < 0)
diff --git a/security/openvpn-devel/files/patch-tun.c b/security/openvpn-devel/files/patch-tun.c
deleted file mode 100644
index cfba05b75e24..000000000000
--- a/security/openvpn-devel/files/patch-tun.c
+++ /dev/null
@@ -1,53 +0,0 @@
---- tun.c.orig Sun Jun 23 23:43:57 2002
-+++ tun.c Sun Jun 23 23:45:54 2002
-@@ -76,7 +76,7 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "linux ifconfig failed");
-+ msg (M_ERR, "Linux ifconfig failed");
-
- #elif defined(TARGET_SOLARIS)
-
-@@ -90,7 +90,7 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "solaris ifconfig failed");
-+ msg (M_ERR, "Solaris ifconfig failed");
-
- #elif defined(TARGET_OPENBSD)
-
-@@ -118,7 +118,7 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "openbsd ifconfig failed");
-+ msg (M_ERR, "OpenBSD ifconfig failed");
-
- #elif defined(TARGET_DARWIN)
-
-@@ -144,7 +144,22 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "darwin ifconfig failed");
-+ msg (M_ERR, "Darwin ifconfig failed");
-+
-+#elif defined(TARGET_FREEBSD)
-+ /* example: ifconfig tun2 10.2.0.2 10.2.0.1 mtu 1450 netmask 255.255.255.255 up */
-+ snprintf (command_line, sizeof (command_line),
-+ IFCONFIG_PATH " %s %s %s mtu %d netmask 255.255.255.255 up",
-+ dev,
-+ ifconfig_local,
-+ ifconfig_remote,
-+ tun_mtu
-+ );
-+ msg (M_INFO, "%s", command_line);
-+ if (openvpn_system (command_line) != 0)
-+ msg (M_ERR, "FreeBSD ifconfig failed");
-+
-+
-
- #else
- msg (M_FATAL, "Sorry, but I don't know how to do 'ifconfig' commands on this operating system. You should ifconfig your tun/tap device manually or use an --up script.");
diff --git a/security/openvpn-devel/pkg-message b/security/openvpn-devel/pkg-message
new file mode 100644
index 000000000000..e931c5aa9c97
--- /dev/null
+++ b/security/openvpn-devel/pkg-message
@@ -0,0 +1,5 @@
+### ---------------------------------------------------------------------- ###
+### To retain backwards compatibility of OpenVPN 1.3.0 with OpenVPN peers ###
+### that run older versions (back to 1.1.0), you will have to set the MTU ###
+### explicitly by command line options since OpenVPN 1.3.0. ###
+### ---------------------------------------------------------------------- ###
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index c19f50915d6b..424de0bc1a62 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= openvpn
-PORTVERSION= 1.2.1
+PORTVERSION= 1.3.0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -34,6 +34,7 @@ post-install:
@${MKDIR} ${DOCSDIR}/${dirs}
@${INSTALL_DATA} ${WRKSRC}/${dirs}/* ${DOCSDIR}/${dirs}
.endfor
+ @${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
diff --git a/security/openvpn/distinfo b/security/openvpn/distinfo
index fe7c070c3db3..9e382514ed67 100644
--- a/security/openvpn/distinfo
+++ b/security/openvpn/distinfo
@@ -1 +1 @@
-MD5 (openvpn-1.2.1.tar.gz) = 9a41f775bb5045d225483c8a2a9b0ad0
+MD5 (openvpn-1.3.0.tar.gz) = f82482f0ec8d9091876bd86133a8ff2f
diff --git a/security/openvpn/files/patch-error.c b/security/openvpn/files/patch-error.c
deleted file mode 100644
index 8193100c0e6b..000000000000
--- a/security/openvpn/files/patch-error.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- error.c.orig Mon Jun 24 02:27:37 2002
-+++ error.c Mon Jun 24 02:28:05 2002
-@@ -215,7 +215,7 @@
- #if defined(HAVE_OPENLOG) && defined(HAVE_SYSLOG)
- if (daemon (cd != NULL, 0) < 0)
- msg (M_ERR, "daemon() failed");
-- openlog ("openvpn", LOG_PID, 0);
-+ openlog ("openvpn", LOG_PID, LOG_DAEMON);
- #else
- msg (M_WARN, "Warning: this operating system lacks daemon logging features, therefore when I become a daemon, I won't be able to log status or error messages");
- if (daemon (cd != NULL, 0) < 0)
diff --git a/security/openvpn/files/patch-tun.c b/security/openvpn/files/patch-tun.c
deleted file mode 100644
index cfba05b75e24..000000000000
--- a/security/openvpn/files/patch-tun.c
+++ /dev/null
@@ -1,53 +0,0 @@
---- tun.c.orig Sun Jun 23 23:43:57 2002
-+++ tun.c Sun Jun 23 23:45:54 2002
-@@ -76,7 +76,7 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "linux ifconfig failed");
-+ msg (M_ERR, "Linux ifconfig failed");
-
- #elif defined(TARGET_SOLARIS)
-
-@@ -90,7 +90,7 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "solaris ifconfig failed");
-+ msg (M_ERR, "Solaris ifconfig failed");
-
- #elif defined(TARGET_OPENBSD)
-
-@@ -118,7 +118,7 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "openbsd ifconfig failed");
-+ msg (M_ERR, "OpenBSD ifconfig failed");
-
- #elif defined(TARGET_DARWIN)
-
-@@ -144,7 +144,22 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "darwin ifconfig failed");
-+ msg (M_ERR, "Darwin ifconfig failed");
-+
-+#elif defined(TARGET_FREEBSD)
-+ /* example: ifconfig tun2 10.2.0.2 10.2.0.1 mtu 1450 netmask 255.255.255.255 up */
-+ snprintf (command_line, sizeof (command_line),
-+ IFCONFIG_PATH " %s %s %s mtu %d netmask 255.255.255.255 up",
-+ dev,
-+ ifconfig_local,
-+ ifconfig_remote,
-+ tun_mtu
-+ );
-+ msg (M_INFO, "%s", command_line);
-+ if (openvpn_system (command_line) != 0)
-+ msg (M_ERR, "FreeBSD ifconfig failed");
-+
-+
-
- #else
- msg (M_FATAL, "Sorry, but I don't know how to do 'ifconfig' commands on this operating system. You should ifconfig your tun/tap device manually or use an --up script.");
diff --git a/security/openvpn/pkg-message b/security/openvpn/pkg-message
new file mode 100644
index 000000000000..e931c5aa9c97
--- /dev/null
+++ b/security/openvpn/pkg-message
@@ -0,0 +1,5 @@
+### ---------------------------------------------------------------------- ###
+### To retain backwards compatibility of OpenVPN 1.3.0 with OpenVPN peers ###
+### that run older versions (back to 1.1.0), you will have to set the MTU ###
+### explicitly by command line options since OpenVPN 1.3.0. ###
+### ---------------------------------------------------------------------- ###
diff --git a/security/openvpn20/Makefile b/security/openvpn20/Makefile
index c19f50915d6b..424de0bc1a62 100644
--- a/security/openvpn20/Makefile
+++ b/security/openvpn20/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= openvpn
-PORTVERSION= 1.2.1
+PORTVERSION= 1.3.0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -34,6 +34,7 @@ post-install:
@${MKDIR} ${DOCSDIR}/${dirs}
@${INSTALL_DATA} ${WRKSRC}/${dirs}/* ${DOCSDIR}/${dirs}
.endfor
+ @${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
diff --git a/security/openvpn20/distinfo b/security/openvpn20/distinfo
index fe7c070c3db3..9e382514ed67 100644
--- a/security/openvpn20/distinfo
+++ b/security/openvpn20/distinfo
@@ -1 +1 @@
-MD5 (openvpn-1.2.1.tar.gz) = 9a41f775bb5045d225483c8a2a9b0ad0
+MD5 (openvpn-1.3.0.tar.gz) = f82482f0ec8d9091876bd86133a8ff2f
diff --git a/security/openvpn20/files/patch-error.c b/security/openvpn20/files/patch-error.c
deleted file mode 100644
index 8193100c0e6b..000000000000
--- a/security/openvpn20/files/patch-error.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- error.c.orig Mon Jun 24 02:27:37 2002
-+++ error.c Mon Jun 24 02:28:05 2002
-@@ -215,7 +215,7 @@
- #if defined(HAVE_OPENLOG) && defined(HAVE_SYSLOG)
- if (daemon (cd != NULL, 0) < 0)
- msg (M_ERR, "daemon() failed");
-- openlog ("openvpn", LOG_PID, 0);
-+ openlog ("openvpn", LOG_PID, LOG_DAEMON);
- #else
- msg (M_WARN, "Warning: this operating system lacks daemon logging features, therefore when I become a daemon, I won't be able to log status or error messages");
- if (daemon (cd != NULL, 0) < 0)
diff --git a/security/openvpn20/files/patch-tun.c b/security/openvpn20/files/patch-tun.c
deleted file mode 100644
index cfba05b75e24..000000000000
--- a/security/openvpn20/files/patch-tun.c
+++ /dev/null
@@ -1,53 +0,0 @@
---- tun.c.orig Sun Jun 23 23:43:57 2002
-+++ tun.c Sun Jun 23 23:45:54 2002
-@@ -76,7 +76,7 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "linux ifconfig failed");
-+ msg (M_ERR, "Linux ifconfig failed");
-
- #elif defined(TARGET_SOLARIS)
-
-@@ -90,7 +90,7 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "solaris ifconfig failed");
-+ msg (M_ERR, "Solaris ifconfig failed");
-
- #elif defined(TARGET_OPENBSD)
-
-@@ -118,7 +118,7 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "openbsd ifconfig failed");
-+ msg (M_ERR, "OpenBSD ifconfig failed");
-
- #elif defined(TARGET_DARWIN)
-
-@@ -144,7 +144,22 @@
- );
- msg (M_INFO, "%s", command_line);
- if (openvpn_system (command_line) != 0)
-- msg (M_ERR, "darwin ifconfig failed");
-+ msg (M_ERR, "Darwin ifconfig failed");
-+
-+#elif defined(TARGET_FREEBSD)
-+ /* example: ifconfig tun2 10.2.0.2 10.2.0.1 mtu 1450 netmask 255.255.255.255 up */
-+ snprintf (command_line, sizeof (command_line),
-+ IFCONFIG_PATH " %s %s %s mtu %d netmask 255.255.255.255 up",
-+ dev,
-+ ifconfig_local,
-+ ifconfig_remote,
-+ tun_mtu
-+ );
-+ msg (M_INFO, "%s", command_line);
-+ if (openvpn_system (command_line) != 0)
-+ msg (M_ERR, "FreeBSD ifconfig failed");
-+
-+
-
- #else
- msg (M_FATAL, "Sorry, but I don't know how to do 'ifconfig' commands on this operating system. You should ifconfig your tun/tap device manually or use an --up script.");
diff --git a/security/openvpn20/pkg-message b/security/openvpn20/pkg-message
new file mode 100644
index 000000000000..e931c5aa9c97
--- /dev/null
+++ b/security/openvpn20/pkg-message
@@ -0,0 +1,5 @@
+### ---------------------------------------------------------------------- ###
+### To retain backwards compatibility of OpenVPN 1.3.0 with OpenVPN peers ###
+### that run older versions (back to 1.1.0), you will have to set the MTU ###
+### explicitly by command line options since OpenVPN 1.3.0. ###
+### ---------------------------------------------------------------------- ###