abomination.
install.sub chunk tested by rpe
-LINK instbin bin/sha256
-
LINK instbin sbin/mount_cd9660
LINK instbin sbin/dhclient
LINK instbin bin/mt bin/eject
-# $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
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
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
-# $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
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 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
-# $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
-# $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
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
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
-# $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
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
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.
-# $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
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
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
-# $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
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
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
-# $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
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
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
-# $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
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 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
-# $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
-# $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
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
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
-# $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
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
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
-# $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
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
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
-# $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
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
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
-# $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
[[ $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
-# $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
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
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
-# $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
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
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
-# $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
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
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
-# $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
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
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
-# $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
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
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
-# $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
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
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
-# $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
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
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
-# $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
-# $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
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
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
-# $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
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 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
-# $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
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 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
-# $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:
+++ /dev/null
-# $OpenBSD: Makefile,v 1.2 2009/10/28 07:36:49 deraadt Exp $
-
-PROG= sha256
-
-.include <bsd.prog.mk>
+++ /dev/null
-/* $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);
-}
-# $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
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
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
-# $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
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
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