From 692a3585dd0d60981fc7721b7effef16c063ebd1 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 11 Aug 2015 10:42:16 +0200 Subject: avahi - code style fixes - Fix copyright header - Fix indentation - Fix permissions (none of these needs to be executable) - Make version sane and consistent - Hide WAN from 'Deny interfaces' selection because it's always disabled. Clarify the description note accordingly - Move custom_php_deinstall_command to avahi.inc and make it much more thorough --- config/avahi/avahi.xml | 114 ++++++++++++++++++++++++++++--------------------- 1 file changed, 65 insertions(+), 49 deletions(-) diff --git a/config/avahi/avahi.xml b/config/avahi/avahi.xml index cd1d96ce..e0fcb6fb 100644 --- a/config/avahi/avahi.xml +++ b/config/avahi/avahi.xml @@ -1,40 +1,50 @@ + + - + + 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. +*/ +/* ====================================================================================== */ + ]]> Services: Avahi avahi - 0.6.31 pkg v1.05 + 1.10.0 Save /usr/local/pkg/avahi.inc @@ -49,6 +59,18 @@ avahi-daemon Avahi zeroconf/mDNS daemon + + /usr/local/pkg/ + https://packages.pfsense.org/packages/config/avahi/avahi.inc + + + /usr/local/etc/avahi/ + https://packages.pfsense.org/packages/config/avahi/services/ssh.service + + + /usr/local/etc/avahi/ + https://packages.pfsense.org/packages/config/avahi/services/sftp-ssh.service + Enable @@ -59,44 +81,40 @@ Browse domains (comma separated) browsedomains - Enter the domains that you would like proxied. (example: local, pfsense.org, mydomain.com) + + + (Example: local, pfsense.org, mydomain.com) + ]]> + input Deny interfaces denyinterfaces - Interfaces that you do NOT want Avahi to listen on. NOTE: WAN is always disabled. + + NOTE: WAN is always disabled (so it is not shown here). + ]]> + interfaces_selection + wan true Disable IPv6 disable_ipv6 - Disable IPv6 support in Avahi + Disable IPv6 support in Avahi. checkbox Disable IPv4 disable_ipv4 - Disable IPv4 support in Avahi + Disable IPv4 support in Avahi. checkbox - - /usr/local/pkg/ - 0755 - https://packages.pfsense.org/packages/config/avahi/avahi.inc - - - /usr/local/etc/avahi/ - 0755 - https://packages.pfsense.org/packages/config/avahi/services/ssh.service - - - /usr/local/etc/avahi/ - 0755 - https://packages.pfsense.org/packages/config/avahi/services/sftp-ssh.service - avahi_sync(); @@ -104,8 +122,6 @@ avahi_install(); - unlink_if_exists("/usr/local/etc/rc.d/avahi-daemon.sh"); - exec("killall -9 avahi-daemon"); - exec("killall -9 dbus-daemon"); + avahi_deinstall(); -- cgit v1.2.3