Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sup/supscan remove sup



details:   https://anonhg.NetBSD.org/src/rev/6e22260d932b
branches:  trunk
changeset: 1004175:6e22260d932b
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 15 18:33:23 2019 +0000

description:
remove sup

diffstat:

 distrib/sets/lists/base/mi          |    10 +-
 distrib/sets/lists/debug/mi         |     8 +-
 distrib/sets/lists/man/mi           |    26 +-
 distrib/sets/lists/misc/mi          |     6 +-
 usr.sbin/Makefile                   |     4 +-
 usr.sbin/sup/Makefile               |     5 -
 usr.sbin/sup/Makefile.inc           |    24 -
 usr.sbin/sup/README                 |    10 -
 usr.sbin/sup/lib/Makefile           |    17 -
 usr.sbin/sup/source/Makefile        |   167 --
 usr.sbin/sup/source/atoo.c          |    58 -
 usr.sbin/sup/source/c.h             |    88 -
 usr.sbin/sup/source/cvt.c           |    57 -
 usr.sbin/sup/source/estrdup.c       |    49 -
 usr.sbin/sup/source/expand.c        |   404 ------
 usr.sbin/sup/source/ffilecopy.c     |   121 --
 usr.sbin/sup/source/filecopy.c      |    69 -
 usr.sbin/sup/source/libc.h          |   159 --
 usr.sbin/sup/source/log.c           |   179 ---
 usr.sbin/sup/source/netcryptvoid.c  |    91 -
 usr.sbin/sup/source/nxtarg.c        |    84 -
 usr.sbin/sup/source/path.c          |   106 -
 usr.sbin/sup/source/quit.c          |    61 -
 usr.sbin/sup/source/read_line.c     |   130 --
 usr.sbin/sup/source/run.c           |   297 ----
 usr.sbin/sup/source/scan.c          |  1051 -----------------
 usr.sbin/sup/source/scm.c           |   703 -----------
 usr.sbin/sup/source/scmio.c         |   760 ------------
 usr.sbin/sup/source/setproctitle.c  |   116 -
 usr.sbin/sup/source/skipto.c        |    88 -
 usr.sbin/sup/source/stree.c         |   358 ------
 usr.sbin/sup/source/sup.1           |   920 ---------------
 usr.sbin/sup/source/sup.h           |   264 ----
 usr.sbin/sup/source/supcdefs.h      |   126 --
 usr.sbin/sup/source/supcmain.c      |   757 ------------
 usr.sbin/sup/source/supcmeat.c      |  1640 ---------------------------
 usr.sbin/sup/source/supcmisc.c      |   375 ------
 usr.sbin/sup/source/supcname.c      |   121 --
 usr.sbin/sup/source/supcparse.c     |   275 ----
 usr.sbin/sup/source/supcvers.c      |    75 -
 usr.sbin/sup/source/supextern.h     |   187 ---
 usr.sbin/sup/source/supfilesrv.c    |  2085 -----------------------------------
 usr.sbin/sup/source/supmsg.c        |   757 ------------
 usr.sbin/sup/source/supmsg.h        |   186 ---
 usr.sbin/sup/source/supscan.c       |   459 -------
 usr.sbin/sup/source/supservers.8    |   262 ----
 usr.sbin/sup/source/sys/viceioctl.h |    73 -
 usr.sbin/sup/source/vprintf.c       |   135 --
 usr.sbin/sup/sup/Makefile           |    14 -
 usr.sbin/sup/supfilesrv/Makefile    |    15 -
 usr.sbin/sup/supscan/Makefile       |    15 -
 51 files changed, 27 insertions(+), 14020 deletions(-)

diffs (truncated from 14346 to 300 lines):

diff -r 7a465238ea5e -r 6e22260d932b distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Tue Oct 15 18:32:59 2019 +0000
+++ b/distrib/sets/lists/base/mi        Tue Oct 15 18:33:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1218 2019/10/03 00:59:49 mrg Exp $
+# $NetBSD: mi,v 1.1219 2019/10/15 18:33:57 christos Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -1991,9 +1991,9 @@
 ./usr/sbin/stdhosts                            base-nis-bin            yp
 ./usr/sbin/sti                                 base-sysutil-bin
 ./usr/sbin/sunlabel                            base-sysutil-bin
-./usr/sbin/sup                                 base-sup-bin
-./usr/sbin/supfilesrv                          base-sup-bin
-./usr/sbin/supscan                             base-sup-bin
+./usr/sbin/sup                                 base-obsolete           obsolete
+./usr/sbin/supfilesrv                          base-obsolete           obsolete
+./usr/sbin/supscan                             base-obsolete           obsolete
 ./usr/sbin/sushi                               base-obsolete           obsolete
 ./usr/sbin/sysconfd                            base-obsolete           obsolete
 ./usr/sbin/sysctl                              base-obsolete           obsolete
@@ -2282,7 +2282,7 @@
 ./usr/share/examples/rtadvd                    base-router-examples
 ./usr/share/examples/slip                      base-slip-examples
 ./usr/share/examples/smbfs                     base-sysutil-examples
-./usr/share/examples/supfiles                  base-sup-examples
+./usr/share/examples/supfiles                  base-obsolete   obsolete
 ./usr/share/examples/syslogd                   base-sysutil-examples
 ./usr/share/examples/veriexecctl               base-obsolete   obsolete
 ./usr/share/examples/veriexecctl/fpgen.sh      base-obsolete   obsolete
diff -r 7a465238ea5e -r 6e22260d932b distrib/sets/lists/debug/mi
--- a/distrib/sets/lists/debug/mi       Tue Oct 15 18:32:59 2019 +0000
+++ b/distrib/sets/lists/debug/mi       Tue Oct 15 18:33:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.288 2019/09/15 16:58:11 christos Exp $
+# $NetBSD: mi,v 1.289 2019/10/15 18:33:57 christos Exp $
 ./etc/mtree/set.debug                           comp-sys-root
 ./usr/lib                                      comp-sys-usr            compatdir
 ./usr/lib/i18n/libBIG5_g.a                     comp-c-debuglib         debuglib,compatfile
@@ -1280,9 +1280,9 @@
 ./usr/libdata/debug/usr/sbin/stdhosts.debug    comp-nis-debug          yp,debug
 ./usr/libdata/debug/usr/sbin/sti.debug         comp-sysutil-debug      debug
 ./usr/libdata/debug/usr/sbin/sunlabel.debug    comp-sysutil-debug      debug
-./usr/libdata/debug/usr/sbin/sup.debug         comp-sup-debug          debug
-./usr/libdata/debug/usr/sbin/supfilesrv.debug  comp-sup-debug          debug
-./usr/libdata/debug/usr/sbin/supscan.debug     comp-sup-debug          debug
+./usr/libdata/debug/usr/sbin/sup.debug         comp-obsolete           obsolete
+./usr/libdata/debug/usr/sbin/supfilesrv.debug  comp-obsolete           obsolete
+./usr/libdata/debug/usr/sbin/supscan.debug     comp-obsolete           obsolete
 ./usr/libdata/debug/usr/sbin/sysinst.debug     comp-sysutil-debug      debug
 ./usr/libdata/debug/usr/sbin/syslogd.debug     comp-sysutil-debug      debug
 ./usr/libdata/debug/usr/sbin/tcpdchk.debug     comp-netutil-debug      debug
diff -r 7a465238ea5e -r 6e22260d932b distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Tue Oct 15 18:32:59 2019 +0000
+++ b/distrib/sets/lists/man/mi Tue Oct 15 18:33:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1656 2019/10/07 11:53:40 msaitoh Exp $
+# $NetBSD: mi,v 1.1657 2019/10/15 18:33:57 christos Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -549,7 +549,7 @@
 ./usr/share/man/cat1/stty.0                    man-util-catman         .cat
 ./usr/share/man/cat1/su.0                      man-util-catman         .cat
 ./usr/share/man/cat1/sum.0                     man-util-catman         .cat
-./usr/share/man/cat1/sup.0                     man-sup-catman          .cat
+./usr/share/man/cat1/sup.0                     man-obsolete            obsolete
 ./usr/share/man/cat1/suspend.0                 man-util-catman         .cat
 ./usr/share/man/cat1/sys_info.0                        man-util-catman         .cat
 ./usr/share/man/cat1/sysstat.0                 man-util-catman         .cat
@@ -3120,9 +3120,9 @@
 ./usr/share/man/cat8/sun3x                     man-obsolete            obsolete
 ./usr/share/man/cat8/sun3x/installboot.0       man-obsolete            obsolete
 ./usr/share/man/cat8/sunlabel.0                        man-sysutil-catman      .cat
-./usr/share/man/cat8/supfilesrv.0              man-sup-catman          .cat
-./usr/share/man/cat8/supscan.0                 man-sup-catman          .cat
-./usr/share/man/cat8/supservers.0              man-sup-catman          .cat
+./usr/share/man/cat8/supfilesrv.0              man-obsolete            obsolete
+./usr/share/man/cat8/supscan.0                 man-obsolete            obsolete
+./usr/share/man/cat8/supservers.0              man-obsolete            obsolete
 ./usr/share/man/cat8/sushi.0                   man-obsolete            obsolete
 ./usr/share/man/cat8/svhlabel.0                        man-sysutil-catman      .cat
 ./usr/share/man/cat8/swapctl.0                 man-sysutil-catman      .cat
@@ -3783,7 +3783,7 @@
 ./usr/share/man/html1/stty.html                        man-util-htmlman        html
 ./usr/share/man/html1/su.html                  man-util-htmlman        html
 ./usr/share/man/html1/sum.html                 man-util-htmlman        html
-./usr/share/man/html1/sup.html                 man-sup-htmlman         html
+./usr/share/man/html1/sup.html                 man-obsolete            obsolete
 ./usr/share/man/html1/suspend.html             man-util-htmlman        html
 ./usr/share/man/html1/sys_info.html            man-util-htmlman        html
 ./usr/share/man/html1/sysstat.html             man-util-htmlman        html
@@ -6011,9 +6011,9 @@
 ./usr/share/man/html8/sun2/boot.html           man-sys-htmlman         html
 ./usr/share/man/html8/sun3/boot.html           man-sys-htmlman         html
 ./usr/share/man/html8/sunlabel.html            man-sysutil-htmlman     html
-./usr/share/man/html8/supfilesrv.html          man-sup-htmlman         html
-./usr/share/man/html8/supscan.html             man-sup-htmlman         html
-./usr/share/man/html8/supservers.html          man-sup-htmlman         html
+./usr/share/man/html8/supfilesrv.html          man-obsolete            obsolete
+./usr/share/man/html8/supscan.html             man-obsolete            obsolete
+./usr/share/man/html8/supservers.html          man-obsolete            obsolete
 ./usr/share/man/html8/svhlabel.html            man-sysutil-htmlman     html
 ./usr/share/man/html8/swapctl.html             man-sysutil-htmlman     html
 ./usr/share/man/html8/swapon.html              man-sysutil-htmlman     html
@@ -6669,7 +6669,7 @@
 ./usr/share/man/man1/stty.1                    man-util-man            .man
 ./usr/share/man/man1/su.1                      man-util-man            .man
 ./usr/share/man/man1/sum.1                     man-util-man            .man
-./usr/share/man/man1/sup.1                     man-sup-man             .man
+./usr/share/man/man1/sup.1                     man-obsolete            obsolete
 ./usr/share/man/man1/suspend.1                 man-util-man            .man
 ./usr/share/man/man1/sys_info.1                        man-util-man            .man
 ./usr/share/man/man1/sysstat.1                 man-util-man            .man
@@ -9240,9 +9240,9 @@
 ./usr/share/man/man8/sun3x                     man-obsolete            obsolete
 ./usr/share/man/man8/sun3x/installboot.8       man-obsolete            obsolete
 ./usr/share/man/man8/sunlabel.8                        man-sysutil-man         .man
-./usr/share/man/man8/supfilesrv.8              man-sup-man             .man
-./usr/share/man/man8/supscan.8                 man-sup-man             .man
-./usr/share/man/man8/supservers.8              man-sup-man             .man
+./usr/share/man/man8/supfilesrv.8              man-obsolete            obsolete
+./usr/share/man/man8/supscan.8                 man-obsolete            obsolete
+./usr/share/man/man8/supservers.8              man-obsolete            obsolete
 ./usr/share/man/man8/sushi.8                   man-obsolete            obsolete
 ./usr/share/man/man8/svhlabel.8                        man-sysutil-man         .man
 ./usr/share/man/man8/swapctl.8                 man-sysutil-man         .man
diff -r 7a465238ea5e -r 6e22260d932b distrib/sets/lists/misc/mi
--- a/distrib/sets/lists/misc/mi        Tue Oct 15 18:32:59 2019 +0000
+++ b/distrib/sets/lists/misc/mi        Tue Oct 15 18:33:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.215 2019/07/26 13:29:36 roy Exp $
+# $NetBSD: mi,v 1.216 2019/10/15 18:33:57 christos Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -1609,11 +1609,11 @@
 ./usr/share/examples/supfiles/skarven.itea.unit.no     misc-obsolete           obsolete
 ./usr/share/examples/supfiles/sup.au.netbsd.org        misc-obsolete           obsolete
 ./usr/share/examples/supfiles/sup.de.netbsd.org        misc-obsolete           obsolete
-./usr/share/examples/supfiles/sup.jp.netbsd.org        misc-sup-examples       share
+./usr/share/examples/supfiles/sup.jp.netbsd.org        misc-obsolete           obsolete
 ./usr/share/examples/supfiles/sup.netbsd.org   misc-obsolete           obsolete
 ./usr/share/examples/supfiles/sup.no.netbsd.org        misc-obsolete           obsolete
 ./usr/share/examples/supfiles/sup.uk.netbsd.org        misc-obsolete           obsolete
-./usr/share/examples/supfiles/sup2.fr.netbsd.org       misc-sup-examples       share
+./usr/share/examples/supfiles/sup2.fr.netbsd.org       misc-obsolete   obsolete
 ./usr/share/examples/syslogd/all.debug         misc-sysutil-examples   share
 ./usr/share/examples/syslogd/all.newsyslog.conf        misc-sysutil-examples   share
 ./usr/share/examples/tmux                      misc-tmux-examples
diff -r 7a465238ea5e -r 6e22260d932b usr.sbin/Makefile
--- a/usr.sbin/Makefile Tue Oct 15 18:32:59 2019 +0000
+++ b/usr.sbin/Makefile Tue Oct 15 18:33:23 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.280 2018/12/12 07:04:06 maxv Exp $
+#      $NetBSD: Makefile,v 1.281 2019/10/15 18:33:23 christos Exp $
 #      from: @(#)Makefile      5.20 (Berkeley) 6/12/93
 
 .include <bsd.own.mk>
@@ -26,7 +26,7 @@
        rpc.pcnfsd rpc.statd rpcbind rwhod \
        sa screenblank sdpd service services_mkdb sesd schedctl \
        sliplogin spray \
-       srtconfig sti sunlabel sup sysinst syslogd \
+       srtconfig sti sunlabel sysinst syslogd \
        tadpolectl tcpdchk tcpdmatch tcpdrop timed tpctl tprof traceroute trpt \
        unlink usbdevs user \
        videomode vipw veriexecgen vnconfig \
diff -r 7a465238ea5e -r 6e22260d932b usr.sbin/sup/Makefile
--- a/usr.sbin/sup/Makefile     Tue Oct 15 18:32:59 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-#      $NetBSD: Makefile,v 1.3 2001/01/09 03:13:43 lukem Exp $
-
-SUBDIR=        lib .WAIT sup supscan supfilesrv
-
-.include <bsd.subdir.mk>
diff -r 7a465238ea5e -r 6e22260d932b usr.sbin/sup/Makefile.inc
--- a/usr.sbin/sup/Makefile.inc Tue Oct 15 18:32:59 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-#      $NetBSD: Makefile.inc,v 1.13 2011/05/26 12:56:35 joerg Exp $
-
-WARNS?=        1       # XXX -Wshadow -Wcast-qual -Wsign-compare
-
-.include <bsd.own.mk>
-
-USE_FORT?=yes  # network client/server
-
-CPPFLAGS+=-UCMUCS -UCMU -UMACH -DVAR_TMP -DHAS_DAEMON -DHAS_POSIX_DIR \
-    -DLIBWRAP -DHAS_FPARSELN -DHAS_VIS -DHAS_FGETLN
-CPPFLAGS+=-I${.CURDIR}/../source -I${.CURDIR}/../lib -I${.CURDIR}/../sys
-CPPFLAGS+=-DEE_XXX
-
-CWARNFLAGS+=-Wextra -Wno-sign-compare
-
-LIBSUPDIR != cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
-LIBSUP=        ${LIBSUPDIR}/libsup.a
-SUPLIB=        -L${LIBSUPDIR} -lsup
-LDADD+=-lutil
-DPADD+=${LIBUTIL}
-
-.if exists(${.CURDIR}/../../Makefile.inc)
-.include "${.CURDIR}/../../Makefile.inc"
-.endif
diff -r 7a465238ea5e -r 6e22260d932b usr.sbin/sup/README
--- a/usr.sbin/sup/README       Tue Oct 15 18:32:59 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-$NetBSD: README,v 1.2 2003/11/12 13:31:08 grant Exp $
-
-This is the CMU sup system, converted to use a NetBSD Makefile
-infrastructure.  To build the sup system for another operating
-system, go into the "source" subdirectory, and use the Makefile
-provided there.
-
-       -- Jason R. Thorpe <thorpej%NetBSD.org@localhost>
-          October 6, 1997
-
diff -r 7a465238ea5e -r 6e22260d932b usr.sbin/sup/lib/Makefile
--- a/usr.sbin/sup/lib/Makefile Tue Oct 15 18:32:59 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-#      $NetBSD: Makefile,v 1.15 2019/10/13 07:28:21 mrg Exp $
-
-LIBISPRIVATE=  yes
-
-LIB=   sup
-
-SRCS=  scm.c scmio.c stree.c log.c supmsg.c netcrypt.c
-SRCS+= atoo.c expand.c ffilecopy.c filecopy.c \
-       nxtarg.c path.c quit.c run.c skipto.c
-
-.PATH: ${.CURDIR}/../source
-
-BUILDSYMLINKS= ${.CURDIR}/../source/netcryptvoid.c netcrypt.c
-
-COPTS.log.c+=  ${GCC_NO_FORMAT_TRUNCATION}
-
-.include <bsd.lib.mk>
diff -r 7a465238ea5e -r 6e22260d932b usr.sbin/sup/source/Makefile
--- a/usr.sbin/sup/source/Makefile      Tue Oct 15 18:32:59 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,167 +0,0 @@
-#      $NetBSD: Makefile,v 1.32 2009/01/15 15:57:18 christos Exp $
-# Copyright (c) 1992,1991 Carnegie Mellon University
-# All Rights Reserved.
-# 
-# Permission to use, copy, modify and distribute this software and its
-# documentation is hereby granted, provided that both the copyright
-# notice and this permission notice appear in all copies of the
-# software, derivative works or modified versions, and any portions
-# thereof, and that both notices appear in supporting documentation.
-#
-# CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
-# CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
-# ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
-#
-# Carnegie Mellon requests users of this software to return to
-#
-#  Software Distribution Coordinator   or   Software.Distribution%CS.CMU.EDU@localhost
-#  School of Computer Science
-#  Carnegie Mellon University
-#  Pittsburgh PA 15213-3890
-#
-# any improvements or extensions that they make and grant Carnegie the rights
-# to redistribute these changes.
-######################################################################
-# Makefile to build sup (the client side), supfilesrv (the repository
-# side, and supscan (used by the repository. If you only want to sup
-# files from CMU, just build sup.
-# The header files: c.h and libc.h are only
-# necessary if you are compiling on a non-Mach system. Likewise the
-# files in libextra.a are normally found in libcs.a on a Mach system.
-# DOPRINT_VA is used by vprintf.c and should be defined if your version
-# of libc/doprnt.c defines the routine _doprnt_va. If it defines _doprnt
-# instead, leave DORPINT_VA undefined.
-######################################################################
-#
-# If you need to build a sup for export outside of North America use
-#      "make EXPORTABLE_SYSTEM=true"
-# this will remove (not use) any vestiges of crypt code that is present
-# on the system.
-#
-# If you have crypt/crypt.c and /usr/lib/libcrypt.a, you will be building
-# a system that uses the SUP crypt mechanism by default.
-#
-# If building on non 4.4BSD systems, you'll need the vis(3) and the daemon(3)
-# functions from libc and libutil
-
-#SITE                  = SUNOS
-#SITE                  = SOLARIS
-#SITE                  = NETBSD
-#SITE                  = FREEBSD
-#SITE                  = CMUCS
-SITE1                  != uname -s | tr '[a-z]' '[A-Z]' \
-                           | sed -e s/_.*//g
-SITE2                  = $(shell uname -s | tr '[a-z]' '[A-Z]' \
-                           | sed -e s/_.*//g)



Home | Main Index | Thread Index | Old Index