diff options
author | Tom McLaughlin <tmclaugh@FreeBSD.org> | 2007-10-23 03:39:04 +0000 |
---|---|---|
committer | Tom McLaughlin <tmclaugh@FreeBSD.org> | 2007-10-23 03:39:04 +0000 |
commit | dc2037ceec6619854eb23d07e9756e9d1a0b20d8 (patch) | |
tree | 0bb538aec2d5827ab1719d1fb4ff977f441ed894 /security/openvpn-admin | |
parent | 0f72814ee5ec3af216f4c069d5f4cbb42cae4b41 (diff) | |
download | ports-dc2037ceec6619854eb23d07e9756e9d1a0b20d8.tar.gz ports-dc2037ceec6619854eb23d07e9756e9d1a0b20d8.zip |
Update to 1.9.4
- Required due to recent update to Mono.
Submitted by: Phillip Neumann
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=201792
Diffstat (limited to 'security/openvpn-admin')
-rw-r--r-- | security/openvpn-admin/Makefile | 5 | ||||
-rw-r--r-- | security/openvpn-admin/distinfo | 6 | ||||
-rw-r--r-- | security/openvpn-admin/files/patch-src-Configuration.cs | 20 | ||||
-rw-r--r-- | security/openvpn-admin/files/patch-src-MainWindow.cs | 11 |
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(); |