mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 13:01:10 +01:00
Bah. Kris says the default-to-a.out knowledge has migrated into the
official gnu configure scripts and a couple of other places. Add an example noisy, loud and annoying placeholder for /usr/bin/objformat if it turns out to too much trouble to be gone. It is not connected to the build yet.
This commit is contained in:
parent
b7696cdf60
commit
ed0cfa6ecc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166245
7
usr.bin/objformat/Makefile
Normal file
7
usr.bin/objformat/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SCRIPTS=objformat.sh
|
||||
NO_MAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
26
usr.bin/objformat/objformat.sh
Normal file
26
usr.bin/objformat/objformat.sh
Normal file
@ -0,0 +1,26 @@
|
||||
#! /bin/sh
|
||||
# $FreeBSD$
|
||||
# /usr/bin/objformat has been obsolete and deprecated for years.
|
||||
# Please remove any build/configure script references. New software
|
||||
# should only have to only support elf on FreeBSD.
|
||||
#
|
||||
# FreeBSD-2.0, 2.1.x and 2.2.x will use a.out
|
||||
# FreeBSD-3.x will have a real /usr/bin/objformat and are more likely
|
||||
# to be elf than a.out.
|
||||
# Assume that FreeBSD-4.x will be using elf even though it is
|
||||
# **theoretically** possible to build an a.out world.
|
||||
# FreeBSD-5.x and higher only support elf.
|
||||
#
|
||||
|
||||
echo '========================================================' 1>&2
|
||||
echo '== PLEASE REMOVE ALL REFERENCES TO /usr/bin/objformat ==' 1>&2
|
||||
echo '=========== IT HAS BEEN OBSOLETE FOR YEARS! ====-=======' 1>&2
|
||||
echo '========================================================' 1>&2
|
||||
(echo '========================================================' >/dev/tty) 2>/dev/null
|
||||
(echo '== PLEASE REMOVE ALL REFERENCES TO /usr/bin/objformat ==' >/dev/tty) 2>/dev/null
|
||||
(echo '=========== IT HAS BEEN OBSOLETE FOR YEARS! ====-=======' >/dev/tty) 2>/dev/null
|
||||
(echo '========================================================' >/dev/tty) 2>/dev/null
|
||||
# highlight the nag or it will never be fixed!
|
||||
sleep 10
|
||||
echo elf
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user