pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/avahi Update avahi to 0.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0543dc23bb0
branches:  trunk
changeset: 439858:c0543dc23bb0
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Tue Sep 29 10:56:56 2020 +0000

description:
Update avahi to 0.8

avahi 0.8 release brings a number of new features and bug fix changes
including a backward-compatible addition to the D-Bus API and the avahi-core
API.

The existing API is still fully supported however clients using the new
API will not work with older Avahi releases. The avahi-client library is not
affected. See the "API Changes" section for further details.

New Features:
- New options for filtering reflected queries between networks (reflect-filter)
- New mainloop integration for Qt5 and libevent
- docs/THREADS: Information for multi-threaded avahi-client apps
- Listen on loopback interfaces by default, allowing local-only services to be
  consumed by the local machine
- New D-Bus V2 API and additions to the avahi-core API for splitting "New"
  calls into "Prepare" and "Start". See "API Changes" for more details.
 * Add support for binary values in TXT records in XML service files by
   specifying value-format="text|binary-hex|binary-base64".  If not specified,
   defaults to the normal value of "text" (thus backwards compatible)
 * avahi-gobject: Allow starting the client in a custom GMainContext by
   passing context to ga_client_start_in_context instead of ga_client_start
   (avahi-gobject minor version has been incremented)

Security Fixes:
- Drop legacy unicast queries from address not on local link which can lead to
  UDP traffic amplification attacks (CVE-2017-6519)


For full details, see:
https://github.com/lathiat/avahi/blob/v0.8/docs/NEWS

diffstat:

 net/avahi/Makefile                |  19 ++++++++++++-------
 net/avahi/PLIST                   |   5 +++--
 net/avahi/PLIST.python            |   3 +--
 net/avahi/buildlink3.mk           |  12 ++++++------
 net/avahi/distinfo                |  11 ++++++-----
 net/avahi/patches/patch-configure |  15 +++++++++++++++
 6 files changed, 43 insertions(+), 22 deletions(-)

diffs (170 lines):

diff -r 5feed3d8db27 -r c0543dc23bb0 net/avahi/Makefile
--- a/net/avahi/Makefile        Tue Sep 29 10:46:18 2020 +0000
+++ b/net/avahi/Makefile        Tue Sep 29 10:56:56 2020 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.95 2020/08/17 20:17:38 leot Exp $
+# $NetBSD: Makefile,v 1.96 2020/09/29 10:56:56 prlw1 Exp $
 
-DISTNAME=              avahi-0.6.32
-PKGREVISION=           25
+DISTNAME=              avahi-0.8
 CATEGORIES=            net
-MASTER_SITES=          https://github.com/lathiat/avahi/releases/download/v${PKGVERSION_NOREV}/
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=lathiat/avahi/releases/download/v${PKGVERSION_NOREV}/}
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              https://avahi.org/
@@ -16,8 +15,10 @@
 USE_LIBTOOL=           YES
 USE_PKGINSTALL=                YES
 USE_PKGLOCALEDIR=      YES
-USE_TOOLS+=            pkg-config gmake intltool msgfmt xgettext
-MAKE_JOBS_SAFE=                no
+USE_TOOLS+=            pkg-config gmake msgfmt xgettext
+
+# Requires --desktop in msgfmt.
+_TOOLS_USE_PKGSRC.msgfmt=      yes
 
 CONFIGURE_ARGS+=       --disable-gtk
 
@@ -27,8 +28,10 @@
 PKGCONFIG_OVERRIDE+=   avahi-core.pc.in
 PKGCONFIG_OVERRIDE+=   avahi-glib.pc.in
 PKGCONFIG_OVERRIDE+=   avahi-gobject.pc.in
+PKGCONFIG_OVERRIDE+=   avahi-libevent.pc.in
 PKGCONFIG_OVERRIDE+=   avahi-qt3.pc.in
 PKGCONFIG_OVERRIDE+=   avahi-qt4.pc.in
+PKGCONFIG_OVERRIDE+=   avahi-qt5.pc.in
 PKGCONFIG_OVERRIDE+=   avahi-sharp.pc.in
 PKGCONFIG_OVERRIDE+=   avahi-ui-gtk3.pc.in
 PKGCONFIG_OVERRIDE+=   avahi-ui-sharp.pc.in
@@ -79,9 +82,11 @@
 CONFIGURE_ARGS+=       --disable-doxygen-html --disable-doxygen-xml
 CONFIGURE_ARGS+=       --disable-xmltoman
 CONFIGURE_ARGS+=       --disable-autoipd
+CONFIGURE_ARGS+=       --disable-libevent
 CONFIGURE_ARGS+=       --disable-qt3
 CONFIGURE_ARGS+=       --disable-qt4
-CONFIGURE_ARGS+=       --disable-pygtk
+CONFIGURE_ARGS+=       --disable-qt5
+CONFIGURE_ARGS+=       --disable-pygobject
 CONFIGURE_ARGS+=       --with-distro=none
 
 INSTALL_MAKE_FLAGS+=   sysconfdir=${PREFIX}/share/examples
diff -r 5feed3d8db27 -r c0543dc23bb0 net/avahi/PLIST
--- a/net/avahi/PLIST   Tue Sep 29 10:46:18 2020 +0000
+++ b/net/avahi/PLIST   Tue Sep 29 10:56:56 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2020/03/23 15:56:55 wiz Exp $
+@comment $NetBSD: PLIST,v 1.19 2020/09/29 10:56:56 prlw1 Exp $
 bin/avahi-browse
 bin/avahi-browse-domains
 ${PLIST.ui}bin/avahi-discover-standalone
@@ -88,7 +88,7 @@
 ${PLIST.ui}share/applications/bssh.desktop
 ${PLIST.ui}share/applications/bvnc.desktop
 share/avahi/avahi-service.dtd
-share/avahi/service-types
+${PLIST.ui}share/avahi/interfaces/avahi-discover.ui
 share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml
 share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml
 share/dbus-1/interfaces/org.freedesktop.Avahi.EntryGroup.xml
@@ -140,6 +140,7 @@
 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
diff -r 5feed3d8db27 -r c0543dc23bb0 net/avahi/PLIST.python
--- a/net/avahi/PLIST.python    Tue Sep 29 10:46:18 2020 +0000
+++ b/net/avahi/PLIST.python    Tue Sep 29 10:56:56 2020 +0000
@@ -1,7 +1,6 @@
-@comment $NetBSD: PLIST.python,v 1.6 2020/03/23 13:23:47 nia Exp $
+@comment $NetBSD: PLIST.python,v 1.7 2020/09/29 10:56:56 prlw1 Exp $
 ${PYSITELIB}/avahi/__init__.py
 ${PYSITELIB}/avahi/__init__.pyc
 ${PYSITELIB}/avahi/__init__.pyo
 bin/avahi-bookmarks
 man/man1/avahi-bookmarks.1
-${PLIST.ui}share/avahi/interfaces/avahi-discover.ui
diff -r 5feed3d8db27 -r c0543dc23bb0 net/avahi/buildlink3.mk
--- a/net/avahi/buildlink3.mk   Tue Sep 29 10:46:18 2020 +0000
+++ b/net/avahi/buildlink3.mk   Tue Sep 29 10:56:56 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.45 2020/08/17 20:17:38 leot Exp $
+# $NetBSD: buildlink3.mk,v 1.46 2020/09/29 10:56:56 prlw1 Exp $
 
 BUILDLINK_TREE+=       avahi
 
@@ -12,23 +12,23 @@
 pkgbase := avahi
 .include "../../mk/pkg-build-options.mk"
 
-.if !empty(PKG_BUILD_OPTIONS.avahi:Mgdbm)
+.if ${PKG_BUILD_OPTIONS.avahi:Mgdbm}
 .  include "../../databases/gdbm/buildlink3.mk"
 .endif
 
-.if !empty(PKG_BUILD_OPTIONS.avahi:Mgtk3)
+.if ${PKG_BUILD_OPTIONS.avahi:Mgtk3}
 .include "../../x11/gtk3/buildlink3.mk"
 .endif
 
-.if !empty(PKG_BUILD_OPTIONS.avahi:Mintrospection)
+.if ${PKG_BUILD_OPTIONS.avahi:Mintrospection}
 .include "../../devel/gobject-introspection/buildlink3.mk"
 .endif
 
-.if !empty(PKG_BUILD_OPTIONS.avahi:Mmono)
+.if ${PKG_BUILD_OPTIONS.avahi:Mmono}
 .include "../../x11/gtk-sharp/buildlink3.mk"
 .endif
 
-.if !empty(PKG_BUILD_OPTIONS.avahi:Mpython)
+.if ${PKG_BUILD_OPTIONS.avahi:Mpython}
 .include "../../lang/python/application.mk"
 .endif
 
diff -r 5feed3d8db27 -r c0543dc23bb0 net/avahi/distinfo
--- a/net/avahi/distinfo        Tue Sep 29 10:46:18 2020 +0000
+++ b/net/avahi/distinfo        Tue Sep 29 10:56:56 2020 +0000
@@ -1,12 +1,13 @@
-$NetBSD: distinfo,v 1.17 2016/05/10 18:52:17 jperkin Exp $
+$NetBSD: distinfo,v 1.18 2020/09/29 10:56:56 prlw1 Exp $
 
-SHA1 (avahi-0.6.32.tar.gz) = 1c6d234058fd7883b3a4515e99216fdc8f71b223
-RMD160 (avahi-0.6.32.tar.gz) = d5ec03116938e0ce54e6ae9c2773e153d1a56523
-SHA512 (avahi-0.6.32.tar.gz) = 6f8d0a64292439cbb989c531a4ba2f25a53ee9cf7ad9df04dedf73149489a92612f3b5955e10aa4b1c76496c34b90ad75590e8aa49468249508267c1c8b899ee
-Size (avahi-0.6.32.tar.gz) = 1297169 bytes
+SHA1 (avahi-0.8.tar.gz) = 969a50ae18c8d8e2288435a75666dd076e69852a
+RMD160 (avahi-0.8.tar.gz) = f060e7afbc20accc6befbbe6776d3ca7956b4962
+SHA512 (avahi-0.8.tar.gz) = c6ba76feb6e92f70289f94b3bf12e5f5c66c11628ce0aeb3cadfb72c13a5d1a9bd56d71bdf3072627a76cd103b9b056d9131aa49ffe11fa334c24ab3b596c7de
+Size (avahi-0.8.tar.gz) = 1591458 bytes
 SHA1 (patch-aa) = 95b883bf14dd1852cdf0ea8a364c57717eebb03f
 SHA1 (patch-ab) = 1f482b2a2f9a9bc59c3b1e300bad2896e2cf7bd2
 SHA1 (patch-ah) = 4b3ffdb927daef8c939527fd5c5893f9f88b3ff3
 SHA1 (patch-ai) = 48c5fca5683323a30dc646e5eafb1834e7bedaeb
 SHA1 (patch-avahi-core_socket.c) = 503f05f77d95b6f73d933810371c53242d13058c
 SHA1 (patch-avahi-daemon_main.c) = 672be922ca7516a29d7eb1a409e78199b00ddfa2
+SHA1 (patch-configure) = 5d81097a4d089a8bd57122dc384a4ae795301b03
diff -r 5feed3d8db27 -r c0543dc23bb0 net/avahi/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/avahi/patches/patch-configure Tue Sep 29 10:56:56 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2020/09/29 10:56:56 prlw1 Exp $
+
+Strange hardcoded place to put a socket.
+
+--- configure.orig     2020-02-18 07:03:14.638650833 +0000
++++ configure
+@@ -24638,7 +24638,7 @@ _ACEOF
+ #
+ # Avahi runtime dir
+ #
+-avahi_runtime_dir="/run"
++avahi_runtime_dir="${localstatedir}/run"
+ avahi_socket="${avahi_runtime_dir}/avahi-daemon/socket"
+ 
+ 



Home | Main Index | Thread Index | Old Index