Advertising
- Miscellany
- Monday, January 21st, 2013 at 11:47:41am MST
- --- Makefile.orig 2013-01-21 18:28:56.000000000 +0000
- +++ Makefile 2013-01-21 17:56:53.000000000 +0000
- @@ -1,21 +1,22 @@
- # $NetBSD: Makefile,v 1.38 2012/10/23 17:18:10 asau Exp $
- -DISTNAME= avahi-0.6.31
- -PKGREVISION= 5
- -CATEGORIES= net
- -MASTER_SITES= http://avahi.org/download/
- -
- -MAINTAINER= pkgsrc-users@NetBSD.org
- -HOMEPAGE= http://avahi.org/
- -COMMENT= Facilitate service discovery on a local network
- -LICENSE= gnu-lgpl-v2.1
- -
- -GNU_CONFIGURE= YES
- -USE_LIBTOOL= YES
- -USE_PKGINSTALL= YES
- -USE_PKGLOCALEDIR= YES
- -USE_TOOLS+= pkg-config gmake intltool msgfmt xgettext
- -MAKE_JOBS_SAFE= no
- +DISTNAME= avahi-0.6.31
- +PKGREVISION= 6
- +CATEGORIES= net
- +MASTER_SITES= http://avahi.org/download/
- +
- +MAINTAINER= pkgsrc-users@NetBSD.org
- +HOMEPAGE= http://avahi.org/
- +COMMENT= Facilitate service discovery on a local network
- +LICENSE= gnu-lgpl-v2.1
- +
- +GNU_CONFIGURE= yes
- +USE_LIBTOOL= yes
- +USE_PKGINSTALL= yes
- +USE_TOOLS+= gmake intltool msgfmt pkg-config xgettext
- +MAKE_JOBS_SAFE= no
- +
- +USE_PKGLOCALEDIR= yes
- PKGCONFIG_OVERRIDE+= avahi-client.pc.in
- PKGCONFIG_OVERRIDE+= avahi-compat-howl.pc.in
- @@ -71,17 +72,11 @@
- CONFIGURE_ARGS+= --localstatedir=${VARBASE}
- CONFIGURE_ARGS+= --with-dbus-system-socket=${VARBASE}/run/dbus/system_bus_socket
- CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
- -CONFIGURE_ARGS+= --disable-gtk3
- -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
- +# XXX Enabling any of these documentation options doesn't add any PLIST files
- CONFIGURE_ARGS+= --disable-xmltoman
- +CONFIGURE_ARGS+= --disable-doxygen-doc --disable-doxygen-dot
- +CONFIGURE_ARGS+= --disable-doxygen-xml --disable-doxygen-html
- CONFIGURE_ARGS+= --disable-autoipd
- -CONFIGURE_ARGS+= --enable-tests
- CONFIGURE_ARGS+= --with-distro=none
- INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples
- @@ -105,7 +100,5 @@
- .include "../../sysutils/dbus/buildlink3.mk"
- .include "../../sysutils/desktop-file-utils/desktopdb.mk"
- .include "../../textproc/expat/buildlink3.mk"
- -BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.14.0
- -.include "../../x11/gtk2/buildlink3.mk"
- .include "../../mk/pthread.buildlink3.mk"
- .include "../../mk/bsd.pkg.mk"
- --- distinfo.orig 2013-01-21 18:30:20.000000000 +0000
- +++ distinfo 2013-01-21 17:05:36.000000000 +0000
- @@ -3,7 +3,7 @@
- SHA1 (avahi-0.6.31.tar.gz) = 7e05bd78572c9088b03b1207a0ad5aba38490684
- RMD160 (avahi-0.6.31.tar.gz) = 122f553ee2d43cdd0185540a63a8e1f587bdb08e
- Size (avahi-0.6.31.tar.gz) = 1268686 bytes
- -SHA1 (patch-aa) = 9d48b8358ed5dac5edb379c998d1c907feaf76ed
- -SHA1 (patch-ab) = 49110f3c5502a56448ca6ee4412130299697f255
- +SHA1 (patch-aa) = 95b883bf14dd1852cdf0ea8a364c57717eebb03f
- +SHA1 (patch-ab) = e230ea9d57f40915469486faf4ffaf90ea3ebac3
- SHA1 (patch-ah) = 4b3ffdb927daef8c939527fd5c5893f9f88b3ff3
- -SHA1 (patch-ai) = 406b314c8105e28cffb83a92bb80f2dc1b264c3f
- +SHA1 (patch-ai) = 48c5fca5683323a30dc646e5eafb1834e7bedaeb
- --- buildlink3.mk.orig 2013-01-21 18:28:56.000000000 +0000
- +++ buildlink3.mk 2013-01-21 18:27:37.000000000 +0000
- @@ -12,9 +12,39 @@
- pkgbase := avahi
- .include "../../mk/pkg-build-options.mk"
- +
- .if !empty(PKG_BUILD_OPTIONS.avahi:Mgdbm)
- -. include "../../databases/gdbm/buildlink3.mk"
- +.include "../../databases/gdbm/buildlink3.mk"
- .endif
- +
- +.if !empty(PKG_BUILD_OPTIONS.avahi:Mgtk2)
- +.include "../../x11/gtk2/buildlink3.mk"
- +.endif
- +
- +.if !empty(PKG_BUILD_OPTIONS.avahi:Mgtk3)
- +.include "../../x11/gtk3/buildlink3.mk"
- +.endif
- +
- +.if !empty(PKG_BUILD_OPTIONS.avahi:Mintrospection)
- +.include "../../devel/gobject-introspection/buildlink3.mk"
- +.endif
- +
- +.if !empty(PKG_BUILD_OPTIONS.avahi:Mmono)
- +.include "../../x11/gtk-sharp/buildlink3.mk"
- +.endif
- +
- +.if !empty(PKG_BUILD_OPTIONS.avahi:Mqt3)
- +.include "../../x11/qt3-libs/buildlink3.mk"
- +.endif
- +
- +.if !empty(PKG_BUILD_OPTIONS.avahi:Mqt4)
- +.include "../../x11/qt4-libs/buildlink3.mk"
- +.endif
- +
- +.if !empty(PKG_BUILD_OPTIONS.avahi:Mpython)
- +.include "../../lang/python/application.mk"
- +.endif
- +
- .include "../../devel/glib2/buildlink3.mk"
- .include "../../sysutils/dbus/buildlink3.mk"
- .include "../../x11/gtk2/buildlink3.mk"
- --- PLIST.orig 2013-01-21 18:28:56.000000000 +0000
- +++ PLIST 2013-01-21 17:03:56.000000000 +0000
- @@ -1,7 +1,7 @@
- @comment $NetBSD: PLIST,v 1.6 2011/05/14 13:04:04 obache Exp $
- bin/avahi-browse
- bin/avahi-browse-domains
- -bin/avahi-discover-standalone
- +${PLIST.ui}bin/avahi-discover-standalone
- bin/avahi-publish
- bin/avahi-publish-address
- bin/avahi-publish-service
- @@ -9,9 +9,9 @@
- bin/avahi-resolve-address
- bin/avahi-resolve-host-name
- bin/avahi-set-host-name
- -bin/bshell
- -bin/bssh
- -bin/bvnc
- +${PLIST.ui}bin/bshell
- +${PLIST.ui}bin/bssh
- +${PLIST.ui}bin/bvnc
- include/avahi-client/client.h
- include/avahi-client/lookup.h
- include/avahi-client/publish.h
- @@ -44,18 +44,38 @@
- include/avahi-gobject/ga-record-browser.h
- include/avahi-gobject/ga-service-browser.h
- include/avahi-gobject/ga-service-resolver.h
- -include/avahi-ui/avahi-ui.h
- +${PLIST.qt3}include/avahi-qt3/qt-watch.h
- +${PLIST.qt4}include/avahi-qt4/qt-watch.h
- +${PLIST.gtk2}include/avahi-ui/avahi-ui.h
- +${PLIST.introspection}lib/girepository-1.0/Avahi-0.6.typelib
- +${PLIST.introspection}lib/girepository-1.0/AvahiCore-0.6.typelib
- lib/libavahi-client.la
- lib/libavahi-common.la
- lib/libavahi-core.la
- lib/libavahi-glib.la
- lib/libavahi-gobject.la
- -lib/libavahi-ui.la
- +${PLIST.qt3}lib/libavahi-qt3.la
- +${PLIST.qt4}lib/libavahi-qt4.la
- +${PLIST.gtk3}lib/libavahi-ui-gtk3.la
- +${PLIST.gtk2}lib/libavahi-ui.la
- +${PLIST.mono}lib/mono/avahi-sharp/avahi-sharp.dll
- +${PLIST.mono}lib/mono/avahi-ui-sharp/avahi-ui-sharp.dll
- +${PLIST.mono}lib/mono/gac/avahi-sharp/1.0.0.0__4d116c78973743f5/avahi-sharp.dll
- +${PLIST.mono}lib/mono/gac/avahi-sharp/1.0.0.0__4d116c78973743f5/avahi-sharp.dll.config
- +${PLIST.mono}lib/mono/gac/avahi-sharp/1.0.0.0__4d116c78973743f5/avahi-sharp.dll.mdb
- +${PLIST.mono}lib/mono/gac/avahi-ui-sharp/0.0.0.0__4d116c78973743f5/avahi-ui-sharp.dll
- +${PLIST.mono}lib/mono/gac/avahi-ui-sharp/0.0.0.0__4d116c78973743f5/avahi-ui-sharp.dll.config
- +${PLIST.mono}lib/mono/gac/avahi-ui-sharp/0.0.0.0__4d116c78973743f5/avahi-ui-sharp.dll.mdb
- lib/pkgconfig/avahi-client.pc
- lib/pkgconfig/avahi-core.pc
- lib/pkgconfig/avahi-glib.pc
- lib/pkgconfig/avahi-gobject.pc
- -lib/pkgconfig/avahi-ui.pc
- +${PLIST.qt3}lib/pkgconfig/avahi-qt3.pc
- +${PLIST.qt4}lib/pkgconfig/avahi-qt4.pc
- +${PLIST.mono}lib/pkgconfig/avahi-sharp.pc
- +${PLIST.gtk3}lib/pkgconfig/avahi-ui-gtk3.pc
- +${PLIST.mono}lib/pkgconfig/avahi-ui-sharp.pc
- +${PLIST.gtk2}lib/pkgconfig/avahi-ui.pc
- man/man1/avahi-browse-domains.1
- man/man1/avahi-browse.1
- man/man1/avahi-publish-address.1
- @@ -65,8 +85,8 @@
- man/man1/avahi-resolve-host-name.1
- man/man1/avahi-resolve.1
- man/man1/avahi-set-host-name.1
- -man/man1/bssh.1
- -man/man1/bvnc.1
- +${PLIST.ui}man/man1/bssh.1
- +${PLIST.ui}man/man1/bvnc.1
- man/man5/avahi-daemon.conf.5
- man/man5/avahi.hosts.5
- man/man5/avahi.service.5
- @@ -75,10 +95,10 @@
- man/man8/avahi-dnsconfd.action.8
- sbin/avahi-daemon
- sbin/avahi-dnsconfd
- -share/applications/bssh.desktop
- -share/applications/bvnc.desktop
- +${PLIST.ui}share/applications/bssh.desktop
- +${PLIST.ui}share/applications/bvnc.desktop
- share/avahi/avahi-service.dtd
- -share/avahi/interfaces/avahi-discover.ui
- +${PLIST.ui}share/avahi/interfaces/avahi-discover.ui
- share/avahi/service-types
- share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml
- share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml
- @@ -101,6 +121,8 @@
- share/examples/avahi/services/sftp-ssh.service
- share/examples/avahi/services/ssh.service
- share/examples/rc.d/avahidaemon
- +${PLIST.introspection}share/gir-1.0/Avahi-0.6.gir
- +${PLIST.introspection}share/gir-1.0/AvahiCore-0.6.gir
- share/locale/bg/LC_MESSAGES/avahi.mo
- share/locale/ca/LC_MESSAGES/avahi.mo
- share/locale/cs/LC_MESSAGES/avahi.mo
- --- options.mk.orig 2013-01-21 18:28:56.000000000 +0000
- +++ options.mk 2013-01-21 17:56:03.000000000 +0000
- @@ -1,8 +1,9 @@
- # $NetBSD: options.mk,v 1.2 2010/07/24 13:42:12 obache Exp $
- PKG_OPTIONS_VAR= PKG_OPTIONS.avahi
- -
- -PKG_SUPPORTED_OPTIONS= avahi-howl gdbm python
- +PKG_SUPPORTED_OPTIONS= avahi-howl gdbm introspection gtk2 gtk3 mono python qt3 qt4 tests
- +PKG_SUGGESTED_OPTIONS+= gtk2
- +PLIST_VARS+= introspection gtk2 gtk3 mono qt3 qt4 ui
- .include "../../mk/bsd.options.mk"
- @@ -23,6 +24,54 @@
- CONFIGURE_ARGS+= --disable-gdbm
- .endif
- +.if !empty(PKG_OPTIONS:Mgtk2)
- +BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.14.0
- +.include "../../x11/gtk2/buildlink3.mk"
- +PLIST.gtk2= yes
- +PLIST.ui= yes
- +.else
- +CONFIGURE_ARGS+= --disable-gtk
- +.endif
- +
- +.if !empty(PKG_OPTIONS:Mgtk3)
- +.include "../../x11/gtk3/buildlink3.mk"
- +PLIST.gtk3= yes
- +PLIST.ui= yes
- +.else
- +CONFIGURE_ARGS+= --disable-gtk3
- +.endif
- +
- +.if !empty(PKG_OPTIONS:Mintrospection)
- +.include "../../devel/gobject-introspection/buildlink3.mk"
- +CONFIGURE_ARGS+= --enable-introspection=yes
- +PLIST.introspection= yes
- +.else
- +CONFIGURE_ARGS+= --enable-introspection=no
- +.endif
- +
- +.if !empty(PKG_OPTIONS:Mmono)
- +.include "../../x11/gtk-sharp/buildlink3.mk"
- +.include "../../lang/mono/buildlink3.mk"
- +CONFIGURE_ARGS+= --disable-monodoc # XXX broken
- +PLIST.mono= yes
- +.else
- +CONFIGURE_ARGS+= --disable-mono --disable-monodoc
- +.endif
- +
- +.if !empty(PKG_OPTIONS:Mqt3)
- +.include "../../x11/qt3-libs/buildlink3.mk"
- +PLIST.qt3= yes
- +.else
- +CONFIGURE_ARGS+= --disable-qt3
- +.endif
- +
- +.if !empty(PKG_OPTIONS:Mqt4)
- +.include "../../x11/qt4-libs/buildlink3.mk"
- +PLIST.qt4= yes
- +.else
- +CONFIGURE_ARGS+= --disable-qt4
- +.endif
- +
- ###
- ### Enable python support
- ###
- @@ -45,3 +94,7 @@
- CONFIGURE_ARGS+= --disable-python-dbus
- CONFIGURE_ARGS+= --disable-pygtk
- .endif
- +
- +.if !empty(PKG_OPTIONS:Mtests)
- +CONFIGURE_ARGS+= --enable-tests
- +.endif
- --- patches/patch-aa.orig 2013-01-21 18:29:05.000000000 +0000
- +++ patch-aa 2013-01-21 17:04:18.000000000 +0000
- @@ -1,5 +1,7 @@
- $NetBSD: patch-aa,v 1.2 2010/07/24 13:42:12 obache Exp $
- +Add NetBSD support.
- +
- --- avahi-core/iface-pfroute.c.orig 2010-06-26 00:14:35.000000000 +0000
- +++ avahi-core/iface-pfroute.c
- @@ -46,6 +46,13 @@
- --- patches/patch-ab.new 2013-01-21 18:29:05.000000000 +0000
- +++ patch-ab 2013-01-21 17:04:43.000000000 +0000
- @@ -1,5 +1,7 @@
- $NetBSD: patch-ab,v 1.3 2012/04/22 15:59:02 wiz Exp $
- +Build with -lintl.
- +
- --- avahi-common/Makefile.in.orig 2012-02-14 22:36:35.000000000 +0000
- +++ avahi-common/Makefile.in
- @@ -639,7 +639,7 @@ clean-libLTLIBRARIES:
- --- patches/patch-ai.orig 2013-01-21 18:29:05.000000000 +0000
- +++ patch-ai 2013-01-21 17:05:30.000000000 +0000
- @@ -1,5 +1,7 @@
- $NetBSD: patch-ai,v 1.2 2010/07/24 13:42:12 obache Exp $
- +Check lower bounds on port.
- +
- --- avahi-core/server.c.orig 2010-06-29 18:51:53.000000000 +0000
- +++ avahi-core/server.c
- @@ -903,6 +903,11 @@ static void dispatch_packet(AvahiServer
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.