# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= avahi VERSION= 0.8 KEYWORDS= net VARIANTS= standard SDESC[standard]= Service Discovery using mDNS/DNS-SD HOMEPAGE= https://www.avahi.org/ CONTACT= Michael_Reim[kraileth@elderlinux.org] DOWNLOAD_GROUPS= main SITES[main]= https://avahi.org/download/ DISTFILE[1]= avahi-0.8.tar.gz:main DF_INDEX= 1 SPKGS[standard]= complete primary tools dev nls man OPTIONS_AVAILABLE= BSD LINUX SOLARIS OPTIONS_STANDARD= BSD LINUX SOLARIS OPTGROUP_RADIO= SYSTEM OPTDESCR[SYSTEM]= System type selection OPTGROUP[SYSTEM]= BSD LINUX SOLARIS OPT_ON[freebsd]= BSD OPT_ON[sunos]= SOLARIS OPT_ON[linux]= LINUX OPT_ON[netbsd]= BSD OPT_ON[dragonfly]= BSD OPT_ON[midnightbsd]= BSD BUILD_DEPENDS= dbus:dev:standard expat:dev:standard gdbm:dev:standard libdaemon:dev:standard libevent:dev:standard harfbuzz:dev:standard BUILDRUN_DEPENDS= dbus:primary:standard expat:primary:standard gdbm:primary:standard libdaemon:primary:standard libevent:primary:standard USERS= avahi GROUPS= avahi USERGROUP_SPKG= tools USES= cpe gettext gmake libtool mbsdfix pkgconfig GNOME_COMPONENTS= glib introspection pygobject LICENSE= LGPL21+:primary LICENSE_TERMS= primary:{{WRKDIR}}/TERMS LICENSE_FILE= LGPL21+:{{WRKSRC}}/LICENSE LICENSE_AWK= TERMS:"USA." LICENSE_SOURCE= TERMS:{{WRKSRC}}/avahi-core/core.h LICENSE_SCHEME= solo FPC_EQUIVALENT= net/avahi MUST_CONFIGURE= gnu CONFIGURE_ARGS= --disable-mono --disable-static --disable-qt3 --disable-qt4 --disable-qt5 --disable-python --disable-autoipd --disable-gtk --disable-gtk3 --disable-compat-libdns_sd --disable-stack-protector --disable-monodoc --disable-doxygen-doc --disable-doxygen-dot --enable-introspection --enable-compat-howl --with-dbus-system-socket=unix:path=/var/run/dbus/system_bus_socket --localstatedir=/var INSTALL_TARGET= install-strip INSTALL_REQ_TOOLCHAIN= yes VAR_OPSYS[freebsd]= CONFIGURE_ARGS=--with-distro=freebsd VAR_OPSYS[linux]= CONFIGURE_ARGS=--with-distro=debian VAR_OPSYS[dragonfly]= CONFIGURE_ARGS=--with-distro=freebsd VAR_OPSYS[midnightbsd]= CONFIGURE_ARGS=--with-distro=freebsd [SOLARIS].DESCRIPTION= Build with Solaris characteristics [BSD].DESCRIPTION= Build with BSD characteristics [BSD].CPPFLAGS_ON= -DHAVE_KQUEUE [BSD].LDFLAGS_ON= -lintl [LINUX].DESCRIPTION= Build with Linux characteristics pre-configure-BSD-ON: ${REINPLACE_CMD} -e 's|avahi_runtime_dir="/run"|avahi_runtime_dir="/var/run"|' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|-ldl||g ; s|netdev|network|g' \ ${WRKSRC}/configure \ ${WRKSRC}/avahi-client/Makefile.in \ ${WRKSRC}/avahi-daemon/Makefile.in ${REINPLACE_CMD} -e 's|have_inotify=yes|have_inotify=no|' \ ${WRKSRC}/configure post-install: # convert provided configuration files to samples .for cfgfile in hosts avahi-daemon.conf ${MV} ${STAGEDIR}${PREFIX}/etc/avahi/${cfgfile} ${STAGEDIR}${PREFIX}/etc/avahi/${cfgfile}.sample .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/system-services ${INSTALL_DATA} ${WRKSRC}/avahi-daemon/org.freedesktop.Avahi.service \ ${STAGEDIR}${PREFIX}/share/dbus-1/system-services # avoid plist error ${RM} -r ${STAGEDIR}/var pre-configure: # This gnome.subr is not currently supported ${REINPLACE_CMD} -e 's|%%GNOME_SUBR%%|${LOCALBASE}/etc/gnome.subr|' \ ${WRKSRC}/initscript/freebsd/avahi-dnsconfd.sh.in \ ${WRKSRC}/initscript/freebsd/avahi-daemon.sh.in [FILE:363:descriptions/desc.primary] Service discovery on a local network -- this means that you can plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared. This kind of technology is already found in MacOS X (branded 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very convenient. [FILE:38:descriptions/desc.tools] This package contains avahi programs. [FILE:95:distinfo] 060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda 1591458 avahi-0.8.tar.gz [FILE:922:manifests/plist.primary] lib/ libavahi-client.so.3 libavahi-client.so.3.2.9 libavahi-common.so.3 libavahi-common.so.3.5.4 libavahi-core.so.7 libavahi-core.so.7.1.0 libavahi-glib.so.1 libavahi-glib.so.1.0.2 libavahi-gobject.so.0 libavahi-gobject.so.0.0.5 libavahi-libevent.so.1 libavahi-libevent.so.1.0.0 libhowl.so.0 libhowl.so.0.0.0 lib/girepository-1.0/ Avahi-0.6.typelib AvahiCore-0.6.typelib share/avahi/avahi-service.dtd share/dbus-1/interfaces/ org.freedesktop.Avahi.AddressResolver.xml org.freedesktop.Avahi.DomainBrowser.xml org.freedesktop.Avahi.EntryGroup.xml org.freedesktop.Avahi.HostNameResolver.xml org.freedesktop.Avahi.RecordBrowser.xml org.freedesktop.Avahi.Server.xml org.freedesktop.Avahi.ServiceBrowser.xml org.freedesktop.Avahi.ServiceResolver.xml org.freedesktop.Avahi.ServiceTypeBrowser.xml share/dbus-1/system-services/org.freedesktop.Avahi.service share/gir-1.0/ Avahi-0.6.gir AvahiCore-0.6.gir [FILE:660:manifests/plist.tools] @sample etc/avahi/avahi-daemon.conf.sample @sample etc/avahi/hosts.sample %%ONLY-DRAGONFLY%%etc/rc.d/ avahi-daemon avahi-dnsconfd %%ONLY-FREEBSD%%etc/rc.d/ avahi-daemon avahi-dnsconfd %%ONLY-LINUX%%etc/init.d/ avahi-daemon avahi-dnsconfd %%ONLY-MIDNIGHTBSD%%etc/rc.d/ avahi-daemon avahi-dnsconfd bin/ avahi-browse avahi-browse-domains avahi-publish avahi-publish-address avahi-publish-service avahi-resolve avahi-resolve-address avahi-resolve-host-name avahi-set-host-name etc/avahi/avahi-dnsconfd.action etc/avahi/services/ sftp-ssh.service ssh.service etc/dbus-1/system.d/avahi-dbus.conf sbin/ avahi-daemon avahi-dnsconfd @dir lib/avahi [FILE:1160:manifests/plist.dev] include/avahi-client/ client.h lookup.h publish.h include/avahi-common/ address.h alternative.h cdecl.h defs.h domain.h error.h gccmacro.h llist.h malloc.h rlist.h simple-watch.h strlst.h thread-watch.h timeval.h watch.h include/avahi-compat-howl/howl.h include/avahi-compat-howl/corby/ buffer.h channel.h corby.h message.h object.h orb.h include/avahi-compat-howl/discovery/ discovery.h text_record.h include/avahi-compat-howl/rendezvous/ rendezvous.h text_record.h include/avahi-compat-howl/salt/ address.h debug.h interface.h platform.h salt.h signal.h socket.h time.h include/avahi-core/ core.h log.h lookup.h publish.h rr.h include/avahi-glib/ glib-malloc.h glib-watch.h include/avahi-gobject/ ga-client.h ga-entry-group.h ga-enums.h ga-error.h ga-record-browser.h ga-service-browser.h ga-service-resolver.h include/avahi-libevent/libevent-watch.h lib/ libavahi-client.so libavahi-common.so libavahi-core.so libavahi-glib.so libavahi-gobject.so libavahi-libevent.so libhowl.so lib/pkgconfig/ avahi-client.pc avahi-compat-howl.pc avahi-core.pc avahi-glib.pc avahi-gobject.pc avahi-libevent.pc [FILE:1619:manifests/plist.nls] share/locale/ach/LC_MESSAGES/avahi.mo share/locale/ar/LC_MESSAGES/avahi.mo share/locale/bg/LC_MESSAGES/avahi.mo share/locale/ca/LC_MESSAGES/avahi.mo share/locale/cs/LC_MESSAGES/avahi.mo share/locale/da/LC_MESSAGES/avahi.mo share/locale/de/LC_MESSAGES/avahi.mo share/locale/el/LC_MESSAGES/avahi.mo share/locale/en_AU/LC_MESSAGES/avahi.mo share/locale/en_CA/LC_MESSAGES/avahi.mo share/locale/en_GB/LC_MESSAGES/avahi.mo share/locale/en_NZ/LC_MESSAGES/avahi.mo share/locale/eo/LC_MESSAGES/avahi.mo share/locale/es/LC_MESSAGES/avahi.mo share/locale/et/LC_MESSAGES/avahi.mo share/locale/fa/LC_MESSAGES/avahi.mo share/locale/fi/LC_MESSAGES/avahi.mo share/locale/fo/LC_MESSAGES/avahi.mo share/locale/fr/LC_MESSAGES/avahi.mo share/locale/gl/LC_MESSAGES/avahi.mo share/locale/he/LC_MESSAGES/avahi.mo share/locale/hu/LC_MESSAGES/avahi.mo share/locale/id/LC_MESSAGES/avahi.mo share/locale/it/LC_MESSAGES/avahi.mo share/locale/ja/LC_MESSAGES/avahi.mo share/locale/ko/LC_MESSAGES/avahi.mo share/locale/lv/LC_MESSAGES/avahi.mo share/locale/ms/LC_MESSAGES/avahi.mo share/locale/nl/LC_MESSAGES/avahi.mo share/locale/oc/LC_MESSAGES/avahi.mo share/locale/pl/LC_MESSAGES/avahi.mo share/locale/pt_BR/LC_MESSAGES/avahi.mo share/locale/ro/LC_MESSAGES/avahi.mo share/locale/ru/LC_MESSAGES/avahi.mo share/locale/sk/LC_MESSAGES/avahi.mo share/locale/sl/LC_MESSAGES/avahi.mo share/locale/sr/LC_MESSAGES/avahi.mo share/locale/sr@latin/LC_MESSAGES/avahi.mo share/locale/sv/LC_MESSAGES/avahi.mo share/locale/tr/LC_MESSAGES/avahi.mo share/locale/uk/LC_MESSAGES/avahi.mo share/locale/zh_CN/LC_MESSAGES/avahi.mo share/locale/zh_TW/LC_MESSAGES/avahi.mo [FILE:404:manifests/plist.man] share/man/man1/ avahi-browse-domains.1.gz avahi-browse.1.gz avahi-publish-address.1.gz avahi-publish-service.1.gz avahi-publish.1.gz avahi-resolve-address.1.gz avahi-resolve-host-name.1.gz avahi-resolve.1.gz avahi-set-host-name.1.gz share/man/man5/ avahi-daemon.conf.5.gz avahi.hosts.5.gz avahi.service.5.gz share/man/man8/ avahi-daemon.8.gz avahi-dnsconfd.8.gz avahi-dnsconfd.action.8.gz [FILE:742:patches/patch-initscript_freebsd_Makefile.in] --- initscript/freebsd/Makefile.in.orig 2020-02-18 07:03:16 UTC +++ initscript/freebsd/Makefile.in @@ -439,12 +439,12 @@ EXTRA_DIST = \ avahi-dnsconfd.sh.in initd_SCRIPTS = \ - avahi-daemon.sh \ - avahi-dnsconfd.sh + avahi-daemon \ + avahi-dnsconfd CLEANFILES = \ - avahi-daemon.sh \ - avahi-dnsconfd.sh + avahi-daemon \ + avahi-dnsconfd all: all-am @@ -678,11 +678,11 @@ uninstall-am: uninstall-initdSCRIPTS .PRECIOUS: Makefile -avahi-daemon.sh: avahi-daemon.sh.in +avahi-daemon: avahi-daemon.sh.in sed -e 's,@sbindir\@,$(sbindir),g' $< > $@ chmod +x $@ -avahi-dnsconfd.sh: avahi-dnsconfd.sh.in +avahi-dnsconfd: avahi-dnsconfd.sh.in sed \ -e 's,@sbindir\@,$(sbindir),g' \ -e 's,@sysconfdir\@,$(sysconfdir),g' \ [FILE:748:patches/patch-initscript_freebsd_avahi-daemon.sh.in] --- initscript/freebsd/avahi-daemon.sh.in.orig 2015-04-01 04:58:14 UTC +++ initscript/freebsd/avahi-daemon.sh.in @@ -9,18 +9,22 @@ # Avahi's mDNSResponder, a Zeroconf (Bonjour) service advertisement daemon. # -avahi_daemon_enable=${avahi_daemon_enable-"NO"} avahi_daemon_flags=${avahi_daemon_flags-"-D"} . /etc/rc.subr +#TBS . %%GNOME_SUBR%% + +avahi_daemon_enable=${avahi_daemon_enable-${gnome_enable}} name=avahi_daemon -rcvar=`set_rcvar` +rcvar=avahi_daemon_enable start_cmd=avahi_daemon_start stop_cmd=avahi_daemon_stop avahi_daemon_bin=@sbindir@/avahi-daemon +command=${avahi_daemon_bin} +pidfile="/var/run/avahi-daemon/pid" avahi_daemon_start() { checkyesno avahi_daemon_enable && echo "Starting avahi-daemon." && \ [FILE:760:patches/patch-initscript_freebsd_avahi-dnsconfd.sh.in] --- initscript/freebsd/avahi-dnsconfd.sh.in.orig 2015-04-01 04:58:14 UTC +++ initscript/freebsd/avahi-dnsconfd.sh.in @@ -12,18 +12,22 @@ # DNS servers in a DHCP-like fashion with mDNS. # -avahi_dnsconfd_enable=${avahi_dnsconfd_enable-"NO"} avahi_dnsconfd_flags=${avahi_dnsconfd_flags-"-D"} . /etc/rc.subr +#TBS . %%GNOME_SUBR%% + +avahi_dnsconfd_enable=${avahi_dnsconfd_enable-${gnome_enable}} name=avahi_dnsconfd -rcvar=`set_rcvar` +rcvar=avahi_dnsconfd_enable start_cmd=avahi_dnsconfd_start stop_cmd=avahi_dnsconfd_stop avahi_dnsconfd_bin=@sbindir@/avahi-dnsconfd +command=${avahi_dnsconfd_bin} +pidfile="/var/run/avahi-dnsconfd.pid" avahi_dnsconfd_start() { checkyesno avahi_dnsconfd_enable && echo "Starting avahi-dnsconfd." && \