Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 16 years ago
parent
commit
89226c0520
2 changed files with 20 additions and 39 deletions
  1. +18
    -37
      package/base/mdnsresponder/dont-install-initscript.patch
  2. +2
    -2
      package/base/mdnsresponder/mdnsresponder.desc

+ 18
- 37
package/base/mdnsresponder/dont-install-initscript.patch

@ -1,39 +1,20 @@
--- mDNSResponder-107/mDNSPosix/Makefile~ 2005-04-20 22:12:17.000000000 +0200
+++ mDNSResponder-107/mDNSPosix/Makefile 2007-01-03 01:28:43.000000000 +0100
@@ -450,21 +450,21 @@
$(INSTBASE)/include/dns_sd.h: $(SHAREDDIR)/dns_sd.h
$(CP) $< $@
--- ./mDNSPosix/Makefile.orig 2008-10-25 11:48:46.000000000 +0200
+++ ./mDNSPosix/Makefile 2008-10-25 12:00:04.000000000 +0200
@@ -437,7 +437,7 @@
all: setup Daemon libdns_sd Clients SAClient SAResponder SAProxyResponder Identify NetMonitor dnsextd $(OPTIONALTARG)
-install: setup InstalledDaemon InstalledStartup InstalledLib InstalledManPages InstalledClients $(OPTINSTALL)
+install: setup InstalledDaemon InstalledLib InstalledManPages InstalledClients $(OPTINSTALL)
-$(STARTUPSCRIPTDIR)/$(STARTUPSCRIPTNAME): mdnsd.sh $(STARTUPSCRIPTDIR)
- $(CP) $< $@
- chmod ugo+x $@
-ifdef RUNLEVELSCRIPTSDIR
-ifeq ($(wildcard $(RUNLEVELSCRIPTSDIR)/runlevels/default), $(RUNLEVELSCRIPTSDIR)/runlevels/default)
- $(LN) $@ $(RUNLEVELSCRIPTSDIR)/runlevels/default/mdns
-else
- $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc2.d/S52mdns
- $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc3.d/S52mdns
- $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc4.d/S52mdns
- $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc5.d/S52mdns
- $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc0.d/K16mdns
- $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc6.d/K16mdns
-endif
-endif
+$(STARTUPSCRIPTDIR)/$(STARTUPSCRIPTNAME): mdnsd.sh $(STARTUPSCRIPTDIR)
+# $(CP) $< $@
+# chmod ugo+x $@
+# ifdef RUNLEVELSCRIPTSDIR
+# ifeq ($(wildcard $(RUNLEVELSCRIPTSDIR)/runlevels/default), $(RUNLEVELSCRIPTSDIR)/runlevels/default)
+# $(LN) $@ $(RUNLEVELSCRIPTSDIR)/runlevels/default/mdns
+# else
+# $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc2.d/S52mdns
+# $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc3.d/S52mdns
+# $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc4.d/S52mdns
+# $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc5.d/S52mdns
+# $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc0.d/K16mdns
+# $(LN) $@ $(RUNLEVELSCRIPTSDIR)/rc6.d/K16mdns
+# endif
+# endif
# 'setup' sets up the build directory structure the way we want
setup:
@@ -513,7 +513,7 @@
# Note: If daemon already installed, we make sure it's stopped before overwriting it
$(INSTBASE)/sbin/mdnsd: $(BUILDDIR)/mdnsd
- @if test -x $@; then $(STARTUPSCRIPTDIR)/$(STARTUPSCRIPTNAME) stop; fi
+# @if test -x $@; then $(STARTUPSCRIPTDIR)/$(STARTUPSCRIPTNAME) stop; fi
$(CP) $< $@
$(NSSINSTPATH)/$(NSSLINKNAME): $(NSSINSTPATH)/$(NSSLIBFILE)
$(LN) $< $@
$(INSTBASE)/lib/libdns_sd.$(LDSUFFIX).$(LIBVERS): $(BUILDDIR)/libdns_sd.$(LDSUFFIX)

+ 2
- 2
package/base/mdnsresponder/mdnsresponder.desc

@ -41,7 +41,7 @@
[L] OpenSource
[S] Stable
[V] 107
[V] 107.6
[P] X -----5---9 199.700
[D] 4272780815 mDNSResponder-107.tar.gz http://helios.et.put.poznan.pl/~jstachow/pub/
[D] 2018075937 mDNSResponder-107.6.tar.gz http://www.opensource.apple.com/darwinsource/tarballs/other/

Loading…
Cancel
Save