From bf5d9f18edeb77c14df996d367853599bdd43fd1 Mon Sep 17 00:00:00 2001 From: Andy Fiddaman Date: Wed, 7 Feb 2018 15:01:24 +0000 Subject: [PATCH] 9070 Remove wanboot from gate Reviewed by: Yuri Pankov Reviewed by: Peter Tribble Reviewed by: Alexander Pyhalov Reviewed by: Jorge Schrauwen Approved by: Hans Rosenfeld --- exception_lists/packaging | 7 - usr/src/Makefile.lint | 3 - usr/src/Targetdirs | 1 - usr/src/cmd/cmd-inet/etc/Makefile | 2 +- usr/src/cmd/cmd-inet/etc/wanboot.conf.sample | 104 - usr/src/cmd/cmd-inet/sbin/dhcpagent/README.v6 | 4 +- usr/src/cmd/cmd-inet/sbin/dhcpagent/adopt.c | 3 +- usr/src/cmd/cmd-inet/usr.lib/Makefile | 7 +- usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile | 79 - usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile.com | 34 - .../cmd-inet/usr.lib/wanboot/bootlog-cgi/Makefile | 37 - .../usr.lib/wanboot/bootlog-cgi/bootlog-cgi | 59 - usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/Makefile | 44 - usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/encr.c | 420 --- usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/Makefile | 44 - usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/hmac.c | 237 -- .../cmd/cmd-inet/usr.lib/wanboot/ickey/Makefile | 45 - usr/src/cmd/cmd-inet/usr.lib/wanboot/ickey/ickey.c | 287 -- .../cmd/cmd-inet/usr.lib/wanboot/keygen/Makefile | 43 - .../cmd/cmd-inet/usr.lib/wanboot/keygen/keygen.c | 746 ----- .../cmd/cmd-inet/usr.lib/wanboot/keymgmt/Makefile | 43 - .../cmd/cmd-inet/usr.lib/wanboot/keymgmt/keymgmt.c | 520 ---- .../cmd-inet/usr.lib/wanboot/netbootinfo/Makefile | 42 - .../usr.lib/wanboot/netbootinfo/netbootinfo.c | 123 - .../cmd-inet/usr.lib/wanboot/p12split/p12split.c | 657 ----- .../cmd-inet/usr.lib/wanboot/wanboot-cgi/Makefile | 40 - .../usr.lib/wanboot/wanboot-cgi/wanboot-cgi.c | 1903 ------------- usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot.xcl | 61 - usr/src/cmd/cmd-inet/usr.sbin/Makefile | 8 +- .../cmd-inet/usr.sbin/bootconfchk/bootconfchk.c | 92 - usr/src/cmd/cmd-inet/usr.sbin/wanbootutil.sh | 43 - usr/src/common/net/wanboot/auxutil.c | 637 ----- usr/src/common/net/wanboot/auxutil.h | 47 - usr/src/common/net/wanboot/boot_http.c | 2929 -------------------- usr/src/common/net/wanboot/boot_http.h | 137 - usr/src/common/net/wanboot/bootconf.c | 625 ----- usr/src/common/net/wanboot/bootconf_errmsg.c | 142 - usr/src/common/net/wanboot/bootinfo.c | 509 ---- usr/src/common/net/wanboot/bootinfo.h | 97 - usr/src/common/net/wanboot/bootinfo_aux.h | 62 - usr/src/common/net/wanboot/bootlog.c | 708 ----- usr/src/common/net/wanboot/bootlog.h | 83 - usr/src/common/net/wanboot/crypt/aes.c | 1400 ---------- usr/src/common/net/wanboot/crypt/aes.h | 55 - usr/src/common/net/wanboot/crypt/aes_test.c | 115 - usr/src/common/net/wanboot/crypt/aes_test.h | 42 - usr/src/common/net/wanboot/crypt/cbc.c | 138 - usr/src/common/net/wanboot/crypt/cbc.h | 60 - usr/src/common/net/wanboot/crypt/cbc_test.c | 167 -- usr/src/common/net/wanboot/crypt/cbc_test.h | 47 - usr/src/common/net/wanboot/crypt/cmn_test.c | 91 - usr/src/common/net/wanboot/crypt/cmn_test.h | 43 - usr/src/common/net/wanboot/crypt/des.c | 388 --- usr/src/common/net/wanboot/crypt/des.h | 52 - usr/src/common/net/wanboot/crypt/des3.c | 242 -- usr/src/common/net/wanboot/crypt/des3.h | 53 - usr/src/common/net/wanboot/crypt/des3_test.c | 206 -- usr/src/common/net/wanboot/crypt/des3_test.h | 42 - usr/src/common/net/wanboot/crypt/hmac_sha1.c | 103 - usr/src/common/net/wanboot/crypt/hmac_sha1.h | 51 - usr/src/common/net/wanboot/crypt/hmac_test.c | 138 - usr/src/common/net/wanboot/crypt/hmac_test.h | 42 - usr/src/common/net/wanboot/crypt/sha1_test.c | 116 - usr/src/common/net/wanboot/crypt/sha1_test.h | 42 - usr/src/common/net/wanboot/http_errorstr.c | 116 - usr/src/common/net/wanboot/netboot_paths.h | 68 - usr/src/common/net/wanboot/p12access.c | 496 ---- usr/src/common/net/wanboot/p12access.h | 101 - usr/src/common/net/wanboot/p12aux.h | 489 ---- usr/src/common/net/wanboot/p12auxpars.c | 859 ------ usr/src/common/net/wanboot/p12auxutl.c | 376 --- usr/src/common/net/wanboot/p12err.c | 169 -- usr/src/common/net/wanboot/p12err.h | 115 - usr/src/common/net/wanboot/p12misc.c | 773 ------ usr/src/common/net/wanboot/parseURL.c | 179 -- usr/src/common/net/wanboot/parseURL.h | 70 - usr/src/common/net/wanboot/wanboot_conf.h | 134 - usr/src/lib/Makefile | 9 +- .../plugins/kmf_openssl/common/openssl_spi.c | 3 +- usr/src/lib/libwanboot/Makefile | 77 - usr/src/lib/libwanboot/Makefile.com | 99 - usr/src/lib/libwanboot/amd64/Makefile | 29 - usr/src/lib/libwanboot/common/bootinfo_aux.c | 520 ---- usr/src/lib/libwanboot/common/llib-lwanboot | 41 - usr/src/lib/libwanboot/common/mapfile-vers | 95 - usr/src/lib/libwanboot/common/socket_inet.c | 91 - usr/src/lib/libwanboot/common/socket_inet.h | 44 - usr/src/lib/libwanboot/i386/Makefile | 34 - usr/src/lib/libwanboot/libwanboot.xcl | 115 - usr/src/lib/libwanboot/req.flg | 32 - usr/src/lib/libwanboot/sparc/Makefile | 31 - usr/src/lib/libwanboot/sparcv9/Makefile | 29 - usr/src/lib/libwanbootutil/Makefile | 101 - usr/src/lib/libwanbootutil/Makefile.com | 91 - usr/src/lib/libwanbootutil/amd64/Makefile | 29 - usr/src/lib/libwanbootutil/common/key_util.c | 424 --- usr/src/lib/libwanbootutil/common/key_util.h | 103 - usr/src/lib/libwanbootutil/common/key_xdr.x | 57 - .../lib/libwanbootutil/common/llib-lwanbootutil | 32 - usr/src/lib/libwanbootutil/common/mapfile-vers | 73 - usr/src/lib/libwanbootutil/common/wanbootutil.h | 40 - usr/src/lib/libwanbootutil/common/wbio.c | 94 - usr/src/lib/libwanbootutil/common/wbio.h | 46 - usr/src/lib/libwanbootutil/i386/Makefile | 31 - usr/src/lib/libwanbootutil/libwanbootutil.xcl | 35 - usr/src/lib/libwanbootutil/req.flg | 29 - usr/src/lib/libwanbootutil/sparc/Makefile | 31 - usr/src/lib/libwanbootutil/sparcv9/Makefile | 29 - usr/src/man/man1/digest.1 | 4 +- usr/src/man/man1m/Makefile | 6 - usr/src/man/man1m/boot.1m | 336 +-- usr/src/man/man1m/bootconfchk.1m | 70 - usr/src/man/man1m/ickey.1m | 88 - usr/src/man/man1m/wanboot_keygen.1m | 191 -- usr/src/man/man1m/wanboot_keymgmt.1m | 148 - usr/src/man/man1m/wanboot_p12split.1m | 125 - usr/src/man/man1m/wanbootutil.1m | 138 - usr/src/man/man4/Makefile | 1 - usr/src/man/man4/wanboot.conf.4 | 344 --- usr/src/pkg/manifests/SUNWcs.man4.inc | 1 - usr/src/pkg/manifests/SUNWcs.mf | 1 - .../manifests/system-boot-wanboot-internal.mf} | 26 +- .../manifests/system-boot-wanboot.mf} | 29 +- usr/src/psm/stand/boot/sparc/common/boot_plat.h | 1 - usr/src/psm/stand/boot/sparc/common/bootflags.c | 17 - usr/src/psm/stand/boot/sparc/common/ramdisk.c | 1 - usr/src/psm/stand/boot/sparc/common/wanboot.c | 1678 ----------- usr/src/psm/stand/boot/sparc/common/wbcli.c | 1416 ---------- usr/src/psm/stand/boot/sparc/common/wbcli.h | 51 - usr/src/psm/stand/boot/sparc/common/wbfsconf.c | 62 - usr/src/psm/stand/boot/sparcv9/Makefile.com | 18 +- usr/src/stand/sys/bootsyms.h | 7 - usr/src/tools/chk4ubin/chk4ubin.c | 5 +- usr/src/uts/common/io/ib/ibnex/ibnex_hca.c | 4 +- usr/src/uts/common/io/openprom.c | 72 +- usr/src/uts/common/krtld/kobj_bootflags.c | 2 +- usr/src/uts/common/sys/Makefile | 1 - usr/src/uts/common/sys/wanboot_impl.h | 78 - usr/src/uts/intel/openeepr/Makefile | 1 - usr/src/uts/req.flg | 1 - usr/src/uts/sparc/openeepr/Makefile | 5 - 141 files changed, 49 insertions(+), 26665 deletions(-) delete mode 100644 usr/src/cmd/cmd-inet/etc/wanboot.conf.sample delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile.com delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/bootlog-cgi/Makefile delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/bootlog-cgi/bootlog-cgi delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/Makefile delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/encr.c delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/Makefile delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/hmac.c delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/ickey/Makefile delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/ickey/ickey.c delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/keygen/Makefile delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/keygen/keygen.c delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/keymgmt/Makefile delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/keymgmt/keymgmt.c delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/netbootinfo/Makefile delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/netbootinfo/netbootinfo.c delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/p12split/p12split.c delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/Makefile delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/wanboot-cgi.c delete mode 100644 usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot.xcl delete mode 100644 usr/src/cmd/cmd-inet/usr.sbin/bootconfchk/bootconfchk.c delete mode 100644 usr/src/cmd/cmd-inet/usr.sbin/wanbootutil.sh delete mode 100644 usr/src/common/net/wanboot/auxutil.c delete mode 100644 usr/src/common/net/wanboot/auxutil.h delete mode 100644 usr/src/common/net/wanboot/boot_http.c delete mode 100644 usr/src/common/net/wanboot/boot_http.h delete mode 100644 usr/src/common/net/wanboot/bootconf.c delete mode 100644 usr/src/common/net/wanboot/bootconf_errmsg.c delete mode 100644 usr/src/common/net/wanboot/bootinfo.c delete mode 100644 usr/src/common/net/wanboot/bootinfo.h delete mode 100644 usr/src/common/net/wanboot/bootinfo_aux.h delete mode 100644 usr/src/common/net/wanboot/bootlog.c delete mode 100644 usr/src/common/net/wanboot/bootlog.h delete mode 100644 usr/src/common/net/wanboot/crypt/aes.c delete mode 100644 usr/src/common/net/wanboot/crypt/aes.h delete mode 100644 usr/src/common/net/wanboot/crypt/aes_test.c delete mode 100644 usr/src/common/net/wanboot/crypt/aes_test.h delete mode 100644 usr/src/common/net/wanboot/crypt/cbc.c delete mode 100644 usr/src/common/net/wanboot/crypt/cbc.h delete mode 100644 usr/src/common/net/wanboot/crypt/cbc_test.c delete mode 100644 usr/src/common/net/wanboot/crypt/cbc_test.h delete mode 100644 usr/src/common/net/wanboot/crypt/cmn_test.c delete mode 100644 usr/src/common/net/wanboot/crypt/cmn_test.h delete mode 100644 usr/src/common/net/wanboot/crypt/des.c delete mode 100644 usr/src/common/net/wanboot/crypt/des.h delete mode 100644 usr/src/common/net/wanboot/crypt/des3.c delete mode 100644 usr/src/common/net/wanboot/crypt/des3.h delete mode 100644 usr/src/common/net/wanboot/crypt/des3_test.c delete mode 100644 usr/src/common/net/wanboot/crypt/des3_test.h delete mode 100644 usr/src/common/net/wanboot/crypt/hmac_sha1.c delete mode 100644 usr/src/common/net/wanboot/crypt/hmac_sha1.h delete mode 100644 usr/src/common/net/wanboot/crypt/hmac_test.c delete mode 100644 usr/src/common/net/wanboot/crypt/hmac_test.h delete mode 100644 usr/src/common/net/wanboot/crypt/sha1_test.c delete mode 100644 usr/src/common/net/wanboot/crypt/sha1_test.h delete mode 100644 usr/src/common/net/wanboot/http_errorstr.c delete mode 100644 usr/src/common/net/wanboot/netboot_paths.h delete mode 100644 usr/src/common/net/wanboot/p12access.c delete mode 100644 usr/src/common/net/wanboot/p12access.h delete mode 100644 usr/src/common/net/wanboot/p12aux.h delete mode 100644 usr/src/common/net/wanboot/p12auxpars.c delete mode 100644 usr/src/common/net/wanboot/p12auxutl.c delete mode 100644 usr/src/common/net/wanboot/p12err.c delete mode 100644 usr/src/common/net/wanboot/p12err.h delete mode 100644 usr/src/common/net/wanboot/p12misc.c delete mode 100644 usr/src/common/net/wanboot/parseURL.c delete mode 100644 usr/src/common/net/wanboot/parseURL.h delete mode 100644 usr/src/common/net/wanboot/wanboot_conf.h delete mode 100644 usr/src/lib/libwanboot/Makefile delete mode 100644 usr/src/lib/libwanboot/Makefile.com delete mode 100644 usr/src/lib/libwanboot/amd64/Makefile delete mode 100644 usr/src/lib/libwanboot/common/bootinfo_aux.c delete mode 100644 usr/src/lib/libwanboot/common/llib-lwanboot delete mode 100644 usr/src/lib/libwanboot/common/mapfile-vers delete mode 100644 usr/src/lib/libwanboot/common/socket_inet.c delete mode 100644 usr/src/lib/libwanboot/common/socket_inet.h delete mode 100644 usr/src/lib/libwanboot/i386/Makefile delete mode 100644 usr/src/lib/libwanboot/libwanboot.xcl delete mode 100644 usr/src/lib/libwanboot/req.flg delete mode 100644 usr/src/lib/libwanboot/sparc/Makefile delete mode 100644 usr/src/lib/libwanboot/sparcv9/Makefile delete mode 100644 usr/src/lib/libwanbootutil/Makefile delete mode 100644 usr/src/lib/libwanbootutil/Makefile.com delete mode 100644 usr/src/lib/libwanbootutil/amd64/Makefile delete mode 100644 usr/src/lib/libwanbootutil/common/key_util.c delete mode 100644 usr/src/lib/libwanbootutil/common/key_util.h delete mode 100644 usr/src/lib/libwanbootutil/common/key_xdr.x delete mode 100644 usr/src/lib/libwanbootutil/common/llib-lwanbootutil delete mode 100644 usr/src/lib/libwanbootutil/common/mapfile-vers delete mode 100644 usr/src/lib/libwanbootutil/common/wanbootutil.h delete mode 100644 usr/src/lib/libwanbootutil/common/wbio.c delete mode 100644 usr/src/lib/libwanbootutil/common/wbio.h delete mode 100644 usr/src/lib/libwanbootutil/i386/Makefile delete mode 100644 usr/src/lib/libwanbootutil/libwanbootutil.xcl delete mode 100644 usr/src/lib/libwanbootutil/req.flg delete mode 100644 usr/src/lib/libwanbootutil/sparc/Makefile delete mode 100644 usr/src/lib/libwanbootutil/sparcv9/Makefile delete mode 100644 usr/src/man/man1m/bootconfchk.1m delete mode 100644 usr/src/man/man1m/ickey.1m delete mode 100644 usr/src/man/man1m/wanboot_keygen.1m delete mode 100644 usr/src/man/man1m/wanboot_keymgmt.1m delete mode 100644 usr/src/man/man1m/wanboot_p12split.1m delete mode 100644 usr/src/man/man1m/wanbootutil.1m delete mode 100644 usr/src/man/man4/wanboot.conf.4 rename usr/src/{cmd/cmd-inet/usr.lib/wanboot/p12split/Makefile => pkg/manifests/system-boot-wanboot-internal.mf} (68%) rename usr/src/{cmd/cmd-inet/usr.sbin/bootconfchk/Makefile => pkg/manifests/system-boot-wanboot.mf} (69%) delete mode 100644 usr/src/psm/stand/boot/sparc/common/wanboot.c delete mode 100644 usr/src/psm/stand/boot/sparc/common/wbcli.c delete mode 100644 usr/src/psm/stand/boot/sparc/common/wbcli.h delete mode 100644 usr/src/psm/stand/boot/sparc/common/wbfsconf.c delete mode 100644 usr/src/uts/common/sys/wanboot_impl.h diff --git a/exception_lists/packaging b/exception_lists/packaging index 5e6e873d8c..0ed8ba06e0 100644 --- a/exception_lists/packaging +++ b/exception_lists/packaging @@ -419,13 +419,6 @@ usr/lib/sparcv9/libuutil.so sparc # usr/include/sys/multidata_impl.h # -# The following files are used by wanboot. -# They contain interfaces which are currently private. -# -usr/include/sys/wanboot_impl.h -usr/include/wanboot -usr/include/wanbootutil.h -# # Even though all the objects built under usr/src/stand are later glommed # together into a couple of second-stage boot loaders, we dump the static # archives and lint libraries into $(ROOT)/stand for intermediate use diff --git a/usr/src/Makefile.lint b/usr/src/Makefile.lint index 18d2f2398a..8e589d6626 100644 --- a/usr/src/Makefile.lint +++ b/usr/src/Makefile.lint @@ -82,7 +82,6 @@ COMMON_SUBDIRS = \ cmd/cmd-inet/usr.lib/slpd \ cmd/cmd-inet/usr.lib/vrrpd \ cmd/cmd-inet/usr.lib/wpad \ - cmd/cmd-inet/usr.lib/wanboot \ cmd/cmd-inet/usr.sadm \ cmd/cmd-inet/usr.sbin \ cmd/cmd-inet/usr.sbin/ilbadm \ @@ -441,8 +440,6 @@ COMMON_SUBDIRS = \ lib/libuuid \ lib/libuutil \ lib/libvrrpadm \ - lib/libwanboot \ - lib/libwanbootutil \ lib/libxnet \ lib/libzfs \ lib/libzfs_jni \ diff --git a/usr/src/Targetdirs b/usr/src/Targetdirs index 1c0479fe60..25d0a14e02 100644 --- a/usr/src/Targetdirs +++ b/usr/src/Targetdirs @@ -272,7 +272,6 @@ DIRS= \ /usr/lib/hal \ /usr/lib/inet \ /usr/lib/inet/ilb \ - /usr/lib/inet/wanboot \ /usr/lib/krb5 \ /usr/lib/link_audit \ /usr/lib/lwp \ diff --git a/usr/src/cmd/cmd-inet/etc/Makefile b/usr/src/cmd/cmd-inet/etc/Makefile index 2336c5af1d..c9d3824663 100644 --- a/usr/src/cmd/cmd-inet/etc/Makefile +++ b/usr/src/cmd/cmd-inet/etc/Makefile @@ -25,7 +25,7 @@ SYMPROG= hosts inetd.conf networks protocols services netmasks # New /etc/inet files shouldn't have /etc entries. EDITPROG= ipaddrsel.conf ipsecalgs PROG= datemsk.ndpd ipsecinit.sample ipqosconf.1.sample ipqosconf.2.sample \ - ipqosconf.3.sample wanboot.conf.sample + ipqosconf.3.sample ETCPROG= $(SYMPROG) $(EDITPROG) $(PROG) SUBDIRS= default dhcp init.d ike nca ppp secret sock2path.d diff --git a/usr/src/cmd/cmd-inet/etc/wanboot.conf.sample b/usr/src/cmd/cmd-inet/etc/wanboot.conf.sample deleted file mode 100644 index 8fc0ee5d47..0000000000 --- a/usr/src/cmd/cmd-inet/etc/wanboot.conf.sample +++ /dev/null @@ -1,104 +0,0 @@ -# -# Copyright 2005 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. -# -# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE -# or http://www.opensolaris.org/os/licensing. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# ident "%Z%%M% %I% %E% SMI" - -#################################################################### -# wanboot.conf(4): boot configuration file. -# -# Please consult wanboot.conf(4) for further information. Note that -# this interface is "Evolving" as defined by attributes(5). -# -# Anything after a '#' is comment. Values may be quoted (e.g. "val"). -# -# means there is no value, i.e. null. The absence of any -# parameter implies that it takes a default value ( unless -# otherwise specified). -# -# is of the form http://... or https://... -#################################################################### - -# The path of the bootstrap file (within htdocs) which is served up -# by wanboot-cgi(bootfile). -# -boot_file=/bootfiles/wanboot # - -# These are used by wanboot-cgi(bootfile|bootfs|rootfs) to determine -# whether boot_file or the bootfs is to be sent encrypted/signed, or -# root_file is to be sent signed; the client must be setup with the -# corresponding encryption/signature key(s) (which cannot be auto- -# matically verified). -# -# If an encryption_type is specified then a signature_type must also -# be specified. -# -encryption_type=3des # 3des | aes | -signature_type=sha1 # sha1 | - -# This is used by wanboot-cgi(bootfs) and wanboot to determine whether -# server authentication should be requested during SSL connection -# setup. -# -server_authentication=yes # yes | no - -# This is used by wanboot-cgi(bootfs) and wanboot to determine whether -# client authentication should be requested during SSL connection -# setup. If client_authentication is "yes", then server_authentication -# must also be "yes". -# -client_authentication=yes # yes | no - -# wanboot-cgi(bootfs) will construct a hosts file which resolves any -# hostnames specified in any of the URLs in the wanboot.conf file, -# plus those found in certificates, etc. The following parameter -# may be used to add additional mappings to the hosts file. -# -resolve_hosts= # [,*] | - -# This is used to specify the URL of wanboot-cgi on the server on which -# the root_file exists, and used by wanboot to obtain the root server's -# URL; wanboot substitutes root_file for the pathname part of the URL. -# If the schema is http://... then the root_file will be signed if there -# is a non-empty signature_type. If server_authentication is "yes", the -# schema must be https://...; otherwise it must be http://... -# -root_server=https://host:port/cgi-bin/wanboot-cgi # | - -# This is used by wanboot-cgi(rootfs) to locate the path of the -# rootfs image (within htdocs) on the root_server. -# -root_file=/rootimages/miniroot # | - -# This is used by wanboot to determine the URL of the bootserver -# (and whether bootlog traffic should be sent using http or https), -# or whether it should simply be sent to the console. -# -boot_logger= # | - -# This is used by the system startup scripts. If set, it should -# point to a file that contains name value pairs to be used at -# start up time. For example, this file may be used to provide -# install the values for sysidcfg and jumpscfg. -# -system_conf=system.conf diff --git a/usr/src/cmd/cmd-inet/sbin/dhcpagent/README.v6 b/usr/src/cmd/cmd-inet/sbin/dhcpagent/README.v6 index a52fe3e6b9..77adf3655b 100644 --- a/usr/src/cmd/cmd-inet/sbin/dhcpagent/README.v6 +++ b/usr/src/cmd/cmd-inet/sbin/dhcpagent/README.v6 @@ -20,8 +20,6 @@ CDDL HEADER END Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. -ident "%Z%%M% %I% %E% SMI" - ** PLEASE NOTE: ** @@ -135,7 +133,7 @@ Background dhcp_pkt_t is a wrapper for packets to be sent. The basic PKT structure is used in dhcpagent, inetboot, in.dhcpd, - libdhcpagent, libwanboot, libdhcputil, and others. PKT_LIST is used + libdhcpagent, libdhcputil, and others. PKT_LIST is used in a similar set of places, including the kernel NFS modules. dhcp_pkt_t is (as the header file implies) limited to dhcpagent. diff --git a/usr/src/cmd/cmd-inet/sbin/dhcpagent/adopt.c b/usr/src/cmd/cmd-inet/sbin/dhcpagent/adopt.c index d81cb9264f..4fbaf6ac72 100644 --- a/usr/src/cmd/cmd-inet/sbin/dhcpagent/adopt.c +++ b/usr/src/cmd/cmd-inet/sbin/dhcpagent/adopt.c @@ -264,8 +264,7 @@ get_dhcp_kcache(dhcp_kcache_t **kernel_cachep, size_t *kcache_size) * output: boolean_t: Returns B_TRUE if successful (no problems), * otherwise B_FALSE. * note: The memory allocated by this function must be freed by - * the caller. This code is derived from - * usr/src/lib/libwanboot/common/bootinfo_aux.c. + * the caller. */ static boolean_t diff --git a/usr/src/cmd/cmd-inet/usr.lib/Makefile b/usr/src/cmd/cmd-inet/usr.lib/Makefile index 718d4ed15a..9f3c16413e 100644 --- a/usr/src/cmd/cmd-inet/usr.lib/Makefile +++ b/usr/src/cmd/cmd-inet/usr.lib/Makefile @@ -27,15 +27,14 @@ SUBDIRS= bridged ilbd in.chargend in.daytimed \ in.discardd in.echod in.mpathd in.ndpd \ in.ripngd in.timed inetd mdnsd ncaconfd pppoe \ - slpd vrrpd wanboot wpad + slpd vrrpd wpad -MSGSUBDIRS= ilbd inetd ncaconfd vrrpd wanboot +MSGSUBDIRS= ilbd inetd ncaconfd vrrpd include ../../Makefile.cmd include ./Makefile.lib -POFILES= inetd/inetd.po ncaconfd/ncaconfd.po vrrpd/vrrpd.po \ - wanboot/wanboot.po +POFILES= inetd/inetd.po ncaconfd/ncaconfd.po vrrpd/vrrpd.po POFILE= usr.lib.po all:= TARGET= all diff --git a/usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile b/usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile deleted file mode 100644 index 2d7d04478f..0000000000 --- a/usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile +++ /dev/null @@ -1,79 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. -# -# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE -# or http://www.opensolaris.org/os/licensing. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2003 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -include $(SRC)/cmd/Makefile.cmd - -SUBDIR_SCR= bootlog-cgi -SUBDIR_PGMS= wanboot-cgi\ - keygen \ - keymgmt \ - hmac \ - encr \ - ickey \ - p12split \ - netbootinfo - -SUBDIRS= $(SUBDIR_SCR) $(SUBDIR_PGMS) - -MSGFILES= encr/encr.c hmac/hmac.c ickey/ickey.c keygen/keygen.c \ - keymgmt/keymgmt.c p12split/p12split.c netbootinfo/netbootinfo.c - -POFILE= wanboot.po -XGETFLAGS += -a -x wanboot.xcl - -all:= TARGET= all -install:= TARGET= install -clean:= TARGET= clean -clobber:= TARGET= clobber -lint:= TARGET= lint -_msg:= TARGET= _msg - -.KEEP_STATE: -.PARALLEL: $(SUBDIRS) - -all install: $(SUBDIRS) - -lint: $(SUBDIR_PGMS) - -clean: $(SUBDIR_PGMS) - -clobber: $(SUBDIR_PGMS) local_clobber - -local_clobber: - $(RM) $(CLOBBERFILES) - -$(POFILE): pofile_MSGFILES - -_msg: $(MSGDOMAINPOFILE) - -$(SUBDIRS): FRC - @cd $@; pwd; $(MAKE) $(TARGET) - -FRC: - -include $(SRC)/Makefile.msg.targ diff --git a/usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile.com b/usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile.com deleted file mode 100644 index aa9d03f162..0000000000 --- a/usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile.com +++ /dev/null @@ -1,34 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. -# -# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE -# or http://www.opensolaris.org/os/licensing. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2003 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# - -include $(SRC)/cmd/Makefile.cmd -ROOTCMDDIR = $(ROOT)/usr/lib/inet/wanboot - -CMNCRYPTDIR = ../../../../../common/net/wanboot/crypt - -CERRWARN += -_gcc=-Wno-uninitialized - -.KEEP_STATE: diff --git a/usr/src/cmd/cmd-inet/usr.lib/wanboot/bootlog-cgi/Makefile b/usr/src/cmd/cmd-inet/usr.lib/wanboot/bootlog-cgi/Makefile deleted file mode 100644 index b84272bc89..0000000000 --- a/usr/src/cmd/cmd-inet/usr.lib/wanboot/bootlog-cgi/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. -# -# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE -# or http://www.opensolaris.org/os/licensing. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2003 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -include ../Makefile.com - -PROG= bootlog-cgi - -all: $(PROG) - -install: all $(ROOTCMD) - -include ../../../../Makefile.targ diff --git a/usr/src/cmd/cmd-inet/usr.lib/wanboot/bootlog-cgi/bootlog-cgi b/usr/src/cmd/cmd-inet/usr.lib/wanboot/bootlog-cgi/bootlog-cgi deleted file mode 100644 index 0e4317de55..0000000000 --- a/usr/src/cmd/cmd-inet/usr.lib/wanboot/bootlog-cgi/bootlog-cgi +++ /dev/null @@ -1,59 +0,0 @@ -#! /usr/bin/sh -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. -# -# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE -# or http://www.opensolaris.org/os/licensing. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# -# -# Copyright 2003 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -# cgi script to handle bootlog messages -# formats the message: -# replaces