aboutsummaryrefslogtreecommitdiffstats
path: root/security/openvpn-admin
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-12-22 17:58:44 +0800
committergarga <garga@FreeBSD.org>2005-12-22 17:58:44 +0800
commita47bbaeb7bedbe1da35f7b20896c8e5a94ffefad (patch)
treee378de453313c4f628cc103f9b66f019e3c1c8f3 /security/openvpn-admin
parentb07352f083bfe59fd3177c91f6efc1f18b739a69 (diff)
downloadfreebsd-ports-gnome-a47bbaeb7bedbe1da35f7b20896c8e5a94ffefad.tar.gz
freebsd-ports-gnome-a47bbaeb7bedbe1da35f7b20896c8e5a94ffefad.tar.zst
freebsd-ports-gnome-a47bbaeb7bedbe1da35f7b20896c8e5a94ffefad.zip
Add openvpn-admin 1.9.2, GUI frontend to openvpn.
PR: ports/90176 Submitted by: Remington Lang <MrL0Lz@gmail.com>
Diffstat (limited to 'security/openvpn-admin')
-rw-r--r--security/openvpn-admin/Makefile44
-rw-r--r--security/openvpn-admin/distinfo3
-rw-r--r--security/openvpn-admin/pkg-descr3
-rw-r--r--security/openvpn-admin/pkg-plist4
4 files changed, 54 insertions, 0 deletions
diff --git a/security/openvpn-admin/Makefile b/security/openvpn-admin/Makefile
new file mode 100644
index 000000000000..5e1bf9fc6695
--- /dev/null
+++ b/security/openvpn-admin/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: openvpn-admin
+# Date Created: 06 Dec 2005
+# Whom: Remington Lang <MrL0Lz@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= openvpn-admin
+PORTVERSION= 1.9.2
+CATEGORIES= security gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= openvpnadmin
+
+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
+
+USE_GMAKE= yes
+USE_GNOME= gtk20
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Some dependencies doesn't build on FreeBSD < 5.x"
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr/bin/iconv,${LOCALBASE}/bin/iconv,g' \
+ ${WRKSRC}/intltool-merge.in
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/openvpn-admin ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/openvpn-admin.pam ${PREFIX}/etc/pam.d
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/openvpn-admin.desktop ${DATADIR}
+
+.include <bsd.port.post.mk>
diff --git a/security/openvpn-admin/distinfo b/security/openvpn-admin/distinfo
new file mode 100644
index 000000000000..eb2de5eb804c
--- /dev/null
+++ b/security/openvpn-admin/distinfo
@@ -0,0 +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
diff --git a/security/openvpn-admin/pkg-descr b/security/openvpn-admin/pkg-descr
new file mode 100644
index 000000000000..1aa8e9668a3e
--- /dev/null
+++ b/security/openvpn-admin/pkg-descr
@@ -0,0 +1,3 @@
+OpenVPN-Admin is a GUI for OpenVPN
+
+WWW: http://sourceforge.net/projects/openvpnadmin
diff --git a/security/openvpn-admin/pkg-plist b/security/openvpn-admin/pkg-plist
new file mode 100644
index 000000000000..abae58d9c70c
--- /dev/null
+++ b/security/openvpn-admin/pkg-plist
@@ -0,0 +1,4 @@
+bin/openvpn-admin
+etc/pam.d/openvpn-admin.pam
+%%DATADIR%%/openvpn-admin.desktop
+@dirrm %%DATADIR%%