summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/mDNSResponder/Manifest1
-rw-r--r--net-misc/mDNSResponder/files/dnsextd.conf.d12
-rw-r--r--net-misc/mDNSResponder/files/dnsextd.init.d36
-rw-r--r--net-misc/mDNSResponder/files/mDNSResponder-107.6-java.patch38
-rw-r--r--net-misc/mDNSResponder/files/mDNSResponder-bison3.patch32
-rw-r--r--net-misc/mDNSResponder/files/mDNSResponderPosix.conf23
-rw-r--r--net-misc/mDNSResponder/files/mDNSResponderPosix.conf.d2
-rw-r--r--net-misc/mDNSResponder/files/mDNSResponderPosix.init.d43
-rw-r--r--net-misc/mDNSResponder/files/mdnsd.init.d36
-rw-r--r--net-misc/mDNSResponder/mDNSResponder-320.10.80.ebuild141
-rw-r--r--net-misc/mDNSResponder/metadata.xml5
11 files changed, 0 insertions, 369 deletions
diff --git a/net-misc/mDNSResponder/Manifest b/net-misc/mDNSResponder/Manifest
deleted file mode 100644
index 1847d7d3..00000000
--- a/net-misc/mDNSResponder/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mDNSResponder-320.10.80.tar.gz 1882732 BLAKE2B 14c8b31a8f5862e5530327f7729db0d964ef2c1ec82de25725901c977a7f8d610830b780ae8456f3b11b296b35a716b4e6c113d9b0aad6ad397519dc012ac35d SHA512 dd66b97d60628bd9cb457f6bdfa7892ffb2138036fc7e26bf755d608258f058b2613aeb400096f4bcc3db2415423e3644099b4245fa01c1fc31345e069773a3e
diff --git a/net-misc/mDNSResponder/files/dnsextd.conf.d b/net-misc/mDNSResponder/files/dnsextd.conf.d
deleted file mode 100644
index 81507508..00000000
--- a/net-misc/mDNSResponder/files/dnsextd.conf.d
+++ /dev/null
@@ -1,12 +0,0 @@
-# Set the address of the BIND server that dnsextd will
-# contact and the zone that it will administer.
-# Make sure you have read the instructions at
-# http://www.dns-sd.org/ServerSetup.html
-# on how to configure the BIND server before
-# starting dnsextd.
-#DNSEXTD_NAMESERVER="127.0.0.1"
-#DNSEXTD_ZONE="zone.example.com."
-
-# Add extra arguments to dnsextd here.
-# See dnsextd -h for options.
-#DNSEXTD_ARGS="-k 'TSIG auth key'"
diff --git a/net-misc/mDNSResponder/files/dnsextd.init.d b/net-misc/mDNSResponder/files/dnsextd.init.d
deleted file mode 100644
index 531ddbb5..00000000
--- a/net-misc/mDNSResponder/files/dnsextd.init.d
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/files/dnsextd.init.d,v 1.3 2011/10/30 15:28:12 polynomial-c Exp $
-
-extra_started_commands="dump"
-
-depend() {
- after named
-}
-
-start() {
- if [ -z "${DNSEXTD_ZONE}" -o -z "${DNSEXTD_NAMESERVER}" ]; then
- eerror "You need to setup DNSEXTD_ZONE and DNSEXTD_NAMESERVER in /etc/conf.d/dnsextd first"
- return 1
- fi
-
- ebegin "Starting dnsextd"
- start-stop-daemon --start --quiet --user named \
- --pid /var/run/dnsextd.pid --exec /usr/sbin/dnsextd \
- -- -z "${DNSEXTD_ZONE}" -s "${DNSEXTD_NAMESERVER}" ${DNSEXTD_ARGS}
-
- eend $? "Failed to start dnsextd"
-}
-
-stop() {
- ebegin "Stopping dnsextd"
- start-stop-daemon --stop --quiet --pid /var/run/dnsextd.pid
- eend $? "Failed to stop dnsextd"
-}
-
-dump() {
- ebegin "Dumping dnsextd lease table"
- kill -INFO `cat /var/run/dnsextd.pid` >/dev/null 2>&1
- eend $? "Failed to dump dnsextd lease table"
-}
diff --git a/net-misc/mDNSResponder/files/mDNSResponder-107.6-java.patch b/net-misc/mDNSResponder/files/mDNSResponder-107.6-java.patch
deleted file mode 100644
index 1a4fec6d..00000000
--- a/net-misc/mDNSResponder/files/mDNSResponder-107.6-java.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -Nru mDNSResponder-107.6.vanilla/Clients/Java/nmakefile mDNSResponder-107.6/Clients/Java/nmakefile
---- mDNSResponder-107.6.vanilla/Clients/Java/nmakefile 2007-04-28 15:32:09.000000000 +0200
-+++ mDNSResponder-107.6/Clients/Java/nmakefile 2007-04-28 15:32:50.000000000 +0200
-@@ -94,7 +94,7 @@
- JAVASRC = .
- .SUFFIXES : .java
- {$(JAVASRC)}.java{$(BAOBJ)}.class:
-- $(JAVAC) -d $(BAOBJ) -classpath $(BAOBJ);$(DNS_SD) $<
-+ $(JAVAC) $(JAVACFLAGS) -d $(BAOBJ) -classpath $(BAOBJ);$(DNS_SD) $<
- {$(JAVASRC)}.java{$(SCOBJ)}.class:
-- $(JAVAC) -d $(SCOBJ) -classpath $(SCOBJ);$(DNS_SD) $<
-+ $(JAVAC) $(JAVACFLAGS) -d $(SCOBJ) -classpath $(SCOBJ);$(DNS_SD) $<
-
-diff -Nru mDNSResponder-107.6.vanilla/mDNSPosix/Makefile mDNSResponder-107.6/mDNSPosix/Makefile
---- mDNSResponder-107.6.vanilla/mDNSPosix/Makefile 2007-04-28 15:32:09.000000000 +0200
-+++ mDNSResponder-107.6/mDNSPosix/Makefile 2007-04-28 15:33:34.000000000 +0200
-@@ -585,7 +585,7 @@
- JAVAH = $(JDK)/bin/javah
- JAVADOC = $(JDK)/bin/javadoc
- JAR = $(JDK)/bin/jar
--JAVACFLAGS = $(CFLAGS) $(JAVACFLAGS_OS) -I$(JDK)/include
-+JAVACFLAGS_C = $(CFLAGS) $(JAVACFLAGS_OS) -I$(JDK)/include
-
- Java: setup $(BUILDDIR)/dns_sd.jar $(BUILDDIR)/libjdns_sd.$(LDSUFFIX)
- @echo "Java wrappers done"
-@@ -610,10 +610,10 @@
- $(JAR) -cf $@ -C $(OBJDIR) com
-
- $(BUILDDIR)/libjdns_sd.$(LDSUFFIX): $(JAVASRC)/JNISupport.c $(OBJDIR)/DNSSD.java.h setup libdns_sd
-- $(CC) -o $@ $< $(JAVACFLAGS) -I$(OBJDIR) -L$(BUILDDIR)
-+ $(CC) -o $@ $< $(JAVACFLAGS_C) -I$(OBJDIR) -L$(BUILDDIR)
-
- $(OBJDIR)/com/apple/dnssd/%.class: $(JAVASRC)/%.java
-- $(JAVAC) -d $(OBJDIR) -classpath $(OBJDIR) $<
-+ $(JAVAC) $(JAVACFLAGS) -d $(OBJDIR) -classpath $(OBJDIR) $<
-
- $(OBJDIR)/DNSSD.java.h: $(OBJDIR)/com/apple/dnssd/DNSSD.class
- $(JAVAH) -force -classpath $(OBJDIR) -o $@ \
diff --git a/net-misc/mDNSResponder/files/mDNSResponder-bison3.patch b/net-misc/mDNSResponder/files/mDNSResponder-bison3.patch
deleted file mode 100644
index a6a4a511..00000000
--- a/net-misc/mDNSResponder/files/mDNSResponder-bison3.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Taken from
-https://dev.openwrt.org/browser/packages/net/mdnsresponder/patches/002-newer-bison.patch?rev=38771
-
---- a/mDNSShared/dnsextd_parser.y
-+++ b/mDNSShared/dnsextd_parser.y
-@@ -15,6 +15,8 @@
- * limitations under the License.
- */
-
-+%parse-param { void *context }
-+
- %{
- #include <stdio.h>
- #include <stdlib.h>
-@@ -23,7 +25,7 @@
- #include "DebugServices.h"
- #include "dnsextd.h"
-
--void yyerror( const char* error );
-+void yyerror( void *context, const char* error );
- int yylex(void);
-
-
-@@ -378,7 +380,7 @@ int yywrap(void);
-
- extern int yylineno;
-
--void yyerror( const char *str )
-+void yyerror( void *context, const char *str )
- {
- fprintf( stderr,"%s:%d: error: %s\n", g_filename, yylineno, str );
- }
diff --git a/net-misc/mDNSResponder/files/mDNSResponderPosix.conf b/net-misc/mDNSResponder/files/mDNSResponderPosix.conf
deleted file mode 100644
index 639e7be2..00000000
--- a/net-misc/mDNSResponder/files/mDNSResponderPosix.conf
+++ /dev/null
@@ -1,23 +0,0 @@
-# See http://www.dns-sd.org/ServiceTypes.html for service types and parameters.
-# Format is:
-# name
-# service type
-# port
-# [params, name=value, one per line]
-# NOTE: At least as of 107.1 there is a bug where you cannot have a blank line
-# NOTE: before the first entry if there are any leading comments.
-#yourhost
-#_ssh._tcp.
-#22
-
-#yourhost
-#_http._tcp.
-#80
-#path=/
-
-#yourhost
-#_ftp._tcp.
-#21
-#u=yourusername
-#p=password
-#path=/somepath
diff --git a/net-misc/mDNSResponder/files/mDNSResponderPosix.conf.d b/net-misc/mDNSResponder/files/mDNSResponderPosix.conf.d
deleted file mode 100644
index 11b73228..00000000
--- a/net-misc/mDNSResponder/files/mDNSResponderPosix.conf.d
+++ /dev/null
@@ -1,2 +0,0 @@
-# Add extra arguments to mDNSResponderPosix here.
-#RESPONDER_ARGS=
diff --git a/net-misc/mDNSResponder/files/mDNSResponderPosix.init.d b/net-misc/mDNSResponder/files/mDNSResponderPosix.init.d
deleted file mode 100644
index 4a5e5f6e..00000000
--- a/net-misc/mDNSResponder/files/mDNSResponderPosix.init.d
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/files/mDNSResponderPosix.init.d,v 1.2 2011/10/23 18:15:50 polynomial-c Exp $
-
-extra_started_commands="reload debug"
-
-depend() {
- need mdnsd
-}
-
-start() {
- if [ ! -f "/etc/mDNSResponderPosix.conf" ]; then
- eerror "You need to setup /etc/mDNSResponderPosix.conf first"
- return 1
- fi
-
- ebegin "Starting mDNSResponderPosix"
- start-stop-daemon --start --quiet --pidfile /var/run/mDNSResponderPosix.pid \
- --exec /usr/sbin/mDNSResponderPosix \
- -- -b -f /etc/mDNSResponderPosix.conf -P /var/run/mDNSResponderPosix.pid \
- $RESPONDER_ARGS
-
- eend $? "Failed to start mDNSResponderPosix"
-}
-
-stop() {
- ebegin "Stopping mDNSResponderPosix"
- start-stop-daemon --stop --quiet --pidfile /var/run/mDNSResponderPosix.pid
- eend $? "Failed to stop mDNSResponderPosix"
-}
-
-reload() {
- ebegin "Reloading mDNSResponderPosix"
- kill -HUP `cat /var/run/mDNSResponderPosix.pid` >/dev/null 2>&1
- eend $? "Failed to reload mDNSResponderPosix"
-}
-
-debug() {
- ebegin "Changing verbosity of mDNSResponderPosix"
- kill -USR1 `cat /var/run/mDNSResponderPosix.pid` >/dev/null 2>&1
- eend $? "Failed to change verbosity"
-}
diff --git a/net-misc/mDNSResponder/files/mdnsd.init.d b/net-misc/mDNSResponder/files/mdnsd.init.d
deleted file mode 100644
index 41e07d52..00000000
--- a/net-misc/mDNSResponder/files/mdnsd.init.d
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/files/mdnsd.init.d,v 1.3 2011/10/23 18:15:50 polynomial-c Exp $
-
-extra_started_commands="reload dump"
-
-depend() {
- after net
-}
-
-start() {
- ebegin "Starting mdnsd"
- start-stop-daemon --start --quiet --pidfile /var/run/mdnsd.pid \
- --exec /usr/sbin/mdnsd
-
- eend $? "Failed to start mdnsd"
-}
-
-stop() {
- ebegin "Stopping mdnsd"
- start-stop-daemon --stop --quiet --pidfile /var/run/mdnsd.pid
- eend $? "Failed to stop mdnsd"
-}
-
-reload() {
- ebegin "Reloading mdnsd"
- kill -HUP `cat /var/run/mdnsd.pid` >/dev/null 2>&1
- eend $? "Failed to reload mdnsd"
-}
-
-dump() {
- ebegin "Dump mdnsd state to logs"
- kill -USR1 `cat /var/run/mdnsd.pid` >/dev/null 2>&1
- eend $? "Failed to dump mdnsd state"
-}
diff --git a/net-misc/mDNSResponder/mDNSResponder-320.10.80.ebuild b/net-misc/mDNSResponder/mDNSResponder-320.10.80.ebuild
deleted file mode 100644
index 5ca61248..00000000
--- a/net-misc/mDNSResponder/mDNSResponder-320.10.80.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/mDNSResponder-320.10.80.ebuild,v 1.2 2012/05/18 20:06:31 dilfridge Exp $
-
-EAPI=4
-
-inherit eutils base toolchain-funcs flag-o-matic java-pkg-opt-2
-
-DESCRIPTION="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/tarballs/${PN}/${P}.tar.gz"
-LICENSE="Apache-2.0 BSD"
-
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug doc"
-
-RDEPEND="!net-dns/avahi[mdnsresponder-compat]
- !sys-auth/nss-mdns
- java? ( >=virtual/jre-1.4 )"
-DEPEND="java? ( >=virtual/jdk-1.4 )
- sys-devel/bison
- sys-devel/flex"
-
-PATCHES=(
- "${FILESDIR}/${PN}-107.6-java.patch"
- "${FILESDIR}/${PN}-bison3.patch"
-)
-
-pkg_setup() {
- if use elibc_FreeBSD; then
- os=freebsd
- else
- os=linux
- fi
- java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
- java-pkg-opt-2_src_prepare
- base_src_prepare
- #Respect CFLAGS,LDFLAGS everywhere
- sed -i "/\$(CFLAGS_DEBUG)$/s: = : & ${CFLAGS} ${LDFLAGS} :" "${S}"/mDNSPosix/Makefile || die
- sed -i "s:cc:& ${CFLAGS} ${LDFLAGS} :" "${S}"/Clients/Makefile || die
-}
-
-mdnsmake() {
- local debug jdk
- use java && jdk="JDK=$(java-config -O)"
- if use debug; then
- debug='DEBUG=1'
- sed -e 's|LIBS = -L../mDNSPosix/build/prod/ -ldns_sd|LIBS = -L../mDNSPosix/build/debug/ -ldns_sd|g' ../Clients/Makefile || die "sed failed"
- fi
-
- einfo "Running emake " os="${os}" CC="$(tc-getCC)" LD="$(tc-getCC) -shared" \
- ${jdk} ${debug} LINKOPTS="${LDFLAGS}" \
- LOCALBASE="/usr" JAVACFLAGS="${JAVACFLAGS}" "$@"
- emake -j1 os="${os}" CC="$(tc-getCC)" LD="$(tc-getCC) -shared" \
- ${jdk} ${debug} LINKOPTS="${LDFLAGS}" \
- LOCALBASE="/usr" JAVACFLAGS="${JAVACFLAGS}" "$@"
-}
-
-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
- 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
- dosym libdns_sd.so /usr/$(get_libdir)/libdns_sd.so.1
- dosym libnss_mdns-0.2.so /usr/$(get_libdir)/libnss_mdns.so.2
-
- if use java ; then
- dolib "${S}"/mDNSPosix/build/${objdir}/libjdns_sd.so
- dosym libjdns_sd.so /usr/$(get_libdir)/libjdns_sd.so.1
- fi
-
- 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
-
- insinto /usr/include
- doins "${S}"/mDNSShared/dns_sd.h
-
- dodoc "${S}"/README.txt
-
- if use java; then
- 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
-}
-
-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/metadata.xml b/net-misc/mDNSResponder/metadata.xml
deleted file mode 100644
index 6f49eba8..00000000
--- a/net-misc/mDNSResponder/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>