mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Update to 1.9.3b (required by lang/mono update)
Version 1.9.3b * OpenVPN-Admin start now only with tray icon and not with full screen. (Yeah, I spent a night thinking the app was broken because of this.) * In Certificate Management the Certificate details will show, like Name, Email, City, Expiration Date ... * Proxy support now Authentication and Auth Method * Fix certificate selection on Windows and Linux. Now not full path is added * Certificates with password protection fixed on Windows and Linux * Add Type Server to OpenVPN-Admin * Translation for Brazilian-Portuguese and German improved - USE_GNOME=+gtksharp20 - Remove unnecessary FreeBSD version check - install .desktop correctly - Don't install a pam config file. The one distributed with the port doesn't work on FreeBSD and it's not the port's job to dictate what users can use openvpn-admin.
This commit is contained in:
parent
6ca721ccd7
commit
910ce3d2d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184199
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= openvpn-admin
|
||||
PORTVERSION= 1.9.2
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 1.9.3b
|
||||
CATEGORIES= security gnome
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -15,22 +14,16 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
MAINTAINER= MrL0Lz@gmail.com
|
||||
COMMENT= GUI frontend to openvpn
|
||||
|
||||
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono \
|
||||
gapi2-codegen:${PORTSDIR}/x11-toolkits/gtk-sharp20
|
||||
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono \
|
||||
gapi2-codegen:${PORTSDIR}/x11-toolkits/gtk-sharp20 \
|
||||
openvpn:${PORTSDIR}/security/openvpn
|
||||
RUN_DEPENDS= openvpn:${PORTSDIR}/security/openvpn
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME:S/b//}
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= gtk20
|
||||
USE_GNOME= gtksharp20
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Some dependencies don't build on FreeBSD < 5.x
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/usr/bin/iconv,${LOCALBASE}/bin/iconv,g' \
|
||||
${WRKSRC}/intltool-merge.in
|
||||
@ -39,9 +32,8 @@ post-patch:
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/openvpn-admin ${PREFIX}/sbin
|
||||
${INSTALL_DATA} ${WRKSRC}/openvpn-admin.pam ${PREFIX}/etc/pam.d/openvpn-admin
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/openvpn-admin.desktop ${DATADIR}
|
||||
${MKDIR} ${PREFIX}/share/applications || ${TRUE}
|
||||
${INSTALL_DATA} ${WRKSRC}/openvpn-admin.desktop ${PREFIX}/share/applications/
|
||||
${MKDIR} ${PREFIX}/lib/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/src/openvpn-admin.exe ${PREFIX}/lib/${PORTNAME}
|
||||
${MKDIR} ${PREFIX}/etc/openvpn
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (openvpn-admin-1.9.2.tar.gz) = ec53bd710c9d20d30c5cb478d75e0ba9
|
||||
SHA256 (openvpn-admin-1.9.2.tar.gz) = 6526bd56db2e646052d52c59e7b9411b59544adb5e40c8ddedac928f55adb130
|
||||
SIZE (openvpn-admin-1.9.2.tar.gz) = 342997
|
||||
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
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- src/Configuration.cs.orig Tue Nov 22 01:46:04 2005
|
||||
+++ src/Configuration.cs Sun Feb 26 15:09:48 2006
|
||||
@@ -459,8 +459,8 @@
|
||||
int pid = Int32.Parse(Configuration.GetFileContents(pidfile, true));
|
||||
|
||||
// Only for Mono after 1.9.1 releases.
|
||||
- //Mono.Unix.Native.Syscall.kill(pid, Mono.Unix.Native.Signum.SIGKILL);
|
||||
- Mono.Unix.Syscall.kill(pid, Mono.Unix.Signum.SIGKILL);
|
||||
+ Mono.Unix.Native.Syscall.kill(pid, Mono.Unix.Native.Signum.SIGKILL);
|
||||
+ //Mono.Unix.Syscall.kill(pid, Mono.Unix.Signum.SIGKILL);
|
||||
|
||||
File.Delete(pidfile);
|
||||
File.Delete(stafile);
|
@ -1,7 +1,6 @@
|
||||
sbin/openvpn-admin
|
||||
lib/openvpn-admin/openvpn-admin.exe
|
||||
etc/pam.d/openvpn-admin
|
||||
%%DATADIR%%/openvpn-admin.desktop
|
||||
@dirrm %%DATADIR%%
|
||||
sbin/openvpn-admin
|
||||
share/applications/openvpn-admin.desktop
|
||||
@dirrmtry share/applications
|
||||
@dirrm lib/openvpn-admin
|
||||
@dirrmtry etc/openvpn
|
||||
|
Loading…
Reference in New Issue
Block a user