aboutsummaryrefslogtreecommitdiffstats
path: root/security/openvpn-admin
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2007-10-23 11:39:04 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2007-10-23 11:39:04 +0800
commit7517ea38b5e61a4f80fc5d8420946db6f1285e4e (patch)
tree00409c1399abf96ccf3aa8a40fc8b715ca43a343 /security/openvpn-admin
parenta4681fe4cb783c24a6261cbfbffe3946ecf8a718 (diff)
downloadfreebsd-ports-gnome-7517ea38b5e61a4f80fc5d8420946db6f1285e4e.tar.gz
freebsd-ports-gnome-7517ea38b5e61a4f80fc5d8420946db6f1285e4e.tar.zst
freebsd-ports-gnome-7517ea38b5e61a4f80fc5d8420946db6f1285e4e.zip
Update to 1.9.4
- Required due to recent update to Mono. Submitted by: Phillip Neumann Approved by: maintainer timeout
Diffstat (limited to 'security/openvpn-admin')
-rw-r--r--security/openvpn-admin/Makefile5
-rw-r--r--security/openvpn-admin/distinfo6
-rw-r--r--security/openvpn-admin/files/patch-src-Configuration.cs20
-rw-r--r--security/openvpn-admin/files/patch-src-MainWindow.cs11
4 files changed, 37 insertions, 5 deletions
diff --git a/security/openvpn-admin/Makefile b/security/openvpn-admin/Makefile
index 4a46bb18ee30..efd54fb6bb9c 100644
--- a/security/openvpn-admin/Makefile
+++ b/security/openvpn-admin/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= openvpn-admin
-PORTVERSION= 1.9.3b
-PORTREVISION= 1
+PORTVERSION= 1.9.4
CATEGORIES= security gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,6 +21,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/b//}
USE_GMAKE= yes
USE_GNOME= gtksharp20
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
diff --git a/security/openvpn-admin/distinfo b/security/openvpn-admin/distinfo
index 81d8236d14b6..cc927511f8c4 100644
--- a/security/openvpn-admin/distinfo
+++ b/security/openvpn-admin/distinfo
@@ -1,3 +1,3 @@
-MD5 (openvpn-admin-1.9.3b.tar.gz) = 34899a0d7b6532684897001d8cf8b349
-SHA256 (openvpn-admin-1.9.3b.tar.gz) = fee9bca67e3ba7e9c8c89de0d79e171f72507c03ecc3851b3271078ba1c0b437
-SIZE (openvpn-admin-1.9.3b.tar.gz) = 351571
+MD5 (openvpn-admin-1.9.4.tar.gz) = 04a0191aed26c1041bbf0812dac179fe
+SHA256 (openvpn-admin-1.9.4.tar.gz) = 7ef54d77a594da74e233d25437161879feaddadf1416f083c3b3e852e9bd0c31
+SIZE (openvpn-admin-1.9.4.tar.gz) = 358930
diff --git a/security/openvpn-admin/files/patch-src-Configuration.cs b/security/openvpn-admin/files/patch-src-Configuration.cs
new file mode 100644
index 000000000000..fff3361c1e17
--- /dev/null
+++ b/security/openvpn-admin/files/patch-src-Configuration.cs
@@ -0,0 +1,20 @@
+--- src/Configuration.cs.orig Mon Oct 8 11:57:02 2007
++++ src/Configuration.cs Mon Oct 8 11:57:30 2007
+@@ -33,7 +33,7 @@
+
+ namespace OpenVPN.Admin
+ {
+- public delegate void ActivateDelegate(System.IO.StreamWriter input, bool askname);
++ public delegate void ConnectionActivateDelegate(System.IO.StreamWriter input, bool askname);
+
+ public class Configuration
+ {
+@@ -409,7 +409,7 @@
+ throw new Exception(Catalog.GetString("Invalid passphrase"));
+ }
+
+- public static bool Activate(string entry, ActivateDelegate input)
++ public static bool Activate(string entry, ConnectionActivateDelegate input)
+ {
+ string contents;
+ string filename = Configuration.FileFromEntry(entry);
diff --git a/security/openvpn-admin/files/patch-src-MainWindow.cs b/security/openvpn-admin/files/patch-src-MainWindow.cs
new file mode 100644
index 000000000000..e56907f61aea
--- /dev/null
+++ b/security/openvpn-admin/files/patch-src-MainWindow.cs
@@ -0,0 +1,11 @@
+--- src/MainWindow.cs.orig Mon Oct 8 11:55:37 2007
++++ src/MainWindow.cs Mon Oct 8 11:55:53 2007
+@@ -500,7 +500,7 @@
+ return;
+ }
+
+- if (Configuration.Activate(this.SelectedEntry, new ActivateDelegate(RequestPassword)))
++ if (Configuration.Activate(this.SelectedEntry, new ConnectionActivateDelegate(RequestPassword)))
+ {
+ this.activeConnections = this.activeConnections + 1;
+ this.RefreshCurrentEntry();