mDNSResponder: use /run; re-add /etc/nss_mdns.conf (removed accidentally).

This commit is contained in:
Juan RP 2015-02-25 09:16:45 +01:00
parent d0f933e616
commit 91b9410a26

View File

@ -1,7 +1,7 @@
# Template file for 'mDNSResponder'
pkgname=mDNSResponder
version=561.1.1
revision=3
revision=4
hostmakedepends="flex"
short_desc="Implements the Bonjour/Zeroconf protocol"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -10,15 +10,18 @@ homepage="http://opensource.apple.com/"
distfiles="http://opensource.apple.com/tarballs/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=217ca717149b999a34c568913e4721beef96ac7ab93db8a012e68ffe816530d9
conf_files="/etc/nss_mdns.conf"
conflicts="nss-mdns>=0"
do_build() {
sed -i "s,cc ,$CC ,g" Clients/Makefile
cd mDNSPosix
sed -i 's,/var/run,/run,g' Makefile
make os=linux HAVE_IPV6=1 CC=$CC LD="$CC -shared" CFLAGS_DEBUG="$CFLAGS" STRIP=echo
}
do_install() {
cd mDNSPosix
vconf nss_mdns.conf
vman nss_mdns.conf.5
vman libnss_mdns.8
for f in mdnsd dnsextd; do