#       $NetBSD: list,v 1.5 2021/03/09 00:08:04 christos Exp $

SRCDIRS bin sbin external/bsd/less/bin crypto/external/bsd/openssh/bin/sshd usr.bin usr.sbin

PROG    bin/cat
PROG    bin/chmod
PROG    bin/cp
PROG    bin/dd
PROG    bin/df
PROG    bin/ed
PROG    bin/ln
PROG    bin/ls
PROG    bin/mkdir
PROG    bin/mv
PROG    bin/pax         usr/bin/tar
PROG    bin/pwd
PROG    bin/rm
PROG    bin/rmdir
PROG    bin/sh
PROG    bin/stty
PROG    bin/sync
PROG    bin/sleep

PROG    sbin/chown      bin/chgrp
PROG    sbin/disklabel
PROG    sbin/fdisk
PROG    sbin/fsck
PROG    sbin/fsck_msdos
PROG    sbin/fsck_ffs
PROG    sbin/gpt
PROG    sbin/ifconfig
PROG    sbin/init
PROG    sbin/mknod
PROG    sbin/mount
PROG    sbin/mount_cd9660
PROG    sbin/mount_ext2fs
PROG    sbin/mount_ffs
PROG    sbin/mount_kernfs
PROG    sbin/mount_msdos
PROG    sbin/mount_nfs
PROG    sbin/mount_tmpfs
PROG    sbin/newfs      sbin/mount_mfs
PROG    sbin/newfs_ext2fs
PROG    sbin/ping
PROG    sbin/reboot     sbin/halt
PROG    sbin/restore    sbin/rrestore
PROG    sbin/route
PROG    sbin/shutdown
PROG    sbin/slattach
PROG    sbin/swapctl
PROG    sbin/umount

PROG    usr/bin/ftp
PROG    usr/bin/tip     usr/bin/cu
PROG    usr/bin/gzip    usr/bin/gzcat usr/bin/gunzip
PROG    usr/bin/less    usr/bin/more
PROG    usr/bin/sed
PROG    usr/bin/tset

PROG    usr/sbin/chroot
PROG    usr/sbin/sshd

SPECIAL ed              srcdir  distrib/utils/x_ed
SPECIAL gzip            srcdir  distrib/utils/x_gzip
SPECIAL ping            srcdir  distrib/utils/x_ping
SPECIAL ifconfig        srcdir  distrib/utils/x_ifconfig
SPECIAL route           srcdir  distrib/utils/x_route
SPECIAL umount          srcdir  distrib/utils/x_umount
SPECIAL sshd            srcdir  crypto/external/bsd/openssh/bin/sshd
SPECIAL sshd            keepsymbols allow_severity deny_severity

LIBS    libhack.o -ledit -lutil -lcurses -lterminfo -lrmt -lcrypt -ll -lm -lz -lprop    -lssh -lcrypto

# init invokes the shell as -sh
ARGVLN  sh -sh

# we need the boot blocks /usr/mdec
#COPY   ${DESTDIR}/usr/mdec/ofwboot     usr/mdec/ofwboot

# various files that we need in /etc for the install
COPY    ${NETBSDSRCDIR}/etc/group               etc/group
COPY    ${CURDIR}/master.passwd etc/master.passwd 600
COPY    ${NETBSDSRCDIR}/etc/netconfig           etc/netconfig
COPY    ${DISTRIBDIR}/common/protocols          etc/protocols
COPY    ${DISTRIBDIR}/common/services           etc/services

# and the installation tools
COPY    ${CURDIR}/dot.profile           .profile
COPY    ${CURDIR}/inst.profile          inst/.profile
COPY    ${CURDIR}/sshd_config           etc/ssh/sshd_config
COPY    ${CURDIR}/ssh_host_rsa_key      etc/ssh/ssh_host_rsa_key 600