summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
Diffstat (limited to 'distrib')
-rw-r--r--distrib/mac68k/Makefile5
-rw-r--r--distrib/mac68k/Makefile.inc3
-rw-r--r--distrib/mac68k/ramdisk/Makefile92
-rw-r--r--distrib/mac68k/ramdisk/Makefile.inc44
-rw-r--r--distrib/mac68k/ramdisk/install.md106
-rw-r--r--distrib/mac68k/ramdisk/list84
6 files changed, 0 insertions, 334 deletions
diff --git a/distrib/mac68k/Makefile b/distrib/mac68k/Makefile
deleted file mode 100644
index 9eacda0c9bc..00000000000
--- a/distrib/mac68k/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-# $OpenBSD: Makefile,v 1.3 1999/06/13 10:33:30 downsj Exp $
-
-SUBDIR= ramdisk
-
-.include <bsd.subdir.mk>
diff --git a/distrib/mac68k/Makefile.inc b/distrib/mac68k/Makefile.inc
deleted file mode 100644
index 5a785b766c3..00000000000
--- a/distrib/mac68k/Makefile.inc
+++ /dev/null
@@ -1,3 +0,0 @@
-# $OpenBSD: Makefile.inc,v 1.3 1999/06/13 10:33:30 downsj Exp $
-
-REV=${OSrev}
diff --git a/distrib/mac68k/ramdisk/Makefile b/distrib/mac68k/ramdisk/Makefile
deleted file mode 100644
index a5afb7721fd..00000000000
--- a/distrib/mac68k/ramdisk/Makefile
+++ /dev/null
@@ -1,92 +0,0 @@
-# $OpenBSD: Makefile,v 1.16 2011/04/18 16:52:09 thib Exp $
-
-TOP= ${.CURDIR}/..
-
-.include "${TOP}/Makefile.inc"
-BSD_RD= bsd.rd
-BSDSBC_RD= bsdsbc.rd
-IMAGE= mr.fs
-CBIN?= instbin
-LISTS= ${.CURDIR}/list
-UTILS?= ${.CURDIR}/../../miniroot
-
-MOUNT_POINT= /mnt
-MTREE= ${UTILS}/mtree.conf
-
-VND?= vnd0
-VND_DEV= /dev/${VND}a
-VND_RDEV= /dev/r${VND}a
-VND_CRDEV= /dev/r${VND}c
-PID!= echo $$$$
-
-DISKTYPE= rdroot
-NBLKS= 2880
-NEWFSARGS= -t ffs -m 0 -o space -b 4096
-
-all: ${BSD_RD}
-
-${BSD_RD}: ${CBIN} ${IMAGE} bsd rdsetroot
- cp bsd ${BSD_RD}
- ${.OBJDIR}/rdsetroot ${BSD_RD} ${IMAGE}
-
-${IMAGE}: rd_setup do_files rd_teardown
-
-bsd:
-.ifndef(NOBUILD)
- cd ${.CURDIR}/../../../sys/arch/mac68k/conf && config RAMDISK
- cd ${.CURDIR}/../../../sys/arch/mac68k/compile/RAMDISK && \
- ${MAKE} clean && exec ${MAKE}
-.endif
- cp ${.CURDIR}/../../../sys/arch/mac68k/compile/RAMDISK/bsd bsd
-
-rd_setup:
- dd if=/dev/zero of=${IMAGE} bs=512 count=${NBLKS}
- vnconfig -v -c ${VND} ${IMAGE}
- disklabel -w ${VND} ${DISKTYPE}
- newfs ${NEWFSARGS} ${VND_RDEV}
- fsck ${VND_RDEV}
- mount ${VND_DEV} ${MOUNT_POINT}
-
-rd_teardown:
- @df -i ${MOUNT_POINT}
- -umount ${MOUNT_POINT}
- -vnconfig -u ${VND}
-
-rdsetroot: ${TOP}/../common/rdsetroot.c
- ${HOSTCC} -o rdsetroot ${TOP}/../common/rdsetroot.c
-
-unconfig:
- -umount -f ${MOUNT_POINT}
- -vnconfig -u ${VND}
-
-.PRECIOUS: ${IMAGE}
-
-.ifdef RELEASEDIR
-install:
- cp ${BSD_RD} ${RELEASEDIR}/${BSD_RD}
- printf "disable ncrscsi\nenable sbc\nquit" | config -e \
- -o ${RELEASEDIR}/${BSDSBC_RD} ${RELEASEDIR}/${BSD_RD}
-.endif
-
-${CBIN}.conf: ${LISTS}
- awk -f ${UTILS}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf
-
-${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CBIN}.conf
- crunchgen -D ${.CURDIR}/../../.. -L ${DESTDIR}/usr/lib ${CBIN}.conf
-
-${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
- ${MAKE} -f ${CBIN}.mk all
-
-do_files:
- mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
- TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
- REV=${REV} TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \
- RELEASEDIR=${RELEASEDIR} sh ${UTILS}/runlist.sh ${LISTS}
- rm ${MOUNT_POINT}/${CBIN}
-
-clean cleandir:
- /bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.conf ${CBIN}.mk ${CBIN}.cache \
- *.o *.lo *.c bsd ${BSD_RD} rdsetroot
-
-.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
diff --git a/distrib/mac68k/ramdisk/Makefile.inc b/distrib/mac68k/ramdisk/Makefile.inc
deleted file mode 100644
index b40168b6fe6..00000000000
--- a/distrib/mac68k/ramdisk/Makefile.inc
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# $OpenBSD: Makefile.inc,v 1.7 2009/04/17 03:58:54 deraadt Exp $
-# $NetBSD: Makefile.inc,v 1.1 1995/07/18 04:13:14 briggs Exp $
-#
-
-# TOP is assumed to be defined by Makefile including this one.
-
-CBIN?= instbin
-LISTS= ${.CURDIR}/list
-UTILS?= ${.CURDIR}/../../miniroot
-
-COMMONDIR= ${TOP}/ramdisk
-MOUNT_POINT?= ${TOP}/${BASE}/fs
-
-CRUNCHCONF?= ${COMMONDIR}/${CBIN}.conf
-MTREE= ${UTILS}/mtree.conf
-
-${CBIN}.conf: ${LISTS}
- awk -f ${UTILS}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf
-
-${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CBIN}.conf
- crunchgen -D ${BSDSRCDIR} -L ${DESTDIR}/usr/lib ${CBIN}.conf
-
-${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
- ${MAKE} -f ${CBIN}.mk all
-
-#${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
-# crunchgen -D ${BSDSRCDIR} -L ${DESTDIR}/usr/lib ${CRUNCHCONF}
-
-#${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
-# ${MAKE} -f ${CBIN}.mk all
-
-do_files:
- mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
- TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
- REV=${REV} TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \
- RELEASEDIR=${RELEASEDIR} sh ${UTILS}/runlist.sh ${LISTS}
- rm ${MOUNT_POINT}/${CBIN}
-
-clean cleandir:
- /bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
-
-.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
diff --git a/distrib/mac68k/ramdisk/install.md b/distrib/mac68k/ramdisk/install.md
deleted file mode 100644
index 0378cd247f9..00000000000
--- a/distrib/mac68k/ramdisk/install.md
+++ /dev/null
@@ -1,106 +0,0 @@
-# $OpenBSD: install.md,v 1.37 2011/04/17 20:57:10 krw Exp $
-#
-# Copyright (c) 2002, Miodrag Vallat.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY ITS AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL ITS AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Copyright (c) 1996 The NetBSD Foundation, Inc.
-# All rights reserved.
-#
-# This code is derived from software contributed to The NetBSD Foundation
-# by Jason R. Thorpe.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
-# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
-# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-#
-#
-# machine dependent section of installation/upgrade script.
-#
-#
-
-# Machine-dependent install sets
-MDSETS="bsdsbc bsdsbc.rd"
-
-md_installboot() {
-}
-
-md_prep_disklabel() {
- local _disk=$1 _f _op
-
- disklabel -W $_disk >/dev/null 2>&1
- if [[ -n $(disklabel -c $_disk 2>/dev/null | grep ' HFS ') ]]; then
- cat <<__EOT
-This disk has been setup under MacOS. You will now edit a MacOS partition
-table. Be careful not to remove the MacOS partitions in use.
-__EOT
- pdisk /dev/${_disk}c
- fi
-
- _f=/tmp/fstab.$_disk
- if [[ $_disk == $ROOTDISK ]]; then
- while :; do
- echo "The auto-allocated layout for $_disk is:"
- disklabel -h -A $_disk | egrep "^# |^ [a-p]:"
- ask "Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout?" a
- case $resp in
- a*|A*) _op=-w ; AUTOROOT=y ;;
- e*|E*) _op=-E ;;
- c*|C*) break ;;
- *) continue ;;
- esac
- disklabel $FSTABFLAG $_f $_op -A $_disk
- return
- done
- fi
- cat <<__EOT
-You will now create a OpenBSD disklabel on the disk. The disklabel defines
-how OpenBSD splits up the disk into OpenBSD partitions in which filesystems
-and swap space are created. You must provide each filesystem's mountpoint
-in this program.
-
-__EOT
- disklabel $FSTABFLAG $_f -E $_disk
-}
-
-md_congrats() {
-}
-
-md_consoleinfo() {
-}
diff --git a/distrib/mac68k/ramdisk/list b/distrib/mac68k/ramdisk/list
deleted file mode 100644
index fa4030962cd..00000000000
--- a/distrib/mac68k/ramdisk/list
+++ /dev/null
@@ -1,84 +0,0 @@
-# $OpenBSD: list,v 1.35 2010/10/18 04:07:51 deraadt Exp $
-
-SRCDIRS distrib/special
-SRCDIRS bin sbin usr.bin usr.sbin
-
-# copy the crunched binary, link to it, and kill it
-COPY ${OBJDIR}/instbin instbin
-LINK instbin bin/arch
-LINK instbin bin/cat
-LINK instbin bin/date
-LINK instbin bin/chmod bin/chgrp sbin/chown
-LINK instbin bin/cp
-LINK instbin bin/dd
-LINK instbin bin/df
-LINK instbin bin/ed
-LINK instbin bin/expr
-LINK instbin bin/hostname
-LINK instbin bin/ksh bin/sh
-ARGVLINK ksh -sh
-LINK instbin bin/ln
-LINK instbin bin/ls
-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/dhclient
-LINK instbin sbin/disklabel
-LINK instbin sbin/dmesg
-LINK instbin sbin/fsck
-LINK instbin sbin/fsck_ffs
-LINK instbin sbin/ifconfig
-LINK instbin sbin/init
-LINK instbin sbin/mknod
-LINK instbin sbin/mount
-LINK instbin sbin/mount_cd9660
-LINK instbin sbin/mount_ffs
-LINK instbin sbin/mount_nfs
-LINK instbin sbin/newfs
-LINK instbin sbin/pdisk
-LINK instbin sbin/ping
-LINK instbin sbin/ping6
-LINK instbin sbin/reboot sbin/halt
-LINK instbin sbin/route
-LINK instbin sbin/rtsol
-LINK instbin sbin/umount
-LINK instbin usr/bin/ftp
-LINK instbin usr/bin/grep usr/bin/fgrep usr/bin/egrep
-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
-
-# copy the MAKEDEV script and make some devices
-SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
-SPECIAL cd dev; sh MAKEDEV ramdisk
-
-# various files that we need in /etc for the install
-COPY ${DESTDIR}/etc/group etc/group
-COPY ${CURDIR}/../../miniroot/protocols etc/protocols
-COPY ${CURDIR}/../../miniroot/services etc/services
-COPY ${CURDIR}/../../miniroot/master.passwd etc/master.passwd
-SPECIAL pwd_mkdb -p -d etc master.passwd; rm etc/master.passwd
-SYMLINK /tmp/fstab.shadow etc/fstab
-SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
-SYMLINK /tmp/hosts etc/hosts
-TERMCAP vt100,vt220,dumb usr/share/misc/termcap
-
-# dhcp things
-SCRIPT ${DESTDIR}/sbin/dhclient-script sbin/dhclient-script
-
-# and the installation tools
-SCRIPT ${CURDIR}/../../miniroot/dot.profile .profile
-SCRIPT ${CURDIR}/install.md install.md
-SCRIPT ${CURDIR}/../../miniroot/install.sh install
-SCRIPT ${CURDIR}/../../miniroot/upgrade.sh upgrade
-SCRIPT ${CURDIR}/../../miniroot/install.sub install.sub
-SPECIAL chmod 755 install upgrade sbin/dhclient-script
-
-HASH var/hash