Commit Graph

3267 Commits

Author SHA1 Message Date
dima
184b67423a Add possibility to specify maximum number of connections per minute
for a given IP address.
This should be very effective against DoS attacks.
1997-10-29 21:49:04 +00:00
jkh
021fa8fee1 Do chflags properly even when running multi-user. 1997-10-29 07:47:06 +00:00
charnier
1e9d333c54 Back out strcpy() -> strncpy() changes. According to Bruce, they are unneeded.
Check the return value of gethostname() like in timed. Make enough place to
NUL-terminate the result.
1997-10-29 07:35:27 +00:00
charnier
ca1da8dd66 Back out strcpy() -> strncpy() changes. According to bruce, they are unneeded. 1997-10-29 07:32:30 +00:00
charnier
1035f5d8bb Use err(3). Rewrote man page using mdoc format. 1997-10-29 07:27:56 +00:00
charnier
4ad8dc5925 Use err(3). 1997-10-29 07:26:09 +00:00
charnier
b0929a64b6 Typos in man page. Cosmetics in error strings. 1997-10-29 07:25:05 +00:00
brian
da04ca9760 o Bump version to 1.3 to reflect major changes
o  Report modem connect time properly
o  Report bytes in/out over physical media
o  Fix phases (TERMINATE is *higher than* DEAD)
o  Do a LayerFinish from LcpDown
o  Bring down IPCP & CCP when we enter PHASE_TERMINATE
o  Give a new prompt when we go to PHASE_DEAD
o  Stop the modem timer properly when idle
o  Treat sig 15 like an exiting carrier loss
o  Log (DEBUG) offline & online transitions
1997-10-29 01:19:51 +00:00
nate
550325175d - Disable cards when doing a suspend by emulating that they have been
removed.  Add a new state 'suspend' so we 'fake' insertion events at
  resume time for the cards that have been suspended.

[
The code still works if you remove the card during suspend, switch the
card during suspend, or combinations of both.
]

Reviewed by:	frf@xocolatl.com
1997-10-28 17:51:25 +00:00
brian
805c1dc8cc Don't logwtmp(), login() already does it.
Log us out of utmp & wtmp if we're already in there.
PR:		4862
1997-10-28 16:50:56 +00:00
ache
4ced996c66 Implement group part now, final syntax is:
user[:group][/login-class]
1997-10-28 13:46:52 +00:00
joerg
cd58beb8f7 Allow for a keyword in the "files" file named "mandatory". The first
candidate for this is "npx0", more are likely to follow.

Check for pseudo-devices that are being configured, but don't appear
in any "files" file.  The ``pseudo-device bpf 2'' already hit me too
often.
1997-10-28 07:21:04 +00:00
ache
e5187c0ea1 Implement login classes sepcification as user[/loginclass]
By default inetd run things with the same limits as from /etc/rc
(daemon class) to not break anything as in good old days.
1997-10-27 22:03:47 +00:00
charnier
baeddf7c12 Use err(3). 1997-10-27 12:30:30 +00:00
charnier
defa4a1973 Remove `progname'. 1997-10-27 12:29:25 +00:00
charnier
487b1bdf75 Add usage() and err(3). Sync man page with usage string. 1997-10-27 12:27:21 +00:00
charnier
1b1c5f3ec7 One line usage string: see man page for more info. 1997-10-27 12:25:38 +00:00
charnier
ac0bcac05c Cosmetic in err() strings. 1997-10-27 12:23:08 +00:00
charnier
510da8d3e5 Use err(3). 1997-10-27 12:21:10 +00:00
charnier
428fb64c9f Use err(3). Add prototypes. Document -s and -r flags. 1997-10-27 07:55:31 +00:00
charnier
0434878496 Statisize usage(). 1997-10-27 07:53:22 +00:00
charnier
2728714f60 Use err(3). Stylistic changes in man page. 1997-10-27 07:52:10 +00:00
charnier
551a07d472 Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clock
when -n (do nothing) is used.
1997-10-27 07:49:47 +00:00
charnier
7b1d5a706c Use err(3). Change =' to ==' in two places, so that server not responding/
server ok is not displayed too often.
OKed by:		Bill (wpaul).
1997-10-27 07:45:47 +00:00
charnier
12ee941b85 ntohl->htonl.
OKed by:	Bruce
1997-10-27 07:41:12 +00:00
brian
8066f4a408 Cosmetic:
Move prototypes into the correct headers.
1997-10-26 12:42:13 +00:00
helbig
9831b5e7b6 Typo. 1997-10-26 10:37:35 +00:00
nate
cbe958ff02 - Do a bunch of gratuitous changes intended to make the code easier to
follow.
 * Rename/reorder all of the pccard structures, change many of the member
   names to be descriptive, and follow more closely other 'bus' drivers
   naming schemes.
 * Rename a bunch of parameter and local variable names to be more
   consistant in the code.
 * Renamed the PCCARD 'crd' device to be the 'card' device
 * KNF and make the code consistant where it was obvious.
 * ifdef'd out some unused code
1997-10-26 04:36:24 +00:00
brian
4ae8487d49 Cosmetic (no functional changes):
o   Add missing $Id$s
o   Move extern decls from .c -> .h files
o   Staticize
o   Remove #includes from .h files
o   style(9)ify includes
o   bcopy -> memcpy
    bzero -> memset
    bcmp -> memcmp
    index -> strchr
    rindex -> strrchr
o   Move timeout.h -> timer.h (making it consistent w/ timer.c)
o   Add -Wmissing-prototypes
1997-10-26 01:04:02 +00:00
jkh
80df7010cf Fix typo in startup menu.
Submitted by:	max
1997-10-25 09:27:20 +00:00
brian
3ff0925938 sleep => nointr_sleep
usleep => nointr_usleep
(not just a #define)
Already done by: ache
1997-10-24 22:36:31 +00:00
max
175cdc9261 Pkg_add refused to process package whose packing list contains @exec/@unexec
before any file names.  This change makes pkg_add to process those
packages if @exec/@unexec commands don't contain any %[fFB].  Also
enable @exec/@unexec that have %D if the installation prefix is known to
pkg_add.
Reviewed by:	jkh
1997-10-24 08:32:06 +00:00
ache
25fca1bd77 Restore back non-interruptable sleep/usleep just redefine them to not
mix with standard library functions
1997-10-23 21:32:48 +00:00
ache
b936f88a6b Remove private sleep/usleep hacks 1997-10-23 20:11:01 +00:00
brian
144e9187ec Fix various filter problems
PR:		4727
Submitted by:	Chiharu Shibata <chi@bd.mbn.or.jp>
1997-10-23 10:09:35 +00:00
charnier
99d20eba13 Use err(3). Add usage() and prototypes.
Hide reference to trsp(8) that does not exist.
1997-10-22 06:23:12 +00:00
charnier
8f143d3b1e Use err(3).
Sync man page and usage string.
Strcpy -> strncpy from OpenBSD.
-Wall cleaning.
Obtained from: OpenBSD
1997-10-22 06:20:04 +00:00
brian
4fbfd0ce36 Fix HDLC logging (actually LogDumpBp()). It was only
outputting the first mbuf in the chain.
1997-10-22 01:22:51 +00:00
peter
d0be36d6a4 For safety's sake, explicitly depend all objects on the configvers.h header
to make sure that it's all recompiled even if there is no 'make depend'.
This is overkill, but should be one less thing that someone can do wrong.
1997-10-22 00:44:08 +00:00
peter
32866367f5 Recognize a %VERSREQ=nnnnn string in the system Makefile. Both config(8)
and the kernel will have a 'config interface version number'.  If an
incompatable change is made to the kernel that requires a rebuild of
config(8) (such as the cam devtab stuff), then the version number would be
bumped in both places.  If a user neglects to rebuild config, then they
will get a nagging (but non-fatal) warning that they need to rebuild
config.
1997-10-22 00:38:48 +00:00
charnier
c7eb7628d4 Cosmetic in usage string. 1997-10-20 12:55:49 +00:00
charnier
f6e0080970 Use err(3). Change err(-1,... to err(1,... 1997-10-20 12:53:54 +00:00
charnier
2f54e816bb Use err(3). Remove progname. 1997-10-20 12:51:34 +00:00
charnier
7d61a1f5bc Use err(3). Remove progname. Remove stli.4 with is a duplicate of stl.4,
use MLINKS instead.
1997-10-20 12:50:57 +00:00
charnier
42687434a5 Fix usage in man page. Remove progname. 1997-10-20 12:44:53 +00:00
charnier
d48ab1e4e1 Typo. 1997-10-20 12:43:03 +00:00
charnier
b49abb6d51 Hardcode progname in usage string. 1997-10-20 12:41:41 +00:00
jkh
128cf5a42c Document 100Mbit media selection flag. 1997-10-20 08:11:25 +00:00
dg
6587419322 "Fixed" pstat -T by avoiding the vnode stats. Disabled pstat -v since
we no longer support that sysctl (in my opinion, pstat -v is a security
hole in any case).
1997-10-19 18:41:23 +00:00
joerg
f157e0abc1 Fix a number of buffer overflow conditions.
PR:		bin/4610
Submitted by:	David Holland (dholland@burgundy.eecs.harvard.edu)
1997-10-19 10:42:39 +00:00
jkh
14dcd3e295 Fix disk counting bug.
Submitted by:	Arjan de Vet <Arjan.deVet@adv.IAEhv.nl>
1997-10-18 21:22:25 +00:00
brian
9060a3d152 Add -redirect_port and -redirect_address to the
synopsis.
1997-10-18 16:31:28 +00:00
joerg
3817aa94a2 Something that should have been done 2.5 years ago: install pcvt's
accompanying doc files into /usr/share/pcvt/.  (This goes to the `doc'
distribution, not `bin'.)
1997-10-18 10:40:02 +00:00
jkh
6add531e7e - do string-magic on the right variable when trying
to find dependent packages on the local disk (i.e. package given as
   filename, not URL)
 - document $PKG_PATH
 - use -v on pkg_add for dependent packages

Submitted by:	hubertf@NetBSD.ORG
Obtained from:	NetBSD
1997-10-18 05:54:17 +00:00
jkh
81ca077fbf Deal with PLIST_UNEXEC properly.
PR:		4784
Submitted by:	Stefan `Sec` Zehl <sec@quit.42.org>
1997-10-18 05:42:05 +00:00
peter
82e28e5259 Don't say that the filtering options are only available under NetBSD, and
don't claim that _any_ serial speed is settable, mention that it has to
be supported by the device driver.  Some have very flexible baud rate
selection (ie: based on divisors etc, such as the com ports), while others
have explicit baud rate choices.
1997-10-18 01:29:18 +00:00
brian
e82ba6d60a Ask for VJ slot id compression by default. 1997-10-17 00:20:30 +00:00
brian
d36dac9f52 cosmetic:
o  Log client connection commands when "set log +command"
o  Don't display PAP password in the log unless we're
   "set log +debug".
1997-10-16 23:55:19 +00:00
joerg
58b6c72e94 One could be surprised how much bugs can still be found here...
Properlay clean the global RM variable if cgetstr() failed for it.
Otherwise, a connection attempt to a remote machine was made (and a
bogus result code printed) if a local printer followed a remote one in
printcap, and you did a `lpq -a', since checkremote() falsely assumed
the printer to be a remote one.

While i was at it, removed a gratuituous newline printed in front of
the remote machine's name, thus making the output more consistent (and
better machine-parseable) now.
1997-10-15 12:16:37 +00:00
charnier
5c6ff8487d Use err(3). Add prototypes. 1997-10-15 06:43:54 +00:00
charnier
ad623dd6d4 Use err(3). Rewrote man page in mdoc format. 1997-10-15 06:42:28 +00:00
charnier
147a87934c Add usage(). 1997-10-15 06:41:19 +00:00
jkh
bdf9f5bd3a Fix various bogons reported in this PR.
PR:		4765
Submitted by:	fdiv
1997-10-15 04:37:26 +00:00
brian
80dc55506b Initialise LCP, IPCP and CCP as soon as LCP is down.
Without this, in -auto mode, we stay in ST_STOPPING
and never check our dial filters to see if it's time
to bring the line up again.

This may make "set stopped" redundant.
1997-10-15 01:01:17 +00:00
jkh
4f51f41838 Add a new startup variables menu for tweaking rc.conf variables in more
detail (also added more of them to the networking services menu).  Add
new dmenuISetVariable() function for interactive setting of non-boolean
flags.
1997-10-14 18:17:35 +00:00
joerg
a4a1b1925d Improve my hack from rev 1.6 of displayq.c, and make the TCP
connection timeout controllable by a new printcap(5) capability named
`ct' (connectiom timeout), defaulting to 120 seconds (which is the
default TCP connection timeout).

Would anybody see a problem with merging all this into RELENG_2_2?
1997-10-14 16:01:02 +00:00
jkh
448ac4876c Fix bogon I introduced while adding disks menu to label editor. 1997-10-14 14:41:17 +00:00
jkh
edb02f0869 Ask for extra confirmation if a newfs has been requested during
an upgrade.
PR:		3368
1997-10-13 17:32:29 +00:00
jkh
3e3b2901a0 Don't return from cleanup() - if it's removed the playpen then very
bad things will happen if we return to unsuspecting code.
Noted to my great dismay by:	Tim Vanderhoek <hoek@hwcn.org>
1997-10-13 15:03:55 +00:00
jkh
a579161b1b Consolidate distribution flag checking code. 1997-10-13 12:12:14 +00:00
jkh
6f2c060ad6 Allow access to options editor from media screen (sometimes you need it
there!).
1997-10-13 11:45:36 +00:00
jkh
6438c7d7cd Only need to call label editor for all drives. 1997-10-13 11:33:27 +00:00
charnier
dbc8e667b2 Use err(3). Add usage.
Use syslog instead of fprintf when being a daemon.
Change sprintf to snprintf obtained from OpenBSD.
Obtained from: OpenBSD
1997-10-13 11:27:55 +00:00
charnier
e56af43dc6 Use err(3). Sync usage string and man page. 1997-10-13 11:24:01 +00:00
charnier
b09df40cc0 Use err(3). Remove multiply defined Id string. 1997-10-13 11:22:39 +00:00
charnier
10fcf5c765 Remove multiply defined Id string. Hide sccsid string. 1997-10-13 11:18:53 +00:00
charnier
459d0ae253 Use err(3). Add usage() and #includes. 1997-10-13 11:13:33 +00:00
charnier
b430ce8c9d Use err(3). 1997-10-13 11:08:47 +00:00
charnier
42c8e1aedf Hide sccsid[]. Typo in man page. 1997-10-13 11:06:30 +00:00
charnier
d1737b5a8c Use err(3). Add prototypes. 1997-10-13 11:05:07 +00:00
charnier
a02f980681 Mdoc'ify man page. 1997-10-13 11:03:36 +00:00
charnier
b8dafa806c Use err(3). Add prototypes. Cosmetic in usage string. 1997-10-13 11:01:33 +00:00
brian
e257264a18 Un-spam ip_sum (arrgh - I don't know how this made
it into my patches :()
1997-10-12 21:43:55 +00:00
wosch
d4d32c9c2f Delete ctm_scan program. There is no manpage for ctm_scan
and nobody use it.

Reviewed by: phk & Richard Wackerbarth
1997-10-12 19:58:53 +00:00
jkh
2edf584258 Update to reflect current affairs. 1997-10-12 16:21:36 +00:00
jkh
8c8de91c06 Separate the siamese twins that were the partition and label editor.
Now you can use one without entering the other and it will DTRT.
These changes just allowed me to do the most straight-forward new disk
installation I've ever managed with sysinstall.
1997-10-12 16:21:21 +00:00
jkh
a33c01a21d Now that nested menus work properly, stop using the kludged-up
DITEM_RECREATE flag.
1997-10-12 12:11:14 +00:00
max
822e98a0d6 Typo fix. 1997-10-12 11:51:25 +00:00
brian
4a26837893 Cosmetic: Mention that ppp is suspending before
executing a "shell" command.
1997-10-12 01:49:37 +00:00
peter
294b43053b Give PPP_FILTER a whirl. 1997-10-10 11:59:02 +00:00
peter
e3093481bf Revive the connect-max-attempts option. When running in persist mode,
this limits the number of retries before aborting.  This can save
expensive phone bills. :-)  See rev 1.6 of main.c for original.
1997-10-10 09:28:38 +00:00
charnier
636e293ee5 Use err(3). Silent -Wall. 1997-10-10 06:31:07 +00:00
peter
f6acda92e3 Revive rev 1.10, which documents the secrets files overrides for the
local:remote IP addresses on the command line or the options.ttynn files.
1997-10-10 06:30:08 +00:00
charnier
cd842ad2bf Staticize usage(). Cosmetics. 1997-10-10 06:27:07 +00:00
charnier
1b2a43aa3f Use err(3) instead of local redefinition. Add rcsid string. 1997-10-10 06:23:42 +00:00
peter
204846db2b Revive some things that were lost during the ppp-2.3.1 update.
- (see auth.c rev 1.13) allow the pap/chap secrets file to specify an
override for the otherwise hard coded IP addresses.  This allows specific
users to dial in on a rotary which would otherwise get a dynamic address
forced to authenticate and get their own fixed addresses.
- (see options.c rev 1.9) recognize the old dns1 and dns2 options.  This
is a hack (TM). :-)
1997-10-10 06:02:57 +00:00
wpaul
efdd937062 Fix bug in __yp_ping(): keep proper count of assigned request structures.
The test to see if a request struct had been assigned after looping
though the server list was bogus.

Submitted by: "Erik E. Rantapaa" <rantapaa@math.umn.edu>
1997-10-09 20:29:39 +00:00
charnier
7cf76a30e2 Use err(3). Add usage().
Default source of tables (-M) is /dev/mem, not /dev/kmem.
1997-10-09 07:22:08 +00:00
charnier
b3387996d0 Use err(3). Add usage().
Correct the .Nd string: in real life, portmap is translating rpc prog numbers
to darpa ports, not the opposite.
1997-10-09 07:17:36 +00:00
jkh
8e459f76c6 Document extra tk*/tcl* package categories. 1997-10-08 15:31:13 +00:00
charnier
cd42e7664e Use err(3). Cosmetics in usage string and man page. 1997-10-08 07:48:21 +00:00
brian
f87efc0936 Support VJ maximum slot identifiers != 15.
Support VJ slot id compression.

Previously, ppp would negotiate a max slot between 2 & 15
(if asked), and would agree to slot id compression (if asked).
It would then proceed to use 16 slots and no compression
anyway.  The result was a rather unusable connection.
1997-10-07 00:56:58 +00:00
joerg
aba6b7aa82 Documentation for the LOG_NTP facility. While i was at it, added a
bit of a warning about not all systems providing for the same set of
syslog facilities.
1997-10-06 20:37:50 +00:00
charnier
919cab7b0a Sync usage string with man page. 1997-10-06 11:38:30 +00:00
charnier
3e78ea9501 Use err(3). Add usage()s. 1997-10-06 11:36:08 +00:00
jkh
38ceede30c Add an extra sanity check to previous commit. 1997-10-06 08:36:12 +00:00
jkh
e1bb3693fd This should put boot.help in its rightful place (finally!) 1997-10-06 08:34:56 +00:00
charnier
43f73cc752 Cosmetic in err() strings. 1997-10-06 07:46:08 +00:00
peter
5c0394ed8b Hmm.. where did _that_ come from? :-) 1997-10-06 04:10:24 +00:00
imp
3c17b84db0 Be more paranoid about unlinking files. From mhpower@MIT.EDU by way of
Theo de Raadt.

Likely 2.2.5R candidate.
Obtained from: OpenBSD
1997-10-06 03:58:48 +00:00
jmb
352744e90f record the envelope-from address in the received headers
for all mail received at hub.freebsd.org

Obtained from: Peter Wemm <peter@freebsd.org>
1997-10-06 00:09:17 +00:00
brian
c75cd9c573 Change things around a bit when bringing down the layers.
o LcpLayerDown() no longer does a NewPhase(PHASE_TERMINATE).
  Instead, it's done in LcpLayerFinish().  LayerFinish() gets
  called by the FSM after the LCP FSM goes through the Stopping
  and Stopped states.

o -direct and -background mode exit at PHASE_TERMINATE, not
  PHASE_DEAD.

The result is that LCP, CCP & IPCP are brought down cleanly on both
sides of the link (not just our side).  Killing ppp rather than just
closing it still makes it get out after the LCP SendTerminateReq().
I'll have a look at that soon.  We're probably not actually sending
the REQ :-(
1997-10-05 15:00:10 +00:00
brian
4f0cd3be22 Refer a bit to pppctl.
Suggested (far to subtly for his own good) by:	joerg
1997-10-05 14:27:08 +00:00
brian
e27c21c31b Add a few examples. 1997-10-05 14:21:30 +00:00
joerg
f6f80c4875 Add a new special called `keep' to the list of special options. It
provides for a means to specify an argument for crunchide's -k option.
(This is required by ntpdate.)

Submitted by:	peter@rhiannon.clari.net.au (Peter Hawkins)
1997-10-05 13:35:05 +00:00
jkh
83ba3307bb DOH! I cannot believe that none of us caught this. Do *not*
turn TCPWRAPPER support on by default, eh? :-)
1997-10-05 12:31:08 +00:00
wosch
28d53a0953 Cleanup. 1997-10-05 12:28:02 +00:00
brian
59f62006fe Cosmetic: Be specific about using TABs in syslog.conf. 1997-10-05 10:29:32 +00:00
jkh
068b44c29a Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by:	<many different folks>
Submitted by:	Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
jkh
5bdae28d51 Whups! Missed a spot in the kerberos src changes. 1997-10-04 15:50:09 +00:00
peter
75ddc14bc4 Record the envelope from address in the received: line. This has turned
out to be very useful for spam tracking and other problem debugging.

I first noticed this in one of Paul Vixie's machine's headers a while ago.
1997-10-04 11:10:19 +00:00
jkh
b38b429f81 Un-nuke krb and do what I *meant* to do, darn it. 1997-10-04 09:01:20 +00:00
jkh
685056895b Adapt for new crypto source layout. 1997-10-04 08:58:16 +00:00
brian
acb07e89c0 Cosmetic: Log a strerror(errno) when failing to write to
the tun device.
1997-10-04 00:14:39 +00:00
jkh
dc30a0fc62 Get boot.help from a different place. 1997-10-03 14:14:40 +00:00
jkh
01deaf0006 Don't attempt to deref OpenConn after it's been set to NULL. :) 1997-10-03 14:00:09 +00:00
jkh
6e176c4db5 For people running paranoid ftpds, use the real username to log in
with when running multi-user and we actually have one.
Suggested by:	Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
1997-10-03 03:32:03 +00:00
charnier
75c354a16c Use err(3). 1997-10-02 11:46:53 +00:00
charnier
9456fa3abc Use err(3). Change firewall to firewall_enable in man page according to
/etc/rc.conf.
1997-10-02 11:43:33 +00:00
charnier
e422a54475 According to Bruce, err(-1,..) is bogus. Change it to err(1,..). More commits
to come in this area.
1997-10-01 06:34:09 +00:00
charnier
2ba7fb7acc Use err(3) instead of local redefinition. 1997-10-01 06:30:02 +00:00
charnier
154bf4ab9c Use err(3). -Wall cleaning. 1997-10-01 06:27:34 +00:00
jkh
8e6b1677f7 Keep fingers off /etc files until they're properly backed up.
PR:		4636
Submitted by:	Jack <jack@zeus.xtalwind.net>
1997-10-01 01:30:35 +00:00
charnier
a71f6f70af Use err(3). Add usage(). Rewrote man pages in mdoc format. 1997-09-30 06:15:23 +00:00
brian
7aa4840c57 If "set mtu" is used, *and* the mtu is less than the
value requested by the peer, NAK using this value
rather than silently just changing the interface
mtu.
1997-09-29 19:40:16 +00:00
wosch
b215fc2e1e Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
jdp
5e98e0bf4c Correct the description of the output from the "-s" option. It was
backward.
1997-09-29 17:43:11 +00:00
wosch
3c1738bcc0 Endless loop.
$ vipw
[corrupt a line in editor, exit editor]
pwd_mkdb: corrupted entry
pwd_mkdb: at line #2
pwd_mkdb:
/etc/pw.012585: Inappropriate file type or format
re-edit the password file? [y]: n^D^D
[hang]
1997-09-29 13:13:51 +00:00
charnier
ca77b82bb9 Use err(3). 1997-09-29 06:38:49 +00:00
jkh
185e44a35b Add ftp4.uk.freebsd.org 1997-09-29 00:15:07 +00:00
brian
b7f01dc12e Test for the existence of ../../secure rather
than /usr/include/des.h before building with MSChap.
support.  Also allow -DNOCRYPT (as well as -DNOSECURE)
as an override
sbin/init example pointed out by: bde
1997-09-28 20:17:59 +00:00
markm
e5daa062ac Add (commented out) macros to make compiling with tcpwrappers easier. 1997-09-28 09:31:43 +00:00
brian
00b1544192 Don't depend on time.h including sys/types.h 1997-09-27 19:41:40 +00:00
brian
de1bc54ba0 Don't login twice when using passwdauth
Suggested by:	Peter Childs <pjchilds@imforei.apana.org.au>
Merge the whole module into a few lines in pap.c
1997-09-27 19:11:43 +00:00
hoek
fc8864fa8c Document pkg_add's dependency auto-install. While I'm here, fix
a couple typos, and consistent double-spacing after sentences.

This is actually a spinoff from the "ports-current discontinued"
blow-up some time ago.

Ack'd by: jkh
1997-09-27 13:41:35 +00:00
brian
bb9d2eace9 #define RECON_ENVOKED as 4 (not 3, like RECON_UNKNOWN)
Pointed out by:	tom@tomqnx.com (Tom Torrance at home)
1997-09-26 00:23:36 +00:00
charnier
2d665642a1 Use err(3). Add missing parameter for printf() (reviewed by steve). 1997-09-25 06:47:33 +00:00
charnier
1c1c15a766 Remove unused variables. Lowercase err() strings. 1997-09-25 06:44:39 +00:00
charnier
117d41cd62 Put includes in alphabetical order. Use fprintf() in usage(). 1997-09-25 06:42:30 +00:00
charnier
8852fabb4e Stylistic changes in man page. 1997-09-25 06:38:17 +00:00