Commit Graph

2122 Commits

Author SHA1 Message Date
lukem
e91c20c007 overhaul code, provide saner error messages, etc 1997-11-18 00:44:19 +00:00
lukem
a2a60bf6a6 note that INSECURE=no isn't yet supported for netbsd clients 1997-11-18 00:37:23 +00:00
lukem
48b4356758 rewritten yppush from Chuck Cranor. 1997-11-18 00:32:57 +00:00
mrg
8ad67291ce document -F s (from darren reed). 1997-11-17 14:57:47 +00:00
agc
5c0d2a645d Implement default -Ia arg to pkg_info a bit differently. 1997-11-17 12:08:59 +00:00
christos
f5024bbed0 PR/4509: Jarle F. Greipsland: avoid redefinition of rfc931_timeout. 1997-11-16 21:30:25 +00:00
is
c4aac00e95 Make deleting proxy arp entries on ARCnet interfaces work again.
Fixes my own last PR, whose number I don't know yet.
1997-11-16 11:25:08 +00:00
msaitoh
39c2acb633 fix typo 1997-11-15 21:01:36 +00:00
msaitoh
6bbe51cef1 fix typo 1997-11-15 17:42:07 +00:00
mrg
d2143111bd merge ip-filter 3.2.1 1997-11-14 12:57:55 +00:00
mrg
61cbfaca09 import ip-filter 3.2.1 1997-11-14 08:03:01 +00:00
thorpej
ade3ce9789 Fix int vs. size_t lossage. 1997-11-13 18:35:57 +00:00
thorpej
0e42d89fac Oops! Forgot this yesterday: Add read_line.o goo. 1997-11-13 17:09:04 +00:00
thorpej
481e558f6c Oops! Forgot to commit this: build read_line.o 1997-11-13 17:05:20 +00:00
hubertf
793d82f785 Alter the default behaviour of pkg_info. With no options given, behave as
if -Ia was given, instead of showing usage.
1997-11-13 15:15:48 +00:00
veego
84123ddbb6 - s/samples\/ipf/examples\/ipf/
- Added missing ipf examples from the import of 3.2
1997-11-13 09:46:41 +00:00
thorpej
e6889efbce Make sup(1) handle lines continued with '\'. Fixes PR #4430, from
Ty Sarna <tsarna@endicor.com>.
1997-11-13 01:05:28 +00:00
veego
67ed3b4d0c Add the ipftest.1 manpage. 1997-11-11 10:14:42 +00:00
veego
5048b71642 Fix some manpage section numbers and remove the SEE ALSO entry for
snoop(1m).
1997-11-11 10:11:19 +00:00
mrg
dc05f41d80 add missing .Nm sections 1997-11-11 10:07:34 +00:00
veego
13cfd2b17f Updated for the missing ipftest.1 manpage. 1997-11-11 10:07:31 +00:00
veego
525c710d19 import a missing manpage from ip-filter 3.2 1997-11-11 10:02:25 +00:00
hubertf
fa829ce599 Document $PKG_PATH and $PKG_DBDIR 1997-11-10 00:29:21 +00:00
cjs
60c8449a61 sendmail 8.8.8 merge 1997-11-09 22:25:58 +00:00
cjs
3016f7f3b8 sendmail 8.8.8 import 1997-11-09 22:15:17 +00:00
cjs
3acc53a34a sendmail 8.8.8 import 1997-11-09 22:14:04 +00:00
lukem
4cda73731b more fixes for OPTIMIZE_DB (seems like this code was an unfinished idea;
i've fixed a lot of bugs in it):
* implement yp_close_map(struct opt_map *), to close a specific map,
  using the guts of yp_close_last()
* simplify yp_close_last() to use yp_close_map()
* ypdb_open_db(): add the st_dev, st_ino, and st_mtime of each map to
  the cached info, and check if changes if the db is cached; if so, close
  the map and reopen it fresh. also uncache entries if the domain or
  file disappear
1997-11-08 15:36:09 +00:00
lukem
721843cf7a use ".Tn YP" instead of "YP", fix up some .Nd entries, use .Pa for mapnames 1997-11-08 15:03:21 +00:00
thorpej
3d2b522093 Don't prototype ether_aton() here if __NetBSD__. 1997-11-08 05:57:15 +00:00
mrg
507e5c88b3 use warn not warnx to find out why the open failed (as old quot did). 1997-11-06 14:36:45 +00:00
lukem
699d49fc00 don't ignore blank lines after a continuation backslash 1997-11-06 00:27:58 +00:00
fair
f97bb69df7 grammatical errors fix from PR#4409 1997-11-05 18:46:07 +00:00
lukem
71d53f5fd6 use in-house localhostname instead of gethostname - returns FQDN 1997-11-04 11:43:49 +00:00
lukem
1140eceb13 add { } in the right place; indentation alone isn't sufficient for
if (test1)
		if (test2)
			error()
	else {
		...
	}
this happened when i changed test2 from a void statement to actually
checking its return value.

the effect of this? a YP_MASTER_KEY value wasn't being added to the
generated databases, which was Not Good.
1997-11-04 11:28:46 +00:00
ross
4b634c4e10 Much cleaner fix for alignment error bug. 1997-11-03 21:17:17 +00:00
lukem
a8b7ec8d99 ensure sizeof hostname buf for ether_(ntohost|line) is >= MAXHOSTNAMELEN + 1 1997-11-02 14:25:25 +00:00
lukem
c32b6d75d3 ensure sizeof hostname buf for ether_(ntohost|line) is >= MAXHOSTNAMELEN + 1 1997-11-02 14:25:23 +00:00
lukem
f4fb444bd9 * rewrite read_line(), partially based on get_line in netgroup_mkdb.c:
- use fgetln() instead of fgets()
	- store info in internal buffer
	- fix \\ support
	- count line numbers internally, so \\ lines don't mess up count
* ypdb_store():
	- ensure that the length of key or val doesn't exceed YPMAXRECORD
* makedbm, mknetid, revnetgroup, stdethers, stdhosts:
	- improve error handling
	- take advantage of rewritten read_line(), and cleanup line parsing
	- don't print trailing ` ' for key/val pairs with an empty val
* Makefile.yp:
	- fix up building of ypservers (from Chuck Cranor)
* ypinit.sh:
	- remove leading spaces in variable assignment (from Chuck Cranor)
1997-11-01 14:24:50 +00:00
enami
af29cb2306 Sync with release branch so that it compiles.
- include arpa/inet.h in ipsopt.c
- declare yyerror() in iplang_l.l
1997-11-01 09:12:21 +00:00
lukem
3e8e744696 getopt returns -1 not EOF 1997-11-01 06:49:14 +00:00
ross
ba9c8e00db Eliminate some alignment assumptions in packed IP/UDP frames. (port-alpha issue) 1997-10-31 23:32:24 +00:00
mrg
60c28e1f95 sigh. merge ipfilter 3.2 onto the trunk. merge to the branch was a mistake. 1997-10-30 16:08:54 +00:00
mrg
44c002beb1 import ip-filter 3.2 1997-10-30 05:27:24 +00:00
christos
1815a8d4a4 Resolve RCSID conflicts; hopefully this is the last time :-) 1997-10-26 00:24:41 +00:00
christos
5d8bee0f9f New version from Erez 1997-10-26 00:02:11 +00:00
lukem
736ba086df WARNSify, KNFify 1997-10-25 13:45:55 +00:00
fvdl
b592c266f8 3rd argument to msync() is now needed by NetBSD as well. 1997-10-25 10:49:36 +00:00
lukem
ad4916f857 fix spellos and incorrect man page references 1997-10-25 10:18:36 +00:00
lukem
0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
thorpej
bab116cf5f To print a size_t, cast to u_long and use %lu printf format so that
this works on the Alpha.
1997-10-25 01:29:30 +00:00