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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1649366 - (hide annotations) (download)
Wed Nov 25 21:58:07 2020 UTC (4 years, 2 months ago) by tv
Original Path: cauldron/ypserv/current/SOURCES/ypserv-2.13-nonedomain.patch
File size: 782 byte(s)
4.1 which builds with tirpc/glibc-2.32
1 tv 1649366 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