diff options
author | Simone Gotti <motaboy@gentoo.org> | 2005-02-06 18:22:01 +0000 |
---|---|---|
committer | Simone Gotti <motaboy@gentoo.org> | 2005-02-06 18:22:01 +0000 |
commit | c80305a4bc7d2de6f5f07d28c4a685d9b93dd2f9 (patch) | |
tree | 40a7fd03fbc7346f34229a595f5e9907f80ba609 /net-misc | |
parent | Stable on ppc64 (diff) | |
download | historical-c80305a4bc7d2de6f5f07d28c4a685d9b93dd2f9.tar.gz historical-c80305a4bc7d2de6f5f07d28c4a685d9b93dd2f9.tar.bz2 historical-c80305a4bc7d2de6f5f07d28c4a685d9b93dd2f9.zip |
Initial ebuild. mDNSResponder from Apple, needed by various programs like kdelibs-3.4. Closes bug #75046.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/mDNSResponder/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/mDNSResponder/Manifest | 5 | ||||
-rw-r--r-- | net-misc/mDNSResponder/files/digest-mDNSResponder-98 | 1 | ||||
-rw-r--r-- | net-misc/mDNSResponder/files/mDNSResponder-98-Makefiles.patch | 96 | ||||
-rw-r--r-- | net-misc/mDNSResponder/mDNSResponder-98.ebuild | 47 | ||||
-rw-r--r-- | net-misc/mDNSResponder/metadata.xml | 5 |
6 files changed, 165 insertions, 0 deletions
diff --git a/net-misc/mDNSResponder/ChangeLog b/net-misc/mDNSResponder/ChangeLog new file mode 100644 index 000000000000..916ce1f4542c --- /dev/null +++ b/net-misc/mDNSResponder/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-misc/mDNSResponder +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/ChangeLog,v 1.1 2005/02/06 18:22:01 motaboy Exp $ + +*mDNSResponder-98 (06 Feb 2005) + + 06 Feb 2005; Simone Gotti <motaboy@gentoo.org> +metadata.xml, + +files/mDNSResponder-98-Makefiles.patch, +mDNSResponder-98.ebuild: + Initial ebuild. mDNSResponder from Apple, needed by various programs like + kdelibs-3.4. Closes bug #75046. + diff --git a/net-misc/mDNSResponder/Manifest b/net-misc/mDNSResponder/Manifest new file mode 100644 index 000000000000..08b76271539a --- /dev/null +++ b/net-misc/mDNSResponder/Manifest @@ -0,0 +1,5 @@ +MD5 a4940bd9d19067fc0df2609f87599575 mDNSResponder-98.ebuild 1064 +MD5 7b3dbc9cf7dd081edc5c91bf04327faf ChangeLog 495 +MD5 1b6808bbd78c9161f8b7efb090d966f8 metadata.xml 162 +MD5 7087496865b0e264a209619124877965 files/mDNSResponder-98-Makefiles.patch 3631 +MD5 854ae89c0e0738fa68590659fe262309 files/digest-mDNSResponder-98 69 diff --git a/net-misc/mDNSResponder/files/digest-mDNSResponder-98 b/net-misc/mDNSResponder/files/digest-mDNSResponder-98 new file mode 100644 index 000000000000..34ba3f135c7e --- /dev/null +++ b/net-misc/mDNSResponder/files/digest-mDNSResponder-98 @@ -0,0 +1 @@ +MD5 26ddb6f2ed2c451704d26e80da5fdcb9 mDNSResponder-98.tar.gz 1369226 diff --git a/net-misc/mDNSResponder/files/mDNSResponder-98-Makefiles.patch b/net-misc/mDNSResponder/files/mDNSResponder-98-Makefiles.patch new file mode 100644 index 000000000000..eb55c145f041 --- /dev/null +++ b/net-misc/mDNSResponder/files/mDNSResponder-98-Makefiles.patch @@ -0,0 +1,96 @@ +--- mDNSResponder-98/mDNSPosix/Makefile.orig 2005-01-27 22:55:00.000000000 +0000 ++++ mDNSResponder-98/mDNSPosix/Makefile 2005-02-06 18:13:21.437292552 +0000 +@@ -369,7 +369,7 @@ + + all: setup Daemon libdns_sd Client Responder ProxyResponder Identify NetMonitor dnsextd $(OPTIONALTARG) + +-install: setup InstalledDaemon InstalledLib InstalledStartup InstalledManPages $(OPTINSTALL) ++install: setup InstalledDaemon InstalledLib InstalledManPages $(OPTINSTALL) + + # 'setup' sets up the build directory structure the way we want + setup: +@@ -418,36 +418,32 @@ + ############################################################################# + + # The Install targets place built stuff in their proper places +-InstalledDaemon: $(INSTBASE)/sbin/mdnsd ++InstalledDaemon: ${DESTDIR}/$(INSTBASE)/sbin/mdnsd + @echo $+ " installed" + +-InstalledLib: $(INSTBASE)/lib/libdns_sd.$(LDSUFFIX).$(LIBVERS) $(INSTBASE)/include/dns_sd.h ++InstalledLib: ${DESTDIR}/$(INSTBASE)/lib/libdns_sd.$(LDSUFFIX).$(LIBVERS) ${DESTDIR}/$(INSTBASE)/include/dns_sd.h + @echo $+ " installed" + +-InstalledStartup: $(STARTUPSCRIPTDIR)/$(STARTUPSCRIPTNAME) ++InstalledStartup: ${DESTDIR}/$(STARTUPSCRIPTDIR)/$(STARTUPSCRIPTNAME) + @echo $+ " installed" + +-InstalledNSS: $(NSSINSTPATH)/$(NSSLINKNAME) /etc/nss_mdns.conf $(MANPATH)/man5/nss_mdns.conf.5 $(MANPATH)/man8/libnss_mdns.8 ++InstalledNSS: ${DESTDIR}/$(NSSINSTPATH)/$(NSSLINKNAME) ${DESTDIR}/etc/nss_mdns.conf ${DESTDIR}/$(MANPATH)/man5/nss_mdns.conf.5 ${DESTDIR}/$(MANPATH)/man8/libnss_mdns.8 + @echo $+ " installed" + +-InstalledManPages: $(MANPATH)/man8/mdnsd.8 ++InstalledManPages: ${DESTDIR}/$(MANPATH)/man8/mdnsd.8 + @echo $+ " installed" + +-$(INSTBASE)/sbin/mdnsd: $(BUILDDIR)/mdnsd ++${DESTDIR}/$(INSTBASE)/sbin/mdnsd: $(BUILDDIR)/mdnsd + $(CP) $< $@ + +-$(INSTBASE)/lib/libdns_sd.$(LDSUFFIX).$(LIBVERS): $(BUILDDIR)/libdns_sd.$(LDSUFFIX) ++${DESTDIR}/$(INSTBASE)/lib/libdns_sd.$(LDSUFFIX).$(LIBVERS): $(BUILDDIR)/libdns_sd.$(LDSUFFIX) + $(CP) $< $@ +- $(LN) $@ $(INSTBASE)/lib/libdns_sd.$(LDSUFFIX) +-ifdef LDCONFIG +- # -m means 'merge into existing database', -R means 'rescan directories' +- $(LDCONFIG) -mR +-endif ++ $(LN) $@ ${DESTDIR}/$(INSTBASE)/lib/libdns_sd.$(LDSUFFIX) + +-$(INSTBASE)/include/dns_sd.h: $(SHAREDDIR)/dns_sd.h ++${DESTDIR}/$(INSTBASE)/include/dns_sd.h: $(SHAREDDIR)/dns_sd.h + $(CP) $< $@ + +-$(STARTUPSCRIPTDIR)/$(STARTUPSCRIPTNAME): mdnsd.sh $(STARTUPSCRIPTDIR) ++${DESTDIR}/$(STARTUPSCRIPTDIR)/$(STARTUPSCRIPTNAME): mdnsd.sh $(STARTUPSCRIPTDIR) + $(CP) $< $@ + chmod ugo+x $@ + ifdef RUNLEVELSCRIPTSDIR +@@ -463,31 +459,26 @@ + endif + endif + +-$(NSSINSTPATH)/$(NSSLINKNAME): $(NSSINSTPATH)/$(NSSLIBFILE) ++${DESTDIR}/$(NSSINSTPATH)/$(NSSLINKNAME): ${DESTDIR}/$(NSSINSTPATH)/$(NSSLIBFILE) + $(LN) $< $@ +- ldconfig + +-$(NSSINSTPATH)/$(NSSLIBFILE): $(BUILDDIR)/$(NSSLIBFILE) ++${DESTDIR}/$(NSSINSTPATH)/$(NSSLIBFILE): $(BUILDDIR)/$(NSSLIBFILE) + $(CP) $< $@ + chmod 444 $@ + +-/etc/nss_mdns.conf: nss_mdns.conf ++${DESTDIR}/etc/nss_mdns.conf: nss_mdns.conf + $(CP) $< $@ + chmod 444 $@ +- # Check the nsswitch.conf file. +- # If 'mdns' does not already appear on the "hosts:" line, then add it right before 'dns' +- cp -f /etc/nsswitch.conf /etc/nsswitch.conf.pre-mdns +- sed -e '/mdns/!s/^\(hosts:.*\)dns\(.*\)/\1mdns dns\2/' /etc/nsswitch.conf.pre-mdns > /etc/nsswitch.conf + +-$(MANPATH)/man5/%.5: %.5 ++${DESTDIR}/$(MANPATH)/man5/%.5: %.5 + cp $< $@ + chmod 444 $@ + +-$(MANPATH)/man8/%.8: %.8 ++${DESTDIR}/$(MANPATH)/man8/%.8: %.8 + cp $< $@ + chmod 444 $@ + +-$(MANPATH)/man8/mdnsd.8: $(SHAREDDIR)/mDNSResponder.8 ++${DESTDIR}/$(MANPATH)/man8/mdnsd.8: $(SHAREDDIR)/mDNSResponder.8 + cp $< $@ + chmod 444 $@ + diff --git a/net-misc/mDNSResponder/mDNSResponder-98.ebuild b/net-misc/mDNSResponder/mDNSResponder-98.ebuild new file mode 100644 index 000000000000..5bb91caf9472 --- /dev/null +++ b/net-misc/mDNSResponder/mDNSResponder-98.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/mDNSResponder-98.ebuild,v 1.1 2005/02/06 18:22:01 motaboy Exp $ + +inherit eutils + +DESCRIPTION="The mDNSResponder project is a component of Rendezvous, Apple's ease-of-use IP networking initiative." +HOMEPAGE="http://developer.apple.com/macosx/rendezvous/" +SRC_URI="http://helios.et.put.poznan.pl/~jstachow/pub/${P}.tar.gz" + +LICENSE="APSL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="virtual/libc" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-Makefiles.patch +} + +src_compile() { + cd ${S}/mDNSPosix + make os=linux +} + +src_install() { + cd ${S}/mDNSPosix + dodir /usr/sbin + dodir /usr/bin + dodir /usr/lib + dodir /usr/include + dodir /lib/ + dodir /etc/ + dodir /usr/share/man/man5/ + dodir /usr/share/man/man8/ + + make DESTDIR=${D} os=linux install + + # Install init scripts + insinto /etc/init.d + newins ${FILESDIR}/mdnsd.init.d mdnsd + + # Fix the perms on the init scripts + fperms a+x /etc/init.d/mdnsd +} diff --git a/net-misc/mDNSResponder/metadata.xml b/net-misc/mDNSResponder/metadata.xml new file mode 100644 index 000000000000..b435a8440ccd --- /dev/null +++ b/net-misc/mDNSResponder/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kde-other</herd> +</pkgmetadata> |