aboutsummaryrefslogtreecommitdiff
path: root/security/openvpn-admin
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-12-22 09:58:44 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-12-22 09:58:44 +0000
commit7ae09659e8b0e11778be1c5c6ecfdfd5c6f4653b (patch)
treef315997b41322fe5b24d1a3464074b3a4aeb8032 /security/openvpn-admin
parentb6557814826748ac134d3f042fb14956f15c19e4 (diff)
downloadports-7ae09659e8b0e11778be1c5c6ecfdfd5c6f4653b.tar.gz
ports-7ae09659e8b0e11778be1c5c6ecfdfd5c6f4653b.zip
Notes
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%%