/[packages]/cauldron/ypserv/pristine/SOURCES/ypserv-2.13-nonedomain.patch
ViewVC logotype

Contents of /cauldron/ypserv/pristine/SOURCES/ypserv-2.13-nonedomain.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2057413 - (show annotations) (download)
Sun Apr 14 16:28:35 2024 UTC (9 months ago) by schedbot
File size: 782 byte(s)
Copying release 4.2-4.mga10 to pristine/ directory.
1 diff -up ./scripts/ypMakefile.in.nonedomain ./scripts/ypMakefile.in
2 --- ./scripts/ypMakefile.in.nonedomain 2013-05-06 18:30:46.772434725 +0200
3 +++ ./scripts/ypMakefile.in 2013-05-06 18:31:59.429495323 +0200
4 @@ -106,10 +106,18 @@ NETMASKS = $(YPSRCDIR)/netmasks
5 YPSERVERS = $(YPDIR)/ypservers # List of all NIS slave servers
6
7 target: Makefile
8 +ifeq ($(shell /bin/domainname), (none))
9 + @echo "Domain name cannot be (none)"
10 +else
11 +ifeq ($(shell /bin/domainname), )
12 + @echo "Domain name must be set"
13 +else
14 @test ! -d $(LOCALDOMAIN) && mkdir $(LOCALDOMAIN) ; \
15 cd $(LOCALDOMAIN) ; \
16 $(NOPUSH) || $(MAKE) -f ../Makefile ypservers; \
17 $(MAKE) -f ../Makefile all
18 +endif
19 +endif
20
21 # If you don't want some of these maps built, feel free to comment
22 # them out from this list.

  ViewVC Help
Powered by ViewVC 1.1.30