From fd71ea53b45899f968bab4ffe786fe57dde90fff Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Wed, 29 Nov 2000 10:46:14 +0000 Subject: [PATCH] Remove the ibcs2(8) shell script. Providing shell scripts that do nothing but load a similarly named kernel loadable module in out of vogue. There is no ibcs2(4) manual page, and I haven't managed to coax anyone into contributing one based on the linux(4) manual page. --- sys/modules/ibcs2/Makefile | 6 ---- sys/modules/ibcs2/ibcs2.8 | 65 -------------------------------------- sys/modules/ibcs2/ibcs2.sh | 43 ------------------------- 3 files changed, 114 deletions(-) delete mode 100644 sys/modules/ibcs2/ibcs2.8 delete mode 100644 sys/modules/ibcs2/ibcs2.sh diff --git a/sys/modules/ibcs2/Makefile b/sys/modules/ibcs2/Makefile index 4e5f45b0c12..f433a38b901 100644 --- a/sys/modules/ibcs2/Makefile +++ b/sys/modules/ibcs2/Makefile @@ -12,10 +12,4 @@ SRCS= ibcs2_errno.c ibcs2_ipc.c ibcs2_stat.c ibcs2_misc.c \ CFLAGS+= -DCOMPAT_IBCS2 EXPORT_SYMS= _ibcs2_mod _ibcs2_emul_path _ibcs2_svr3_sysvec -.if exists(${DESTDIR}/usr/bin) -afterinstall: - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/ibcs2.sh ${DESTDIR}/usr/sbin/ibcs2 -.endif - .include diff --git a/sys/modules/ibcs2/ibcs2.8 b/sys/modules/ibcs2/ibcs2.8 deleted file mode 100644 index 55acf9e23fa..00000000000 --- a/sys/modules/ibcs2/ibcs2.8 +++ /dev/null @@ -1,65 +0,0 @@ -.\" -.\" Copyright (c) 1995 Lyndon Nerenberg -.\" -.\" All rights reserved. -.\" -.\" This program is free software. -.\" -.\" 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 DEVELOPERS ``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 DEVELOPERS 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. -.\" -.\" $FreeBSD$ -.\" -.Dd November 27, 1995 -.Dt IBCS2 8 -.Os FreeBSD -.Sh NAME -.Nm ibcs2 -.Nd load iBCS2 runtime support for SCO and ISC binaries -.Sh SYNOPSIS -.Nm -.Sh DESCRIPTION -The -.Nm -utility loads kernel runtime support for iBCS2 compliant programs. -This runtime support is limited to emulation of the iBCS2 -system call interface, and is far from complete. COFF binaries -and shared libraries are supported, however no shared libraries -are provided with the -.Fx -distribution. -.Sh FILES -.Bl -tag -width /usr/share/examples/ibcs2/* -compact -.It Pa /modules/ibcs2.ko -.It Pa /modules/ibcs2_coff.ko -iBCS2 loadable kernel modules. -.Pp -.It Pa /usr/share/examples/ibcs2/* -Sample object files with which to test the emulator. -.Sh "SEE ALSO" -.Xr kld 4 , -.Xr kldload 8 -.Sh BUGS -The emulation is very incomplete. -.Pp -Running dynamically linked binaries requires access to an existing -SCO system from which you can grab the shared libraries. -.Pp -You can't really use this without reading the source code. diff --git a/sys/modules/ibcs2/ibcs2.sh b/sys/modules/ibcs2/ibcs2.sh deleted file mode 100644 index c8bf2a809c8..00000000000 --- a/sys/modules/ibcs2/ibcs2.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 1994-1997 -# FreeBSD Inc. 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 FreeBSD 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 FreeBSD Inc. 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. -# -# $FreeBSD$ - - -PATH=/bin:/sbin:/usr/bin:/usr/sbin; export PATH - -if [ $# -le 1 ]; then - LOADERS="coff" # elf -fi - -set -e - -kldload ibcs2 - -for loader in $LOADERS; do - kldload ibcs2_${loader} -done -set +e