Switch to using the base sha256 command, rather than some customized
authorderaadt <deraadt@openbsd.org>
Wed, 8 Jan 2014 21:53:33 +0000 (21:53 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 8 Jan 2014 21:53:33 +0000 (21:53 +0000)
abomination.
install.sub chunk tested by rpe

32 files changed:
distrib/alpha/bsd.rd/list.local
distrib/alpha/common/list
distrib/amd64/common/list
distrib/amd64/ramdisk_cd/list.local
distrib/armish/ramdisk/list
distrib/armv7/ramdisk/list
distrib/aviion/ramdisk/list
distrib/hp300/ramdisk/list
distrib/hppa/list
distrib/i386/common/list
distrib/i386/ramdisk_cd/list.local
distrib/landisk/ramdisk/list
distrib/loongson/ramdisk/list
distrib/luna88k/ramdisk/list
distrib/macppc/ramdisk/list
distrib/miniroot/install.sub
distrib/miniroot/list
distrib/mvme68k/ramdisk/list
distrib/mvme88k/ramdisk/list
distrib/octeon/ramdisk/list
distrib/ramdisk/list
distrib/sgi/ramdisk/list
distrib/socppc/ramdisk/list
distrib/sparc/ramdisk/list.local
distrib/sparc64/bsd.rd/list
distrib/sparc64/ramdisk/list
distrib/sparc64/ramdiskB/list
distrib/special/Makefile
distrib/special/sha256/Makefile [deleted file]
distrib/special/sha256/sha256.c [deleted file]
distrib/vax/common/list
distrib/zaurus/ramdisk/list

index c2950a9..3dd16e1 100644 (file)
@@ -1,5 +1,3 @@
-LINK   instbin                                 bin/sha256
-
 LINK   instbin                                 sbin/mount_cd9660
 LINK   instbin                                 sbin/dhclient
 LINK   instbin                                 bin/mt bin/eject
index 011299a..9d4bd6c 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.34 2014/01/08 06:17:21 deraadt Exp $
+#      $OpenBSD: list,v 1.35 2014/01/08 21:53:34 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -17,6 +17,7 @@ LINK  instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
@@ -43,6 +44,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/more usr/bin/less
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # copy the MAKEDEV script and make some devices
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index 591a62c..35554c5 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.27 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.28 2014/01/08 21:53:34 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -18,6 +18,7 @@ LINK  instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
@@ -50,6 +51,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # copy the MAKEDEV script and make some devices
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index ea8d11a..059cf5f 100644 (file)
@@ -1,8 +1,6 @@
-# $OpenBSD: list.local,v 1.22 2012/10/30 18:39:43 krw Exp $
+# $OpenBSD: list.local,v 1.23 2014/01/08 21:53:35 deraadt Exp $
 
 # add local links; use bin/sh since instbin has already been unlinked
-LINK   instbin                                 bin/sha256
-
 LINK   instbin                                 sbin/ping6
 LINK   instbin                                 sbin/rtsol
 
index da40959..deed185 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.16 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.17 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -58,6 +58,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 LINK   instbin                                 sbin/bioctl
 
 # copy the MAKEDEV script and make some devices
index 73a2320..4a21dc0 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.3 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.4 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -60,6 +60,7 @@ LINK  instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 usr/sbin/mkuboot
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 LINK   instbin                                 sbin/bioctl
 
 # this is the list from distrib/miniroot/makeconf.awk with -lz added.
index 4167d92..4c4dd9e 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.2 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.3 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 sbin/dhclient
@@ -52,6 +52,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # copy the MAKEDEV script and make some devices
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index e9c94e6..9ab0679 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.59 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.60 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -18,12 +18,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -52,6 +52,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # copy the MAKEDEV script and make some devices
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index 051a11c..093c97f 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.20 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.21 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -50,6 +50,7 @@ LINK  instbin                                 usr/bin/ftp
 LINK   instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # various files that we need in /etc for the install
 COPY   ${DESTDIR}/etc/group                    etc/group
index 178ca97..6eb284c 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.29 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.30 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -18,6 +18,7 @@ LINK  instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
@@ -51,6 +52,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # copy the MAKEDEV script and make some devices
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index 9b2c473..73b0cd6 100644 (file)
@@ -1,7 +1,6 @@
-# $OpenBSD: list.local,v 1.31 2014/01/06 22:22:31 deraadt Exp $
+# $OpenBSD: list.local,v 1.32 2014/01/08 21:53:35 deraadt Exp $
 
 # add local links; use bin/sh since instbin has already been unlinked
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 sbin/mount_ext2fs
 LINK   instbin                                 sbin/mount_msdos
 LINK   instbin                                 sbin/ping6
index 95f9aa4..c32b3db 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.24 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.25 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -58,6 +58,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # firmware we might need
 COPY   ${DESTDIR}/etc/firmware/kue             etc/firmware/kue
index e14852f..1c165a6 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.10 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.11 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -60,6 +60,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # copy the MAKEDEV script and make some devices
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index 8037d90..4c51a9b 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.18 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.19 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 sbin/dhclient
@@ -52,6 +52,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # copy the MAKEDEV script and make some devices
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index 2034a78..35829ea 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.46 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.47 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -58,6 +58,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 LINK   instbin                                 sbin/bioctl
 
 # copy the MAKEDEV script and make some devices
index 93e55eb..df169cf 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: install.sub,v 1.725 2014/01/07 23:58:44 rpe Exp $
+#      $OpenBSD: install.sub,v 1.726 2014/01/08 21:53:35 deraadt Exp $
 #      $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
 #
 # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -1195,19 +1195,16 @@ install_files() {
 
        [[ $resp = n ]] && return
 
-       shacmd="cat"
-       [[ -x /bin/sha256 ]] && shacmd="sha256 /tmp/h"
-
        for _f in $THESETS ; do
                isin $_f $_get_sets || continue
                echo -n "Getting $_f ..."
                rm -f /tmp/h
                case $_f in
                *.tgz)  ftp -Vmo - "$_src/$_f" |
-                               $shacmd | tar zxphf - -C /mnt
+                               sha256 -p -h /tmp/h | tar zxphf - -C /mnt
                        ;;
                *)      ftp -Vmo - "$_src/$_f" |
-                               $shacmd > "/mnt/$_f"
+                               sha256 -p -h /tmp/h > "/mnt/$_f"
                        ;;
                esac
                if (($? != 0)); then
index ce24ac7..e308749 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.48 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.49 2014/01/08 21:53:35 deraadt Exp $
 #      $NetBSD: list,v 1.4.4.1 1996/06/20 20:30:26 pk Exp $
 
 SRCDIRS distrib/special
@@ -20,12 +20,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -51,6 +51,7 @@ LINK  instbin                                 usr/bin/ftp
 LINK   instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # various files that we need in /etc for the install
 COPY   ${DESTDIR}/etc/group                    etc/group
index f7e3ccf..4e08e5f 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.43 2014/01/07 02:27:55 deraadt Exp $
+#      $OpenBSD: list,v 1.44 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 sbin/dhclient
@@ -52,6 +52,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # copy the MAKEDEV script and make some devices
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index e05b80a..ea01be6 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.41 2014/01/07 02:27:56 deraadt Exp $
+#      $OpenBSD: list,v 1.42 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 sbin/dhclient
@@ -52,6 +52,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # copy the MAKEDEV script and make some devices
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index b43e64b..18e8dda 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.2 2014/01/07 02:27:56 deraadt Exp $
+#      $OpenBSD: list,v 1.3 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -57,6 +57,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # copy the MAKEDEV script and make some devices
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index c2efc5d..2765506 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.41 2014/01/07 02:27:56 deraadt Exp $
+#      $OpenBSD: list,v 1.42 2014/01/08 21:53:35 deraadt Exp $
 #      $NetBSD: list,v 1.4.4.1 1996/06/20 20:30:26 pk Exp $
 
 SRCDIRS distrib/special
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -46,6 +46,7 @@ LINK  instbin                                 sbin/reboot sbin/halt
 LINK   instbin                                 sbin/route
 LINK   instbin                                 sbin/rtsol
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 LINK   instbin                                 sbin/umount
 LINK   instbin                                 usr/bin/arch
 LINK   instbin                                 usr/bin/ftp
index 637f254..565ac43 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.35 2014/01/07 02:27:56 deraadt Exp $
+#      $OpenBSD: list,v 1.36 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -54,6 +54,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 LINK   instbin                                 sbin/bioctl
 
 # copy the MAKEDEV script and make some devices
index e415d0e..afdf040 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.16 2014/01/07 02:27:56 deraadt Exp $
+#      $OpenBSD: list,v 1.17 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -57,6 +57,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 # copy the MAKEDEV script and make some devices
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index b1deb17..1897808 100644 (file)
@@ -1,9 +1,7 @@
-#      $OpenBSD: list.local,v 1.4 2012/10/17 02:06:41 deraadt Exp $
+#      $OpenBSD: list.local,v 1.5 2014/01/08 21:53:35 deraadt Exp $
 #      $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $
 
 # Sparc extra's
-LINK   instbin                                 bin/sha256
-
 LINK   instbin                                 sbin/disklabel
 #LINK  instbin                                 sbin/restore
 LINK   instbin                                 usr/bin/grep usr/bin/egrep usr/bin/fgrep
index 6bfb7a9..08fa0ea 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.41 2014/01/07 02:27:56 deraadt Exp $
+#      $OpenBSD: list,v 1.42 2014/01/08 21:53:35 deraadt Exp $
 #      $NetBSD: list,v 1.4.4.1 1996/06/20 20:30:26 pk Exp $
 
 SRCDIRS distrib/special
@@ -20,12 +20,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -56,6 +56,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 LINK   instbin                                 sbin/bioctl
 
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
index 00085bf..114f58d 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.38 2014/01/07 02:27:56 deraadt Exp $
+#      $OpenBSD: list,v 1.39 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -20,6 +20,7 @@ LINK  instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
@@ -50,6 +51,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
 SPECIAL        cd dev; sh MAKEDEV ramdisk
index de8c55d..6210eb7 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.32 2014/01/07 02:27:56 deraadt Exp $
+#      $OpenBSD: list,v 1.33 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -20,6 +20,7 @@ LINK  instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
@@ -48,6 +49,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 
 SCRIPT ${DESTDIR}/dev/MAKEDEV                  dev/MAKEDEV
 SPECIAL        cd dev; sh MAKEDEV ramdisk
index 07b3671..36897f5 100644 (file)
@@ -1,8 +1,8 @@
-#      $OpenBSD: Makefile,v 1.27 2014/01/08 14:20:52 deraadt Exp $
+#      $OpenBSD: Makefile,v 1.28 2014/01/08 21:53:35 deraadt Exp $
 
 SUBDIR=        libstubs \
        arch date dd dhclient dmesg ed ftp grep gzip ifconfig init \
-       kbd less md5 more mt newfs ping restore sed sha256 sysctl
+       kbd less md5 more mt newfs ping restore sed sysctl signify
 
 install:
 
diff --git a/distrib/special/sha256/Makefile b/distrib/special/sha256/Makefile
deleted file mode 100644 (file)
index e786b35..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#      $OpenBSD: Makefile,v 1.2 2009/10/28 07:36:49 deraadt Exp $
-
-PROG=  sha256
-
-.include <bsd.prog.mk>
diff --git a/distrib/special/sha256/sha256.c b/distrib/special/sha256/sha256.c
deleted file mode 100644 (file)
index b579b7f..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-/*     $OpenBSD: sha256.c,v 1.1 2009/04/17 03:48:35 deraadt Exp $      */
-
-/*
- * Copyright (c) 2009 Theo de Raadt <deraadt@openbsd.org>
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-#include <sys/types.h>
-#include <err.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sha2.h>
-
-int
-main(int argc, char *argv[])
-{
-       u_int8_t results[SHA256_DIGEST_LENGTH];
-       size_t nread, nwrite, i;
-       char buf[BUFSIZ];
-       SHA2_CTX ctx;
-       FILE *fp;
-
-       if (argv[1] == NULL) {
-               fprintf(stderr, "usage: sha256 outfile\n");
-               exit(1);
-       }
-
-       fp = fopen(argv[1], "w");
-
-       SHA256Init(&ctx);
-       while ((nread = read(STDIN_FILENO, buf, sizeof buf)) > 0) {
-               SHA256Update(&ctx, (u_int8_t *)buf, nread);
-               for (i = 0; i < nread ; ) {
-                       nwrite = write(STDOUT_FILENO, buf + i, nread - i);
-                       if (nwrite == -1)
-                               exit(1);
-                       i += nwrite;
-               }
-       }
-       SHA256End(&ctx, results);
-       fprintf(fp, "%s\n", results);
-       fclose(fp);
-       exit(0);
-}
index e429813..9b8c282 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.24 2014/01/07 02:27:56 deraadt Exp $
+#      $OpenBSD: list,v 1.25 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,11 +19,11 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -52,6 +52,7 @@ LINK  instbin                                 usr/bin/ftp
 LINK   instbin                                 usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 LINK   instbin                                 usr/bin/tar
 LINK   instbin                                 usr/sbin/chown
 #LINK  instbin                                 usr/sbin/bad144
index 1d55148..26d3629 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: list,v 1.20 2014/01/07 02:27:56 deraadt Exp $
+#      $OpenBSD: list,v 1.21 2014/01/08 21:53:35 deraadt Exp $
 
 SRCDIRS distrib/special
 SRCDIRS bin sbin
@@ -19,12 +19,12 @@ LINK        instbin                                 bin/ksh bin/sh
 ARGVLINK ksh                                   -sh
 LINK   instbin                                 bin/ln
 LINK   instbin                                 bin/ls
+LINK   instbin                                 bin/md5 bin/sha256 bin/sha512
 LINK   instbin                                 bin/mkdir
 LINK   instbin                                 bin/mt bin/eject
 LINK   instbin                                 bin/mv
 LINK   instbin                                 bin/pax bin/tar bin/cpio
 LINK   instbin                                 bin/rm
-LINK   instbin                                 bin/sha256
 LINK   instbin                                 bin/sleep
 LINK   instbin                                 bin/stty
 LINK   instbin                                 bin/sync
@@ -58,6 +58,7 @@ LINK  instbin                                 usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
 LINK   instbin                                 usr/bin/less usr/bin/more
 LINK   instbin                                 usr/bin/sed
 LINK   instbin                                 sbin/sysctl
+LINK   instbin                                 usr/bin/signify
 LINK   instbin                                 usr/sbin/ztsscale
 LINK   instbin                                 sbin/bioctl