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
christos
20a63f0a54
Coverity CID 888: Detect error when host is not found.
2006-03-22 17:10:33 +00:00
christos
2d056bacca
Coverity CID 893: Check the pointer for NULL before using anyway, although
...
in the current situation it cannot happen.
2006-03-22 17:05:44 +00:00
christos
76ad3db40d
Coverity CID 1644: Plug memory leak.
2006-03-22 17:03:29 +00:00
christos
84d29c783e
Coverity CID 1645: Fix memory leak.
2006-03-22 17:01:47 +00:00
christos
c8f598b3af
Coverity CID 1646: Free storage on error
2006-03-22 16:58:30 +00:00
christos
2ed64bb14a
Coverity CID 1647: Close file on error.
2006-03-22 16:57:18 +00:00
christos
4830490bed
Coverity CID 1701: Fix memory and descriptor leak on error.
2006-03-22 16:56:10 +00:00
christos
821808de71
Coverity CID 1708: Close file on error.
2006-03-22 16:54:26 +00:00
christos
b8595bc4e5
Coverity CID 2581: set variable to NULL after free.
2006-03-22 16:45:48 +00:00
christos
18358a0809
Coverity CID 2582: Set variables to NULL after freeing.
2006-03-22 16:44:30 +00:00
christos
17eb3e6ddd
Coverity CID 2583: Appease error by setting name to NULL after free.
2006-03-22 16:42:41 +00:00
itojun
d9a428ea1c
avoid heap overrun. thanks goes to Susan Lan of zyxel.
2006-03-22 09:22:28 +00:00
christos
db1dbe6ce9
Coverity CID 1225: Don't close negative fd. While here fix fd leak.
2006-03-21 22:49:43 +00:00
christos
4a6e5a625c
Coverity CID 1750: Add a function to free a queue and use it.
2006-03-21 22:47:26 +00:00
christos
1f548f352a
Coverity CID 1752: getq() always allocates a queue if nitems >= 0, so always
...
free it.
2006-03-21 22:37:34 +00:00
christos
85e611dd01
Goodbye KerberosIV
2006-03-20 04:03:10 +00:00
phil
01ec6393c4
Plug resource leak. (CID 1600)
2006-03-19 07:04:06 +00:00
dan
bcff75cc37
actually toggle the value of dquote when seeing a '"', as I intuit the
...
author must have intended. Found via coverity CID 579.
2006-03-18 22:07:15 +00:00
dan
6ff40a4cfb
prevent a potential resource leak, not found by coverity (perhaps masked by previous)
2006-03-18 21:41:23 +00:00
dan
3713fec029
catch another possible error case and exit early; CID 990
2006-03-18 21:35:35 +00:00
bouyer
d663834226
Fix memory leak if we're adding an existing group name.
...
Coverity ID 1568.
2006-03-18 14:33:07 +00:00
rtr
b06fd00a81
free buf on error path
...
coverity 190 / run 5
2006-03-18 12:35:41 +00:00
dan
1c8b9fae53
CIDs 2649, 2650: buf used after free
2006-03-18 12:35:19 +00:00
dsl
1ec8e10fce
Coverty 7449: Change 'return (0)' to 'goto done' so we free(bootstrapbuf)
...
before exiting with error.
2006-03-18 11:08:19 +00:00
elad
d8af4d8962
Change MAX_BLOCKS for b_prop to MAX_PROPS, as it probably should've been.
...
Fixes overrun found by Coverity, CID 1550.
2006-03-18 02:06:38 +00:00
elad
615bdca25f
Fix three off-by-ones found by Coverity, CID 1489.
2006-03-17 21:10:02 +00:00
elad
35ad67c75e
Fix off-by-one found by Coverity, CID 1485.
2006-03-17 21:01:02 +00:00
elad
7d1c72d85d
Fix off-by-one found by Coverity, CID 1486.
2006-03-17 20:48:09 +00:00
hubertf
dc01675c5a
Put check if "best" is empty back into the right place, messed up
...
in previous commit.
Noted by yamt@
2006-03-17 17:46:44 +00:00
christos
fca770b32a
Appease Coverity CID 2580 [not a bug]
2006-03-17 17:06:30 +00:00
christos
227e68b656
free memory on allocation failure.
2006-03-17 17:04:22 +00:00
elad
fb41d90922
Proper bounds access, found by Coverity, CID 1470.
2006-03-17 14:40:11 +00:00
dmcmahill
de309be996
put the array bounds check _before_ accessing the array.
...
Coverity CID: 1479
2006-03-17 14:20:10 +00:00
dmcmahill
ee00225705
put the array bounds check _before_ accessing the array.
...
Coverity CID: 1480
2006-03-17 14:14:45 +00:00
erh
840c5222df
Fix -uu handling so recursive updates of already installed packages work,
...
even if the initial package to install isn't installed yet.
Bump the version to 20060313.
2006-03-17 05:32:11 +00:00
elad
8adb45d48c
Fix off-by-one found by Coverity, CID 1529.
2006-03-17 02:56:05 +00:00
elad
70b1ddf050
Overrun found by Coverity, CID 1549.
2006-03-17 02:41:31 +00:00
hubertf
986192d148
Add sanity check if there's a @cwd in the +CONTENT file.
...
If not abort, because we wouldn't know where to put the files.
Coverity CID 1358
2006-03-17 02:37:31 +00:00
hubertf
3c5de91c39
pkg_do(): only use cp2 if it's really set to something useful
...
Coverity CID 1176
2006-03-17 02:31:44 +00:00
hubertf
fc4fb72e38
findbestmatchingname_fn(): catch possible problems if best (vp)
...
contains some strange name (shouldn't happen, but ...)
Coverity CID 869
2006-03-17 02:20:46 +00:00
hubertf
92acb1f6e9
findbestmatchingname_fn(): only do something sensible if the pointer
...
handed in is actually usable (not NULL)
Fixes Coverity ID 870
2006-03-17 02:10:55 +00:00
hubertf
baf66cc3f1
We can't sprintf() into a NULL pointer - catch that properly
...
for ALL cases.
Coverity CID 861
2006-03-17 01:58:25 +00:00
hubertf
19dcd9a850
Fix filedescriptor leak
...
Coverity CID 1625
2006-03-17 01:10:53 +00:00
christos
62da5ad066
forgot to commit the links to sl*
2006-03-16 16:53:23 +00:00
christos
cff2dad821
add a tar target.
2006-03-14 22:59:43 +00:00
christos
0c402ec936
provide a declaration for crypt(). Casting to char * will not work for
...
64 bit OS's.
2006-03-14 17:45:03 +00:00
christos
d7571e6e65
Make building work on NetBSD again [in this directory with the standard
...
Makefile]
2006-03-14 17:42:06 +00:00
rpaulo
0f0ba22069
bump date
2006-03-12 11:18:31 +00:00
jschauma
25b6d6ab50
fix typo: explcitly -> explicitly
2006-03-11 22:56:57 +00:00
jmmv
582b13f281
Fix typo: inteface -> interface.
2006-03-08 22:47:40 +00:00
reed
1b379e628e
Fix the "Cannot chdir" error message to actually show the
...
problem directory name for lsbest and lsall.
For example:
# pkg_admin -d /usr/packages/DragonFly/1.4.0/i386/All lsbest 'gmake>0'
pkg_admin: Cannot chdir to /var/db/pkg: No such file or directory
Should show:
pkg_admin: Cannot chdir to /usr/packages/DragonFly/1.4.0/i386/All: No such file or directory
2006-03-06 20:00:10 +00:00
rpaulo
8c2379fd97
NDP-related improvements:
...
RFC4191
- supports host-side router-preference
RFC3542
- if DAD fails on a interface, disables IPv6 operation on the
interface
- don't advertise MLD report before DAD finishes
Others
- fixes integer overflow for valid and preferred lifetimes
- improves timer granularity for MLD, using callout-timer.
- reflects rtadvd's IPv6 host variable information into kernel
(router only)
- adds a sysctl option to enable/disable pMTUd for multicast
packets
- performs NUD on PPP/GRE interface by default
- Redirect works regardless of ip6_accept_rtadv
- removes RFC1885-related code
From the KAME project via SUZUKI Shinsuke.
Reviewed by core.
2006-03-05 23:47:08 +00:00
christos
9867ff4817
pppstats now handles slstats
2006-03-02 17:34:17 +00:00
dyoung
de42319b47
Makefile nit: put -Ddefinitions into CPPFLAGS instead of CFLAGS,
...
since we need the -Ddefinitions not just for cc(1), but for cpp(1),
lint(1), etc.
2006-03-02 04:49:25 +00:00
apb
9e61b51ee3
Fix default handling. etcupdate with no "-s" flag
...
should act like "etcupdate -s /usr/src".
Approved by christos.
2006-02-26 19:56:51 +00:00
apb
8cc0e19f2c
Typo in comment.
2006-02-26 19:55:46 +00:00
apb
03f40d9364
Pass BUILD=1 in make environment.
...
Fixes PR 30385 from Rui Paulo.
Approved by chrisros.
2006-02-26 19:51:05 +00:00
simonb
5cfbf7bf76
Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT.
2006-02-25 12:04:23 +00:00
simonb
bee087d4cc
libcompat isn't needed any more here.
2006-02-25 12:00:24 +00:00
wiz
5d1e8b2745
Fix some typos.
2006-02-25 02:28:55 +00:00
wiz
6f38e00ba9
Fix typo. New sentence, new line.
2006-02-25 02:27:42 +00:00
wiz
1ad8067cb3
Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),
...
forwarded by jmc@openbsd.
2006-02-25 00:58:34 +00:00
christos
aa3a9e822d
By popular demand don't bail out if a user's shell is not in /etc/shells.
...
Issue a warning instead.
2006-02-23 22:45:25 +00:00
dogcow
4c1a82844d
Since installboot is part of tools, and TIOCGWINSZ is not present on all
...
systems (PR/32878), make the window sizing stuff conditional.
Also, fix formatting of 'supported file system types are' line.
2006-02-22 07:10:26 +00:00
agc
756acb0ef7
Add an initial makefile for the iscsiconfig utility. We don't yet descend
...
into this directory, so no addition to the sets as yet.
2006-02-20 09:01:39 +00:00
apb
1f082bb8d2
Wording changes to clarify some the options presented after
...
a file is merged.
2006-02-19 14:56:56 +00:00
apb
32c588d6a3
Fix errors in previous. I accidentally committed the wrong code.
2006-02-19 11:36:10 +00:00
apb
7e321ef839
Give etcupdate the ability to use etc.tgz and xetc.tgz.
...
* Expand the "-s" flag to -s {srcdir|tgzfile|tempdir}.
* Deprecate the "-b" flag. It is replaced by "-s tempdir".
* Change "-s srcdir" to refer to the top of the source tree (e.g.
/usr/src) instead of the etc subdirectory.
In etcupdate's interactive phase, enhance the "s" command to be able
to invoke alternative diff commands.
Also some style changes.
Approved by christos
2006-02-18 19:29:48 +00:00
dsl
959e130a7f
Changes to allow support for a reduced set of architectures.
...
In particular if SMALLPROG is set (eg for installation crunched ramdiskbin)
only build for the current MACHINE.
2006-02-18 14:54:53 +00:00
dsl
2fdbc8bd5f
The fstypes table is only needed for adding 'stage2' bootstraps on some
...
platforms. Compile out the code if NO_STAGE2 is defined.
2006-02-18 12:45:15 +00:00
dsl
200e1792a1
Define the ib_mach_xxx entries here in a way that will allocate them into
...
the bss if the MD file isn't linked into the installboot image.
2006-02-18 12:43:36 +00:00
dsl
b22a0afa5c
Ignore entre is in the 'machines' table that have no name.
...
Use terminal with to break line of machine names.
2006-02-18 12:42:26 +00:00
dsl
8c767ff592
Remove support for byteswapped file systems if NO_FFS_SWAP is defined.
...
For SAMLLPROG builds.
2006-02-18 12:39:38 +00:00
dsl
13b9ae1e99
Best to declare these structures 'extern' ...
2006-02-18 11:01:51 +00:00
dsl
cce659e230
Move the MD definitions into the MD files, leaving machines.c with just
...
a list of the supported machines.
2006-02-18 10:08:07 +00:00
rpaulo
39c9cdcdbf
Show MPLS ICMP extensions. Only available if -M is passed.
...
Example:
RC02-02 (195.245.142.66) 45.707 ms 20.418 ms 34.042 ms [MPLS: label: 515, exp: 0x0, ttl: 1]
gr1-p340.attga.ip.att.net (12.123.20.190) 241.878 ms 251.945 ms [MPLS: label: 32133, exp: 0x0, ttl: 1]
Based on PR 22523: By Jesper Skriver (updated by ww@parc.styx.org and Mihai
CHELARU).
Things not in the PR that I changed/added:
* changed exp and label to lower case
* added ttl (probably not worth it but who knows..)
* KNF/style/indent
* C99 uintXX_t
2006-02-17 21:31:18 +00:00
tsarna
55551a76e2
Add postinstall item for the rwhod de-preivledging.
...
Check and correct permissions on /var/rwho files so rwhod
will be able to update them.
2006-02-14 17:14:21 +00:00
dsl
9f26f448bf
Need to read and swap cpustats separately from the dkstats.
...
I wonder how many more programs use the code in vmstat/dkstats.c
2006-02-12 22:11:54 +00:00
yamt
16b7c5d1dd
print a header on each outputs if and only if the output has 2 or more lines.
2006-02-12 11:23:31 +00:00
christos
4fa128a6ab
rcsids.
2006-02-11 23:02:10 +00:00
christos
8b766b8af0
New version from David Boggs.
2006-02-11 23:01:10 +00:00
agc
5fc129c4a1
Descend into the iscsi directory.
2006-02-08 18:59:39 +00:00
agc
97f0c7d9de
Reachover files for the iSCSI target.
...
The test harness files are included here, but are not built or installed.
It is not envisaged that a typical NetBSD user will have much use for an
iSCSI test harness.
2006-02-08 18:57:49 +00:00
christos
db38881997
Bye bye sushi (moved via repository copy to othersrc)
2006-02-08 00:46:13 +00:00
christos
a04e414992
update to 6.1.3; bump library version
2006-02-05 16:29:00 +00:00
christos
d8d9c20820
pass WARNS=4
2006-02-05 14:11:18 +00:00
christos
f3d0b6c690
PR/32747: Michael van Elst: Set close on exec on /dev/power fd so that it
...
is not open from the child process. While I am here:
- KNF, pass lint.
- Fix a bug where the outer loop index was re-used in the inner loop.
- Check the return code of wait.
2006-02-05 14:03:46 +00:00
wiz
4679714200
Sort SEE ALSO.
2006-02-04 18:48:01 +00:00
dyoung
9d2dd62a57
Stop duplicating the ISO9660 sources in sys/fs/cd9660/ for makefs(8).
2006-02-01 22:19:34 +00:00
christos
5883cf1e6d
PR/32681: Yves-Emmanuel JUTARD: Fix and document -d [hostname [pub]]
2006-01-31 17:47:04 +00:00
dsl
16ca1f6da7
Fix the detection of the bootstrap magic number when run on big-endian systems.
...
Correct another typo.
2006-01-30 21:15:37 +00:00
christos
f49dbe00ee
- use sizeof() instead of the buffer size.
...
- check write return.
- use MAXPATHLEN instead of BUFSIZ for a path buffer.
2006-01-29 18:55:46 +00:00
christos
85d0017934
Initialize loop master to -1 so that we don't accidentally close fd 0; should
...
fix smb's problem.
2006-01-29 17:52:38 +00:00
jmmv
1cd43a0b52
Add a missing space in the usage message.
2006-01-26 17:24:52 +00:00
martin
91378840b8
Add reference to installboot(8), as suggested by Patrick Welche.
2006-01-26 15:05:27 +00:00
joerg
32ce5ba905
Add conditional code to ignore the non-numeric part of an OS version
...
for the sake of compatibility tests in pkg_add.
E.g. DragonFly versions like
1.4.0-RELEASE
are reduced to
1.4.0
This code is disabled by default on NetBSD.
2006-01-25 00:17:34 +00:00
dsl
6c51ef9cb5
Fix spelling mistake in message
2006-01-24 18:35:18 +00:00
wiz
ec5cd4a9b7
New sentence, new line. Bump date for previous. Properly case PostScript.
2006-01-22 21:31:17 +00:00
wiz
2d00c446d6
Bump date for previous.
2006-01-21 23:34:45 +00:00
rpaulo
78678b130a
Better support of IPv6 scoped addresses.
...
- most of the kernel code will not care about the actual encoding of
scope zone IDs and won't touch "s6_addr16[1]" directly.
- similarly, most of the kernel code will not care about link-local
scoped addresses as a special case.
- scope boundary check will be stricter. For example, the current
*BSD code allows a packet with src=::1 and dst=(some global IPv6
address) to be sent outside of the node, if the application do:
s = socket(AF_INET6);
bind(s, "::1");
sendto(s, some_global_IPv6_addr);
This is clearly wrong, since ::1 is only meaningful within a single
node, but the current implementation of the *BSD kernel cannot
reject this attempt.
- and, while there, don't try to remove the ff02::/32 interface route
entry in in6_ifdetach() as it's already gone.
This also includes some level of support for the standard source
address selection algorithm defined in RFC3484, which will be
completed on in the future.
From the KAME project via JINMEI Tatuya.
Approved by core@.
2006-01-21 00:15:35 +00:00
wiz
771b656bd0
Add missing .El. From Nicolas Joly in PR 32546.
2006-01-20 21:50:54 +00:00
wiz
5fb854a4b2
Add reference to RFC 3164. From Pavel Cahyna in PR 32578.
2006-01-20 21:48:41 +00:00
christos
c681304808
Instead of dealing with port@host in many places, do it where it is needed.
...
It reduces code and complexity and at the same time allows as to use symbolic
ports instead of just numeric everywhere.
2006-01-20 17:30:00 +00:00
garbled
79363b714f
Add control file documentation for 'o' handling, and fix the
...
documentation on the DVI handling, the correct letter is 'd' not 'r'.
2006-01-20 08:51:40 +00:00
garbled
bd7bcee846
Add a simple filter that encapsulates ascii text into HP PJL format.
...
Script written by Ross Harvey.
2006-01-20 08:37:26 +00:00
elad
3281cee076
Default socket owner to operator:operator.
2006-01-20 00:21:35 +00:00
garbled
fad94e160d
Fix PR bin/30272 Lpd would create the tempfile "remotexxxxx" and send
...
that, but then fill out the control file with the "df" filename. Fix by
sending the remote file with the "df" filename, as suggested by Robert
Vargason on tech-userlevel. lpd -r now works properly with an if (input
filter)
2006-01-19 19:17:59 +00:00
garbled
2d58d3d4c7
If we set SIGCHLD to SIG_IGN then any wait()'s on the child processes will
...
return -1. This causes filters to fail because we get a value for
child_pid we weren't expecting. Set SIGCHLD to SIG_DFL instead to clear
the reapchild setting when forking the child lpd.
2006-01-18 23:17:38 +00:00
garbled
9ca158e136
change return(0) to return(rv). We went to all the trouble to calculate the
...
return value, we might as well return it. (fixes lpq -a, and probably lpd)
2006-01-18 19:11:25 +00:00
garbled
d1a9ef55c4
per PR bin/12958 change buf[MAXPATHLEN] to buf[BUFSIZ] to avoid potential
...
future problems if either should change.
2006-01-17 19:41:49 +00:00
garbled
517b1ba160
Update a comment regarding control file WRT "o"
2006-01-17 19:12:17 +00:00
garbled
fae257a066
Fix PR bin/14247
...
This PR claims that MacOSX 10.1 cannot print postscript files to a NetBSD
lpd because the mac will tag the file with an "o" for postscript, which
we do not handle. Rather than simply mapping o -> f as was done in the
PR, or mapping o -> l as was done in FreeBSD, I have implemented full
support for the "o" option. If a postscript filter does not exist in the
printcap file however, it will default to "l" handling.
With this change, you can now specify a "pf" or postscript filter in your
printcap, and have it handle postscript files sent to it with "lpr -o".
The "o" format in lpd is specified in RFC1179 as being a valid format flag.
2006-01-17 19:11:12 +00:00
garbled
e76be65112
in ckqueue() if "sd" is not an existing capability, than sd will be
...
uninitialized, causing the free() in out: to explode. Initialize sd to NULL.
2006-01-17 18:38:12 +00:00
is
def92bcab5
Fix obvious error, hopefully correctly.
2006-01-15 13:17:15 +00:00
agc
9823410edb
Use a CPP definition for "/sbin/nologin" - it's at the top of the
...
file.
Modify the logic in the previous but one commit - /sbin/nologin should
be considered a valid user shell, since otherwise, with the addition
of the checks for a valid user shell, useradd with a shell of
/sbin/nologin will fail.
Modify some of the code here to conform to the standards in the rest
of this file.
2006-01-14 22:00:52 +00:00
christos
f4a430efd2
Use the ppp zlib from net. In preparation for importing zlib-1.2.3.
...
Unfortunately due to the changes in 1.2.3 that have more fine-grain
states between calls to inflate, we cannot easily adapt it to
packetized mode.
2006-01-14 19:55:11 +00:00
wiz
1a0cee1a1d
Replace NetBSD with Nx.
2006-01-13 17:45:36 +00:00
elad
87a445663d
Add forgotten ')'.
2006-01-13 16:36:33 +00:00
tsutsui
4930ad54bc
Note about ews4800mips.
2006-01-13 15:37:26 +00:00
christos
efe8347be7
treat /sbin/nologin specially.
2006-01-13 13:43:23 +00:00
elad
226d27021a
add mode 0600 for open call with O_CREAT.
2006-01-13 10:06:10 +00:00
wiz
dd0ea511f5
New sentence, new line.
2006-01-12 21:15:59 +00:00
garbled
606b04818e
sizeof(char) is unneccesary.
2006-01-12 18:06:25 +00:00
garbled
53df3fea02
Add libedit command line history capability to lpc(8).
2006-01-12 17:53:03 +00:00
jmmv
43e6e3abd2
Capitalize a letter to match other sentences in the list.
2006-01-12 16:45:25 +00:00
christos
b018a2c29a
revert previous. persist does not need to reset the line discipline. (verified
...
by perry)
2006-01-11 21:16:51 +00:00
christos
c68bc6a017
reset the tty in the normal tty discipline if we persist so that we can
...
dial again.
2006-01-10 22:57:35 +00:00
reed
de56c0d123
Fix mispelling in a comment.
2006-01-10 20:53:24 +00:00
wiz
d0fb2fc679
Use MaxPathSize instead of PATH_MAX (like everywhere else here).
2006-01-08 12:20:54 +00:00
yamt
895fec49e1
reset hdrcnt whenever printing a header.
2006-01-08 08:47:16 +00:00
christos
ca0029edd3
Add checks for valid shell. From Liam Foy.
2006-01-06 18:11:00 +00:00
yamt
db8ef563ea
mention /var/db/mountdtab.
2006-01-05 10:41:03 +00:00
yamt
5997340664
do_nfssvc: remove code to go up the path, as it's nonsense and
...
sometimes even harmful.
2006-01-05 10:38:29 +00:00
christos
5d62e1710e
sync with pkgsrc version.
2006-01-04 23:36:14 +00:00
garbled
97f8851cc8
Address PR bin/12112
...
Lpd has the ability to start on a port other than "printer" but has no
way to connect to a remote lpd on that port. This change adds the
ability to specify port@host in the rm element of printcap(5). Tested to
work with both a standard lpd setup and one running on special ports.
2006-01-04 15:32:50 +00:00
yamt
f79b461ad5
update MAXNFSDCNT and bump date.
2006-01-01 17:03:54 +00:00
christos
36134a63ad
- don't leak the ipv6 file descriptor when we close
...
- fix packet statistics
- don't check errno if n != -1
- check more error conditions
- relinguish the ppp tty when we are on demand mode, fixes demand mode
- ansi prototypes
2005-12-31 08:36:01 +00:00
tsutsui
3b1ef5e593
Add ews4800mips support.
2005-12-29 15:32:20 +00:00
martti
ecde67984b
Define INET6 only if ${USE_INET6} != "no"
2005-12-28 11:58:23 +00:00
martti
e2030cd2f7
Define INET and INET6 or things break when linking in fil.o (hi christos!)
2005-12-28 11:54:45 +00:00
elad
0ba17c4726
/dev/i4b -> /dev/isdn. From ulfdoz.
2005-12-26 19:11:17 +00:00
jmmv
e7ab8d7413
Installing the primary bootstrap requires two arguments, so ensure they are
...
present. Otherwise, an assertion is triggered (and core is dumped) in the
MD setboot code (just try 'installboot /dev/fd0a' on, e.g., i386).
2005-12-26 13:30:25 +00:00
perry
d030f331fb
__inline__ -> inline
...
__const__ -> const
2005-12-24 21:35:57 +00:00
perry
ae6ae2c362
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:56:41 +00:00
christos
ed53f670c4
remove programs that have been deprecated.
2005-12-22 00:27:23 +00:00
christos
bd58506612
Resolve conflicts
2005-12-22 00:19:00 +00:00
wiz
086e1cafc6
Comment out paragraphs/half sentences referring to wlan(4)
...
and devd(8), which we do not have.
2005-12-12 22:23:22 +00:00
wiz
fe8b349524
Add xref to chflags(1). From Andre Luiz de Oliveira in PR 32265.
2005-12-09 20:27:02 +00:00
dillo
4793781929
(pkg_do) When marking already installed package as manually installed,
...
only print message if we succeeded.
Noted by wiz.
2005-12-08 19:26:28 +00:00
christos
d945bb2f77
missed one unsigned long long cast.
2005-12-07 13:59:12 +00:00
skrll
7044aacdd9
Don't reference stuff we don't have.
2005-12-07 12:20:49 +00:00
christos
c4e3ba2371
fix the LP64 issue for real.
2005-12-06 22:48:05 +00:00
abs
7b32e40a09
fgetc() should use an int not a char. The code style here is... unusual.
2005-12-06 21:05:36 +00:00
christos
616516830f
Fix __LP64__ issues and time_t abuse.
2005-12-06 16:32:49 +00:00
skrll
a0ab422547
Descend into lmcconfig.
2005-12-06 11:55:19 +00:00
christos
db4546dd95
New lmcconfig program from David Boggs. This program probably has the most
...
options than any other in the tree.
2005-12-06 03:12:35 +00:00
ben
d221099506
Specify the full path to tar when unpacking a package.
...
Modify pfcexec so the new process file name can be different from argv[0].
This fix is from Peter Postma, and it addresses PR#32228
2005-12-06 01:07:30 +00:00
christos
11f5327084
Don't log an error if a delete exports request is not supported. Also fix
...
the error message to print the reason delete exports failed.
2005-12-04 18:01:53 +00:00
wiz
84b1788811
Improve diagnostics section. Inspired by PR 32217 from Jeff Ito.
2005-12-03 11:24:02 +00:00
hubertf
e968750664
Only warn about running as non-root when -v is given
...
(or when running in non-unprivilegedmode, but how to detect?)
2005-12-03 01:08:38 +00:00
yamt
ebd9a381a8
constify.
2005-12-02 11:33:39 +00:00
wiz
3d67954e00
Fix typo reported by adam@.
2005-11-30 18:31:45 +00:00
dyoung
5138e74947
Fix a bug in cd9660_sort_nodes, which tried to insert `next' before
...
`node' on a tail-queue, when `node' wasn't on the tail-queue.
Sometimes this led to a segfault. Insert before `cn', since that
is the intention. Closes PR 32194. Thanks, Jeff Rizzo, for reporting
this bug.
2005-11-30 00:26:11 +00:00
christos
04723c3ffc
- WARNS = 4
...
- factor out commonly used code.
- constify
- use warn/warnx instead of printf
2005-11-28 03:26:06 +00:00
ben
ab821d396a
Correct PAX_CMD to be pax.
2005-11-28 01:49:39 +00:00
bouyer
3cce18ce83
We can't call db->put() with key or data pointing back to db(3)'s memory
...
space, or the database will be corrupted (noticed when the database is
updated in reset_host()). Change change_host() to copy hostname and HostInfo
to local storage before calling db->put().
Change notify_one() to use change_host() instead of calling db->put()
directly.
2005-11-27 16:03:20 +00:00
jdolecek
a53e9b6a94
the mktemp() use here is not OK, adjust comment
2005-11-27 12:52:30 +00:00
christos
65710e59db
adjust to the new openssl
2005-11-26 02:32:32 +00:00
agc
40a712f2d4
Be pragmatic - move user(8) to a 3-clause BSD licence.
2005-11-25 08:00:18 +00:00
macallan
631f2d878c
build the apm utility on sparc since we already build apmd
2005-11-24 15:47:09 +00:00
ben
81789679db
Conditionally include header files, and include nbcompat.h
...
Addresses PR#32149
2005-11-23 14:58:16 +00:00
tron
173505f438
Remove unused variable "argc" in function apply_perms().
2005-11-23 12:01:30 +00:00
ben
ed4b2f6172
Reduce the use of the system() function in pkg_install to avoid quoting
...
problems. Instead, use exec*() functions.
Replace PUSHOUT() macro and string buffers with a function that
operates on data structures.
If it is necessary to copy files into place from staging area, then use
pax to copy them.
Add functions in pexec.c to create a pipe for sending data to a child
process. Replace pipe code in create/perform.c with these functions.
Use these functions instead of command-line arguments when copying files
into place from staging area.
Three system() references remain: @exec, @unexec, and vsystem().
2005-11-23 04:59:14 +00:00
lukem
547b2d58b6
Add checks for _rwhod group & user.
...
Noted by Patrick Welche on current-users.
2005-11-22 22:10:52 +00:00
dyoung
f8251d6325
Bug fix: when we ask the kernel to count the ieee80211_nodes, let
...
it count as many as INT_MAX of them, instead of just 1.
New feature: display node-table membership, 'sta' or 'scan'.
2005-11-20 09:41:39 +00:00
christos
97babf6224
add the dnssec and namedb check tools
2005-11-19 02:09:27 +00:00
yamt
6458fcab9f
make -noresvmnt in DEFSET work.
2005-11-18 13:19:48 +00:00
christos
27fe712f67
The latest fts fix that removes double-slashes from paths exposed a bug
...
in the code. Don't assume that the extra slash is going to be there.
2005-11-18 05:11:30 +00:00
rpaulo
b3bf341016
If ENABLE_WPA_SUPPLICANT_EAPOL is defined, add libdes to ${DPADD} and
...
${LDADD} so that it builds fine.
While there, add libssl to ${DPADD}.
2005-11-17 13:55:29 +00:00
wiz
b141897d50
Punctuation fixes.
2005-11-16 20:24:17 +00:00
christos
77bea244d5
user portion of the EXTENSIONS documentation. From Liam Foy.
2005-11-16 18:44:37 +00:00
dillo
f05d706e05
Bump version for ``pkg_info -Q against local binary packages'' fix.
2005-11-14 09:41:43 +00:00
dillo
b6b652227e
Fix first part of PR 32068: pkg_info -Q broken for local binary packages
...
Add BUILD_INFO_FNAME to the files to extract for SHOW_BI_VAR.
2005-11-14 09:39:44 +00:00
lukem
8dfe8b4d24
Update copyright years.
...
Whitespace tweaks.
2005-11-14 00:04:34 +00:00
agc
2ca444e0bd
Get rid of cvs merge botch in previous.
2005-11-13 20:37:23 +00:00
agc
d6e9c48326
The Dewey number comparison routines were added by myself in 2002 in
...
revision 1.32 of pkg_install/lib/str.c, and have absolutely nothing to
do with the original FreeBSD utilities.
Place the appropriate (3 clause) copyright on this file.
2005-11-13 20:07:41 +00:00
wiz
41fb8f4fed
Handle -1 return value from dewey_match.
2005-11-13 19:48:35 +00:00
wiz
45be6e647e
Do not use errx in dewey_match, return -1 instead.
2005-11-13 19:48:19 +00:00
wiz
43f9ef503c
It is not 2006 yet. Fix typo. Uppercase BIOS.
2005-11-12 16:44:07 +00:00
dsl
e0e1f6caed
Don't try to determine the type of the target filesystem unless a second
...
stage bootstrap is specified. It is only needed when we need to copy the
sector numbers of the second stage into the first stage.
Document that a configured baud rate of zero will cause the baud rate set by
the bios to be used.
2005-11-12 09:35:31 +00:00
wiz
f72297cc7e
Sync usage with man page (sort options).
2005-11-11 21:24:01 +00:00
wiz
d1115a4c84
Keeps in SYNOPSIS are not necessary any longer, groff is smart enough nowadays.
...
Sort options and option descriptions.
2005-11-11 21:22:18 +00:00
dsl
8c893c964a
Add a -e (edit) option to allow the bootstrap options of an installed
...
bootstrap or a file containing such a bootstrap to be changed/displayed.
In particular this will (soon) let you modify the parameters for pxeboot.
2005-11-11 21:09:50 +00:00
peter
a54786194c
Use the LIST_FOREACH macros.
2005-11-11 15:14:24 +00:00
peter
19f81314eb
Don't core dump when the program is invoked without arguments.
2005-11-11 15:08:40 +00:00
wiz
718287b4f9
Whitespace nits, improve wording.
2005-11-10 21:17:18 +00:00
elad
7084f7a24b
SHA2 support has been pulled up to NetBSD 3.0, update the history part.
2005-11-10 19:41:59 +00:00
christos
efa8bba1ef
factor out common code.
2005-11-10 19:11:48 +00:00
christos
98817ca408
cgd wanted to have it read stdin.
2005-11-10 19:07:03 +00:00
christos
1d5c23627f
change warnx to warn.
2005-11-10 18:04:03 +00:00
christos
2ac1e392b6
Use unvis(3) to parse the string. thanks to groo, soda, and numerous others
...
for the hand-holding.
2005-11-10 18:03:05 +00:00
christos
258783da29
Add new sti command.
2005-11-10 16:54:05 +00:00
wiz
c6257ebac1
Mark up EXTENSIONS.
2005-11-09 23:50:16 +00:00
wiz
36470a753d
Drop trailing whitespace.
2005-11-09 23:48:51 +00:00
wiz
227106a6a2
No leading zero in date strings.
...
XXX: this page needs conversion to mdoc.
2005-11-09 23:43:59 +00:00
wiz
7ef0b27ab9
Remove some unnecessary header includes.
2005-11-08 20:16:53 +00:00
dillo
e68029a308
Bump version for pkg_info -B fix.
2005-11-07 23:20:49 +00:00
dillo
831ae4eb35
Don't add INSTALLED_INFO to the list of files to extract from binary
...
packages, it will never be there.
Fixes pkg_info -B against binary packages broken when INSTALLED_INFO
support was added.
2005-11-07 23:19:55 +00:00
christos
df29ab0769
Mention which options are only available with EXTENSIONS. From Liam Foy.
2005-11-07 23:07:45 +00:00
wiz
752535d165
Replace wait(2) with equivalent waitpid(2); for Linux, reported by wulf@
...
on tech-pkg.
2005-11-07 22:57:07 +00:00
wiz
2fa51c716a
Sync with pkgsrc: wrap some headers in #ifs.
2005-11-07 22:53:41 +00:00
christos
6b3d6b9d93
remove asprintf and strlcpy. We don't support NetBSD1.3 and NetBSD1.4.
...
GC Todd's copyright, since it is not needed anymore.
2005-11-07 21:58:12 +00:00
christos
9b674959c3
More cleanups from Liam Foy:
...
- Fix error messages, some are completely incorrect
- Asystem prints the error message so don't bother saving errno
- Don't continue if a lock can't be obtained on /etc/group
- Just pass struct passwd * to removehomedir, not its members
Some copyright maintenance:
- Add Liam Foy.
- Move Todd's copyright higher up.
XXX: We should remove clause 3 and merge the two copyright groups.
2005-11-07 21:46:50 +00:00
uwe
7541580e69
\(<= is the proper roff for <=. Fix another \*[Le] missed in the
...
previous commit. While here, properly mark up minus in -p description.
2005-11-06 17:39:45 +00:00
rpaulo
033766f3a8
It's lilac-dmc.Berkeley.EDU, not lbl-csam.arpa. A 12 years old typo!
...
Also, \*[Le] doesn't seem to work well here, so replace it with '<='
as FreeBSD did. This problem was spotted by joerg@.
2005-11-06 16:40:55 +00:00
wiz
a1e41eed09
Use config.h and add appropriate #if HAVE_FOO_H.
2005-11-06 12:40:02 +00:00
wiz
f0f9d6a437
Add compat #ifdefs from pkgsrc, to make syncing easier between the
...
two versions.
2005-11-05 13:11:02 +00:00
hannken
ba2ee12485
Make it compile on sparc/sparc64. Cast size_t to int for field precision.
2005-11-04 09:26:05 +00:00
dillo
8af62fd627
Split dewey compare functions into their own file dewey.c so they
...
can be used in a forthcoming Perl module.
Joint work with Thomas Klausner.
2005-11-03 21:59:55 +00:00
dillo
75b9797969
Implement framework to store variable=value pairs about an installed package.
...
Use this in pkg_add to mark installed dependencies as automatically installed.
pkg_add: new flag -A: marks package as automatically installed.
pkg_admin: new commands set and unset to modify variable pairs for
installed packages.
pkg_info: report these variable pairs with -Q/-B.
new flag -u: report only manually installed packages (not
installed with pkg_add -A).
Error out if -a/-u and a package name is specified.
Joint work with Thomas Klausner.
As discussed on tech-pkg.
2005-11-03 21:16:41 +00:00
bouyer
58ce78eeda
When forking, we keep a reference to the status db file, and if the
...
memory copy of the file is dirty, is will be synced when the child exists.
But the parent may have done changes to the database in the meantime, resulting
in a db corruption.
Fix this by calling sync_file() just before the fork. The child will still have
a reference to the db, but won't try to write it on exit.
2005-11-03 19:36:42 +00:00
chs
04084538be
use correct types, allow size to be larger than 1 TB.
2005-11-01 01:42:29 +00:00
dyoung
fec0b664fc
Oops, condition another printf on verbose_level > 0.
2005-10-31 23:21:25 +00:00
dyoung
96801f79bb
Condition several cd9660 printfs on verbose_level > 0. Silences
...
makefs -t cd9660.
2005-10-31 23:19:54 +00:00
dyoung
933a7c2901
Change cd9660's default verbosity level to 0, quieting it down
...
considerably.
2005-10-31 23:19:06 +00:00
wiz
a74bb8d083
Begin sentence with upper case letter, and uppercase an acronym.
2005-10-31 15:30:44 +00:00
wiz
8ab58d4943
Sync usage with man page.
2005-10-31 15:29:23 +00:00
wiz
14a2986cc2
Small improvements. Sort options. From jmc@openbsd.
2005-10-31 15:28:53 +00:00
wiz
25988cacf4
Sync usage with man page. From jmc@openbsd.
2005-10-31 15:22:10 +00:00
wiz
432e7125bf
Use .Pp instead of less usual .Lp. From jmc@openbsd.
2005-10-31 15:21:02 +00:00
wiz
129d953b7a
Improve description for /var/run/rtsold.dump. From jmc@openbsd.
2005-10-31 15:19:45 +00:00
wiz
710dff7215
Small cleanup. From jmc@openbsd.
2005-10-31 15:17:22 +00:00
wiz
e7e684f30a
Sort options. From jmc@openbsd.
2005-10-31 15:14:54 +00:00
wiz
3a6af42b59
Bump date for previous.
2005-10-31 11:34:55 +00:00
dyoung
2fa0e02b0b
Remove the cd9660_inode hashtable for hard-links support, and re-use
...
the fsinode for the same purpose, per Luke Mewburn's suggestion on
source-changes@.
2005-10-31 08:29:19 +00:00
joerg
82543d8598
Treat FTP error 450 like 550, otherwise pkg_add from a proftpd server
...
can hang.
Submitted-by: Eirik Nygaard
2005-10-30 21:52:02 +00:00
dyoung
1da546647c
Add hard-link support: keep a hashtable that maps inodes for
...
regular files on the source filesystem to the offset of the first
data block on the target filesystem. Don't allocate blocks for a
file a second time (i.e., if it is already present in the hashtable).
Avoid writing the blocks of a file twice (use the FS_WRITTEN flag
in fsinode->flags for this purpose).
2005-10-30 09:27:49 +00:00
dyoung
f334b70aa1
Normalize {err,warn}{,x} uses.
2005-10-30 07:40:45 +00:00
dyoung
4a3fce43c0
Now that I understand what order boot-images and boot-entries are
...
intended to be kept on the boot-images and -entries lists, keep
them in that order: images grouped and entries grouped by system,
with later images nearer the front of the list.
*Really* apply boot options to the last boot-image specified.
2005-10-30 07:33:57 +00:00
dyoung
3c2cee9d4a
Bug fix: record the actual number number of 512-byte "virtual"
...
sectors in the Sector Count field of the Initial/Default Entry in
the "El Torito" Boot Catalog, instead of blithely writing 1 (!!)
into the Sector Count field. Ditto the Section Entries.
Remove last remnants of cd9660's unsupported boot-load-size option.
Really use cd9660's boot-load-segment argument.
Change the boot images list from a LIST to a TAILQ.
Re-implement CD9660_BLOCKS() with howmany().
Introduce ELTORITO_DPRINTF and some debug messages.
Zero memory malloc'd in the El Torito code.
Revise some debugging outputs.
Insert a new boot-image on the boot-images list after the last
boot-image for the same architecture. It makes a (trivial) functional
difference.
Miscellaneous cosmetic changes. Remove useless variable-assignment.
2005-10-30 06:45:46 +00:00
dyoung
b894baa422
boot-load-size, the number of load sectors for the boot image, is
...
not yet, and will not be, supported.
2005-10-30 03:52:03 +00:00
dyoung
397d1928f2
Cosmetic: add temporary variables for lengthy, repeated clauses
...
like 'default_entry->entry_data.IE'. KNF.
2005-10-30 03:50:54 +00:00
dyoung
f112f0b6d9
Remove invisible whitespace at ends of lines that disrupted my
...
speedy cursor-movement habits in vi.
2005-10-30 03:10:28 +00:00
scw
1c2b41ea59
iwi(4) and iwictl(8) are no-longer restricted to the i386 platform.
2005-10-29 08:15:46 +00:00
scw
04ec36f7d6
Fix compilation for non-x86 platforms: s/int/size_t/ in struct firmware.
2005-10-29 08:14:27 +00:00
dyoung
d4d99b79c1
The system type mac68k is also allowed.
...
XXX Is that correct?
2005-10-28 21:55:18 +00:00
dyoung
c286f15e25
Correct strcmp(3) usage (expect equal -> 0).
2005-10-28 21:54:21 +00:00
dyoung
21326b0d23
Synchronize documentation with utility.
2005-10-28 21:52:36 +00:00
dyoung
33c7871577
Use LIST_ macros instead of accessing list structure members lh_first
...
and le_next directly.
2005-10-28 21:51:35 +00:00
jmc
cc925ba123
Create version.texi using the same scheme am-utils natively does. i.e. from
...
the date/timestamp of the am-utils file and using mdate-sh
2005-10-27 19:03:58 +00:00
dyoung
689c61f61d
Overhaul makefs -t cd9660.
...
Functional: Do not add a missing period or a version number to
directories, since that doesn't fit the standard (thanks
Daniel Watt).
Add RRIP PX records (POSIX meta-information) to '.'
and '..' entries. Quiets kernel complaint, when we
mount a cd9660 filesystem, that there is a missing PX
entry.
Cosmetic: Reduce height of staircases. Remove an unused member
from struct _cd9660node. Extract a subroutine. KNF.
Use a TAILQ macros for lists of both SUSP/RRIP attributes
and directory entries.
XXX
XXX The new RRIP PX entries are not quite right.
XXX
2005-10-25 02:22:04 +00:00
christos
f3c42fa4d4
Don't assume that fts(3) will add a slash to the name. From Steve Woodford.
...
KNF.
2005-10-24 13:17:22 +00:00
thorpej
327a57156c
Use the real field name (d_fileno instead of d_ino).
2005-10-23 16:12:02 +00:00
christos
9f17a05ff3
PR/31502: John: rpc.statd doesn't save failed notifies in the database.
...
Tested by Martti Kuparinen.
2005-10-20 12:53:42 +00:00
wiz
445258bca4
New sentence, new line. Use more, and more appropriate, mdoc macros.
2005-10-18 11:01:39 +00:00
hubertf
457a6a5c65
mountd's -r option always was a dummy, don't advertize using it.
...
OK'd by fvdl.
2005-10-18 06:02:59 +00:00
wiz
6e001439cc
Remove superfluous quotes. Sort option descriptions.
...
Add word for easier readability.
2005-10-12 09:19:34 +00:00
wiz
8535679520
Fix typos. Comment out Xr to non-existing make.conf(5).
2005-10-12 09:19:02 +00:00
wiz
c5f11b986b
> -> \*[Gt]. Make text more readable. Remove superfluous quotes.
2005-10-12 09:07:34 +00:00
rpaulo
79cf1201a9
Install HTML BIND 9 Documentation
2005-10-10 13:21:43 +00:00
dyoung
d51694ecef
Add single quotes to escape a semicolon in the makefs(8) argument
...
list. Pointed out by Hubert Feyrer.
2005-10-10 05:41:28 +00:00
chs
6c50e54c82
avoid the need for a bogus initializer.
2005-10-08 03:21:17 +00:00
wiz
42a77e996d
Punctuation nits; bump date for previous.
2005-10-06 10:43:45 +00:00
dyoung
92b3793d65
Add an example of using installboot(8) and makefs(8) with bootxx_cd9660
...
to create a bootable CD-ROM for an i386 host with a serial console.
2005-10-06 08:42:12 +00:00
christos
c81227bb08
call pw_abort() on failure (from Liam Foy)
2005-10-05 21:17:53 +00:00
lukem
2484bb2972
Fix do_defaults() so that it errors when there's a mismatch.
...
Noted by Matthias Scheler.
2005-10-02 23:46:48 +00:00
christos
18b5fc9e5c
Off by one in copying stuff to struct whoent. Found by Liam Foy.
2005-10-02 16:49:46 +00:00
christos
4ee0069616
wpa_supplicant is dual-licensed, so it can stay in /usr/src/dist.
2005-10-01 21:34:01 +00:00
christos
ae7cb086a0
make this build again after the source move to gnu/dist.
2005-10-01 20:46:43 +00:00
christos
c05266af8a
fix setmode error handling.
2005-10-01 20:23:54 +00:00
scw
c3f88c70e7
Descend into wpa.
2005-10-01 18:50:42 +00:00
scw
d39dbceb8d
Add wpa_cli and wpa_supplicant, based on Sam Leffler's work for FreeBSD.
...
NetBSD can now access a WPA-encrypted wireless LAN.
2005-10-01 18:50:12 +00:00
tron
fe7c56c577
The list of keywords must be sorted because it is search with bsearch(3).
...
Correcting this makes mtree(8) work again under Solaris.
2005-09-29 14:29:03 +00:00
rpaulo
81e95d22ed
Oops, typo.
2005-09-28 12:41:49 +00:00
rpaulo
700318b43a
Disable TMPFS. It is about Solaris TMPFS, not ours and is not yet
...
implemented.
2005-09-28 11:15:06 +00:00
wiz
3224a4d9fd
Remove default argument from .Nm. Add a missing article. Mention NetBSD import.
2005-09-27 09:16:20 +00:00
jmcneill
825ff1848a
Import userland utility for playing with gpio devices. From OpenBSD.
2005-09-27 02:54:27 +00:00
elad
a375b7cdb7
Use crypto/rmd160.h.
2005-09-24 22:40:32 +00:00
wiz
971a82acbe
Use more, and more correct macros. Fix Xr section.
2005-09-23 20:58:50 +00:00
jmmv
2a3e5eeb7c
Apply the NFS exports list rototill patch:
...
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
file sys/nfs/nfs_export.c. The former was becoming large and its code
is always compiled, regardless of the build options. Using the latter,
the code is only compiled in when NFSSERVER is enabled. While doing this,
also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
path and a set of export entries. At the moment it can only clear the
exports list or append entries, one by one, but it is done in a way that
allows setting the whole set of entries atomically in the future (see the
comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
that it becomes file system agnostic. In fact, all this whole thing was
done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
exports initialization; done internally by the kernel when initializing
the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
subsystems can run arbitrary code upon receipt of specific VFS events.
At the moment, this only provides support for unmount and is used to
destroy NFS exports lists from the file systems being unmounted, though it
has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 12:10:31 +00:00
rpaulo
87dab801e3
Updated autoconf generated files for am-utils 6.1.2.1.
2005-09-20 18:00:15 +00:00
wiz
f38e8b27b1
Sync usage with man page.
2005-09-19 22:43:21 +00:00
wiz
ff2f5aac09
Sort options.
2005-09-19 22:43:13 +00:00
explorer
ece068eb66
It's been quite some time since tcpdump compile-time flags were
...
changed. For one, "tcpdump -D" works with this set, as well as
"tcpdump -U" and at least one undocumented flag for pcap debugging.
2005-09-19 21:18:30 +00:00
christos
089e80014b
Allow setting the reserved port we bind, witb -p. I've had this patch for
...
3 months stashed...
2005-09-19 00:59:56 +00:00
rpaulo
ece51eabd5
PR 22469: user.c should use "pwd.h" include file for
...
_PATH_USERMGMT_CONF. By rpixley@vm-netbsd-161.nominum.com .
2005-09-19 00:43:17 +00:00
christos
aa460c4e78
Allow amd to turn off the attribute cache.
2005-09-18 23:45:46 +00:00
agc
c73a10fe94
Ensure that a consistent coding style is used.
...
s/1/EXIT_FAILURE/
2005-09-18 21:41:26 +00:00
christos
4471e7c6f5
From Liam Foy:
...
- Correct lenght for the username
- First character in the login name cannot be '-' (OpenBSD)
- Remove some #ifdef EXTENSIONS. find_group_info is always needed
- When printing change, if it's -1, place a correct string.
2005-09-18 14:15:53 +00:00
ginsbach
85dd62aa2a
Add description for -r option. Description taken from traceroute man page.
2005-09-17 15:16:11 +00:00
wiz
de0d2ef49e
Fix -j description and "interface" case problem. From YOMURA Masanori in private mail.
...
While here, sort options.
2005-09-15 01:49:07 +00:00
drochner
fb8d4ae653
cosmetics: strip trailing blanks when the ISO volume label is printed
2005-09-14 09:41:24 +00:00
lukem
922ca28a60
Add "named" item to move /etc/namedb/named.conf to /etc/named.conf.
...
Per discussion with Matthias Scheler.
2005-09-12 23:16:15 +00:00
wiz
6438e0bfa7
Sync usage with man page.
2005-09-12 18:34:37 +00:00
wiz
4b44cc9527
New sentence, new line.
...
Add -u to SYNOPSIS. Fix some typos.
Use more markup. Bump date for -u.
2005-09-12 18:33:56 +00:00
tsarna
04414a373b
Add -u option: rwhod will drop privledges and become the given user.
...
reviewed by jwise
2005-09-12 16:13:13 +00:00
lukem
d50a2d0385
Reorganize items so that they're in alphabetical order except that
...
"obsolete" is moved to the end.
Clean up some comments.
2005-09-12 15:48:29 +00:00
christos
c9d876ed6c
Warn if the group being removed is still the primary group of an existing
...
user. From Liam Foy.
2005-09-12 15:45:03 +00:00
lukem
d4b0741135
not all items can be fixed automatically
2005-09-12 15:42:12 +00:00
wiz
a464698404
Argument is regular_file, not "regular file". From YOMURA Masanori in private mail.
2005-09-11 23:49:58 +00:00
wiz
edd2c20bae
Comment out /usr/share/examples/usermgmt -- dir does not exist. Fix macro typo.
...
From YOMURA Masanori in private mail.
2005-09-11 23:49:20 +00:00
wiz
18b59e97b5
Fix -m description position. From YOMURA Masanori in private mail.
2005-09-11 23:46:39 +00:00
wiz
b94cb50cae
Fix argument name, and move Pp where it belongs. From YOMURA Masanori in private mail.
2005-09-11 23:45:04 +00:00
wiz
6da17cb070
Whitespace fixes. From YOMURA Masanori in private mail.
...
While here, fix one Op argument.
2005-09-11 23:43:27 +00:00
wiz
d57174cb26
Remove useless lines. From YOMURA Masanori in private mail.
...
While here, remove outdated comment.
2005-09-11 23:38:35 +00:00
dyoung
3b0eb50995
Cosmetic: change to a standard idiom, *(x++) --> *x++. Flag some
...
places needing bounds-checking with XXX. Fix indendation.
2005-09-11 22:03:48 +00:00
dyoung
62e9fd6510
By default, do not omit the trailing period from ISO9660 filenames
...
unless given the option '-o omit-trailing-period'. Also, fix a
logic error so that makefs obeys option '-o omit-trailing-period'
when it is given.
2005-09-11 22:01:44 +00:00
rpaulo
0dc4f15121
Don't print swap information when reading from kernel dumps. Fixes PR
...
13418 by Andrew Doran <ad@netbsd.org>.
2005-09-11 16:09:51 +00:00
wiz
3595891ed9
Remove unnecessary keeps (Bk/Ek). Sort options. Various minor fixes.
...
Bump date.
2005-09-09 22:23:49 +00:00
wiz
ba3a0dadf1
Sync group* usages with man pages.
2005-09-09 22:04:09 +00:00
wiz
ac4e0a8127
Reformulate slightly to match other man pages. Use standard
...
EXIT STATUS section. Bump date.
2005-09-09 22:02:12 +00:00
wiz
a2bc89c87d
Do not list all options for group* -- they are bound to get out of sync here.
...
Use standard EXIT STATUS section. Bump date.
2005-09-09 22:01:20 +00:00
wiz
f629e1e94e
Sync user* usage with man pages. Bonus grammar fix in comment.
2005-09-09 21:48:10 +00:00
wiz
31e0e03316
Improve -p description in second case.
2005-09-09 21:43:42 +00:00
wiz
d0260f31e6
Reformulate slightly to match other man pages.
2005-09-09 21:31:25 +00:00
wiz
32587324af
Use standard EXIT STATUS section.
...
Reformulate slightly to match other man pages. Bump date.
2005-09-09 21:31:00 +00:00
wiz
d48b71a0a8
Sort options and option descriptions. Use standard EXIT STATUS section.
...
Reformulate slightly to match other man pages. Bump date.
2005-09-09 21:30:31 +00:00
wiz
a431cb6155
Reformulate slightly to match other man pages.
2005-09-09 21:29:08 +00:00
wiz
42fd4ae9cd
Do not list all options for user* -- they are bound
...
to get out of sync (as they currently are, for example). Use standard EXIT STATUS
section. End sentences with dots. Bump date.
2005-09-09 21:26:09 +00:00
wiz
e545853576
Sort option descriptions.
2005-09-09 20:48:16 +00:00
wiz
3a653a2ba9
Sort options and descriptions. Add standard EXIT STATUS section. Bump date.
2005-09-09 20:46:49 +00:00
rpaulo
8dd8736f37
trpt(8) no longer needs to be installed setgid kmem.
2005-09-06 03:05:15 +00:00
rpaulo
3bbe36c3d8
Update for the recent changes of trpt(8) and describe the sysctls.
...
Bump date.
2005-09-06 03:04:49 +00:00
rpaulo
7c18197a2e
If reading values from a live system use sysctls net.tcp.inet.(debug|debx)
...
and kern.hardclock_ticks. Also, remove the set*gid() calls.
2005-09-06 03:04:15 +00:00
rpaulo
a55d13d962
trsp(8) no longer needs to be sgid kmem.
2005-09-06 03:00:49 +00:00
rpaulo
cbef7237e8
Update for the new changes of trsp(8) and describe the sysctls.
...
Bump date.
2005-09-06 03:00:30 +00:00
rpaulo
1f649eba90
If reading values from a live system, use sysctls net.ns.spp.(debug|debx).
2005-09-06 02:58:48 +00:00
rpaulo
db74a52bff
ANSI func. decl. and de-P().
2005-09-05 23:17:08 +00:00
hubertf
105b456cb7
Mention pwhash(1) in a few places,
...
suggested in PR 31125 by Stefan Schumacher.
2005-09-05 03:37:14 +00:00
lukem
898fa7c553
Fix the installation of /etc/defaults/pf.boot.conf so that it works
...
with -s etc.tgz.
2005-09-04 10:13:15 +00:00
rpaulo
3f51653817
de-__P() and use ANSI function declarations.
2005-09-02 21:26:47 +00:00
elad
d05d5cada8
Use MAXHASHLEN here too.
2005-09-02 17:12:38 +00:00
thorpej
e1afed9c2d
Experimental support for extended attributes on UFS1 file systems, using a
...
backing file per attribute type indexed by inode number to hold the extended
attributes.
This is working pretty well on my test systems, except for the "autostart"
feature. I need someone with a better handle on the VFS locking protocol
to go over that.
This is a work-in-progress. There are parts of this that could be re-factored
allowing this approach to be used on other types of file systems.
Adapted from FreeBSD.
2005-08-28 19:37:58 +00:00
elad
aae00d5a54
Add SHA2 support in mtree.
2005-08-24 20:55:41 +00:00
elad
d0b9773c8f
Reference cksum(1) only.
2005-08-24 20:49:51 +00:00
kiyohara
188918d76f
Fix marge miss. We use 'hw.fwmem.eui64_[hl]i'.
2005-08-23 19:19:51 +00:00
peter
9c1da17e90
pf needs to be started after the network is up, because some pf rules
...
derive IP address(es) from the interface (e.g "... from any to fxp0").
This however, creates window for possible attacks from the network.
Implement the solution proposed by YAMAMOTO Takashi:
Add /etc/defaults/pf.boot.conf and load it with the /etc/rc.d/pf_boot
script before starting the network. People who don't like the default
rules can override it with their own /etc/pf.boot.conf.
The default rules have been obtained from OpenBSD.
No objections on: tech-security
2005-08-23 12:12:56 +00:00
rpaulo
6443bd996e
grfinfo(1) is hp300 specific, so move the man page to the hp300 subdir.
2005-08-20 17:21:29 +00:00
kent
ed574610ee
fix compilatio problems on LP64
2005-08-20 15:00:27 +00:00
christos
c4ee9f6d2e
64 bit inode changes
2005-08-19 02:07:18 +00:00
dyoung
54d7d8be9a
Remove extraneous #PKG_DEVELOPER=1 line that snuck in with the last
...
commit. (Thanks Masao Uebayashi.)
2005-08-19 01:26:59 +00:00
dyoung
2f96ceba5c
Change from malloc/strcpy idiom to strdup.
...
Revamp err, errx, warn, warnx usage.
Misc. cosmetic tweaks.
Make -o bootimage=sysname;filename expect NetBSD architecture names
(x86 -> i386; mac -> {macppc, mac68k}; ppc -> powerpc) for sysname.
2005-08-19 01:24:21 +00:00
dyoung
c3f075faf3
Cosmetic: alphabetize SRCS. Start a new line on each change of
...
leading letter.
2005-08-19 01:09:54 +00:00
heas
be21025dae
Set SIGCHLD to SIG_DFL in cron's child; instead of SIG_IGN, which alters the
...
behavior of wait() causing cron_pclose() to return bogus status and the logging
of bogus status in debug mode.
2005-08-17 22:35:20 +00:00
he
5d94f47ecb
Move local variable declaration to start of block (also start of function).
...
Fixes build problem for vax.
2005-08-15 06:41:06 +00:00
fvdl
92be7f4643
Fix some wrapping lines.
2005-08-13 17:50:59 +00:00
fvdl
65b1705e76
Add nbtool_config.h include, fixing the tool compile on some platforms.
2005-08-13 17:46:07 +00:00
fvdl
36825d8853
Comment out some currently unimplemented options, and add a few descriptions
...
for others (from Daniel Watt).
2005-08-13 02:03:48 +00:00
fvdl
3550dc9861
cd9660 support. Written by Daniel Watt, Walter Deignan, Ryan Gabrys,
...
Alan Perez-Rathke and Ram Vedam.
Prototyping, KNF, WARNS=3 by me.
Note that this is marked experimental for now. It works well enough to
make NetBSD/i386 bootable images, but does need more work.
2005-08-13 01:53:01 +00:00
fvdl
046051d487
Fix a sign warning for WARNS=3.
2005-08-13 01:49:35 +00:00
he
1bb5735b5e
Check the return value from mktime() and pass any error up.
...
*tp > LONG_MAX is never true, so replace that check with a test
for strtol() setting errno == ERANGE (oddly, some ports' build
swallowed this without warning).
There's no guarantee that a time_t stores the same number of bits
as a long, so check for an overflow there as well, and pass any
error up.
Discussed with christos, martin and mrg.
2005-08-12 21:40:35 +00:00
christos
91b1a8d112
patch from Liam Foy to add a -F option to force a user to change her's/his
...
password at the next login.
2005-08-12 16:22:05 +00:00
christos
ef6897a3a6
Add "by default" (Liam Foy)
2005-08-09 23:27:31 +00:00
nakayama
25cffdf24e
Embed machine and cpu architecture correctly by target host environmet,
...
not by build host.
Pointed out by Davide Zanon and Rui Paulo in current-users@.
2005-08-09 21:49:23 +00:00
christos
c509b6a960
Fix reverse description of expiry/inactive. From Liam J. Foy.
2005-08-08 21:53:17 +00:00
blymn
132bb1fe89
Add tape statistics.
2005-08-07 12:32:38 +00:00
christos
102bb7e88c
- eliminate a goto.
...
- cast more returns to void.
- use waitpid instead of wait() to wait for our process, not accidentally
wait for other children.
- return exitstatus only if exited, and return the termination signal otherwise.
2005-07-31 17:52:01 +00:00
christos
78a36d519b
The language lawyers claim that it is invalid to test a freed pointer, so
...
don't!
2005-07-30 15:06:43 +00:00
christos
32a16509f3
If the class was not specified, don't print a warning.
2005-07-30 14:35:23 +00:00
christos
42ec3173f1
Don't make it fatal if the login class doe not exist. From Jukka Salmi.
2005-07-29 18:16:21 +00:00
wiz
54fa7b8a6b
Various improvements.
2005-07-28 20:23:31 +00:00
peter
cea4f4ef79
Minor tweaks to the usage message:
...
- better layout for useradd.
- fix a small mistake in -u and wrap long line.
2005-07-27 23:32:02 +00:00
christos
9f01a2d031
Patches from Liam Foy:
...
- Add new -C option to 'usermod'. This allows a quick way to temporary
lock a users account. This is similar to how FreeBSD do it using
'adduser'. This function can be very handy to administrators!
- Import a function to check if the inputted class actually exists. It
contains my modifications to test whether /etc/login.conf exists
in the first place. -OpenBSD
2005-07-27 19:09:21 +00:00
christos
24e9d708ff
Patches from Liam Foy:
...
- Add new -C option to 'usermod'. This allows a quick way to temporary
lock a users account. This is similar to how FreeBSD do it using
'adduser'. This function can be very handy to administrators!
- Import a function to check if the inputted class actually exists. It
contains my modifications to test whether /etc/login.conf exists
in the first place. -OpenBSD
While I am there:
- KNF (long wrapped lines, and spaces after void casts).
- Factor out some common code.
- Fix error messages.
1. Consistently capitalize them.
2. Fix err->errx and warn->warnx inappropriate uses.
3. Use regerror where appropriate.
4. Don't call warn()/err() to report errors after you trashed errno
by calling other syscalls. Save and restore the errno instead,
or in the warn() case, call warn() first.
- Fix size_t - int, uid_t - int confusion.
- Pass lint
2005-07-27 19:08:42 +00:00
drochner
b974cae7e2
Allow the test for ISO9660 filesystems to be applied to non-CD devices
...
and plain file images too. If no TOC can be read, a single track is
assumed which spans the whole thing.
The disklabel will be updated if supported by the device. If not, just
the ISO volume label information will be printed.
2005-07-25 11:26:40 +00:00
peter
dbbbd78e77
Restore a part that was lost in rev. 1.44.
...
This should stop sushi from dumping core.
2005-07-21 21:48:47 +00:00
agc
c426bea6d7
Commit changes from Liam J. Foy:
...
- system(), rmdir() sets errno, use it
- Use warnx() if strchr failed, not warn()
- Constify some arguments
- Fix cases when errx()/warnx() should be used instead of err()/warn()
due to errno not being set.
Group code:
------------
- List members in a neat fashion, separated by commas
- groupmod(): Use find_group_info - consistency
2005-07-20 21:42:58 +00:00
wiz
60027a5523
Grammar fixes.
2005-07-18 14:07:18 +00:00
wiz
c5541497ba
Drop trailing whitespace.
2005-07-18 14:06:05 +00:00
hubertf
b7cc645889
Bump version to 20050718 for fixed IGNORE_RECOMMENDS handling.
2005-07-18 09:09:35 +00:00
hubertf
aba8b403bc
Fix PR pkg/30658: don't fail for pkgs that were built with IGNORE_RECOMMENDED,
...
just issue a warning.
Checked by wiz@, no reply from original author (rh@) after several weeks. :(
2005-07-18 09:06:48 +00:00
he
2243c46578
After christos relaxed the tty handling code, we no longer need to
...
set a tty as a controlling tty in order to use F_SETOWN on it, so
comment out USE_FSETOWNCTTY.
2005-07-17 12:46:51 +00:00
hubertf
673730506c
Add support for reading cloop2 compressed filesystem image,
...
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
2005-07-17 00:08:27 +00:00
hannken
5b2600ba63
Add option `ioaddr=<ioaddr>' to amd64. Already noted in man page.
...
Approved by: Frank van der Linden <fvdl@netbsd.org>
2005-07-16 10:43:00 +00:00
rtr
c398bfd249
avoid ifconfig <if> "" it serves no purpose
...
patch from Robert Elz via pr#21110
2005-07-16 08:41:27 +00:00
wiz
e8034ce6cf
Sync usage with man page. Use getprogname().
2005-07-12 09:10:18 +00:00
wiz
827b575644
-i seems to have been renamed to -b, update description.
2005-07-12 09:05:35 +00:00
wiz
e6d8065557
Sort a bit more.
2005-07-12 09:03:10 +00:00
wiz
77d802d694
Sort options, sort sections, long month name in Dd.
2005-07-12 08:59:00 +00:00
wiz
eaa6bf85ad
Sync usage with man page.
2005-07-12 08:48:20 +00:00
wiz
172e129d75
Sort options. New sentence, new line.
2005-07-12 08:45:03 +00:00
kiyohara
d7ee32c61f
Forgot to commit.
...
ieee1394 import from FreeBSD.
2005-07-12 03:23:06 +00:00
kiyohara
c1a84a4d12
ieee1394 import from FreeBSD.
2005-07-11 15:29:05 +00:00
lukem
1527bc4c2a
Fix a typo in the description of -f. Noted by Jukka Salmi in PR 30713.
...
Add some missing punctuation.
2005-07-11 00:25:08 +00:00
christos
1a8fb0ada9
Add a -s flag to switch between terminals.
...
Misc KNF.
2005-07-10 17:57:28 +00:00
isaki
723dc0caf2
Use errx() rather than err() where appropriate.
2005-07-10 07:12:13 +00:00
mrg
d6989eccf4
apply the patch from PR#30680: always print the header in extended
...
(-x) mode, as it is much easier to see what is going on.
2005-07-07 22:31:45 +00:00
christos
cb1d68978b
Patch from Liam J. Foy:
...
- cleanup sendto code.
- fix usage.
2005-07-05 02:46:36 +00:00
peter
e0de99f875
Remove trailing space, fix a Xref.
2005-07-01 16:18:46 +00:00
christos
6b7013d1ad
Change g flag to i as in the PR.
...
Don't allow interval to be set to > 11 minutes.
Rephrase option blurb.
2005-07-01 15:31:18 +00:00
christos
c36c99ef66
PR/30648: Liam J. Foy: rwhod patch to reduce time interval between broadcasts
2005-07-01 13:07:21 +00:00
tron
7663ad07fa
Remove outdated BIND 8 version of named.conf(5). The build now picks up
...
the correct version from "src/dist/bind/bin/named".
2005-07-01 12:10:43 +00:00
hubertf
390553bef2
cleanup: preserve errno. Needed so err() functions ran after running
...
cleanup(0) print the correct error message.
2005-06-29 01:40:42 +00:00
hubertf
9a9bdaa985
Fix 'pkg_add -R' handling - not registering really means not touching
...
the pkgdb too - useful for pkg_add as non-root!
2005-06-29 01:39:37 +00:00
peter
df0caa2637
Remove (pf)spamd. Its right to exist in NetBSD has been questioned since it
...
appeared and whether it's really part of pf or not is still unclear. Looking
at the other *BSDs it seems that they have left out spamd when importing pf,
and now we do that too. Also, the name conflicted with another more popular
used tool, after the rename to pfspamd it was left with completely unusable
documentation which apparently no-one wanted to fix.
A port of the latest spamd will be imported into pkgsrc soon.
Suggested by several people, no objections on last proposal on tech-userlevel.
2005-06-27 20:32:39 +00:00
junyoung
632e7ed58f
Remove a unnecessary semicolon and trailing spaces.
2005-06-27 12:07:46 +00:00
christos
c40b82ea42
constify.
2005-06-27 03:10:32 +00:00
wiz
9dda894764
Dd wants long name of the month, not the three-letter one.
2005-06-26 13:12:07 +00:00
peter
c14c7a6bb6
- Use the timer* macros from sys/time.h, no need to invent a new time add
...
function if it already exists.
- Improve a few function/variable names and use EXIT_FAILURE.
2005-06-24 13:47:30 +00:00
christos
a8b658e375
Initialize events not revents. Noted by Peter Postma. The timer changes he
...
can make himself :-)
2005-06-24 13:24:23 +00:00
christos
f17eeccada
Fixes from Liam J. Foy to use poll, and proper signals. (from OpenBSD)
...
While there, ansify, and fix const abuse.
2005-06-24 13:22:09 +00:00
fvdl
b14624e508
Pull in DIP_ADD from sys/ufs/ufs/inode.h and use it, to prevent bad lvalue
...
assignment warnings/errors from gcc4.
2005-06-23 00:53:16 +00:00
dyoung
9063402978
Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
...
from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
2005-06-22 06:14:51 +00:00
peter
a9b411c198
Change all .Xr config 8 to .Xr config 1, following the recent move of
...
config from usr.sbin -> usr.bin.
Reviewed by wiz.
2005-06-20 13:25:23 +00:00
salo
bb837eff67
Monitor mode requires firmware version 1.0.4 or newer. Bump date.
...
ok <sekiya>
2005-06-20 09:49:27 +00:00
sekiya
3b3daf0a90
Add "monitor" to list of valid modes. No functional change.
2005-06-20 09:06:40 +00:00
lukem
aa159e4a50
ypdb_open():
...
* Clarify what it does (adds YPDB_SUFFIX if it's missing).
* Add some explicit pathname length checks and display a warning if exceeded.
2005-06-20 00:29:42 +00:00
lukem
cdd4868c29
tweak filename length check
2005-06-20 00:08:35 +00:00
lukem
a0b1a25618
snprintf NUL terminates, so there is no need to explicitly do it afterwards
2005-06-19 23:43:51 +00:00
blymn
21cbe2316b
Fix up the adding of static routes, incorrect parameters were being passed
...
to the route command.
2005-06-19 05:04:34 +00:00
lukem
365a6c8313
Convert from tmpnam()/open() -> snprintf()/mkstemp(); the latter
...
avoids a linker warning about the use of tmpnam().
2005-06-18 11:07:26 +00:00
wiz
95c82c980c
Non-argument options in SYNOPSIS belong before options with arguments.
...
New sentence, new line.
2005-06-17 18:22:18 +00:00
peter
97c5e2ee72
- Document the -i flag (PR/26684)
...
- Add arguments to the relevant flags.
2005-06-17 17:49:07 +00:00
peter
f1843b15c3
- add -D to usage
...
- use getprogname()
- sort options (usage, synopsis and description)
- add `Ar conf_file' to -f option (description)
From Kouichirou Hiratsuka in PR/26532.
2005-06-17 12:02:00 +00:00
agc
6fdfc9ef36
Be consistent when deleting a non-existent group - tell if the group is
...
non-existent.
Problem noted by Geert Hendrickx, fix from Liam J. Foy.
2005-06-14 18:29:58 +00:00
peter
960f4edd01
The default hops is not 30, but is taken from the net.inet.ip.ttl sysctl
...
variable. Fixes PR/30209 from Jed Davis.
2005-06-14 13:55:59 +00:00
dyoung
00218a63cc
Oops, straggler: #include <nbinclude/sys/disklabel.h> if we're
...
building a host-tool.
XXX In hp300_setboot, quiet -Wunitialized: initialize secsize to
XXX HP300_SECTSIZE. Is this correct?
2005-06-12 21:38:12 +00:00
dyoung
dba4661556
Build hp300 support into installboot(8).
2005-06-12 20:25:26 +00:00
dyoung
a039894d70
For portability, use 'unsigned int' instead of 'uint'.
2005-06-12 20:21:20 +00:00
he
46892c9e37
Initialize class and node in modify_single(), as their initial assignment
...
appears to depend on the passed function parameters.
2005-06-11 18:42:56 +00:00
lukem
b3a34b7256
Support MKINET6=no building after the -Wuninitalized fix.
...
Noted by Jukka Salmi in email.
2005-06-07 22:21:57 +00:00
he
07950b9fb6
Add initialization of a local variable to appease -Wuninitialized.
...
Marked with XXXGCC for hpcarm (found while compiling for it).
It appears that the reason is that gcc for this target is not able
to determine unchanging complementary conditionals and sort out the
corresponding assignment / use.
2005-06-07 14:01:49 +00:00
he
e670882cec
Initialize a local variable in ufs_getlbns() to appease -Wuninitialized.
...
Marked with XXXGCC for sparc64 (found while compiling for it).
Reviewed by lukem.
2005-06-07 13:54:55 +00:00
he
0590642883
Initialize a local variable (bbinfop) to appease -Wuninitialized.
...
Marked with XXXGCC for sparc64 (found while compiling for it).
Reviewed by lukem.
2005-06-07 13:49:31 +00:00
he
63104d4c13
Initialize s, name and name_end in load_env() to appease -Wuninitialized.
...
Marked with XXXGCC for sparc64 (found while compiling for it).
Reviewed by lukem.
2005-06-07 13:43:52 +00:00
he
7cc15c3097
Initialize various local variables (clinfo, fltrinfo) to appease
...
-Wuninitialized. Found while compiling for sun2.
Reviewed by lukem.
2005-06-07 13:39:37 +00:00
chs
7bbdd188e1
appease gcc -Wuninitialized on hp700.
2005-06-05 19:08:28 +00:00
thorpej
5ecc953bdb
config and genassym are not sysadmin tools, they are development tools.
...
As such, they don't belong in /usr/sbin, but rather /usr/bin. Move them
there.
2005-06-05 18:19:52 +00:00
wiz
51a21e357b
Add hp700 to supported list. Bump date.
2005-06-03 20:22:45 +00:00
lukem
616bb5ee8e
appease gcc -Wuninitialized
2005-06-02 11:29:01 +00:00
lukem
274427706d
Rewrite method used to determine the ethernet address of the desired
...
interface to not use uninitalized variables.
Bug crept in in conversion to getifaddrs().
Detected with gcc -Wuninitalized.
2005-06-02 11:27:44 +00:00
lukem
311c22130d
appease gcc -Wuninitialized
2005-06-02 09:47:37 +00:00
lukem
1fab072e48
appease gcc -Wuninitialized
2005-06-02 09:42:57 +00:00
lukem
14e2784ec2
Remove an effectively unused variable.
...
Appease gcc -Wuninitialized.
2005-06-02 09:41:12 +00:00
lukem
0fc9160967
appease gcc -Wuninitialized
2005-06-02 09:32:57 +00:00
lukem
677504d9ca
Test the correct pointer 'rfl' rather than an uninitialized 'fl' when
...
determining whether the lock was a LOCK_V4 or not.
Detected with gcc -Wuninitialized.
2005-06-02 09:30:27 +00:00
lukem
f604dfed13
WARNS=3
2005-06-02 09:21:01 +00:00
lukem
2a7d51e439
appease gcc -Wuninitialized and WARNS=3 in one swoop.
2005-06-02 09:20:37 +00:00
lukem
90b888928b
appease gcc -Wuninitialized
2005-06-02 09:18:14 +00:00
lukem
68b1911850
appease gcc -Wuninitialized
2005-06-02 06:54:02 +00:00
lukem
c8e07a4ef7
appease gcc -Wuninitialized
2005-06-02 05:58:24 +00:00
lukem
9b668c37e7
Ensure s is initialized before testing (none of the sockets may be ready
...
so it might not be setup).
Detected with gcc -Wuninitialized.
2005-06-02 05:57:03 +00:00
lukem
bbd17ef8af
Don't attempt to use an uninitialized variable in a debug message.
...
Detected with gcc -Wuninitialized.
2005-06-02 05:54:44 +00:00
lukem
b38b7ffb5c
Don't try to use an uninitialized variable.
...
Detected with gcc -Wuninitialized.
2005-06-02 05:12:41 +00:00
lukem
1363df60c1
Don't try to use an uninitialized variable.
...
Detected with gcc -Wuninitialized.
2005-06-02 05:10:22 +00:00
yamt
261b58bea9
allow QSTRING for make variable names for eg. "COPTS.somefile.c".
2005-06-01 12:32:57 +00:00
christos
4ac0cb602f
add genassym
2005-06-01 03:22:56 +00:00
wiz
7a9582b62a
Spread some more unsigned for less casts.
2005-05-31 22:29:41 +00:00
wiz
0ba4110751
Move unsigned to where it belongs, to remove a cast.
2005-05-31 21:03:58 +00:00
christos
99f2d4f70b
Move genassym.sh.8 from src/share/man/man8 to here.
2005-05-31 11:35:54 +00:00
christos
857e3fb66b
Add non-tool version of genassym.
2005-05-31 03:48:43 +00:00
wiz
8529448f16
Comment out too noisy warning.
2005-05-30 19:44:03 +00:00
wiz
1723911d3c
Add ranges support to the pkg_* tools. See mail on tech-pkg or
...
pkg_info(1) for details.
Co-production with dillo@.
Bump PACKAGE_TOOLS_VERSION to 20050530.
2005-05-30 13:10:14 +00:00
christos
68a1fbb811
catch up with kernel's constification.
2005-05-30 07:24:31 +00:00
minskim
773938ed0f
If a pattern does not have any suffix, assume that it matches both
...
".tbz" and ".tgz". This allows to install binary package dependencies
that are not exact matches, but satisfy requirements.
Bump version to 20050529.
2005-05-29 19:16:18 +00:00
kleink
bcbb5c6578
Include <sys/time.h> for struct timeval.
2005-05-20 18:01:46 +00:00
chs
2438f5c3ad
add hp700 support.
2005-05-14 14:46:21 +00:00
rillig
360e66cfd6
Output the error string when renaming a dependency file fails. This has
...
happened to me when I had a misnamed directory in the pkgdb directory.
2005-05-10 00:06:57 +00:00
augustss
56cfb488eb
Print serial number if there is one.
2005-05-08 08:12:45 +00:00
wiz
72bce79312
Update reference from Packages.txt to doc/pkgsrc.txt.
2005-05-07 22:43:21 +00:00
wiz
968dbe95c1
Instead of exec(2)ing rmdir(1), just use rmdir(2).
...
Reviewed by dillo.
2005-05-07 15:09:41 +00:00
wiz
0ae4504a04
Fix Dq argument, which somehow ended up on the next line.
2005-05-06 23:02:39 +00:00
wiz
756bc811ee
Document the vulnerable subdir.
...
Reviewed by dillo and rillig.
Some minor fixes while I am here. Bump date.
2005-05-06 22:45:56 +00:00
lukem
c0b68cb4cf
Test USE_INET6 instead of MKINET6 for various apps.
...
Part of PR 30092 from Jukka Salmi.
2005-05-01 07:26:29 +00:00
yamt
351efcca0f
when checking timestamp, check tv_nsec as well.
2005-04-28 08:44:49 +00:00
perseant
127b043e58
Allow exports of LFS filesystems.
2005-04-27 20:32:41 +00:00
lukem
ea2bd1f523
If /etc/ssh/sshd_config contains the following deprecated options,
...
comment them out:
rhostsauthentication
verifyreversemapping
reversemappingcheck
2005-04-26 01:07:35 +00:00
christos
f6a8412c23
Disable MAP_NIS and MAP_HESIOD. Set by a command line switch.
2005-04-23 18:53:52 +00:00
christos
beb4d24e39
Adjust to new am-utils.
2005-04-23 18:41:43 +00:00
tron
92570d0dfc
Remove copy of manual page created during build.
2005-04-19 08:42:54 +00:00
christos
b971501348
make master() return void.
2005-04-19 03:40:00 +00:00
hubertf
a958e20048
For -L, mention that files that were dynamicallt created upon installation
...
(@exec, ...) are not listed.
Based on patch by Peter Bex <Peter.Bex@student.kun.nl>
2005-04-18 12:28:46 +00:00
lukem
8232ca0162
Tweaks for the move of postinstall from /etc to /usr/sbin
2005-04-17 23:12:40 +00:00
hannken
6cb4c22637
Support user controllable flags for the snapshot driver:
...
- Add FSSIOFSET and FSSIOFGET ioctl() to set/get the flags.
- Add FSS_UNCONFIG_ON_CLOSE flag to unconfigure the snapshot device
on the last close.
Reviewed by: Jason R. Thorpe <thorpej@netbsd.org>
2005-04-17 16:28:26 +00:00
lukem
5cae62926d
do_postinstall() is now unnecessary; remove it.
...
If extracting -s etc.tgz to a temporary directory, don't run the
embedded etc/postinstall since it doesn't exist anymore.
Remember the original SRC_DIR passed in (e.g, "-s etc.tgz") and
display that in the suggested "fix" message, rather than a temporary
path to the extracted etc.tgz which won't be correct for the next run.
2005-04-17 15:38:34 +00:00
lukem
9358e88bbf
Update for move to /usr/sbin.
...
Add a HISTORY.
2005-04-17 15:27:23 +00:00
lukem
5c5750a595
Move /etc/postinstall (and the etc.tgz set) to /usr/sbin/postinstall
...
(and the base.tgz set).
2005-04-17 15:15:48 +00:00
tron
20442260d4
Remove copy of manual page created during build.
2005-04-13 17:51:12 +00:00
jwise
58015a4d36
Finally, spamlogd -> pfspamlogd, for consistency.
2005-04-12 14:44:10 +00:00
jwise
f876c1012e
spamd.conf is now pfspamd.conf.
2005-04-12 14:39:39 +00:00
jwise
200b4f7e06
Now that we can override the name of /etc/spamd.conf, make it /etc/pfspamd.conf.
2005-04-12 14:36:15 +00:00
jwise
88573cf3f3
Pass in path to /etc/spamd.conf in CPPFLAGS.
2005-04-12 14:34:57 +00:00
jwise
a8293ab76d
Now that we can specify the chroot location, make it /var/chroot/pfspamd.
2005-04-12 14:23:26 +00:00
jwise
aac5bfbda9
Pass in a value for SPAMD_CHROOT in CPPFLAGS, to specify the path to the
...
chroot dir spamd will use.
2005-04-12 14:21:20 +00:00
jwise
d32dabfd88
Per discussion on tech-userlevel and tech-security, install `spamd',
...
`spamd-setup', and `spamdb' as `pfspamd', `pfspamd-setup', and `pfspamdb'.
To quote Steven M. Bellovin:
This [having a program in basesrc with the same name as a widely used and
completely different program in pkgsrc] is a seriously bad idea; it
violates the rule of least surprise. That's bad enough in normal
situations; here, we're talking about security. You do *not* want to
confuse people about security features; they're hard enough to get right
as is.
2005-04-11 22:34:18 +00:00
christos
2f3bdfce80
Don't ignore SIGCHLD, because we are not going to get kqueue notifications
...
about it if we do.
2005-04-09 20:14:55 +00:00
dsl
6b5922eb36
WARNS=3 seems to work for me
2005-04-09 13:13:32 +00:00
atatat
e45456b0af
Remove the date from the generated resolv.conf file, since changes to
...
this file are tracked by /etc/security, making it (the backup) get
needlessly updated when you go to and from work every day.
2005-04-09 02:14:52 +00:00
atatat
26201c11b4
If the passwd entry is not found for a lastlog entry, cons up a fake
...
struct passwd where pw_name is the numeric uid in parentheses.
If -n is specified more than once, also print the user numerically
(ie, uid instead of username).
2005-04-09 02:13:20 +00:00
tron
9f15a6aa01
Fix bad format string which broke the build on LP64 platforms.
2005-04-07 20:22:40 +00:00
agc
8313edf555
Do some Common Subexpression Elimination when testing for valid characters
...
in login and group names.
2005-04-05 22:54:26 +00:00
peter
943430a954
Allow '_', '.' and '-' in group names, like in login names.
...
Fixes problem with groupadd(8) for _pflogd; pointed out by Jukka Salmi.
Approved by christos.
2005-04-05 22:03:57 +00:00
dmcmahill
ad90bf7a93
Fix a minor bug in the estimation of required disk space. In particular
...
make sure we use a data type which is big enough. This fixes a problem
where pkg_add-ing of a binary package which is between 512 Mb and 1 Gb
failes because the estimated required disk space is negative due to over
flowing in the calculation
2005-04-05 16:37:50 +00:00
peter
6e4d82adbb
Enable pflogd(8).
2005-04-04 19:11:18 +00:00
christos
b97cb66e62
- KNF
...
- Fix mmap call arguments and return value.
- Sprinkle const
2005-04-03 17:27:15 +00:00
christos
3348f64feb
- KNF
...
- Sprinkle const
- Fix mmap call [MAP_PRIVATE], return [MAP_FAILED]
- Don't clobber errno.
- Use getprogname/setprogname
2005-04-03 17:21:29 +00:00
christos
71abc767dd
Use SA_NOCLDWAIT instead of catching the signal and waiting. Avoids signal
...
races the easy way.
2005-03-30 15:19:10 +00:00
thorpej
630187918a
No need to emit vfs_list_initial[] any more.
2005-03-29 02:42:09 +00:00
martin
58a5eedc83
If SMALLPROG is set, do not build in PAM support. While there, depend
...
USE_INET6 on SMALLPROG/SMALLPROG_INET6 like ftp does it.
This fixes the build of install media (pc532 and sparc64) that include
ppp support.
2005-03-22 22:20:27 +00:00
hubertf
ca150f1c8a
Document where to get firmware binaries (pkgsrc!)
2005-03-21 20:53:07 +00:00
hubertf
be04a114e9
Bump PKGTOOLS_VERSION to today's date to allow telling in which version
...
PR 24744 was fixed (affects lib/ftpio.c).
2005-03-18 00:12:35 +00:00
hubertf
fdbe9a372b
Address PR pkg/24744 by Jarmo Jaakkola <jarmo.jaakkola@iki.fi>:
...
* ftp.fi.netbsd.org returns "257" in return to a "cd" command, accept that
(in addition to 250 and 550). Seems to be allowed per RFC 959.
* Make buffer for reply bigger (not too big, as it may hit performance).
2005-03-18 00:01:11 +00:00
itojun
522016be88
plug memory leak. Patrick Latifi
2005-03-16 05:05:06 +00:00
xtraeme
cf66608ca4
Kill __P(), use ANSI function declarations; WARNS=3
2005-03-16 02:56:18 +00:00
xtraeme
baf27f3e61
Kill __P(), final round.
2005-03-16 02:55:10 +00:00
xtraeme
7e70b71d91
Kill __P(), use ANSI function declarations, constify; WARNS=3
2005-03-16 02:53:55 +00:00
xtraeme
c6e5881985
Kill __P(), use ANSI function declarations; WARNS=3
2005-03-16 02:08:52 +00:00