Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 18:00:08 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        ports@FreeBSD.org, current@FreeBSD.org
Subject:   objformat (Re: cvs commit: src/usr.bin Makefile src/usr.bin/objformat Makefile objformat.1 objformat.c)
Message-ID:  <20070125230008.GA73226@xor.obsecurity.org>
In-Reply-To: <200701252226.l0PMQfEb057961@repoman.freebsd.org>
References:  <200701252226.l0PMQfEb057961@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 25, 2007 at 10:26:41PM +0000, Peter Wemm wrote:
> peter       2007-01-25 22:26:41 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     usr.bin              Makefile=20
>   Removed files:
>     usr.bin/objformat    Makefile objformat.1 objformat.c=20
>   Log:
>   Retire objformat(1) as threatened in 2002.
>  =20
>   Laughed-at-by:  kris

This was well past expiry date, as evidenced by the previous commit
log to objformat.c:
---
date: 2002/09/17 01:49:00;  author: peter;  state: Exp;  lines: +3 -48
Initiate deorbit burn for the i386-only a.out related support.  Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.
---

However it does catch us in ports with our pants down a bit:

bsd.port.mk:PORTOBJFORMAT!=3D         ${TEST} -x /usr/bin/objformat && /usr=
/bin/objformat || ${ECHO_CMD} aout

i.e. it defaults to aout :-O

If you're in the habit of aggressively removing binaries from your
system (i.e. you delete /usr/binobjformat) or you install 7.0 on a
fresh system, you might need to add PORTOBJFORMAT?=3Delf in your
/etc/make.conf until we can get it fixed in ports (workaround is easy,
but digging out all the old a.out legacy crap will take more work,
because it also extends into various patchfiles etc).

Unfortunately this bogus form of the test seems to have also migrated
upstream into various vendor packages (grep -r objformat
/usr/src/{contrib,crypto} to see what I mean), so they may need to be
fixed too.

Kris

--huq684BweRXVnRxX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFuTZ3Wry0BWjoQKURAqfeAKCe0V/Oe5+fK8SDKSHxQF8EOLFZqgCeMbXm
tHlhj0I68m/uti/ZZR3fuZM=
=nPIH
-----END PGP SIGNATURE-----

--huq684BweRXVnRxX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070125230008.GA73226>