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.
This commit is contained in:
parent
1f46e6239c
commit
fd71ea53b4
@ -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 <bsd.kmod.mk>
|
||||
|
@ -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.
|
@ -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
|
Loading…
Reference in New Issue
Block a user