#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# # Copyright 2014 Alexander Pyhalov. All rights reserved.
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

<transform file path=.*\.py$ -> default pkg.tmp.autopyc false>
<transform file path=etc/.* ->  default preserve renamenew>
<transform file path=usr/share/locale/([^/]+)(\..+){0,1}(/.+){0,1} -> default facet.locale.%<\1> true>

<transform file path=.+/.*\.conf -> default preserve true>

file files/avahi-bridge-dsd.xml path=lib/svc/manifest/system/avahi-bridge-dsd.xml
file files/svc-avahi-bridge-dsd path=lib/svc/method/svc-avahi-bridge-dsd

file usr/sbin/avahi-daemon path=usr/sbin/avahi-daemon-bridge-dsd

depend type=conditional fmri=pkg:/system/network/avahi/gui \
    predicate=pkg:/x11/server/xserver-common

file path=etc/avahi/avahi-daemon.conf
file path=etc/avahi/avahi-dnsconfd.action
file path=etc/avahi/hosts
file path=etc/avahi/services/sftp-ssh.service
file path=etc/avahi/services/ssh.service
file path=etc/dbus-1/system.d/avahi-dbus.conf
file path=usr/bin/$(MACH64)/avahi-bookmarks pkg.depend.bypass-generate=.*
file path=usr/bin/$(MACH64)/avahi-browse
link path=usr/bin/$(MACH64)/avahi-browse-domains target=avahi-browse
#file path=usr/bin/$(MACH64)/avahi-discover
#file path=usr/bin/$(MACH64)/avahi-discover-standalone
file path=usr/bin/$(MACH64)/avahi-publish
link path=usr/bin/$(MACH64)/avahi-publish-address target=avahi-publish
link path=usr/bin/$(MACH64)/avahi-publish-service target=avahi-publish
file path=usr/bin/$(MACH64)/avahi-resolve
link path=usr/bin/$(MACH64)/avahi-resolve-address target=avahi-resolve
link path=usr/bin/$(MACH64)/avahi-resolve-host-name target=avahi-resolve
file path=usr/bin/$(MACH64)/avahi-set-host-name
#link path=usr/bin/$(MACH64)/bshell target=bssh
#file path=usr/bin/$(MACH64)/bssh
#link path=usr/bin/$(MACH64)/bvnc target=bssh
#file path=usr/bin/avahi-bookmarks pkg.depend.bypass-generate=.*
file path=usr/bin/avahi-browse
link path=usr/bin/avahi-browse-domains target=avahi-browse
#file path=usr/bin/avahi-discover
#file path=usr/bin/avahi-discover-standalone
file path=usr/bin/avahi-publish
link path=usr/bin/avahi-publish-address target=avahi-publish
link path=usr/bin/avahi-publish-service target=avahi-publish
file path=usr/bin/avahi-resolve
link path=usr/bin/avahi-resolve-address target=avahi-resolve
link path=usr/bin/avahi-resolve-host-name target=avahi-resolve
file path=usr/bin/avahi-set-host-name
#link path=usr/bin/bshell target=bssh
#file path=usr/bin/bssh
#link path=usr/bin/bvnc target=bssh
file path=usr/include/avahi-client/client.h
file path=usr/include/avahi-client/lookup.h
file path=usr/include/avahi-client/publish.h
file path=usr/include/avahi-common/address.h
file path=usr/include/avahi-common/alternative.h
file path=usr/include/avahi-common/cdecl.h
file path=usr/include/avahi-common/defs.h
file path=usr/include/avahi-common/domain.h
file path=usr/include/avahi-common/error.h
file path=usr/include/avahi-common/gccmacro.h
file path=usr/include/avahi-common/llist.h
file path=usr/include/avahi-common/malloc.h
file path=usr/include/avahi-common/rlist.h
file path=usr/include/avahi-common/simple-watch.h
file path=usr/include/avahi-common/strlst.h
file path=usr/include/avahi-common/thread-watch.h
file path=usr/include/avahi-common/timeval.h
file path=usr/include/avahi-common/watch.h
file path=usr/include/avahi-core/core.h
file path=usr/include/avahi-core/log.h
file path=usr/include/avahi-core/lookup.h
file path=usr/include/avahi-core/publish.h
file path=usr/include/avahi-core/rr.h
file path=usr/include/avahi-glib/glib-malloc.h
file path=usr/include/avahi-glib/glib-watch.h
file path=usr/include/avahi-gobject/ga-client.h
file path=usr/include/avahi-gobject/ga-entry-group.h
file path=usr/include/avahi-gobject/ga-enums.h
file path=usr/include/avahi-gobject/ga-error.h
file path=usr/include/avahi-gobject/ga-record-browser.h
file path=usr/include/avahi-gobject/ga-service-browser.h
file path=usr/include/avahi-gobject/ga-service-resolver.h
#file path=usr/include/avahi-ui/avahi-ui.h
file path=usr/lib/$(MACH64)/avahi/service-types.db.dir
file path=usr/lib/$(MACH64)/avahi/service-types.db.pag
file path=usr/lib/$(MACH64)/girepository-1.0/Avahi-0.6.typelib
file path=usr/lib/$(MACH64)/girepository-1.0/AvahiCore-0.6.typelib
link path=usr/lib/$(MACH64)/libavahi-client.so target=libavahi-client.so.3.2.9
link path=usr/lib/$(MACH64)/libavahi-client.so.3 target=libavahi-client.so.3.2.9
file path=usr/lib/$(MACH64)/libavahi-client.so.3.2.9
link path=usr/lib/$(MACH64)/libavahi-common.so target=libavahi-common.so.3.5.3
link path=usr/lib/$(MACH64)/libavahi-common.so.3 target=libavahi-common.so.3.5.3
file path=usr/lib/$(MACH64)/libavahi-common.so.3.5.3
link path=usr/lib/$(MACH64)/libavahi-core.so target=libavahi-core.so.7.0.2
link path=usr/lib/$(MACH64)/libavahi-core.so.7 target=libavahi-core.so.7.0.2
file path=usr/lib/$(MACH64)/libavahi-core.so.7.0.2
link path=usr/lib/$(MACH64)/libavahi-glib.so target=libavahi-glib.so.1.0.2
link path=usr/lib/$(MACH64)/libavahi-glib.so.1 target=libavahi-glib.so.1.0.2
file path=usr/lib/$(MACH64)/libavahi-glib.so.1.0.2
link path=usr/lib/$(MACH64)/libavahi-gobject.so target=libavahi-gobject.so.0.0.5
link path=usr/lib/$(MACH64)/libavahi-gobject.so.0 \
    target=libavahi-gobject.so.0.0.5
file path=usr/lib/$(MACH64)/libavahi-gobject.so.0.0.5
#link path=usr/lib/$(MACH64)/libavahi-ui.so target=libavahi-ui.so.0.1.4
#link path=usr/lib/$(MACH64)/libavahi-ui.so.0 target=libavahi-ui.so.0.1.4
#file path=usr/lib/$(MACH64)/libavahi-ui.so.0.1.4
file path=usr/lib/$(MACH64)/pkgconfig/avahi-client.pc
file path=usr/lib/$(MACH64)/pkgconfig/avahi-core.pc
file path=usr/lib/$(MACH64)/pkgconfig/avahi-glib.pc
file path=usr/lib/$(MACH64)/pkgconfig/avahi-gobject.pc
#file path=usr/lib/$(MACH64)/pkgconfig/avahi-ui.pc
file path=usr/lib/avahi/service-types.db.dir
file path=usr/lib/avahi/service-types.db.pag
file path=usr/lib/girepository-1.0/Avahi-0.6.typelib
file path=usr/lib/girepository-1.0/AvahiCore-0.6.typelib
link path=usr/lib/libavahi-client.so target=libavahi-client.so.3.2.9
link path=usr/lib/libavahi-client.so.3 target=libavahi-client.so.3.2.9
file path=usr/lib/libavahi-client.so.3.2.9
link path=usr/lib/libavahi-common.so target=libavahi-common.so.3.5.3
link path=usr/lib/libavahi-common.so.3 target=libavahi-common.so.3.5.3
file path=usr/lib/libavahi-common.so.3.5.3
link path=usr/lib/libavahi-core.so target=libavahi-core.so.7.0.2
link path=usr/lib/libavahi-core.so.7 target=libavahi-core.so.7.0.2
file path=usr/lib/libavahi-core.so.7.0.2
link path=usr/lib/libavahi-glib.so target=libavahi-glib.so.1.0.2
link path=usr/lib/libavahi-glib.so.1 target=libavahi-glib.so.1.0.2
file path=usr/lib/libavahi-glib.so.1.0.2
link path=usr/lib/libavahi-gobject.so target=libavahi-gobject.so.0.0.5
link path=usr/lib/libavahi-gobject.so.0 target=libavahi-gobject.so.0.0.5
file path=usr/lib/libavahi-gobject.so.0.0.5
file path=usr/lib/pkgconfig/avahi-client.pc
file path=usr/lib/pkgconfig/avahi-core.pc
file path=usr/lib/pkgconfig/avahi-glib.pc
file path=usr/lib/pkgconfig/avahi-gobject.pc
file path=usr/lib/python$(PYVER)/vendor-packages/avahi/ServiceTypeDatabase.py pkg.depend.bypass-generate=.*
file path=usr/lib/python$(PYVER)/vendor-packages/avahi/__init__.py
file path=usr/sbin/$(MACH64)/avahi-daemon
file path=usr/sbin/$(MACH64)/avahi-dnsconfd
file path=usr/sbin/avahi-daemon
file path=usr/sbin/avahi-dnsconfd
#file path=usr/share/applications/avahi-discover.desktop
#file path=usr/share/applications/bssh.desktop
#file path=usr/share/applications/bvnc.desktop
file path=usr/share/avahi/avahi-service.dtd
#file path=usr/share/avahi/interfaces/avahi-discover.ui
file path=usr/share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml
file path=usr/share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml
file path=usr/share/dbus-1/interfaces/org.freedesktop.Avahi.EntryGroup.xml
file path=usr/share/dbus-1/interfaces/org.freedesktop.Avahi.HostNameResolver.xml
file path=usr/share/dbus-1/interfaces/org.freedesktop.Avahi.RecordBrowser.xml
file path=usr/share/dbus-1/interfaces/org.freedesktop.Avahi.Server.xml
file path=usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceBrowser.xml
file path=usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceResolver.xml
file path=usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceTypeBrowser.xml
file path=usr/share/gir-1.0/Avahi-0.6.gir
file path=usr/share/gir-1.0/AvahiCore-0.6.gir
file path=usr/share/locale/ach/LC_MESSAGES/avahi.mo
file path=usr/share/locale/ar/LC_MESSAGES/avahi.mo
file path=usr/share/locale/bg/LC_MESSAGES/avahi.mo
file path=usr/share/locale/ca/LC_MESSAGES/avahi.mo
file path=usr/share/locale/cs/LC_MESSAGES/avahi.mo
file path=usr/share/locale/da/LC_MESSAGES/avahi.mo
file path=usr/share/locale/de/LC_MESSAGES/avahi.mo
file path=usr/share/locale/el/LC_MESSAGES/avahi.mo
file path=usr/share/locale/en_AU/LC_MESSAGES/avahi.mo
file path=usr/share/locale/en_CA/LC_MESSAGES/avahi.mo
file path=usr/share/locale/en_GB/LC_MESSAGES/avahi.mo
file path=usr/share/locale/en_NZ/LC_MESSAGES/avahi.mo
file path=usr/share/locale/eo/LC_MESSAGES/avahi.mo
file path=usr/share/locale/es/LC_MESSAGES/avahi.mo
file path=usr/share/locale/et/LC_MESSAGES/avahi.mo
file path=usr/share/locale/fa/LC_MESSAGES/avahi.mo
file path=usr/share/locale/fi/LC_MESSAGES/avahi.mo
file path=usr/share/locale/fo/LC_MESSAGES/avahi.mo
file path=usr/share/locale/fr/LC_MESSAGES/avahi.mo
file path=usr/share/locale/gl/LC_MESSAGES/avahi.mo
file path=usr/share/locale/he/LC_MESSAGES/avahi.mo
file path=usr/share/locale/hu/LC_MESSAGES/avahi.mo
file path=usr/share/locale/id/LC_MESSAGES/avahi.mo
file path=usr/share/locale/it/LC_MESSAGES/avahi.mo
file path=usr/share/locale/ja/LC_MESSAGES/avahi.mo
file path=usr/share/locale/ko/LC_MESSAGES/avahi.mo
file path=usr/share/locale/lv/LC_MESSAGES/avahi.mo
file path=usr/share/locale/ms/LC_MESSAGES/avahi.mo
file path=usr/share/locale/nl/LC_MESSAGES/avahi.mo
file path=usr/share/locale/oc/LC_MESSAGES/avahi.mo
file path=usr/share/locale/pl/LC_MESSAGES/avahi.mo
file path=usr/share/locale/pt_BR/LC_MESSAGES/avahi.mo
file path=usr/share/locale/ro/LC_MESSAGES/avahi.mo
file path=usr/share/locale/ru/LC_MESSAGES/avahi.mo
file path=usr/share/locale/sk/LC_MESSAGES/avahi.mo
file path=usr/share/locale/sl/LC_MESSAGES/avahi.mo
file path=usr/share/locale/sr/LC_MESSAGES/avahi.mo
file path=usr/share/locale/sr@latin/LC_MESSAGES/avahi.mo
file path=usr/share/locale/sv/LC_MESSAGES/avahi.mo
file path=usr/share/locale/tr/LC_MESSAGES/avahi.mo
file path=usr/share/locale/uk/LC_MESSAGES/avahi.mo
file path=usr/share/locale/zh_CN/LC_MESSAGES/avahi.mo
file path=usr/share/locale/zh_TW/LC_MESSAGES/avahi.mo
file path=usr/share/man/man1/avahi-bookmarks.1
link path=usr/share/man/man1/avahi-browse-domains.1 target=avahi-browse.1
file path=usr/share/man/man1/avahi-browse.1
file path=usr/share/man/man1/avahi-daemon-bridge-dsd.1
#file path=usr/share/man/man1/avahi-discover.1
link path=usr/share/man/man1/avahi-publish-address.1 target=avahi-publish.1
link path=usr/share/man/man1/avahi-publish-service.1 target=avahi-publish.1
file path=usr/share/man/man1/avahi-publish.1
link path=usr/share/man/man1/avahi-resolve-address.1 target=avahi-resolve.1
link path=usr/share/man/man1/avahi-resolve-host-name.1 target=avahi-resolve.1
file path=usr/share/man/man1/avahi-resolve.1
file path=usr/share/man/man1/avahi-set-host-name.1
#file path=usr/share/man/man1/bssh.1
#link path=usr/share/man/man1/bvnc.1 target=bssh.1
file path=usr/share/man/man5/avahi-daemon.conf.5
file path=usr/share/man/man5/avahi.hosts.5
file path=usr/share/man/man5/avahi.service.5
file path=usr/share/man/man8/avahi-daemon.8
file path=usr/share/man/man8/avahi-dnsconfd.8
file path=usr/share/man/man8/avahi-dnsconfd.action.8