Skip to content

Commit

Permalink
Remove SVR4 (System V Release 4) binary compatibility support.
Browse files Browse the repository at this point in the history
UNIX System V Release 4 is operating system released in 1988. It ceased
to exist in early 2000-s.
  • Loading branch information
glebius committed Feb 28, 2017
1 parent d61db6b commit efe3b0d
Show file tree
Hide file tree
Showing 83 changed files with 12 additions and 14,975 deletions.
5 changes: 5 additions & 0 deletions ObsoleteFiles.inc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
# xargs -n1 | sort | uniq -d;
# done

# 20170226: SVR4 compatibility removed
.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386"
OLD_FILES+=usr/share/man/man4/streams.4
OLD_FILES+=usr/share/man/man4/svr4.4
.endif
# 20170219: OpenPAM RADULA upgrade removed the libpam tests
OLD_FILES+=usr/tests/lib/libpam/Kyuafile
OLD_FILES+=usr/tests/lib/libpam/t_openpam_ctype
Expand Down
1 change: 0 additions & 1 deletion etc/defaults/rc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,6 @@ firstboot_sentinel="/firstboot" # Scripts with "firstboot" keyword are run if
# Emulation/compatibility services provided by /etc/rc.d/abi
sysvipc_enable="NO" # Load System V IPC primitives at startup (or NO).
linux_enable="NO" # Linux binary compatibility loaded at startup (or NO).
svr4_enable="NO" # SysVR4 emulation loaded at startup (or NO).
clear_tmp_enable="NO" # Clear /tmp at startup.
clear_tmp_X="YES" # Clear and recreate X11-related directories in /tmp
ldconfig_insecure="NO" # Set to YES to disable ldconfig security checks
Expand Down
9 changes: 1 addition & 8 deletions etc/rc.d/abi
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,18 @@ linux_start()
fi
}

svr4_start()
{
echo -n ' svr4'
load_kld -m svr4elf svr4
}

abi_start()
{
local _echostop

_echostop=
if checkyesno sysvipc_enable || checkyesno linux_enable || checkyesno svr4_enable; then
if checkyesno sysvipc_enable || checkyesno linux_enable; then
echo -n 'Additional ABI support:'
_echostop=yes
fi

checkyesno sysvipc_enable && sysv_start
checkyesno linux_enable && linux_start
checkyesno svr4_enable && svr4_start

[ -n "${_echostop}" ] && echo '.'
}
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/regex/re_format.7
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ The additional word delimiters
and
.Ql \e>
are provided to ease compatibility with traditional
.Xr svr4 4
SVR4
systems but are not portable and should be avoided.
.Pp
In the event that an RE could match more than one substring of a given
Expand Down
2 changes: 0 additions & 2 deletions share/man/man4/man4.i386/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ MAN= aic.4 \
pnpbios.4 \
sbni.4 \
smapi.4 \
streams.4 \
svr4.4 \
vpd.4 \
vx.4

Expand Down
85 changes: 0 additions & 85 deletions share/man/man4/man4.i386/streams.4

This file was deleted.

225 changes: 0 additions & 225 deletions share/man/man4/man4.i386/svr4.4

This file was deleted.

7 changes: 1 addition & 6 deletions share/man/man5/rc.conf.5
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd December 10, 2016
.Dd February 26, 2017
.Dt RC.CONF 5
.Os
.Sh NAME
Expand Down Expand Up @@ -3631,11 +3631,6 @@ Set to
.Dq Li YES
to enable Linux/ELF binary emulation at system initial
boot time.
.It Va svr4_enable
.Pq Vt bool
If set to
.Dq Li YES ,
enable SysVR4 emulation at boot time.
.It Va sysvipc_enable
.Pq Vt bool
If set to
Expand Down
Loading

0 comments on commit efe3b0d

Please sign in to comment.