Commit Graph

7526 Commits

Author SHA1 Message Date
pavel
43bd0b5956 PR 32579: Add a -T flag to syslogd, which causes it to use local time for
messages received from the network. Useful for collecting logs from
devices which do not have correct time.

Add it to usage.

Document it, also document that syslogd adds a timestamp with the local
time if it does not recognize the original timestamp field. Bump date.

Approved by wrstuden@.
2006-04-19 21:18:50 +00:00
martin
36c96e27d5 Backout previous and redo it by eliminating a superflous production
instead - this eliminates the reduce/reduce conflict but leaves the
accepted language alone.
2006-04-19 20:38:49 +00:00
martin
8f6ebaa09e Remove a reduce/reduce conflict by splitting the "assign" non-terminal
into a assign_list one (comma separated list of assigns) and the simple
assign one.
2006-04-19 17:52:24 +00:00
rittera
d4fa82ba2a Removed the entire section on firmware from ndiscvt.8 as I don't think this is
currently working for NetBSD (I don't have any cards available that use the
firmware modules discussed).  I also removed referances to the non-existing
man-pages ndis(4) and ndisapi(9) from FreeBSD.
2006-04-19 17:01:50 +00:00
christos
ab0d027f23 Do the lex/yacc portions the sanctioned way, instead of adding Makefile gunk. 2006-04-19 15:45:21 +00:00
he
14efda3f28 Be sure to prefix explicitly mentioned source files with ${.CURDIR}/,
so that this can build with objects placed elsewhere.
2006-04-19 15:10:40 +00:00
hubertf
0161f34fc6 Bump for today's timeout change in ftpio.c 2006-04-18 20:40:48 +00:00
rittera
be97fc5a95 A number of minor changes for NDIS. (OK'd by phil)
1. Removed the makeoptions line from arch/i386/conf/GENERIC.  Now
ndis_driver_data.h is simply copied into the kernel build directory instead
of editing the config file to specify its location.

2. Uncommented lines in files.i386 and files.pci related to NDIS.  NDIS will
not be compiled into the kernel unless the two lines are uncommented from
GENERIC (I checked using nm), so there is no reason for this to be commented
out.

3. Added ndiscvt to usr.sbin/Makefile.
2006-04-18 16:49:19 +00:00
hubertf
19ef9ca981 unpackURL():
Make timeout mechanism's granularity always per-file (inside package)
instead of per-package (if not -v) or per-file (inside package, if -v).
2006-04-18 13:11:05 +00:00
rpaulo
43c3d200d1 Remove -k. Should no longer be needed. 2006-04-17 20:55:28 +00:00
rpaulo
6e7b39c917 ipwctl is no longer used to load the firmware. 2006-04-17 17:50:51 +00:00
jmmv
b345e2a3a3 WSDISPLAY_CHARFUNCS is gone. 2006-04-15 17:53:03 +00:00
blymn
8cf43bce86 New io statistics collection. 2006-04-14 13:20:48 +00:00
blymn
906131e6f3 Update to use the new kernel io statistics. 2006-04-14 13:14:57 +00:00
christos
71547fcffa Revert part of the previous coverity fix (Urban Boquist) 2006-04-13 21:48:54 +00:00
dsl
c0b0ba1f18 If parameter don't have values, then 'continue' after setting the flag bit.
Fixes coverty CID 776 and removes the need for a 'val = NULL' added to
appease gcc's undefined variable tests.
This parsing code sucks though, it doesn't correctly check for the '='
between a parameter and its value, whitespace can be used instead.
2006-04-12 19:49:59 +00:00
rpaulo
5d6fb58006 Descend into hostapd{,_cli}. 2006-04-12 15:37:48 +00:00
rpaulo
dc8d4a9fd1 Build framework for hostapd. Based on FreeBSD.
hostapd.conf.5 man page still incomplete.
2006-04-12 15:37:07 +00:00
rpaulo
f8258633d6 NetBSD driver for hostapd based on FreeBSD driver. 2006-04-12 15:36:26 +00:00
rpaulo
33dfcd8fe4 Build framework for hostapd_cli. 2006-04-12 15:35:59 +00:00
rpaulo
927a27fefc Pull ../Makefile.inc and override PATH.c.
Adapt to WPA supplicant 0.4.8.
Change the logic behind ENABLE_WPA_SUPPLICANT_EAPOL: it's now enabled by
default (EAP code has been reviewed by FreeBSD folks according to Sam Leffer).
2006-04-12 15:35:34 +00:00
rpaulo
6d70fc8f1b Pull ../Makefile.inc and define PATH.c. 2006-04-12 15:32:45 +00:00
rpaulo
af039b42a3 Don't define .PATH here as it'll be overridden by subdir Makefiles.
Add HOSTAPD_DISTDIR.
2006-04-12 15:31:51 +00:00
rpaulo
179fb23056 New functions/changes required by wpa_supplicant and hostapd 0.4.8. 2006-04-12 15:29:14 +00:00
hubertf
2e3214a0d4 Bump ftp timeout from 10 minutes to 1 hour.
When installing teTeX over a dog slow VPN, this can be necessary.
2006-04-11 10:36:19 +00:00
chuck
d09fe2c467 modified man(1):
- avoid double slashes when displaying man pages (got tired
   of '/usr/share/man//cat1/man.0').
 - got rid of __P() while working on it.
 - incorporate some of my old notes explaining how manpath works into the
   comments of the code itself.
 - renamed some of the vars so that the code is consistent throughout
   (and hopefully clearer and easier to understand)
 - fixed relative man paths for multiple man pages (man did a chdir()
   on the first man page it had to format --- this broke any remaining
   relative path man pages left to process).   save old directory and
   fchdir() back to it after formatting.
 - improved doc on "man -h" which does more than just whatis(1) [e.g.
   "man -h fopen" prints the required include files and the prototypes
   rather than just the one-liner you get with whatis(1)]
 - manconf.c now fills in the "len" length field in the TAG/ENTRY
   structures (man now uses len).

revise man.conf file reading stuff to return error on failure in
addentry/gettag (fka getlist) rather than just err()ing out.   this
allows man(1) to call cleanup and delete its tmp files rather than
just leave them floating.  revise other apps using this code
(makewhatis, apropos, catman, whatis) to expect this.  also remove
__P on updated files.
2006-04-10 14:39:06 +00:00
wiz
91bfc3f2c9 Formatting nits. 2006-04-08 23:05:38 +00:00
reed
0078fc2ced pkg_add also now check for USE_ABI_DEPENDS.
Check if USE_ABI_DEPENDS or IGNORE_RECOMMENDED was set
when this package was built. IGNORE_RECOMMENDED is now historical.

Remove on space in warning (and add "ABI")
so will fit on standard 80 column console.
2006-04-06 06:45:08 +00:00
hubertf
3cdb8f0a5c http_expand_URL(): fclose() the fdopen()'ed filedescriptor
before leaving the function (for all cases).

Actual fix and sanity checking by Dillo & Wiz
Coverity CID 2340
2006-04-05 18:01:20 +00:00
hubertf
a4ff1305f4 When recognizing a broken package version/name,
make sure to error out really, don't just print a warning
and the run into further problems.

Coverity CID 2739.
2006-04-05 17:50:48 +00:00
wiz
9f0633f5c3 Sort options. Add RCS Id. Adapt a bit for NetBSD; needs more work
(e.g. removing kldloader references)
2006-04-04 20:25:14 +00:00
martti
b52bb48fee Fix compilation problems. 2006-04-04 16:18:27 +00:00
wiz
da9647bfba Bump date, so that version in src and pkgsrc have the same
version _and_ the same code.
2006-04-04 06:38:53 +00:00
rittera
9f5b030f1a #included sys/lock.h which is apparently needed in order for ndiscvt to
compile on NetBSD.
2006-04-03 16:29:57 +00:00
christos
3cd2d0576e rename salloc to estrdup. 2006-04-02 01:39:48 +00:00
rpaulo
e288e9d823 Show ECN ECE and CWR flags too. 2006-03-31 10:20:21 +00:00
rittera
6f0360f3e9 applied zul's ndiscvt patch 2006-03-30 23:21:06 +00:00
rittera
9f9573165d added the original files from FreeBSD in usr.sbin/ndiscvt/ 2006-03-30 23:00:02 +00:00
dsl
58cc83950f Remove a splurious check for a NULL pointer (always passed as &struct->member).
Stops Coverty SID:2362 complaint
2006-03-30 21:05:07 +00:00
tron
0b2d4e954a Use sigaction(2) to setup automatic disposal of child processes after
daemonizing. This is more portable and avoids zombie "rpc.statd"
processes after an NFS client running e.g. Mac OS X shuts down.

Reviewed by christos@.
2006-03-28 15:21:00 +00:00
christos
3b6811d33b PR/33123: Murray Armfield: standards compliance & glob.h
Certain fields in glob.h need to be size_t; fix this and version glob(3).
    http://www.opengroup.org/onlinepubs/000095399/basedefs/glob.h.html
2006-03-26 18:11:22 +00:00
wiz
2950a17537 Remove last Kerberos 4 support in non-3RDPARTY code. 2006-03-23 23:51:25 +00:00
wiz
417f570853 Remove some more references to kerberosIV. 2006-03-23 21:51:14 +00:00
dogcow
028f696b68 Since KerberosIV has gone away, so should NFSKERB. 2006-03-23 15:37:02 +00:00
riz
a27001b755 Coverity CID 2757: Don't leak memory in error conditions. 2006-03-23 01:27:08 +00:00
bouyer
17cb72c505 In add_secure(), change
(status > 0) to (status == 0 && value). It doesn't make sense to handle value
only if there was an error.
Fix coverity ID 1709.
2006-03-22 19:54:13 +00:00
joerg
368cb1b951 Garbage collect cc in moduser, it is only set once, but never read as
noticed by lint.
2006-03-22 18:02:46 +00:00
joerg
5dc48904d3 Don't leak FILEs when flock fails. Found by Coverity (CID 1776, 1777 and
1778). Patch by Liam J. Foy, which handles one more case.
2006-03-22 18:01:11 +00:00
christos
83daacaaf8 Coverity CID 621: Remove dead code. 2006-03-22 17:16:09 +00:00
christos
e5f6d71c5b Coverity CID 798: t can only be null if p is null. otherwise p needs to contain
a name.
2006-03-22 17:14:16 +00:00