From e5ec7527e5742a53acae83d7c9b37fcb046922e6 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Wed, 21 Nov 2018 19:06:35 -0800 Subject: [PATCH] nss-mdns: update to 0.14.1. closes #5003 --- common/shlibs | 6 ++++++ srcpkgs/nss-mdns/template | 26 ++++++++++++++++++-------- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/common/shlibs b/common/shlibs index 7b44ef4262d..b11b55bdad3 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3334,3 +3334,9 @@ libdri2.so.1 libdri2-git-20140317_2 libpst.so.4 libpst-0.6.72_1 libhamlib.so.2 hamlib-3.3_1 libhamlib++.so.2 hamlib-3.3_1 +libnss_mdns_minimal.so.2 nss-mdns-0.14.1_1 +libnss_mdns4_minimal.so.2 nss-mdns-0.14.1_1 +libnss_mdns6_minimal.so.2 nss-mdns-0.14.1_1 +libnss_mdns.so.2 nss-mdns-0.14.1_1 +libnss_mdns4.so.2 nss-mdns-0.14.1_1 +libnss_mdns6.so.2 nss-mdns-0.14.1_1 diff --git a/srcpkgs/nss-mdns/template b/srcpkgs/nss-mdns/template index 84e3487e8e4..85ac1184609 100644 --- a/srcpkgs/nss-mdns/template +++ b/srcpkgs/nss-mdns/template @@ -1,14 +1,24 @@ # Template file for 'nss-mdns' pkgname=nss-mdns -version=0.10 -revision=5 +version=0.14.1 +revision=1 build_style=gnu-configure -configure_args="--enable-avahi --disable-lynx" -makedepends="avahi" +hostmakedepends="autoconf automake libtool pkg-config" depends="avahi" short_desc="NSS module for Multicast DNS name resolution" maintainer="Juan RP " -homepage="http://0pointer.de/lennart/projects/$pkgname" -license="LGPL-2.1" -distfiles="http://pkgs.fedoraproject.org/repo/pkgs/nss-mdns/${pkgname}-${version}.tar.gz/03938f17646efbb50aa70ba5f99f51d7/${pkgname}-${version}.tar.gz" -checksum=1e683c2e7c3921814706d62fbbd3e9cbf493a75fa00255e0e715508d8134fa6d +license="LGPL-2.1-or-later" +homepage="https://github.com/lathiat/nss-mdns" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=4fe54bffd20e410fc41382dc6c4708cdfa3a65f50c3753f262dc4c78fd864a6e + +case "$XBPS_TARGET_MACHINE" in + *-musl) + makedepends+="musl-nscd-devel" + broken="Uses glibc nss extensions" + ;; +esac + +pre_configure() { + autoreconf -fi +}