Print this page
5172 tftpd service is not registered by default and its manual is giving misleading directions

@@ -20,19 +20,25 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 1989,2001 by Sun Microsystems, Inc.
 # All rights reserved.
-#
+# Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
 
 PROG=   tftp
 OBJS=   main.o tftp.o tftpsubs.o
 SRCS= $(OBJS:%.o=%.c)
 
 include ../../../Makefile.cmd
 include ../../Makefile.cmd-inet
 
+MANIFEST=    tftp-udp6.xml
+
+ROOTMANIFESTDIR = $(ROOTSVCNETWORK)
+
+$(ROOTMANIFEST):= FILEMODE = 0444
+
 CPPFLAGS +=     -DSYSV -DSTRNET -DBSD_COMP -I$(CMDINETCOMMONDIR)
 CERRWARN +=     -_gcc=-Wno-clobbered
 CERRWARN +=     -_gcc=-Wno-parentheses
 LDLIBS +=       -lsocket -lnsl
 

@@ -42,13 +48,15 @@
 
 $(PROG): $(OBJS)
         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
         $(POST_PROCESS)
 
-install: all $(ROOTPROG)
+install: all $(ROOTPROG) $(ROOTMANIFEST)
 
 clean:
         $(RM) $(OBJS)
 
 lint:   lint_SRCS
 
+check:          $(CHKMANIFEST)
+
 include ../../../Makefile.targ