diff options
-rwxr-xr-x | config/openvpn-client-export/openvpn-client-export.xml | 13 | ||||
-rw-r--r-- | config/openvpn-client-export/openvpnexport.inc | 11 | ||||
-rw-r--r-- | pkg_config.8.xml | 2 | ||||
-rw-r--r-- | pkg_config.8.xml.amd64 | 2 |
4 files changed, 25 insertions, 3 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.xml b/config/openvpn-client-export/openvpn-client-export.xml index d3816e14..8e0927c3 100755 --- a/config/openvpn-client-export/openvpn-client-export.xml +++ b/config/openvpn-client-export/openvpn-client-export.xml @@ -1,12 +1,18 @@ <?xml version="1.0" encoding="utf-8" ?> <packagegui> <name>OpenVPN Client Export</name> - <version>0.9</version> + <version>0.9.1</version> <title>OpenVPN Client Export</title> <include_file>/usr/local/pkg/openvpn-client-export.inc</include_file> <backup_file></backup_file> <aftersaveredirect></aftersaveredirect> <configpath></configpath> + <menu> + <name>OpenVPN Client Export</name> + <tooltiptext>OpenVPN Client Export Utility</tooltiptext> + <section>VPN</section> + <url>vpn_openvpn_export.php</url> + </menu> <tabs> <tab> <name>Client Export</name> @@ -39,6 +45,11 @@ <chmod>077</chmod> <item>http://www.pfsense.com/packages/config/openvpn-client-export/vpn_openvpn_export_shared.php</item> </additional_files_needed> + <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <chmod>077</chmod> + <item>http://www.pfsense.com/packages/config/openvpn-client-export/openvpnexport.inc</item> + </additional_files_needed> <custom_php_install_command> openvpn_client_export_install(); </custom_php_install_command> diff --git a/config/openvpn-client-export/openvpnexport.inc b/config/openvpn-client-export/openvpnexport.inc new file mode 100644 index 00000000..93046364 --- /dev/null +++ b/config/openvpn-client-export/openvpnexport.inc @@ -0,0 +1,11 @@ +<?php + +global $priv_list; + +$priv_list['page-openvpn-client-export'] = array(); +$priv_list['page-openvpn-client-export']['name'] = "WebCfg - OpenVPN: Client Export Utility"; +$priv_list['page-openvpn-client-export']['descr'] = "Allow access to the OpenVPN: Client Export Utility page."; +$priv_list['page-openvpn-client-export']['match'] = array(); +$priv_list['page-openvpn-client-export']['match'][] = "vpn_openvpn_export.php*"; + +?> diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 62639daa..16915489 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -1079,7 +1079,7 @@ </depends_on_package_pbi> <build_port_path>/usr/ports/archivers/p7zip</build_port_path> <build_port_path>/usr/ports/archivers/zip</build_port_path> - <version>0.9.6</version> + <version>0.9.7</version> <status>BETA</status> <required_version>2.0</required_version> <config_file>http://www.pfsense.com/packages/config/openvpn-client-export/openvpn-client-export.xml</config_file> diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 937dc6e9..5ceec319 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -1040,7 +1040,7 @@ <depends_on_package>zip-3.0.tbz</depends_on_package> <build_port_path>/usr/ports/archivers/p7zip</build_port_path> <build_port_path>/usr/ports/archivers/zip</build_port_path> - <version>0.9.6</version> + <version>0.9.7</version> <status>BETA</status> <required_version>2.0</required_version> <config_file>http://www.pfsense.com/packages/config/openvpn-client-export/openvpn-client-export.xml</config_file> |