From 79794c464394a762ff4a9dc2ee64b89df9328c76 Mon Sep 17 00:00:00 2001 From: Carsten Lohrke Date: Sat, 28 Apr 2007 12:43:13 +0000 Subject: [PATCH] And another round, bug #176348. Package-Manager: portage-2.1.2.5 --- net-misc/mDNSResponder/ChangeLog | 9 +- net-misc/mDNSResponder/Manifest | 36 ++---- .../files/digest-mDNSResponder-107.6-r1 | 3 - .../files/digest-mDNSResponder-107.6-r2 | 3 - ...er-107.6 => digest-mDNSResponder-107.6-r3} | 0 .../mDNSResponder-107.6-r1.ebuild | 112 ----------------- ...2.ebuild => mDNSResponder-107.6-r3.ebuild} | 10 +- .../mDNSResponder/mDNSResponder-107.6.ebuild | 116 ------------------ 8 files changed, 25 insertions(+), 264 deletions(-) delete mode 100644 net-misc/mDNSResponder/files/digest-mDNSResponder-107.6-r1 delete mode 100644 net-misc/mDNSResponder/files/digest-mDNSResponder-107.6-r2 rename net-misc/mDNSResponder/files/{digest-mDNSResponder-107.6 => digest-mDNSResponder-107.6-r3} (100%) delete mode 100644 net-misc/mDNSResponder/mDNSResponder-107.6-r1.ebuild rename net-misc/mDNSResponder/{mDNSResponder-107.6-r2.ebuild => mDNSResponder-107.6-r3.ebuild} (89%) delete mode 100644 net-misc/mDNSResponder/mDNSResponder-107.6.ebuild diff --git a/net-misc/mDNSResponder/ChangeLog b/net-misc/mDNSResponder/ChangeLog index 5a4bdc3844af..73da55c28cda 100644 --- a/net-misc/mDNSResponder/ChangeLog +++ b/net-misc/mDNSResponder/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/mDNSResponder # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/ChangeLog,v 1.30 2007/04/28 10:03:06 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/ChangeLog,v 1.31 2007/04/28 12:43:13 carlo Exp $ + +*mDNSResponder-107.6-r3 (28 Apr 2007) + + 28 Apr 2007; Carsten Lohrke + -mDNSResponder-107.6.ebuild, -mDNSResponder-107.6-r1.ebuild, + -mDNSResponder-107.6-r2.ebuild, +mDNSResponder-107.6-r3.ebuild: + And another round, bug #176348. *mDNSResponder-107.6-r2 (28 Apr 2007) diff --git a/net-misc/mDNSResponder/Manifest b/net-misc/mDNSResponder/Manifest index a026f0b664bc..1e0dc8095096 100644 --- a/net-misc/mDNSResponder/Manifest +++ b/net-misc/mDNSResponder/Manifest @@ -50,26 +50,18 @@ EBUILD mDNSResponder-107.5.ebuild 2923 RMD160 f7486fc0710ce1ab906f2b14893c0f61cc MD5 9ed5a855642c47c0a3a80386c4cf24ef mDNSResponder-107.5.ebuild 2923 RMD160 f7486fc0710ce1ab906f2b14893c0f61ccc3d729 mDNSResponder-107.5.ebuild 2923 SHA256 6c11d8f790c87179fb321171728dc7cd3ea1db67f1c1661672315a929253aa1e mDNSResponder-107.5.ebuild 2923 -EBUILD mDNSResponder-107.6-r1.ebuild 3266 RMD160 05f22674b1901c3a807725d33da03d60eb80476f SHA1 c283bcede1f4b6f3fc672af382982289594000d2 SHA256 0d5a2e34d67d88c0d8cf1d124a7a95201c907991980b06e9e08843b83c4a79ff -MD5 2e8cd6d5cee578061180478aefc1199b mDNSResponder-107.6-r1.ebuild 3266 -RMD160 05f22674b1901c3a807725d33da03d60eb80476f mDNSResponder-107.6-r1.ebuild 3266 -SHA256 0d5a2e34d67d88c0d8cf1d124a7a95201c907991980b06e9e08843b83c4a79ff mDNSResponder-107.6-r1.ebuild 3266 -EBUILD mDNSResponder-107.6-r2.ebuild 3321 RMD160 4de5397a20b0cfa8508dccee5e44783d0ea95fc0 SHA1 0517a1b12f2703c51ec734b77ed59a4bae9eb400 SHA256 5685c16d7f918d10990e91ee385c87993207de5ca5e03146daf62468f20bb066 -MD5 d8991d83f03397aa29aa10673f2a47a6 mDNSResponder-107.6-r2.ebuild 3321 -RMD160 4de5397a20b0cfa8508dccee5e44783d0ea95fc0 mDNSResponder-107.6-r2.ebuild 3321 -SHA256 5685c16d7f918d10990e91ee385c87993207de5ca5e03146daf62468f20bb066 mDNSResponder-107.6-r2.ebuild 3321 -EBUILD mDNSResponder-107.6.ebuild 3299 RMD160 b31fb590a9d992ca2ac7338ff92142797f3e82f8 SHA1 a7c6a57c7d2a0c6b3b928eb17d62ad0b0fbda8d6 SHA256 9f3a8172ac57fcbf539f1358f204399d4a2ea9e02c8524a49b631935f81e3c68 -MD5 30b210f30655aae72145be893c1fd1f1 mDNSResponder-107.6.ebuild 3299 -RMD160 b31fb590a9d992ca2ac7338ff92142797f3e82f8 mDNSResponder-107.6.ebuild 3299 -SHA256 9f3a8172ac57fcbf539f1358f204399d4a2ea9e02c8524a49b631935f81e3c68 mDNSResponder-107.6.ebuild 3299 +EBUILD mDNSResponder-107.6-r3.ebuild 3435 RMD160 1deca974432e1b74f86bf28ece7c2b47c5a069ff SHA1 17858eeb8046464c31e98e35a94df6d5a06650ec SHA256 3fde74f734f39298583e84703bc3c0bde801ef678d5791db0c48a8803172e145 +MD5 2e514de0a96348036e405d5695d785c7 mDNSResponder-107.6-r3.ebuild 3435 +RMD160 1deca974432e1b74f86bf28ece7c2b47c5a069ff mDNSResponder-107.6-r3.ebuild 3435 +SHA256 3fde74f734f39298583e84703bc3c0bde801ef678d5791db0c48a8803172e145 mDNSResponder-107.6-r3.ebuild 3435 EBUILD mDNSResponder-98.ebuild 1012 RMD160 bfe529d833974ff31298b8370f93048b0d49e979 SHA1 18b31b6e4ba9713778320cbe39040502491916ad SHA256 10e1886c91d99d739771aaad0d936a3209e07e34b4562586f308a53504858d8e MD5 f3ee9315f1c612f51b83cfa9def9df5e mDNSResponder-98.ebuild 1012 RMD160 bfe529d833974ff31298b8370f93048b0d49e979 mDNSResponder-98.ebuild 1012 SHA256 10e1886c91d99d739771aaad0d936a3209e07e34b4562586f308a53504858d8e mDNSResponder-98.ebuild 1012 -MISC ChangeLog 4540 RMD160 f4540c28a9abddaac8969b4f83148dce069c1d71 SHA1 e59f3bc4f30f74803bd5cb0bf594adffa9812871 SHA256 928ca3d5e05e040c8d7c88cc94e2037cf009d8c52fa7ab94b91480f41b320b4b -MD5 26bec7d6af6c68d250cb112a58157daa ChangeLog 4540 -RMD160 f4540c28a9abddaac8969b4f83148dce069c1d71 ChangeLog 4540 -SHA256 928ca3d5e05e040c8d7c88cc94e2037cf009d8c52fa7ab94b91480f41b320b4b ChangeLog 4540 +MISC ChangeLog 4792 RMD160 6fa5396e9c26b59dd019d02ab21d40e711a7e7f1 SHA1 ea81d316814669040ee111228827b7ffaa873bc2 SHA256 206226d97bac6bcbb2f1882f086ddec2de32555e33fb8d83961b2d6f19b00598 +MD5 af387b0ce002c2e75b47be46be49d819 ChangeLog 4792 +RMD160 6fa5396e9c26b59dd019d02ab21d40e711a7e7f1 ChangeLog 4792 +SHA256 206226d97bac6bcbb2f1882f086ddec2de32555e33fb8d83961b2d6f19b00598 ChangeLog 4792 MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156 @@ -80,15 +72,9 @@ SHA256 41f4cf29d74c7713a1ce6dc791412c2cfebc5209f9784322a71ad998cc610ddb files/di MD5 44a7177053751f549b8ee2422d103fb0 files/digest-mDNSResponder-107.5 262 RMD160 bfa8d7cbbcbae1df6b1895083bc69a2cc04f6f32 files/digest-mDNSResponder-107.5 262 SHA256 e8a669ddfb3bd95be4aaaaf176fbcf89b933010cf6ff9e8c11c86250770e1376 files/digest-mDNSResponder-107.5 262 -MD5 e5f35be016ae60995be2e44a68de8ec3 files/digest-mDNSResponder-107.6 262 -RMD160 87a9c5109eda62dcff565fe52c7b44581024502e files/digest-mDNSResponder-107.6 262 -SHA256 99dffdd9ce28636bc59575f11155e139590ad3711968707b50cdd3509fd6d9a0 files/digest-mDNSResponder-107.6 262 -MD5 e5f35be016ae60995be2e44a68de8ec3 files/digest-mDNSResponder-107.6-r1 262 -RMD160 87a9c5109eda62dcff565fe52c7b44581024502e files/digest-mDNSResponder-107.6-r1 262 -SHA256 99dffdd9ce28636bc59575f11155e139590ad3711968707b50cdd3509fd6d9a0 files/digest-mDNSResponder-107.6-r1 262 -MD5 e5f35be016ae60995be2e44a68de8ec3 files/digest-mDNSResponder-107.6-r2 262 -RMD160 87a9c5109eda62dcff565fe52c7b44581024502e files/digest-mDNSResponder-107.6-r2 262 -SHA256 99dffdd9ce28636bc59575f11155e139590ad3711968707b50cdd3509fd6d9a0 files/digest-mDNSResponder-107.6-r2 262 +MD5 e5f35be016ae60995be2e44a68de8ec3 files/digest-mDNSResponder-107.6-r3 262 +RMD160 87a9c5109eda62dcff565fe52c7b44581024502e files/digest-mDNSResponder-107.6-r3 262 +SHA256 99dffdd9ce28636bc59575f11155e139590ad3711968707b50cdd3509fd6d9a0 files/digest-mDNSResponder-107.6-r3 262 MD5 a16f554d629c185fe9bded447743110b files/digest-mDNSResponder-98 253 RMD160 34b39264e2382110fda49cc7fdab8f1e1a3ae545 files/digest-mDNSResponder-98 253 SHA256 22ba0f9d01e45330fa7992e0f29673c458c6df6f3881764fc07e04bf09d56337 files/digest-mDNSResponder-98 253 diff --git a/net-misc/mDNSResponder/files/digest-mDNSResponder-107.6-r1 b/net-misc/mDNSResponder/files/digest-mDNSResponder-107.6-r1 deleted file mode 100644 index dc5573b1daf0..000000000000 --- a/net-misc/mDNSResponder/files/digest-mDNSResponder-107.6-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 aa4e0e5c57f94489463ea6576591ce9d mDNSResponder-107.6.tar.gz 1441339 -RMD160 68d9ef5949839a950d673c66cc8d0e5bd0348fbb mDNSResponder-107.6.tar.gz 1441339 -SHA256 43d427d3d5c78aef57a49898def469cc4cae28190462205368be1f3a0fcc0165 mDNSResponder-107.6.tar.gz 1441339 diff --git a/net-misc/mDNSResponder/files/digest-mDNSResponder-107.6-r2 b/net-misc/mDNSResponder/files/digest-mDNSResponder-107.6-r2 deleted file mode 100644 index dc5573b1daf0..000000000000 --- a/net-misc/mDNSResponder/files/digest-mDNSResponder-107.6-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 aa4e0e5c57f94489463ea6576591ce9d mDNSResponder-107.6.tar.gz 1441339 -RMD160 68d9ef5949839a950d673c66cc8d0e5bd0348fbb mDNSResponder-107.6.tar.gz 1441339 -SHA256 43d427d3d5c78aef57a49898def469cc4cae28190462205368be1f3a0fcc0165 mDNSResponder-107.6.tar.gz 1441339 diff --git a/net-misc/mDNSResponder/files/digest-mDNSResponder-107.6 b/net-misc/mDNSResponder/files/digest-mDNSResponder-107.6-r3 similarity index 100% rename from net-misc/mDNSResponder/files/digest-mDNSResponder-107.6 rename to net-misc/mDNSResponder/files/digest-mDNSResponder-107.6-r3 diff --git a/net-misc/mDNSResponder/mDNSResponder-107.6-r1.ebuild b/net-misc/mDNSResponder/mDNSResponder-107.6-r1.ebuild deleted file mode 100644 index a73ec6edbc44..000000000000 --- a/net-misc/mDNSResponder/mDNSResponder-107.6-r1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/mDNSResponder-107.6-r1.ebuild,v 1.1 2007/04/28 09:46:37 carlo Exp $ - -inherit eutils base toolchain-funcs flag-o-matic java-utils-2 - -DESCRIPTION="The mDNSResponder project is a component of Bonjour, Apple's initiative for zero-configuration networking." -HOMEPAGE="http://developer.apple.com/networking/bonjour/index.html" -SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/${P}.tar.gz" -LICENSE="APSL-2 BSD" - -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug doc ipv6 java" - -DEPEND="!sys-auth/nss-mdns - java? ( >=virtual/jdk-1.5 )" -RDEPEND="!sys-auth/nss-mdns - java? ( >=virtual/jre-1.5 )" - -PATCHES="${FILESDIR}/mDNSResponder-107.6-Makefiles.diff" -pkg_setup() { - if use elibc_FreeBSD; then - os=freebsd - else - os=linux - fi -} - -mdnsmake() { - local debug jdk __ipv6 - use java && jdk="JDK=$(java-config -O)" - use debug && debug='DEBUG=1' - use ipv6 && __ipv6='HAVE_IPV6=1' || __ipv6='HAVE_IPV6=0' - einfo "Running emake " os="${os}" CC="$(tc-getCC)" LD="$(tc-getCC) -shared" \ - ${jdk} ${debug} OPT_CFLAGS="${CFLAGS}" LIBFLAGS="${LDFLAGS}" \ - LOCALBASE="/usr" "$@" - emake -j1 os="${os}" CC="$(tc-getCC)" LD="$(tc-getCC) -shared" \ - ${jdk} ${debug} OPT_CFLAGS="${CFLAGS}" LIBFLAGS="${LDFLAGS}" \ - LOCALBASE="/usr" ${__ipv6} "$@" -} - -src_compile() { - cd ${S}/mDNSPosix - mdnsmake || die "make failed" - - if use java; then - mdnsmake Java || die "make mDNSPosix java failed" - if use doc ; then - mdnsmake JavaDoc || die "make mDNSPosix java doc failed" - fi - fi -} - -src_install() { - cd "${S}/mDNSPosix" - - dodir /usr/sbin - dodir /usr/lib - dodir /usr/include - dodir /lib - dodir /etc - dodir /usr/share/man/man5 - dodir /usr/share/man/man8 - - local debug - local objdir="prod" - if use debug; then - debug="DEBUG=1" - objdir=debug - fi - - dosbin ${S}/mDNSPosix/build/${objdir}/dnsextd - dosbin ${S}/mDNSPosix/build/${objdir}/mDNSResponderPosix - dosbin ${S}/mDNSPosix/build/${objdir}/mDNSNetMonitor - - dobin ${S}/Clients/build/dns-sd - dobin ${S}/mDNSPosix/build/${objdir}/mDNSProxyResponderPosix - dobin ${S}/mDNSPosix/build/${objdir}/mDNSIdentify - - dolib ${S}/mDNSPosix/build/${objdir}/libdns_sd.so - dolib ${S}/mDNSPosix/build/${objdir}/libnss_mdns-0.2.so - dosym libdns_sd.so /usr/$(get_libdir)/libdns_sd.so.1 - dosym libnss_mdns-0.2.so /usr/$(get_libdir)/libnss_mdns.so.2 - - newinitd ${FILESDIR}/mdnsd.init.d mdnsd - newinitd ${FILESDIR}/mDNSResponderPosix.init.d mDNSResponderPosix - newconfd ${FILESDIR}/mDNSResponderPosix.conf.d mDNSResponderPosix - newinitd ${FILESDIR}/dnsextd.init.d dnsextd - newconfd ${FILESDIR}/dnsextd.conf.d dnsextd - - insinto /etc - doins ${FILESDIR}/mDNSResponderPosix.conf - - dodoc ${S}/README.txt - - if use java; then - java-pkg_dojar ${S}/mDNSPosix/build/prod/dns_sd.jar - java-pkg_doso ${S}/mDNSPosix/build/prod/libjdns_sd.so - use doc && java-pkg_dojavadoc ${S}/mDNSPosix/build/prod - fi - -} - -pkg_postinst() { - echo - elog "To enable multicast dns lookups for applications" - elog "that are not multicast dns aware, edit the 'hosts:'" - elog "line in /etc/nsswitch.conf to include 'mdns', e.g.:" - elog "hosts: files mdns dns" - echo -} diff --git a/net-misc/mDNSResponder/mDNSResponder-107.6-r2.ebuild b/net-misc/mDNSResponder/mDNSResponder-107.6-r3.ebuild similarity index 89% rename from net-misc/mDNSResponder/mDNSResponder-107.6-r2.ebuild rename to net-misc/mDNSResponder/mDNSResponder-107.6-r3.ebuild index 9aad2bc488b4..098d4ab68f49 100644 --- a/net-misc/mDNSResponder/mDNSResponder-107.6-r2.ebuild +++ b/net-misc/mDNSResponder/mDNSResponder-107.6-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/mDNSResponder-107.6-r2.ebuild,v 1.1 2007/04/28 10:03:06 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/mDNSResponder-107.6-r3.ebuild,v 1.1 2007/04/28 12:43:13 carlo Exp $ inherit eutils base toolchain-funcs flag-o-matic java-utils-2 @@ -73,10 +73,12 @@ src_install() { dosbin ${S}/mDNSPosix/build/${objdir}/dnsextd dosbin ${S}/mDNSPosix/build/${objdir}/mDNSResponderPosix dosbin ${S}/mDNSPosix/build/${objdir}/mDNSNetMonitor + dosbin ${S}/mDNSPosix/build/${objdir}/mdnsd dobin ${S}/Clients/build/dns-sd dobin ${S}/mDNSPosix/build/${objdir}/mDNSProxyResponderPosix dobin ${S}/mDNSPosix/build/${objdir}/mDNSIdentify + dobin ${S}/mDNSPosix/build/${objdir}/mDNSClientPosix dolib ${S}/mDNSPosix/build/${objdir}/libdns_sd.so dolib ${S}/mDNSPosix/build/${objdir}/libnss_mdns-0.2.so @@ -98,9 +100,9 @@ src_install() { dodoc ${S}/README.txt if use java; then - java-pkg_dojar ${S}/mDNSPosix/build/prod/dns_sd.jar - java-pkg_doso ${S}/mDNSPosix/build/prod/libjdns_sd.so - use doc && java-pkg_dojavadoc ${S}/mDNSPosix/build/prod + java-pkg_dojar ${S}/mDNSPosix/build/${objdir}/dns_sd.jar + java-pkg_doso ${S}/mDNSPosix/build/${objdir}/libjdns_sd.so + use doc && java-pkg_dojavadoc ${S}/mDNSPosix/build/${objdir} fi } diff --git a/net-misc/mDNSResponder/mDNSResponder-107.6.ebuild b/net-misc/mDNSResponder/mDNSResponder-107.6.ebuild deleted file mode 100644 index 8425482cdb11..000000000000 --- a/net-misc/mDNSResponder/mDNSResponder-107.6.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/mDNSResponder-107.6.ebuild,v 1.1 2007/04/27 19:48:15 carlo Exp $ - -inherit eutils base toolchain-funcs flag-o-matic java-utils-2 - -DESCRIPTION="The mDNSResponder project is a component of Bonjour, Apple's initiative for zero-configuration networking." -HOMEPAGE="http://developer.apple.com/networking/bonjour/index.html" -SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/${P}.tar.gz" -LICENSE="APSL-2 BSD" - -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug doc ipv6 java" - -DEPEND="!sys-auth/nss-mdns - java? ( >=virtual/jdk-1.5 )" -RDEPEND="!sys-auth/nss-mdns - java? ( >=virtual/jre-1.5 )" - -PATCHES="${FILESDIR}/mDNSResponder-107.6-Makefiles.diff" -pkg_setup() { - if use elibc_FreeBSD; then - os=freebsd - else - os=linux - fi -} - -mdnsmake() { - local debug jdk __ipv6 - use java && jdk="JDK=$(java-config -O)" - use debug && debug='DEBUG=1' - use ipv6 && __ipv6='HAVE_IPV6=1' || __ipv6='HAVE_IPV6=0' - einfo "Running emake " os="${os}" CC="$(tc-getCC)" LD="$(tc-getCC) -shared" \ - ${jdk} ${debug} OPT_CFLAGS="${CFLAGS}" LIBFLAGS="${LDFLAGS}" \ - LOCALBASE="/usr" "$@" - emake -j1 os="${os}" CC="$(tc-getCC)" LD="$(tc-getCC) -shared" \ - ${jdk} ${debug} OPT_CFLAGS="${CFLAGS}" LIBFLAGS="${LDFLAGS}" \ - LOCALBASE="/usr" ${__ipv6} "$@" -} - -src_compile() { - cd ${S}/mDNSPosix - mdnsmake || die "make failed" - - if use java; then - mdnsmake Java || die "make mDNSPosix java failed" - if use doc ; then - mdnsmake JavaDoc || die "make mDNSPosix java doc failed" - fi - fi -} - -src_install() { - cd "${S}/mDNSPosix" - - dodir /usr/sbin - dodir /usr/lib - dodir /usr/include - dodir /lib - dodir /etc - dodir /usr/share/man/man5 - dodir /usr/share/man/man8 - - local debug - local objdir="prod" - if use debug; then - debug="DEBUG=1" - objdir=debug - fi - - #emake -j1 LOCALBASE="/usr" DESTDIR="${D}" os=${os} ${debug} install || die "install failed" - - dosbin ${S}/mDNSPosix/build/${objdir}/dnsextd - dosbin ${S}/mDNSPosix/build/${objdir}/mDNSResponderPosix - dosbin ${S}/mDNSPosix/build/${objdir}/mDNSNetMonitor - - dobin ${S}/Clients/build/dns-sd - dobin ${S}/mDNSPosix/build/${objdir}/mDNSProxyResponderPosix - dobin ${S}/mDNSPosix/build/${objdir}/mDNSIdentify - - newinitd ${FILESDIR}/mdnsd.init.d mdnsd - newinitd ${FILESDIR}/mDNSResponderPosix.init.d mDNSResponderPosix - newconfd ${FILESDIR}/mDNSResponderPosix.conf.d mDNSResponderPosix - newinitd ${FILESDIR}/dnsextd.init.d dnsextd - newconfd ${FILESDIR}/dnsextd.conf.d dnsextd - - insinto /etc - doins ${FILESDIR}/mDNSResponderPosix.conf - - dodoc ${S}/README.txt - - # Fix multilib-strictness - local libdir=$(get_libdir) - if [[ $libdir != lib ]] ; then - mv ${D}/lib ${D}/$(get_libdir) - mv ${D}/usr/lib ${D}/usr/$(get_libdir) - fi - - if use java; then - java-pkg_dojar ${S}/mDNSPosix/build/prod/dns_sd.jar - java-pkg_doso ${S}/mDNSPosix/build/prod/libjdns_sd.so - use doc && java-pkg_dojavadoc ${S}/mDNSPosix/build/prod - fi - -} - -pkg_postinst() { - echo - elog "To enable multicast dns lookups for applications" - elog "that are not multicast dns aware, edit the 'hosts:'" - elog "line in /etc/nsswitch.conf to include 'mdns', e.g.:" - elog "hosts: files mdns dns" - echo -} -- 2.26.2