From 1f17881ec346e96fa154ff93e23b121a2ad8ae81 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 25 Jan 2007 22:26:41 +0000 Subject: Retire objformat(1) as threatened in 2002. Laughed-at-by: kris --- usr.bin/Makefile | 1 - usr.bin/objformat/Makefile | 5 ---- usr.bin/objformat/objformat.1 | 63 ------------------------------------------- usr.bin/objformat/objformat.c | 38 -------------------------- 4 files changed, 107 deletions(-) delete mode 100644 usr.bin/objformat/Makefile delete mode 100644 usr.bin/objformat/objformat.1 delete mode 100644 usr.bin/objformat/objformat.c diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 04d62116..da6c784 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -139,7 +139,6 @@ SUBDIR= alias \ nohup \ ${_nslookup} \ ${_nsupdate} \ - objformat \ opieinfo \ opiekey \ opiepasswd \ diff --git a/usr.bin/objformat/Makefile b/usr.bin/objformat/Makefile deleted file mode 100644 index 714cb48..0000000 --- a/usr.bin/objformat/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD$ - -PROG= objformat - -.include diff --git a/usr.bin/objformat/objformat.1 b/usr.bin/objformat/objformat.1 deleted file mode 100644 index bdaa826..0000000 --- a/usr.bin/objformat/objformat.1 +++ /dev/null @@ -1,63 +0,0 @@ -.\" -.\" Copyright (c) 1998 David E. O'Brien -.\" -.\" 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 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 September 17, 2002 -.Os -.Dt OBJFORMAT 1 -.Sh NAME -.Nm objformat -.Nd reports default binary format -.Sh SYNOPSIS -.Nm -.Sh DESCRIPTION -.Bf -symbolic -This program is obsolete and is now just a compatibility stub. -.Ef -.Pp -It reports the object file format as -.Dq Li elf . -.Sh HISTORY -The -.Nm -command appeared in -.Fx 3.0 . -.Pp -The -.Nm -program was deprecated in -.Fx 4.0 -and reduced to a compatibility stub in -.Fx 5.0 . -It will be completely removed before the next release. -.Sh AUTHORS -.An -nosplit -The -.Nm -utility was written by -.An Peter Wemm Aq peter@netplex.com.au . -This manual page was written by -.An David O'Brien Aq obrien@NUXI.com . diff --git a/usr.bin/objformat/objformat.c b/usr.bin/objformat/objformat.c deleted file mode 100644 index f2e9595..0000000 --- a/usr.bin/objformat/objformat.c +++ /dev/null @@ -1,38 +0,0 @@ -/*- - * Copyright (c) 1998, Peter Wemm - * 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 THE AUTHOR 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 THE AUTHOR 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$ - */ - -#include -#include - -int -main(int argc, char **argv) -{ - - write(1, "elf\n", 4); - return (0); -} -- cgit v1.1