Print this page
5172 tftpd service is not registered by default and its manual is giving misleading directions
*** 20,38 ****
# CDDL HEADER END
#
#
# Copyright (c) 1989,2001 by Sun Microsystems, Inc.
# All rights reserved.
! #
PROG= tftp
OBJS= main.o tftp.o tftpsubs.o
SRCS= $(OBJS:%.o=%.c)
include ../../../Makefile.cmd
include ../../Makefile.cmd-inet
CPPFLAGS += -DSYSV -DSTRNET -DBSD_COMP -I$(CMDINETCOMMONDIR)
CERRWARN += -_gcc=-Wno-clobbered
CERRWARN += -_gcc=-Wno-parentheses
LDLIBS += -lsocket -lnsl
--- 20,44 ----
# 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,54 ****
$(PROG): $(OBJS)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
! install: all $(ROOTPROG)
clean:
$(RM) $(OBJS)
lint: lint_SRCS
include ../../../Makefile.targ
--- 48,62 ----
$(PROG): $(OBJS)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
! install: all $(ROOTPROG) $(ROOTMANIFEST)
clean:
$(RM) $(OBJS)
lint: lint_SRCS
+ check: $(CHKMANIFEST)
+
include ../../../Makefile.targ