mDNSResponder: use /run; re-add /etc/nss_mdns.conf (removed accidentally).
This commit is contained in:
parent
d0f933e616
commit
91b9410a26
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mDNSResponder'
|
# Template file for 'mDNSResponder'
|
||||||
pkgname=mDNSResponder
|
pkgname=mDNSResponder
|
||||||
version=561.1.1
|
version=561.1.1
|
||||||
revision=3
|
revision=4
|
||||||
hostmakedepends="flex"
|
hostmakedepends="flex"
|
||||||
short_desc="Implements the Bonjour/Zeroconf protocol"
|
short_desc="Implements the Bonjour/Zeroconf protocol"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
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"
|
distfiles="http://opensource.apple.com/tarballs/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=217ca717149b999a34c568913e4721beef96ac7ab93db8a012e68ffe816530d9
|
checksum=217ca717149b999a34c568913e4721beef96ac7ab93db8a012e68ffe816530d9
|
||||||
|
|
||||||
|
conf_files="/etc/nss_mdns.conf"
|
||||||
conflicts="nss-mdns>=0"
|
conflicts="nss-mdns>=0"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i "s,cc ,$CC ,g" Clients/Makefile
|
sed -i "s,cc ,$CC ,g" Clients/Makefile
|
||||||
cd mDNSPosix
|
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
|
make os=linux HAVE_IPV6=1 CC=$CC LD="$CC -shared" CFLAGS_DEBUG="$CFLAGS" STRIP=echo
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
cd mDNSPosix
|
cd mDNSPosix
|
||||||
|
vconf nss_mdns.conf
|
||||||
vman nss_mdns.conf.5
|
vman nss_mdns.conf.5
|
||||||
vman libnss_mdns.8
|
vman libnss_mdns.8
|
||||||
for f in mdnsd dnsextd; do
|
for f in mdnsd dnsextd; do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue