aboutsummaryrefslogtreecommitdiffstats
path: root/config/openvpn-status/openvpn-status.xml
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-01-23 19:22:08 -0500
committerjim-p <jim@pingle.org>2010-01-23 19:22:08 -0500
commit10c9531d2c6541a0c90c752db1a43baa05632078 (patch)
tree22370f5bbc4256b2d5812512cbd99cfab4e5e90c /config/openvpn-status/openvpn-status.xml
parent758ea2ed160802c392463c2f043cbc1cee28591f (diff)
downloadpfsense-packages-10c9531d2c6541a0c90c752db1a43baa05632078.tar.gz
pfsense-packages-10c9531d2c6541a0c90c752db1a43baa05632078.tar.bz2
pfsense-packages-10c9531d2c6541a0c90c752db1a43baa05632078.zip
Add a package for 1.2.3 that will show an OpenVPN server status (client list) like 2.0 has.
Diffstat (limited to 'config/openvpn-status/openvpn-status.xml')
-rw-r--r--config/openvpn-status/openvpn-status.xml70
1 files changed, 70 insertions, 0 deletions
diff --git a/config/openvpn-status/openvpn-status.xml b/config/openvpn-status/openvpn-status.xml
new file mode 100644
index 00000000..4f7a876b
--- /dev/null
+++ b/config/openvpn-status/openvpn-status.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
+<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?>
+<packagegui>
+ <copyright>
+ <![CDATA[
+/* $Id$ */
+/* ========================================================================== */
+/*
+ status_openvpn.xml
+ part of pfSense (http://www.pfSense.com)
+ Copyright (C) 2010 to whom it may belong
+ All rights reserved.
+
+ Based on m0n0wall (http://m0n0.ch/wall)
+ Copyright (C) 2003-2006 Manuel Kasper <mk@neon1.net>.
+ All rights reserved.
+ */
+/* ========================================================================== */
+/*
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ */
+/* ========================================================================== */
+ ]]>
+ </copyright>
+ <description>OpenVPN Status Page</description>
+ <requirements>Management Port Defined in OpenVPN Config</requirements>
+ <faq>Currently there are no FAQ items provided.</faq>
+ <name>OpenVPN Status</name>
+ <version>1.0</version>
+ <title>Status: OpenVPN</title>
+ <menu>
+ <name>OpenVPN</name>
+ <tooltiptext></tooltiptext>
+ <section>Status</section>
+ <url>/status_openvpn.php</url>
+ </menu>
+ <additional_files_needed>
+ <prefix>/usr/local/www/</prefix>
+ <chmod>077</chmod>
+ <item>http://www.pfsense.com/packages/config/openvpn-status/status_openvpn.php</item>
+ </additional_files_needed>
+ <custom_php_deinstall_command>
+ <![CDATA[
+ $version = file_get_contents("/etc/version");
+ if ($version[0] < 2) {
+ unlink_if_exists("/usr/local/www/status_openvpn.php");
+ }
+ ]]>
+ </custom_php_deinstall_command>
+</packagegui> \ No newline at end of file