diff options
Diffstat (limited to 'config')
31 files changed, 649 insertions, 15 deletions
diff --git a/config/arping/arping.priv.inc b/config/arping/arping.priv.inc new file mode 100644 index 00000000..cd2c0111 --- /dev/null +++ b/config/arping/arping.priv.inc @@ -0,0 +1,37 @@ +<?php +/* + arping.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-diagnostics-arping'] = array(); +$priv_list['page-diagnostics-arping']['name'] = "WebCfg - Diagnostics: ARPing package"; +$priv_list['page-diagnostics-arping']['descr'] = "Allow access to ARPing package GUI"; +$priv_list['page-diagnostics-arping']['match'] = array(); +$priv_list['page-diagnostics-arping']['match'][] = "pkg_edit.php?xml=arping.xml*"; + +?> diff --git a/config/arping/arping.xml b/config/arping/arping.xml index 59da6db1..2049e1b8 100644 --- a/config/arping/arping.xml +++ b/config/arping/arping.xml @@ -41,7 +41,7 @@ ]]> </copyright> <name>arping</name> - <version>1.2</version> + <version>1.2.1</version> <title>Diagnostics: ARPing</title> <savetext>Run ARPing</savetext> <preoutput>yes</preoutput> @@ -57,6 +57,10 @@ <prefix>/usr/local/pkg/</prefix> <item>https://packages.pfsense.org/packages/config/arping/arping.inc</item> </additional_files_needed> + <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/arping/arping.priv.inc</item> + </additional_files_needed> <fields> <field> <fielddescr>IP, Hostname or MAC</fielddescr> diff --git a/config/arpwatch/arpwatch.priv.inc b/config/arpwatch/arpwatch.priv.inc new file mode 100644 index 00000000..3ec28ccd --- /dev/null +++ b/config/arpwatch/arpwatch.priv.inc @@ -0,0 +1,39 @@ +<?php +/* + arpwatch.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-diagnostics-arpwatch'] = array(); +$priv_list['page-diagnostics-arpwatch']['name'] = "WebCfg - Services: arpwatch package"; +$priv_list['page-diagnostics-arpwatch']['descr'] = "Allow access to arpwatch package GUI"; + +$priv_list['page-diagnostics-arpwatch']['match'] = array(); +$priv_list['page-diagnostics-arpwatch']['match'][] = "pkg_edit.php?xml=arpwatch.xml*"; +$priv_list['page-diagnostics-arpwatch']['match'][] = "arpwatch_reports.php*"; + +?> diff --git a/config/arpwatch/arpwatch.xml b/config/arpwatch/arpwatch.xml index dab2a74e..b181e052 100644 --- a/config/arpwatch/arpwatch.xml +++ b/config/arpwatch/arpwatch.xml @@ -42,7 +42,7 @@ </copyright> <description>ARP Monitoring Daemon</description> <name>arpwatch</name> - <version>1.1.2</version> + <version>1.1.3</version> <title>arpwatch: Settings</title> <aftersaveredirect>pkg_edit.php?xml=arpwatch.xml&id=0</aftersaveredirect> <menu> @@ -79,6 +79,10 @@ <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/arpwatch/sm.php</item> </additional_files_needed> + <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/arpwatch/arpwatch.priv.inc</item> + </additional_files_needed> <fields> <field> <fielddescr>Listening Interface</fielddescr> diff --git a/config/asterisk/asterisk.xml b/config/asterisk/asterisk.xml index 97c2e26f..75ba411d 100644 --- a/config/asterisk/asterisk.xml +++ b/config/asterisk/asterisk.xml @@ -42,7 +42,7 @@ ]]> </copyright> <name>asterisk</name> - <version>0.3.2</version> + <version>0.3.3</version> <title>asterisk</title> <include_file>/usr/local/pkg/asterisk.inc</include_file> <additional_files_needed> diff --git a/config/avahi/avahi.priv.inc b/config/avahi/avahi.priv.inc new file mode 100644 index 00000000..00d76794 --- /dev/null +++ b/config/avahi/avahi.priv.inc @@ -0,0 +1,38 @@ +<?php +/* + avahi.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-services-avahi'] = array(); +$priv_list['page-services-avahi']['name'] = "WebCfg - Services: Avahi package"; +$priv_list['page-services-avahi']['descr'] = "Allow access to Avahi package GUI"; + +$priv_list['page-services-avahi']['match'] = array(); +$priv_list['page-services-avahi']['match'][] = "pkg_edit.php?xml=avahi.xml*"; + +?> diff --git a/config/avahi/avahi.xml b/config/avahi/avahi.xml index 0c18e097..a69c515d 100644 --- a/config/avahi/avahi.xml +++ b/config/avahi/avahi.xml @@ -44,7 +44,7 @@ </copyright> <title>Services: Avahi</title> <name>avahi</name> - <version>1.10.0</version> + <version>1.10.1</version> <savetext>Save</savetext> <include_file>/usr/local/pkg/avahi.inc</include_file> <menu> @@ -64,6 +64,10 @@ <item>https://packages.pfsense.org/packages/config/avahi/avahi.inc</item> </additional_files_needed> <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/avahi/avahi.priv.inc</item> + </additional_files_needed> + <additional_files_needed> <prefix>/usr/local/etc/avahi/</prefix> <item>https://packages.pfsense.org/packages/config/avahi/services/ssh.service</item> </additional_files_needed> diff --git a/config/backup/backup.priv.inc b/config/backup/backup.priv.inc new file mode 100644 index 00000000..f493deb9 --- /dev/null +++ b/config/backup/backup.priv.inc @@ -0,0 +1,39 @@ +<?php +/* + backup.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-diagnostics-backup'] = array(); +$priv_list['page-diagnostics-backup']['name'] = "WebCfg - Diagnostics: Backup package"; +$priv_list['page-diagnostics-backup']['descr'] = "Allow access to Backup package GUI"; + +$priv_list['page-diagnostics-backup']['match'] = array(); +$priv_list['page-diagnostics-backup']['match'][] = "packages/backup/backup.php*"; +$priv_list['page-diagnostics-backup']['match'][] = "packages/backup/backup_edit.php*"; + +?> diff --git a/config/backup/backup.xml b/config/backup/backup.xml index 18fbb0ed..498f1c24 100644 --- a/config/backup/backup.xml +++ b/config/backup/backup.xml @@ -43,7 +43,7 @@ </copyright> <description>Backup</description> <name>Backup Settings</name> - <version>0.1.9</version> + <version>0.2.0</version> <title>Settings</title> <include_file>/usr/local/pkg/backup.inc</include_file> <menu> @@ -66,6 +66,10 @@ <item>https://packages.pfsense.org/packages/config/backup/backup.inc</item> </additional_files_needed> <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/backup/backup.priv.inc</item> + </additional_files_needed> + <additional_files_needed> <prefix>/usr/local/www/packages/backup/</prefix> <item>https://packages.pfsense.org/packages/config/backup/backup.php</item> </additional_files_needed> diff --git a/config/bacula-client/bacula-client.priv.inc b/config/bacula-client/bacula-client.priv.inc new file mode 100644 index 00000000..815768f0 --- /dev/null +++ b/config/bacula-client/bacula-client.priv.inc @@ -0,0 +1,41 @@ +<?php +/* + bacula-client.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-services-bacula-client'] = array(); +$priv_list['page-services-bacula-client']['name'] = "WebCfg - Services: bacula-client package"; +$priv_list['page-services-bacula-client']['descr'] = "Allow access to bacula-client package GUI"; + +$priv_list['page-services-bacula-client']['match'] = array(); +$priv_list['page-services-bacula-client']['match'][] = "pkg.php?xml=bacula-client.xml*"; +$priv_list['page-services-bacula-client']['match'][] = "pkg_edit.php?xml=bacula-client.xml*"; +$priv_list['page-services-bacula-client']['match'][] = "pkg_edit.php?xml=bacula-client_fd.xml*"; +$priv_list['page-services-bacula-client']['match'][] = "bacula-client_view_config.php*"; + +?> diff --git a/config/bacula-client/bacula-client.xml b/config/bacula-client/bacula-client.xml index fd1e744d..6f2f3424 100644 --- a/config/bacula-client/bacula-client.xml +++ b/config/bacula-client/bacula-client.xml @@ -44,7 +44,7 @@ </copyright> <requirements>Bacula Server Installed on your network.</requirements> <name>baculaclient</name> - <version>1.0.11</version> + <version>1.0.12</version> <title>Bacula Client: Settings</title> <aftersaveredirect>/pkg.php?xml=bacula-client.xml</aftersaveredirect> <include_file>/usr/local/pkg/bacula-client.inc</include_file> @@ -54,6 +54,10 @@ <item>https://packages.pfsense.org/packages/config/bacula-client/bacula-client.inc</item> </additional_files_needed> <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/bacula-client/bacula-client.priv.inc</item> + </additional_files_needed> + <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <item>https://packages.pfsense.org/packages/config/bacula-client/bacula-client_fd.xml</item> </additional_files_needed> diff --git a/config/bandwidthd/bandwidthd.priv.inc b/config/bandwidthd/bandwidthd.priv.inc new file mode 100644 index 00000000..4cde70a9 --- /dev/null +++ b/config/bandwidthd/bandwidthd.priv.inc @@ -0,0 +1,37 @@ +<?php +/* + bandwidthd.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-diagnostics-bandwidthd-settings'] = array(); +$priv_list['page-diagnostics-bandwidthd-settings']['name'] = "WebCfg - Diagnostics: BandwidthD settings"; +$priv_list['page-diagnostics-bandwidthd-settings']['descr'] = "Allow access to BandwidthD package settings GUI"; +$priv_list['page-diagnostics-bandwidthd-settings']['match'] = array(); +$priv_list['page-diagnostics-bandwidthd-settings']['match'][] = "pkg_edit.php?xml=bandwidthd.xml*"; + +?> diff --git a/config/bandwidthd/bandwidthd.xml b/config/bandwidthd/bandwidthd.xml index c7d6044d..83aaa1e0 100644 --- a/config/bandwidthd/bandwidthd.xml +++ b/config/bandwidthd/bandwidthd.xml @@ -44,7 +44,7 @@ ]]> </copyright> <name>bandwidthd</name> - <version>0.6</version> + <version>0.6.1</version> <title>Diagnostics: Bandwidthd</title> <aftersaveredirect>/pkg_edit.php?xml=bandwidthd.xml</aftersaveredirect> <include_file>/usr/local/pkg/bandwidthd.inc</include_file> @@ -83,6 +83,10 @@ <prefix>/usr/local/pkg/</prefix> <item>https://packages.pfsense.org/packages/config/bandwidthd/bandwidthd.inc</item> </additional_files_needed> + <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/bandwidthd/bandwidthd.priv.inc</item> + </additional_files_needed> <fields> <field> <name>General Options</name> diff --git a/config/blinkled8/blinkled.priv.inc b/config/blinkled8/blinkled.priv.inc new file mode 100644 index 00000000..af75f0bc --- /dev/null +++ b/config/blinkled8/blinkled.priv.inc @@ -0,0 +1,37 @@ +<?php +/* + blinkled.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-interfaces-blinkled'] = array(); +$priv_list['page-interfaces-blinkled']['name'] = "WebCfg - Interfaces: blinkled package"; +$priv_list['page-interfaces-blinkled']['descr'] = "Allow access to blinkled package GUI"; +$priv_list['page-interfaces-blinkled']['match'] = array(); +$priv_list['page-interfaces-blinkled']['match'][] = "pkg_edit.php?xml=blinkled.xml*"; + +?> diff --git a/config/blinkled8/blinkled.xml b/config/blinkled8/blinkled.xml index 2502f3ff..7ed7b4e5 100644 --- a/config/blinkled8/blinkled.xml +++ b/config/blinkled8/blinkled.xml @@ -43,7 +43,7 @@ </copyright> <title>Interfaces: Assign LEDs</title> <name>blinkled</name> - <version>0.4.5</version> + <version>0.4.6</version> <savetext>Save</savetext> <include_file>/usr/local/pkg/blinkled.inc</include_file> <menu> @@ -56,6 +56,10 @@ <item>https://packages.pfsense.org/packages/config/blinkled8/blinkled.inc</item> <prefix>/usr/local/pkg/</prefix> </additional_files_needed> + <additional_files_needed> + <item>https://packages.pfsense.org/packages/config/blinkled8/blinkled.priv.inc</item> + <prefix>/etc/inc/priv/</prefix> + </additional_files_needed> <service> <name>blinkled</name> <rcfile>blinkled.sh</rcfile> diff --git a/config/checkmk-agent/checkmk.priv.inc b/config/checkmk-agent/checkmk.priv.inc new file mode 100644 index 00000000..769563cf --- /dev/null +++ b/config/checkmk-agent/checkmk.priv.inc @@ -0,0 +1,39 @@ +<?php +/* + checkmk.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-diagnostics-checkmk'] = array(); +$priv_list['page-diagnostics-checkmk']['name'] = "WebCfg - Diagnostics: Check_mk agent package"; +$priv_list['page-diagnostics-checkmk']['descr'] = "Allow access to Check_mk agent package GUI"; + +$priv_list['page-diagnostics-checkmk']['match'] = array(); +$priv_list['page-diagnostics-checkmk']['match'][] = "pkg_edit.php?xml=checkmk.xml*"; +$priv_list['page-diagnostics-checkmk']['match'][] = "pkg_edit.php?xml=checkmk_sync.xml*"; + +?> diff --git a/config/checkmk-agent/checkmk.xml b/config/checkmk-agent/checkmk.xml index 786a7977..b24edca7 100644 --- a/config/checkmk-agent/checkmk.xml +++ b/config/checkmk-agent/checkmk.xml @@ -42,7 +42,7 @@ ]]> </copyright> <name>checkmk</name> - <version>0.1.4</version> + <version>0.1.5</version> <title>check_mk Agent</title> <include_file>/usr/local/pkg/checkmk.inc</include_file> <additional_files_needed> @@ -50,6 +50,10 @@ <item>https://packages.pfsense.org/packages/config/checkmk-agent/checkmk.inc</item> </additional_files_needed> <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/checkmk-agent/checkmk.priv.inc</item> + </additional_files_needed> + <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <item>https://packages.pfsense.org/packages/config/checkmk-agent/checkmk_sync.xml</item> </additional_files_needed> diff --git a/config/cron/cron.priv.inc b/config/cron/cron.priv.inc new file mode 100644 index 00000000..5917e046 --- /dev/null +++ b/config/cron/cron.priv.inc @@ -0,0 +1,39 @@ +<?php +/* + cron.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-services-cronpackage'] = array(); +$priv_list['page-services-cronpackage']['name'] = "WebCfg - Services: Cron package"; +$priv_list['page-services-cronpackage']['descr'] = "Allow access to Cron package GUI"; +$priv_list['page-services-cronpackage']['match'] = array(); +$priv_list['page-services-cronpackage']['match'][] = "packages/cron/cron.php*"; +$priv_list['page-services-cronpackage']['match'][] = "packages/cron/cron_edit.php*"; +$priv_list['page-services-cronpackage']['match'][] = "packages/cron/index.php*"; + +?> diff --git a/config/cron/cron.xml b/config/cron/cron.xml index 84b7f07e..f777faff 100644 --- a/config/cron/cron.xml +++ b/config/cron/cron.xml @@ -43,7 +43,7 @@ </copyright> <description>Cron</description> <name>Cron Settings</name> - <version>0.3.0</version> + <version>0.3.1</version> <title>Settings</title> <include_file>/usr/local/pkg/cron.inc</include_file> <menu> @@ -63,6 +63,10 @@ <item>https://packages.pfsense.org/packages/config/cron/cron.inc</item> </additional_files_needed> <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/cron/cron.priv.inc</item> + </additional_files_needed> + <additional_files_needed> <prefix>/usr/local/www/packages/cron/</prefix> <item>https://packages.pfsense.org/packages/config/cron/cron.php</item> </additional_files_needed> diff --git a/config/darkstat/darkstat.priv.inc b/config/darkstat/darkstat.priv.inc new file mode 100644 index 00000000..9d085da7 --- /dev/null +++ b/config/darkstat/darkstat.priv.inc @@ -0,0 +1,37 @@ +<?php +/* + darkstat.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-diagnostics-darkstat'] = array(); +$priv_list['page-diagnostics-darkstat']['name'] = "WebCfg - Diagnostics: Darkstat package"; +$priv_list['page-diagnostics-darkstat']['descr'] = "Allow access to Darkstat package GUI"; +$priv_list['page-diagnostics-darkstat']['match'] = array(); +$priv_list['page-diagnostics-darkstat']['match'][] = "pkg_edit.php?xml=darkstat.xml*"; + +?> diff --git a/config/darkstat/darkstat.xml b/config/darkstat/darkstat.xml index 3b691741..3dbc46f6 100644 --- a/config/darkstat/darkstat.xml +++ b/config/darkstat/darkstat.xml @@ -41,7 +41,7 @@ ]]> </copyright> <name>Darkstat</name> - <version>3.1</version> + <version>3.1.1</version> <title>Diagnostics: Darkstat</title> <menu> <name>Darkstat Settings</name> @@ -56,6 +56,10 @@ <description>Darkstat bandwidth monitoring daemon</description> </service> <configpath>installedpackages->package->$packagename->configuration->settings</configpath> + <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/darkstat/darkstat.priv.inc</item> + </additional_files_needed> <tabs> <tab> <text>Darkstat Settings</text> diff --git a/config/diag_states_pt/diag_new_states.priv.inc b/config/diag_states_pt/diag_new_states.priv.inc new file mode 100644 index 00000000..41fda796 --- /dev/null +++ b/config/diag_states_pt/diag_new_states.priv.inc @@ -0,0 +1,37 @@ +<?php +/* + diag_new_states.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-diagnostics-diag_new_states'] = array(); +$priv_list['page-diagnostics-diag_new_states']['name'] = "WebCfg - Diagnostics: diag_new_states package"; +$priv_list['page-diagnostics-diag_new_states']['descr'] = "Allow access to diag_new_states package GUI"; +$priv_list['page-diagnostics-diag_new_states']['match'] = array(); +$priv_list['page-diagnostics-diag_new_states']['match'][] = "diag_new_states.php*"; + +?> diff --git a/config/diag_states_pt/diag_new_states.xml b/config/diag_states_pt/diag_new_states.xml index 849c4b55..941d69fc 100644 --- a/config/diag_states_pt/diag_new_states.xml +++ b/config/diag_states_pt/diag_new_states.xml @@ -54,4 +54,8 @@ <prefix>/usr/local/www/</prefix> <item>https://packages.pfsense.org/packages/config/diag_states_pt/diag_new_states.php</item> </additional_files_needed> + <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/diag_states_pt/diag_new_states.priv.inc</item> + </additional_files_needed> </packagegui> diff --git a/config/filemgr/filemgr.priv.inc b/config/filemgr/filemgr.priv.inc new file mode 100644 index 00000000..e708ac1b --- /dev/null +++ b/config/filemgr/filemgr.priv.inc @@ -0,0 +1,40 @@ +<?php +/* + filemgr.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-diagnostics-filemgr'] = array(); +$priv_list['page-diagnostics-filemgr']['name'] = "WebCfg - Diagnostics: File Manager package"; +$priv_list['page-diagnostics-filemgr']['descr'] = "Allow access to File Manager package GUI"; + +$priv_list['page-diagnostics-filemgr']['match'] = array(); +$priv_list['page-diagnostics-filemgr']['match'][] = "packages/filemgr/file_manager.php*"; +$priv_list['page-diagnostics-filemgr']['match'][] = "packages/filemgr/index.php*"; +$priv_list['page-diagnostics-filemgr']['match'][] = "packages/filemgr/rbfminc/*.php*"; + +?> diff --git a/config/filemgr/filemgr.xml b/config/filemgr/filemgr.xml index 72ca53d4..3f6ae3c6 100644 --- a/config/filemgr/filemgr.xml +++ b/config/filemgr/filemgr.xml @@ -44,7 +44,7 @@ <description>PHP File Manager</description> <faq>https://forum.pfsense.org/index.php/topic,26974.0.html</faq> <name>File Manager</name> - <version>0.2.0</version> + <version>0.2.1</version> <title>Diagnostics: File Manager</title> <menu> <name>File Manager</name> @@ -65,6 +65,10 @@ <item>https://packages.pfsense.org/packages/config/filemgr/filemgr.xml</item> </additional_files_needed> <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/filemgr/filemgr.priv.inc</item> + </additional_files_needed> + <additional_files_needed> <prefix>/usr/local/www/packages/filemgr/</prefix> <item>https://packages.pfsense.org/packages/config/filemgr/file_manager.php</item> </additional_files_needed> diff --git a/config/filer/filer.priv.inc b/config/filer/filer.priv.inc new file mode 100644 index 00000000..60dd0cd9 --- /dev/null +++ b/config/filer/filer.priv.inc @@ -0,0 +1,40 @@ +<?php +/* + filer.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-diagnostics-filer'] = array(); +$priv_list['page-diagnostics-filer']['name'] = "WebCfg - Diagnostics: Filer package"; +$priv_list['page-diagnostics-filer']['descr'] = "Allow access to Filer package GUI"; + +$priv_list['page-diagnostics-filer']['match'] = array(); +$priv_list['page-diagnostics-filer']['match'][] = "pkg.php?xml=filer.xml*"; +$priv_list['page-diagnostics-filer']['match'][] = "pkg_edit.php?xml=filer.xml*"; +$priv_list['page-diagnostics-filer']['match'][] = "pkg_edit.php?xml=filer_sync.xml*"; + +?> diff --git a/config/filer/filer.xml b/config/filer/filer.xml index 57125927..b0d6dc49 100644 --- a/config/filer/filer.xml +++ b/config/filer/filer.xml @@ -44,7 +44,7 @@ ]]> </copyright> <name>filer</name> - <version>0.60.4</version> + <version>0.60.5</version> <title>Filer</title> <include_file>/usr/local/pkg/filer.inc</include_file> <additional_files_needed> @@ -52,6 +52,10 @@ <item>https://packages.pfsense.org/packages/config/filer/filer.inc</item> </additional_files_needed> <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/filer/filer.priv.inc</item> + </additional_files_needed> + <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <item>https://packages.pfsense.org/packages/config/filer/filer_sync.xml</item> </additional_files_needed> diff --git a/config/ftpproxy/ftpproxy.priv.inc b/config/ftpproxy/ftpproxy.priv.inc new file mode 100644 index 00000000..08c4ebfe --- /dev/null +++ b/config/ftpproxy/ftpproxy.priv.inc @@ -0,0 +1,37 @@ +<?php +/* + ftpproxy.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-services-ftpproxy'] = array(); +$priv_list['page-services-ftpproxy']['name'] = "WebCfg - Services: FTP Client Proxy package"; +$priv_list['page-services-ftpproxy']['descr'] = "Allow access to FTP Client Proxy package GUI"; +$priv_list['page-services-ftpproxy']['match'] = array(); +$priv_list['page-services-ftpproxy']['match'][] = "pkg_edit.php?xml=ftpproxy.xml*"; + +?> diff --git a/config/ftpproxy/ftpproxy.xml b/config/ftpproxy/ftpproxy.xml index eb2af370..53740832 100644 --- a/config/ftpproxy/ftpproxy.xml +++ b/config/ftpproxy/ftpproxy.xml @@ -41,7 +41,7 @@ ]]> </copyright> <name>FTP Client Proxy</name> - <version>0.2.1</version> + <version>0.2.2</version> <title>FTP Client Proxy</title> <aftersaveredirect>pkg_edit.php?xml=ftpproxy.xml</aftersaveredirect> <include_file>/usr/local/pkg/ftpproxy.inc</include_file> @@ -49,6 +49,10 @@ <prefix>/usr/local/pkg/</prefix> <item>https://packages.pfsense.org/packages/config/ftpproxy/ftpproxy.inc</item> </additional_files_needed> + <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <item>https://packages.pfsense.org/packages/config/ftpproxy/ftpproxy.priv.inc</item> + </additional_files_needed> <menu> <name>FTP Client Proxy</name> <tooltiptext>Modify FTP Client Proxy settings.</tooltiptext> diff --git a/config/gwled/gwled.priv.inc b/config/gwled/gwled.priv.inc new file mode 100644 index 00000000..3344d3e6 --- /dev/null +++ b/config/gwled/gwled.priv.inc @@ -0,0 +1,37 @@ +<?php +/* + gwled.priv.inc + part of pfSense (http://www.pfSense.org/) + Copyright (C) 2015 ESF, LLC + 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. +*/ +global $priv_list; + +$priv_list['page-interfaces-gwled'] = array(); +$priv_list['page-interfaces-gwled']['name'] = "WebCfg - Interfaces: gwled package"; +$priv_list['page-interfaces-gwled']['descr'] = "Allow access to gwled package GUI"; +$priv_list['page-interfaces-gwled']['match'] = array(); +$priv_list['page-interfaces-gwled']['match'][] = "pkg_edit.php?xml=gwled.xml*"; + +?> diff --git a/config/gwled/gwled.xml b/config/gwled/gwled.xml index 5d2a047e..e8f5d3b4 100644 --- a/config/gwled/gwled.xml +++ b/config/gwled/gwled.xml @@ -41,7 +41,7 @@ </copyright> <title>Interfaces: Gateway Status LEDs</title> <name>gwled</name> - <version>0.2.2</version> + <version>0.2.3</version> <savetext>Save</savetext> <include_file>/usr/local/pkg/gwled.inc</include_file> <menu> @@ -55,6 +55,10 @@ <prefix>/usr/local/pkg/</prefix> </additional_files_needed> <additional_files_needed> + <item>https://packages.pfsense.org/packages/config/gwled/gwled.priv.inc</item> + <prefix>/etc/inc/priv/</prefix> + </additional_files_needed> + <additional_files_needed> <prefix>/usr/local/bin/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/gwled/gwled.php</item> |