pkgsrc-wip/avahi/Makefile
Adrian Portelli 51d193c54f Update from .16 to .19.
Can't upgrade to .21 at the moment as something goes horribly wrong in the .20
 builds and above.
.17
* Don't accept "localhost" as a local mDNS host name
* Allow running avahi-bookmarks as CGI script
* Improve libdns_sd compatibility
* Stability: libdns_sd mutex locking order fix
* Publish IPv6 addresses via IPv4 and vice versa
* IA64 fixes
* A lot of minor cleanups and fixes
.18
* Add a new library libavahi-ui which contains a standard Gtk dialog for browsing for services, and a new tool "zssh" that makes use of it, which allows browsing for SSH and VNC servers and starts ssh or xvncviewer if one item is selected.
* avahi-autoipd has been ported to FreeBSD (original patch from Bruce M Simpson)
* Improve OpenBSD, Solaris, MacOS X compatibility
* Linux inotify support for monitoring /etc/avahi/services/ and /etc/avahi/hosts for changes. (Original patch from "behanw")
* Add the ability to dump the service type database from avahi-browse with the new option "-b".
* Enable GCC stack smashing protection if available and working (Patch from tedp)
* Improve compatibility with Bonjour's libdns_sd (patch from Chris Rivera)
* Various updates to the service type database (based on patches from uws)
* Fix a local DoS vulnerability (very low priority, all you can do is make Avahi hit an assert()); problem identified by "jamesh"
* Fix a problem when constantly generating conflict events for an RR
* Fix registration of very large RRs (original patch from Sjoerd Simons)
* Various minor fixes
.19
* Rename zssh/zvnc to bssh/bvnc to avoid a name collision with another free software tool, on request of the Debian developers. I hope this name change early in the life of bssh/bvnc won't be too difficult to handle by the distributors.
* Add man page for bssh/bvnc
* avahi-ui: fix segfault when browsing in empty domains
* avahi-ui: allow GTK_RESPONSE_OK, _YES and _APPLY besides _ACCEPT as positive dialog response codes
* avahi-ui-sharp: Add Mono/C# API wrapper for avahi-ui
* Don't pick the first and the last 256 IP addresses from the IPV4LL range in avahi-autoipd, as required by RC3927 section 2.1
* No longer publish the Avahi service identification cookie anymore by default. It was a bad idea in the first place. A better replacement will hopefully be made available in Avahi eventually.
* Properly set umask before writing to /var/lib/avahi-autoipd
* Update .deskop files to work around KDE menu issue
* Various build fixes and other minor fixes and updates
2007-10-21 16:45:23 +00:00

93 lines
3 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2007/10/21 16:45:23 adrian_p Exp $
DISTNAME= avahi-0.6.19
CATEGORIES= net
MASTER_SITES= http://avahi.org/download/
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://avahi.org/
COMMENT= Facilitate service discovery on a local network
USE_TOOLS+= pkg-config gmake
USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE+= avahi-core.pc.in
GNU_CONFIGURE= YES
AVAHI_USER= avahi
AVAHI_GROUP= avahi
RCD_SCRIPTS= avahidaemon
USE_PKGINSTALL= YES
BUILD_DEFS= VARBASE
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
PKG_SYSCONFSUBDIR= avahi
USE_LANGUAGES= c c++
PKG_USERS= ${AVAHI_USER}:${AVAHI_GROUP}::Avahi\ user:/nonexistent
PKG_GROUPS= ${AVAHI_GROUP}
.include "options.mk"
PLIST_SRC+= ${PKGDIR}/PLIST.shared
CONF_FILES+= ${PREFIX}/share/examples/avahi/avahi-daemon.conf \
${PKG_SYSCONFDIR}/avahi-daemon.conf
CONF_FILES+= ${PREFIX}/share/examples/avahi/hosts \
${PKG_SYSCONFDIR}/hosts
CONF_FILES+= ${PREFIX}/share/examples/avahi/avahi-dnsconfd.action \
${PKG_SYSCONFDIR}/avahi-dnsconfd.action
CONF_FILES+= ${PREFIX}/share/examples/avahi/ssh.service \
${PKG_SYSCONFDIR}/services/ssh.service
.if !empty(PKG_OPTIONS:Mdbus)
CONF_FILES+= ${PREFIX}/share/examples/avahi/avahi-dbus.conf \
${PREFIX}/etc/dbus-1/system.d/avahi-dbus.conf
.endif
CONFIGURE_ARGS+= --with-distro=netbsd
CONFIGURE_ARGS+= --with-avahi-user=${AVAHI_USER:Q}
CONFIGURE_ARGS+= --with-avahi-group=${AVAHI_GROUP:Q}
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
CONFIGURE_ARGS+= --disable-qt3
CONFIGURE_ARGS+= --disable-qt4
CONFIGURE_ARGS+= --disable-mono
CONFIGURE_ARGS+= --disable-monodoc
CONFIGURE_ARGS+= --disable-doxygen-doc
CONFIGURE_ARGS+= --disable-doxygen-dot
CONFIGURE_ARGS+= --disable-doxygen-html
CONFIGURE_ARGS+= --disable-xmltoman
CONFIGURE_ARGS+= --disable-autoipd
.include "../../textproc/expat/buildlink3.mk"
.include "../../wip/libdaemon/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
post-extract:
${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/avahi
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/avahi
${MKDIR} ${PKG_SYSCONFDIR}/services
${INSTALL_DATA} ${WRKSRC}/avahi-daemon/avahi-daemon.conf \
${PREFIX}/share/examples/avahi
${INSTALL_DATA} ${WRKSRC}/avahi-daemon/hosts \
${PREFIX}/share/examples/avahi
${INSTALL_DATA} ${WRKSRC}/avahi-dnsconfd/avahi-dnsconfd.action \
${PREFIX}/share/examples/avahi
${INSTALL_DATA} ${WRKSRC}/avahi-daemon/ssh.service \
${PREFIX}/share/examples/avahi
. if !empty(PKG_OPTIONS:Mdbus)
${INSTALL_DATA} ${WRKSRC}/avahi-daemon/avahi-dbus.conf \
${PREFIX}/share/examples/avahi/avahi-dbus.conf
. endif
${INSTALL_DATA} ${WRKSRC}/docs/HACKING ${PREFIX}/share/doc/avahi
${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${PREFIX}/share/doc/avahi
${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${PREFIX}/share/doc/avahi
${INSTALL_DATA} ${WRKSRC}/docs/README ${PREFIX}/share/doc/avahi
${INSTALL_DATA} ${WRKSRC}/docs/TODO ${PREFIX}/share/doc/avahi
.include "../../mk/bsd.pkg.mk"