Commit Graph

2102 Commits

Author SHA1 Message Date
bde
731c4cc06f Removed extra (non-trailing) arg in a call to warnx(). 1997-12-18 15:27:43 +00:00
bde
eeba28eca5 <bsd.prog.mk> has always included ../Makefile.inc, and there are no
complications involving .PATH or dependencies, so don't include it here.
1997-12-17 19:49:09 +00:00
cwt
c097ee04f0 DPADD repairs suggested by Bruce Evans <bde@zeta.org.au> 1997-12-17 15:18:54 +00:00
bde
40ee54fd84 Fixed DPADD. 1997-12-16 17:43:33 +00:00
bde
4c20d2d210 Fixed DPADD.
Don't override the (correct) default for SRCS or MAN1.

Replaced bogus Lite1 (?) Id by $Id$.  The key server files were
mis-imported so it is hard to tell where they came from, but at
least in Lite2 they don't have useful Makefiles, and I rewrote
most of the Makefile.
1997-12-16 17:37:23 +00:00
bde
f289b1cae7 Fixed DPADD. ${LIBGCC} must be added explicitly since the default
linkage rule is overridden.  The -L option must be in ${DPADD} so that
`make checkdpadd' works.  Actually use ${DPADD}.

FIxed missing dependencies for doscmd.  Use ${LIBCRT0} instead of a
hard-coded path in the rule for doscmd.

Added comments about the kludges used to build 2 binaries and 2 data
files in one directory.  It shouldn't be done this way.  The dependencies
on sources took extra work to get right, and the dependencies on objects
are still broken (one set is missing and the other has the wrong libs).

Fixed some style bugs while I'm here:
- don't override the (correct) default for MAN1.
- use `beforeinstall', not `afterinstall' to install auxiliary files.
  `afterinstall' is for fixing messes made by `install'.
1997-12-16 16:36:43 +00:00
bde
0cc91cc6d8 Fixed missing DPADD.
Fixed some style bugs while I'm here (don't override the (correct)
default for MAN1).
1997-12-16 14:42:08 +00:00
ache
1d90974832 One more ctype cast 1997-12-16 08:58:15 +00:00
ache
57d8708b90 Add more (unsigned char) casts to ctype macros 1997-12-16 08:22:37 +00:00
ache
126c5b1358 Add (unsigned char) cast to ctype macro 1997-12-16 08:17:26 +00:00
cwt
ecb4136c56 I'd swore I added this on my prior mega-commit. Any chance adds aren't
processed during the recursive swoop?

Makefile for global's private library, complete with null install rule
to keep this private.
1997-12-15 23:40:54 +00:00
cwt
aa90f025de Add lib/Makefile and adjust as necessary to build global 2.2.1 from contrib sources. 1997-12-15 23:34:57 +00:00
helbig
bb5ce979b3 Remove cal, add ncal. 1997-12-15 20:52:24 +00:00
helbig
39c4279ebc This commit was generated by cvs2svn to compensate for changes in r31744,
which included commits to RCS files with non-trunk default branches.
1997-12-15 20:35:22 +00:00
helbig
089f2900a3 Add new command ncal. 1997-12-15 20:35:22 +00:00
pst
5ff5a36e72 Sync with NetBSD v1.3.
Keep I8N1 and quarantine port code.  Replace our security fix with NetBSD's
(their idea was better).
1997-12-13 20:38:21 +00:00
sef
4146eb94bc Allow TMPDIR to be set and actually *used*; if it not set, it defaults
to /tmp.
1997-12-13 18:18:12 +00:00
bde
d4b20a0f9a Fixed .PATH statement so that minigzip.c can be found when
${.OBJDIR} != ${.CURDIR}.
1997-12-13 15:57:55 +00:00
msmith
6d4edda5c2 Add minigzip 1997-12-13 09:59:32 +00:00
msmith
ced3f98a34 This commit was generated by cvs2svn to compensate for changes in r31695,
which included commits to RCS files with non-trunk default branches.
1997-12-13 09:57:48 +00:00
msmith
0ad6b37143 This framework builds the 'minigzip' sample program supplied with
libz.  It is a non-GPL-polluted minimal implementation of the 'gzip'
command, yielding a 12k executable (vs ~100k for gzip).
1997-12-13 09:57:48 +00:00
danny
b147f0488d Submitted by: Peter Hawkins <peter@clari.net.au>
Spelling police.
1997-12-13 06:34:47 +00:00
sef
f13ddbc865 Change the ioctls for procfs around a bit; in particular, whever possible,
change from

	ioctl(fd, PIOC<foo>, &i);

to

	ioctl(fd, PIOC<foo>, i);

This is going from the _IOW to _IO ioctl macro.  The kernel, procctl, and
truss must be in synch for it all to work (not doing so will get errors about
inappropriate ioctl's, fortunately).  Hopefully I didn't forget anything :).
1997-12-13 03:13:49 +00:00
ache
4fe5164a59 Change select(0, NULL, ...) to usleep() 1997-12-12 11:47:28 +00:00
helbig
73101d44a6 Eleven days were eliminated by the Gregorian Reformation in 1752, not ten.
Submittee by:
1997-12-12 10:25:19 +00:00
roberto
f950ecfd86 Mention pftp as an alternative command to enable passive mode. 1997-12-08 22:09:44 +00:00
gj
990e34ed3a change `ingored'' to `ignored'' in two places. I noticed this typo
when I ran tconv to test APE (A Programmer's Editor).
1997-12-08 21:36:25 +00:00
peter
279e69b9ff s/ps/truss/ 1997-12-07 08:19:13 +00:00
sef
d1f6ae4ce3 Use the new PF_LINGER flag -- when this is set in a process' proc structure,
said process will not have its event mask cleared (and be restarted) on
the last close of a procfs/mem file for that pid.  This reduces the chance
that a truss-monitored process will be left hanging with these bits set
and nobody looking for it.

This is the least-tested change of all of these, I'm afraid.
1997-12-07 04:08:48 +00:00
wosch
0ac774a20f Delete truss manpage link. We have now a real truss command. 1997-12-06 23:40:13 +00:00
sef
48a1f82a2e Complain about empty command lines. 1997-12-06 17:13:54 +00:00
peter
3ab5048d88 err(3) already includes strerror(errno) and a trailing \n 1997-12-06 14:42:58 +00:00
peter
9f0d9f2754 recognize "FreeBSD ELF" as an executable type
close() takes a fd, not a char * :-)
1997-12-06 14:41:41 +00:00
peter
bb664e8a40 #include <unistd.h> to get it to compile
Submitted by: Andreas Klemm <andreas@klemm.gtn.com>
1997-12-06 14:39:30 +00:00
sef
999cc45d0b Set the close-on-exec flag in the child; otherwise, it eats up a
file descriptor that it shouldn't.
1997-12-06 08:01:00 +00:00
sef
40d07bddd6 First cut at printing out ioctl names intelligently. Note that this doesn't
handle linux ioctls (yet?).  This uses the mkioctl script from kdump,
bless its little heart.

Reviewed by:	Mike Smith
1997-12-06 06:51:14 +00:00
sef
a9e2deb1a1 Add truss to the list of subdirectories. 1997-12-06 05:23:59 +00:00
sef
9e9a114f06 Truss program. Requires procfs. 1997-12-06 05:23:12 +00:00
bde
dbfaf6f7a4 Const poisoning from ks_shortdesc. 1997-12-05 19:28:28 +00:00
steve
6136cd11ff Use 'proto <tcp|udp|all>' to select the protocol to display
in netstat-mode to avoid a conflict with tcp-mode.  Also
while documenting this new feature in the manpage, fix a
minor display nit.

PR:		5159
Submitted by:	Sergei Chechetkin <csl@whale.sunbay.crimea.ua>
1997-12-04 03:44:46 +00:00
jdp
81c1440f4f In the "ldd -v" output, display the N_AUX information for each
symbol.  It indicates whether the symbol refers to a function or a
data object.
1997-11-28 19:34:27 +00:00
steve
1fbed7c94f Sort option list so that -amin works.
PR:		5171
Submitted by:	Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
1997-11-28 15:48:08 +00:00
charnier
e3613c1ac3 Use .Nm ktrace instead of .Nm in SYNOPSIS section: otherwise, a newline is
missing.
1997-11-24 07:23:59 +00:00
jraynard
5ea849a098 Cleanup: fix a few typos, fit ASCII output onto an 80-column terminal
and use a fixed font which actually exists.
1997-11-23 02:02:39 +00:00
fenner
91940416f2 Suggest using "-b" or "-t" if the connection is reset (typical symptom
of broken TCP stack).
1997-11-22 01:00:42 +00:00
guido
55205429c1 Style fix.
Complaint by:	Bruce
1997-11-19 18:57:49 +00:00
jdp
0fdbfe2bab Back out revision 1.10. It broke the build of sh, which compiles
this file with warnx() defined as a macro.
1997-11-18 15:23:23 +00:00
jdp
fd9d1842e6 Fix: too many arguments for format in call to sprintf(). 1997-11-18 05:53:03 +00:00
jdp
c0275eb956 Fix: too many arguments for format string in 4 calls to warnx(). 1997-11-18 05:45:19 +00:00
jdp
07854ddb8b Add missing argument detected by "-Wformat". Make messages more
consistent.
1997-11-18 03:50:25 +00:00