Commit Graph

225 Commits

Author SHA1 Message Date
David E. O'Brien
a2a8085e7e As warned on freebsd-current@, remove the perl wrapper from /usr/src.
The /usr/bin/perl wrapper isn't solving many of the problems it was
imported to deal with.  There are limitations to it that don't have a
clear "fix".

Reviewed by:	markm, kris
Extorted approval from:	re(jhb)
2002-11-27 17:46:26 +00:00
Marcel Moolenaar
cfad5290a0 o Build truss on all architectures.
o  xlint is still excluded from the ia64 build, but now in a way
   that doesn't corrupt ordering for other platforms.
2002-11-10 01:01:58 +00:00
Ruslan Ermilov
b382ba4fb1 bsd.doc.mk changes:
Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS.

Only create _stamp.extra when necessary.

Get rid of SOELIMPP and OBJS.

Use Groff version of soelim(1); we need its -I option
for the following to work.

Don't needlessly chdir to SRCDIR.  Only a few documents
need CD_HACK, and those that need it either use refer(1)
or .PSPIC macro which internally uses the .psbb call.
2002-10-29 14:56:09 +00:00
Tim J. Robbins
98c59a0ae1 Add the c99(1) utility, which is nothing more than a synonym for
cc -std=iso9899:1999 -pedantic, and is required by SUSv3.

PR;	36087
2002-10-07 09:37:55 +00:00
Peter Wemm
66422f5b7a 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.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
Peter Wemm
155c182a5c Promote gcore from i386-specific to the MI section.
Compiled on: alpha, sparc64, ia64
2002-09-13 18:29:08 +00:00
Jake Burkholder
d9ac5b20fb truss hasn't been ported to ia64 yet.
Noticed by:	ru
2002-08-10 06:10:17 +00:00
Jake Burkholder
9b9669488b xlint seems to build fine on sparc64. 2002-08-10 05:44:44 +00:00
Jake Burkholder
298f4dc3a2 Put getconf in the right place. 2002-08-10 05:43:40 +00:00
Garrett Wollman
5cd19a3cfd A little bit more thought has resulted in a generic script which can
implement any of the useless POSIX-required ``regular shell builtin''
utilities, saving one frag and one inode each.  The script moves to
usr.bin/alias which is alphabetically the first of these commands.
2002-07-16 22:16:05 +00:00
Garrett Wollman
b107f944ad POSIX requires these shell builtins to also exist as totally pointless
external commands.  Since they serve no useful purpose, it's OK that their
implementation is not the most efficient possible.
2002-07-16 21:13:11 +00:00
Peter Wemm
40b5c1cf9f Bring getconf back in from the cold. 2002-07-11 07:28:21 +00:00
Johan Karlsson
e9a5542330 Reconnect whereis
Approved by:    sheldonh (mentor)
2002-07-03 19:23:50 +00:00
Johan Karlsson
5e3fde98fc Disconnect whereis while importing version from NetBSD
Approved by:  sheldonh (mentor)
2002-07-03 19:05:15 +00:00
Juli Mallett
5cdd3a031f Untie help and sccs from the build. sccs has been repo copied into
projects/sccs/sccs/, to accompany projects/sccs/sccscmds, and help will
be dying shortly.

These programs will not be a part of 5.0-RELEASE, at least not in their
current form.  They'll either end up in src/contrib or ports.

Submitted by:	obrien
2002-06-29 22:45:44 +00:00
Doug Barton
b075c273da Per previous discussion, and with Mark's blessing, update the value
of this knob to reflect (-)current reality.
2002-06-09 09:28:02 +00:00
Doug Barton
d4d239ae67 Hook stat into the build
Fix a trailing ws nit while I'm here
2002-06-06 19:36:51 +00:00
Dag-Erling Smørgrav
fc281c6159 Don't build perl if NO_PERL is defined. 2002-06-04 15:20:11 +00:00
Dag-Erling Smørgrav
ce7be04eae Connect perl to the build. 2002-06-02 22:43:17 +00:00
Marcel Moolenaar
52183d0145 Add uuidgen(2) and uuidgen(1).
The uuidgen command, by means of the uuidgen syscall, generates one
or more Universally Unique Identifiers compatible with OSF/DCE 1.1
version 1 UUIDs.

From the Perforce logs (change 11995):

Round of cleanups:
o  Give uuidgen() the correct prototype in syscalls.master
o  Define struct uuid according to DCE 1.1 in sys/uuid.h
o  Use struct uuid instead of uuid_t. The latter is defined
   in sys/uuid.h but should not be used in kernel land.
o  Add snprintf_uuid(), printf_uuid() and sbuf_printf_uuid()
   to kern_uuid.c for use in the kernel (currently geom_gpt.c).
o  Rename the non-standard struct uuid in kern/kern_uuid.c
   to struct uuid_private and give it a slightly better definition
   for better byte-order handling. See below.
o  In sys/gpt.h, fix the broken uuid definitions to match the now
   compliant struct uuid definition. See below.
o  In usr.bin/uuidgen/uuidgen.c catch up with struct uuid change.

A note about byte-order:
        The standard failed to provide a non-conflicting and
unambiguous definition for the binary representation. My initial
implementation always wrote the timestamp as a 64-bit little-endian
(2s-complement) integral. The clock sequence was always written
as a 16-bit big-endian (2s-complement) integral. After a good
nights sleep and couple of Pan Galactic Gargle Blasters (not
necessarily in that order :-) I reread the spec and came to the
conclusion that the time fields are always written in the native
by order, provided the the low, mid and hi chopping still occurs.
The spec mentions that you "might need to swap bytes if you talk
to a machine that has a different byte-order". The clock sequence
is always written in big-endian order (as is the IEEE 802 address)
because its division is resulting in bytes, making the ordering
unambiguous.
2002-05-28 06:16:08 +00:00
Tim J. Robbins
776c387ac1 Hook newgrp(1) up to the build.
PR:		36190
2002-05-28 05:07:42 +00:00
Ruslan Ermilov
02c0301fa7 Move elf2aout to usr.sbin/.
Approved by:	jake
2002-05-25 13:29:47 +00:00
Juli Mallett
3549859680 Taking a leap of faith, tie the help command in to the build. 2002-05-22 23:15:58 +00:00
Juli Mallett
a0304d8026 Tie sccs(1) in to the build, as it now does one thing right: sccs what 2002-05-22 16:19:31 +00:00
Juli Mallett
fb22fc68e4 Remove mention of the GNU version of ptx, it is dead. 2002-05-22 16:18:14 +00:00
Tim J. Robbins
b9f6304141 Build pathchk(1). 2002-05-22 10:32:24 +00:00
Tim J. Robbins
743f138e8d Build the tabs(1) utility.
PR:		36126
2002-05-21 02:36:12 +00:00
David E. O'Brien
c345c0dae5 elf2aout can be useful to have on all platforms 2002-05-18 18:25:58 +00:00
David E. O'Brien
6639a24d01 Don't build getconf if you don't have a full C++ installation. 2002-05-18 18:24:55 +00:00
Mark Murray
bf7bec3366 Add C rewrites of catman and makewhatis. These aren't quite as
the submitter supplied them, as I did some WARNS=n fixups (mostly
const-ification).

Submitted by:	John Rochester <john@jrochester.org>
2002-05-18 09:19:08 +00:00
Tim J. Robbins
cba9c8bdd1 Build the asa(1) utility.
PR:		36130
Reviewed by:	mike
2002-05-15 03:37:55 +00:00
Tim J. Robbins
ea9e961cb2 Add the csplit(1) utility, which splits files based on context, as specified
by SUSv3.

PR:		36191
Reviewed by:	mike
2002-05-02 07:46:36 +00:00
Jake Burkholder
71f9b2c0aa Build elf2aout for sparc64. 2002-04-30 02:42:23 +00:00
David E. O'Brien
788fcec086 Back out the NO_RCMNDS knob.
1. The committer refused to respond to questions over the commit.
2. The servers rlogind, rshd, rexecd were not wrapped.
3. "rcmnds" as an abbreviation gets an order of magnitude less hits on
    Google than the much more well known "rcmds".
2002-04-23 23:59:51 +00:00
Ruslan Ermilov
733bc9072b Revert last change, to be revisited later. 2002-04-12 16:50:52 +00:00
Ruslan Ermilov
f5a331218f Temporarily unconnect "doscmd" from build until I can fix
its broken Makefile.  The breakage is now fatal after the
bsd.prog.mk,v 1.109 change.
2002-04-12 11:22:44 +00:00
Bosko Milekic
e5f7f97622 Introduce NO_RCMNDS flag so as to not compile rsh, rlogin, and rcp on will,
and document in share/examples/etc/make.conf

Submitted by: Aleksandar Simic <asimic@dsl.pipex.com>
MFC after: 1 week
2002-04-09 18:25:44 +00:00
Andrey A. Chernov
00dfed40da Disconnect sort 2002-04-08 20:44:36 +00:00
David E. O'Brien
28def05c25 Some things don't compile on ia64 and sparc64 yet. 2002-04-08 20:36:39 +00:00
Peter Wemm
12aee77ec8 Exclude xlint for ia64. For the time being, there are enough gcc
dependencies in the machine/* headers to make it explode when -U__GNUC__
is specified by lint.  Not to mention that lint is passing undocumented
(illegal?) args to cpp and that seems to upset gcc-3.1 now.
Specifically, -Wp,-CC.  -Wp,-C is documented and legal though.
2002-04-06 05:51:59 +00:00
Jake Burkholder
ed7a104f02 Connect ktrdump to the build. <cringe>. 2002-04-02 04:28:57 +00:00
Mark Murray
a2e0c81e66 Add BSD sort to the build, now that GNU sort is gone. 2002-03-24 16:02:01 +00:00
Mark Murray
2bfd7df3f0 Turn back on (x)lint. It is working just fine. 2002-03-12 13:43:02 +00:00
Mark Murray
b4f198c344 Don't build xlint until surgery is finished. 2002-03-10 21:15:58 +00:00
Bruce Evans
21edcafd7d Removed gprof4. 8-byte counters are now handled by gprof. 2002-03-06 14:10:48 +00:00
David E. O'Brien
9a1523bc67 Add the `1 true AWK' back to the mix. 2002-03-05 19:36:08 +00:00
Mark Murray
a3b69bbaa6 (x)lint(1) works; re-enable it. 2002-03-03 19:32:44 +00:00
Mark Murray
c25e37e9b4 Temporarily remove lint(1) from the build until the import and merge
of the MFN (Merge from NetBSD) is complete.
2002-03-03 13:03:08 +00:00
Mark Murray
afb5951f89 Re-enable tip, now that the import and merge are done. 2001-12-20 14:27:23 +00:00
Mark Murray
bee3021df8 Temporarily remove tip(1) from the build while I upgrade it. 2001-12-20 13:01:47 +00:00