Commit Graph

10359 Commits

Author SHA1 Message Date
christos
599362a983 put in /sbin 2012-11-01 03:21:49 +00:00
martin
73809d4025 gcc 4.1 is not smart enough to notice "arg" is only used when initialized
correctly and produces a "might be used unintialized" warning.
2012-10-31 08:54:39 +00:00
wiz
4aa4bc5963 Remove trailing whitespace. 2012-10-30 23:03:02 +00:00
rkujawa
6ee58bf1d4 Note enchancements that appeared in NetBSD 6.0. 2012-10-30 21:24:26 +00:00
rmind
64647e51e4 Implement NPF table listing and preservation of entries on reload.
Bump the version.
2012-10-29 02:27:11 +00:00
rmind
3ed953299c Fix for npfctl show case. Improve some description while here. 2012-10-28 16:27:20 +00:00
seanb
c3008a4839 Ensure entire sockaddr_dl is obtained. May not have
been the case previously for interfaces with long names.
2012-10-26 16:52:52 +00:00
martin
2900740595 Make warnings non fatal for older gcc versions - I couldn't figure out how to
shut up gcc when compiling for vax. Feel free to fix differently if you
find a better solution.
2012-10-25 15:14:36 +00:00
drochner
16e95cd0dc avoid dummy structure definition, include a system header instead,
looks just cleaner
2012-10-17 20:22:15 +00:00
plunky
048d95d5ff no trailing comma on enum 2012-10-14 08:35:45 +00:00
plunky
c61317e3bf add code to ensure that SO_SNDBUF is large enough on client connections,
as was previously done for server mode
2012-10-14 08:31:35 +00:00
christos
0b112faa75 disable encoding of globbing characters for now. 2012-10-07 18:40:49 +00:00
wiz
b1203a9851 Make mandb path configurable. makemandb (and related tools) use
the path from the _mandb variable from man.conf now.

Set _mandb in man.conf to same value as was used before.

From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.
2012-10-06 15:33:59 +00:00
msaitoh
8edba753e8 RFC 5848 2012-10-05 16:15:45 +00:00
wiz
c4b7eb510b Sync usage with man page. 2012-10-05 09:18:08 +00:00
wiz
324794350b Fix typos; remove trailing whitespace; add missing options to SYNOPSIS. 2012-10-05 09:18:02 +00:00
wiz
519eb1daa9 Fix typo in comment. 2012-10-05 09:17:29 +00:00
christos
b73d92b069 Implement FreeBSD's "nochange" keyworld which causes the existance of a
filesystem object to be checked but none of its attiributes.(brooks)
2012-10-05 01:31:05 +00:00
christos
23fe062937 Implement FreeBSD's "nochange" keyworld which causes the existance of a
filesystem object to be checked but none of its attributes. (brooks)
2012-10-05 01:30:36 +00:00
christos
1529f30b49 Encode literal global characters in files. Otherwise the results of
updating a directory using the resulting spec will be surprising.

See http://svnweb.freebsd.org/base/head/usr.sbin/mtree/test/test00.sh
for test cases.
(brooks)
2012-10-05 01:28:20 +00:00
christos
14b8803532 NetBSD needs <time.h> 2012-10-05 01:27:29 +00:00
christos
9e84d4e8c2 Implement FreeBSD's -f spec1 -f spec2 spec comparision function. This
is more useful than -C and diff because it highlights the keys that have
changed value so for example, you can see that the size of a file has
not changed but the contents have. (brooks)
2012-10-05 01:26:56 +00:00
christos
d07df9451a Allow uid and uname or gid and gname to both be printed while
preserving the behavior of falling back to [ug]id when the name is not
resolvable. (brooks)
2012-10-05 01:21:44 +00:00
christos
09b2a8d434 clarify seconds.09nanoseconds format (brooks) 2012-10-05 01:19:54 +00:00
christos
c80bcab895 add -j flag to indent directory blocks (from brooks) 2012-10-05 01:13:50 +00:00
christos
43c54169be add -q flag to silence warnings about symlinks to existing dirs (from OpenBSD
via brooks)
2012-10-05 01:05:14 +00:00
christos
0c2ce7c15d add -n flag to disable comments (brook) 2012-10-05 01:01:07 +00:00
christos
8a1488a16f account for differences in digest names 2012-10-05 00:59:35 +00:00
christos
661bb795fb our fts compare routine is less constified. 2012-10-05 00:58:46 +00:00
christos
3007bc41f2 explicitly include <sys/stat.h> 2012-10-05 00:42:00 +00:00
christos
dc074e0229 more const
check if we support SHA384 before using
(brooks)
2012-10-05 00:41:24 +00:00
christos
17d9400e73 remove dup extern (brooks) 2012-10-05 00:40:51 +00:00
wiz
4f36cb9e44 - Sort order of options mentioned in text;
- improve wording;
- remove unneeded macros (fixes mandoc(1) warnings);
- in the `EXAMPLES' section, for `-d', mention the use of `-U'
  besides that of `-u' (as the former is a variant on the latter).

From Bug Hunting.
2012-10-03 19:27:48 +00:00
rmind
e7cdd21f2e npfctl/yyerror(): print the right line number if we already parsed the line. 2012-10-02 23:38:52 +00:00
wiz
df3325de63 Wording, more macros. 2012-09-30 21:15:08 +00:00
rmind
395bd44a04 Add some content to the Procedures section. 2012-09-30 21:09:30 +00:00
wiz
cda4ed683f Use more markup. New sentence, new line. 2012-09-30 13:15:03 +00:00
spz
34865a25d0 Add some content to the "Rules" section. 2012-09-30 12:59:31 +00:00
wiz
c92c93101c Whitespace fixes, remove unnecessary Pp
XXX: Subsections Rules and Procedures seem empty?
2012-09-30 07:43:03 +00:00
rmind
703f289235 npf.conf(5): add syntax section and a first cut describing the structural
elements.  Some improvements and fixes from spz@.
2012-09-29 19:50:03 +00:00
spz
6d80dd36ba re-work the description part of the man page, as discussed with rmind@ 2012-09-28 18:36:02 +00:00
rmind
aed1e968f7 npf.conf(5): improve and explain grammar definition. 2012-09-26 21:58:27 +00:00
ast
0b98a54c44 Make sure that the "to fix, run: ..." instructions actually work cut-and-paste
By default postinstall has mode 644 so /bin/sh or similar needs to be prepended
2012-09-22 09:20:06 +00:00
rmind
8c6e21bf5e Implement dynamic NPF extensions interface. An extension consists of
dynamically loaded module (.so) supplementing npfctl(8) and a kernel
module.  Move normalisation and logging functionality into their own
extensions.  More improvements to come.
2012-09-16 13:47:41 +00:00
plunky
ea7708e17f IPF 5.1.2 is in external/bsd/ipf and sys/external/bsd/ipf now;
these files are obsolete
2012-09-15 18:12:17 +00:00
plunky
19ea14f457 does not need -I${NETBSDSRCDIR}/sys/dist/ipf here, the include files
are installed in /usr/include/netinet
2012-09-15 17:46:25 +00:00
joerg
c4eabd7bd6 More __dead 2012-09-14 15:37:03 +00:00
joerg
ed602fb487 Don't use const foo const as type, one const is enough. 2012-09-13 21:44:49 +00:00
martin
5a79cb1f57 Do not build npftest without shared libraries - it can't work. 2012-09-13 21:02:50 +00:00
wiz
2ea831cdd8 Fix typo in syslog message.
From Edgar Fuß in PR 46950.
2012-09-13 11:09:41 +00:00