Commit Graph

4665 Commits

Author SHA1 Message Date
itojun
bb65ba4b13 fgetln() does not \0-terminate the result. 2001-08-03 09:18:58 +00:00
yamt
69ecbbeb80 Fix a bug that prevented %'s and \'s from being passed to the program
invoked.
from FreeBSD.
2001-08-03 04:10:51 +00:00
itojun
4acce1d060 include version number into binary to help diagnosis 2001-08-02 15:27:21 +00:00
itojun
366bd307b0 sync with 2001/8/2 KAME racoon/libipsec. 2001-08-02 12:15:00 +00:00
itojun
de2695eefc copyright clarification. via openbsd 2001-08-02 03:41:42 +00:00
itojun
2b18b04c59 updated copyright notice from Xerox. via openbsd 2001-08-01 16:45:28 +00:00
garbled
c63c221b86 Fix a bug in the multilist noted by Brett Lymn. When nothing was selected
from the popup, don't populate the field with a NULL buffer.

Edit the TODO list, removing a few fixed items from my bughunt tonight.
2001-08-01 09:08:55 +00:00
garbled
3815ce799a Add a -l argument to ypinit that allows adding servers in the format
server1,server2,server3 on the command line.  This allows the user to
optionally avoid the interactive mode of ypinit.  If the -l flag is not
supplied, the old behavior is retained.

This allows users to do things like rsh out creation of YP clients, and
sushi to generate yp clients/servers/slaves.
2001-08-01 07:01:03 +00:00
garbled
249cbcd0e5 add two more bugs 2001-08-01 01:02:55 +00:00
garbled
1092eb0c9d Add some known bugs for sushi.. lest I forget them. 2001-08-01 00:53:58 +00:00
chs
2df1fdaa53 remove spurious newline in an error message. 2001-07-29 21:24:57 +00:00
lukem
1c37a982fa enable WARNS=2 2001-07-29 09:59:12 +00:00
hubertf
b352d63150 Document -f option in synopsis 2001-07-27 22:35:51 +00:00
wiz
d2c504636c aquire -> acquire 2001-07-26 22:50:57 +00:00
lukem
bdf152b906 fix time display bug introduced in previous commit [hi christos! ;]
because it was using an unitialised variable.  change:
	ctime(&t); foo.bar = t
into
	t = foo.bar; ctime(&t)
2001-07-26 05:49:00 +00:00
wiz
64662a0528 Fix `pkg_add -u' for packages without dependencies.
Patch by Hubert Feyrer.
Addresses pkg/13536.
2001-07-24 14:45:16 +00:00
itojun
2dde33d97b sync with latest kame code. ndp -i won't print info for yet-to-be-initialized
interface.
2001-07-23 14:47:43 +00:00
itojun
71aa31a75a support multiple batteries (currently only # of batteris is visible -
need to tweak ioctl API more).  PR 10545.
2001-07-22 16:05:17 +00:00
wiz
a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
itojun
338143f0e5 follow kame p2p interface management rule. use /128 when we specify
both src and dst addr on p2p interface.  sync with kame
2001-07-21 02:28:06 +00:00
taca
6e662bb75d Put pidfile after daemonize. This would fix newsyslog(8) error. 2001-07-19 00:15:32 +00:00
lukem
c0e6fdedfc - add parsetype() (a la parsekey()) to parse the "type=xxx" arg. this improves
the error detection for invalid types, as well as shrinking binary size
- implement inotype() using ftype(), rather than duplicating the switch
- change "char *" arguments to "const char *"
2001-07-18 04:51:54 +00:00
wiz
e46d80027f Close some memory leaks.
Reported (incl. patch) by YAMAMOTO Takashi in pkg/12830.
2001-07-16 13:50:41 +00:00
manu
764096179a - No more lost error messages during syslogd startup, they now all appear on
stdout before syslogd becomes a daemon.
- Flags for setuid/setgid/chroot syslogd after initialization is completed
- Warning instead of silent ignoring for malformed lines (with spaces instead
of tags)
Approved by Christos
2001-07-16 05:04:47 +00:00
manu
ba6302b854 Removed two debug messages commited by mistake. Sorry about this. 2001-07-15 17:27:32 +00:00
hubertf
861dbe4370 Interface change for strip_txz(): now stores suffix 2001-07-15 00:34:14 +00:00
hubertf
f990f4a5a2 * Bugfix: if PLIST_SRC directly follows PLIST_CWD, ignore
the PLIST_CWD in creating the tar pipe.

   This takes care of pkg_create -p PREFIX -L FAKE
   where PREFIX does not exist at pkg creation time.

   From OpenBSD's rev. 1.9->1.10

 * Register PLIST_SRC before dependencies and conflicts so that the
   PLIST_CWD != PLIST_SRC hack works with dependencies present.

   From OpenBSD's rev. 1.10->1.11

 * improve error message to tell full path of exec() that failed
2001-07-15 00:23:14 +00:00
manu
6248c5cc45 strtol -> strtoul because we use an unsigned type (uid_t/gid_t)
isdigit with an unsigned char cast
2001-07-14 21:56:45 +00:00
manu
3ac4f70df5 errno is not tested any more if dbopen succeeds (to quote errno(2), "It
should only be examined after an error")
Added an additionnal chdir so that -o works with a file in the current
directory.
2001-07-14 14:50:44 +00:00
perseant
4e3fced95b Merge the short-lived perseant-lfsv2 branch into the trunk.
Kernels and tools understand both v1 and v2 filesystems; newfs_lfs
generates v2 by default.  Changes for the v2 layout include:

- Segments of non-PO2 size and arbitrary block offset, so these can be
  matched to convenient physical characteristics of the partition (e.g.,
  stripe or track size and offset).

- Address by fragment instead of by disk sector, paving the way for
  non-512-byte-sector devices.  In theory fragments can be as large
  as you like, though in reality they must be smaller than MAXBSIZE in size.

- Use serial number and filesystem identifier to ensure that roll-forward
  doesn't get old data and think it's new.  Roll-forward is enabled for
  v2 filesystems, though not for v1 filesystems by default.

- The inode free list is now a tailq, paving the way for undelete (undelete
  is not yet implemented, but can be without further non-backwards-compatible
  changes to disk structures).

- Inode atime information is kept in the Ifile, instead of on the inode;
  that is, the inode is never written *just* because atime was changed.
  Because of this the inodes remain near the file data on the disk, rather
  than wandering all over as the disk is read repeatedly.  This speeds up
  repeated reads by a small but noticeable amount.

Other changes of note include:

- The ifile written by newfs_lfs can now be of arbitrary length, it is no
  longer restricted to a single indirect block.

- Fixed an old bug where ctime was changed every time a vnode was created.
  I need to look more closely to make sure that the times are only updated
  during write(2) and friends, not after-the-fact during a segment write,
  and certainly not by the cleaner.
2001-07-13 20:30:18 +00:00
manu
2e20a48c80 Moved the errno=0 in the loop for opening the temp file. The problem was that
successful syscalls never set errno, and hence we could have had an inifinite
loop if the opening failed once and succeded on second attempt.
2001-07-13 15:54:22 +00:00
manu
7e7825ce44 FIxed a problem with string length (a leading / was appearing in w, who and others)
We were using rename() to create the target file from the temp file. Now the temp file is created in the same directory of the targer file so that rename() will always work (it needs to have the files in the same filesystem)
Using the -o file, the output file may be on a world writable directory, we hence open the temporary file using O_EXCL, and we loop trying different names until it works.
2001-07-12 20:46:39 +00:00
ad
e1036d7e68 Couple of nits. 2001-07-09 17:46:39 +00:00
ad
773c9cf920 errx() prints the newline for you. 2001-07-09 17:30:37 +00:00
itojun
48375d983c copy necessary variables from sys/netinet/tcp_debug.c.
not sure if it is the right way to deal with this.
2001-07-09 07:54:59 +00:00
itojun
052c0d9a64 sync with kame.
KAME rtsold.c 1.28
watch routing socket, and check for pcmcia card removal.
if pcmcia card gets removed, bring the interface state into IFS_DOWN.

KAME rtsold.c 1.29
changed the timeout period after sending MAX_RTR_SOLICITATIONS solicitation
from RTR_SOLICITATION_INTERVAL to MAX_RTR_SOLICITATION_DELAY according to
the last paragraph of RFC 2461 Section 6.3.7.
in response to a comment from Pekka Savola <pekkas@netcore.fi>
2001-07-09 06:04:28 +00:00
manu
896577bca5 We use rename() to produce the dev.db file, and rename() is not able to move
files across filesystems. Hence we use /var/run for dev.tmp, since dev.db
will be in /var/run.
2001-07-08 20:01:43 +00:00
wiz
dd75462fd1 Uppercase cpu. 2001-07-08 18:19:16 +00:00
simonb
79f5a137af Xref getbsize(3). 2001-07-08 15:34:13 +00:00
abs
46bc122c3c Do not try to reference dbm(3) 2001-07-06 18:07:15 +00:00
manu
b971cc2b24 - Moved the temp file to /tmp instead of /var/tmp
- Added a O_EXCL flag so that we cannot open an existing file for temp file
2001-07-05 20:35:33 +00:00
manu
12cb15934b Added a missing .El 2001-07-05 20:33:56 +00:00
manu
b70b2499b0 Added flags to choose the location of the input device directory and the
output device database. Goal is to be consistent with other *_mkdb
utilities such as pwd_mkdb or kvm_mkdb.
2001-07-04 20:42:02 +00:00
christos
26dfd4a9a0 Fix bogus awk + sed combination to handle continuations and empty lines.
It broke a sequence of:

	key1 \
		value1 \
		value2 \
		value3 \


	key2 \
		value4 \


	etc.

Handle both the netgroup rule and the amd.home rule using a .USEBEFORE
macro rule, since they contain the same code.
XXX: Needs new make(1)
2001-07-03 18:15:06 +00:00
itojun
a42562635c sync .Fl with reality 2001-07-03 08:52:00 +00:00
itojun
338aa1c650 -DLIBWRAP will enable libwrap-based filtering on UDP socket messages.
PR 13348
2001-07-01 16:23:42 +00:00
gmcgarry
32fc55d6d2 Don't pack locators. Introduce a new commandline option to
restore the previous behaviour of packing locators.

Results in a 2.5KB increase in size for the current i386 GENERIC
kernel.  My custom kernel resulted in a 12-byte increase.
2001-07-01 02:46:47 +00:00
itojun
55ae625187 faith(4) is now documented in RFC3142. 2001-06-30 01:01:36 +00:00
itojun
5237fd7778 have sshd listed in use_libwrap[].
From: Frederick Bruckman <fredb@immanent.net>
To: <tech-userlevel@netbsd.org>
Date: Fri, 29 Jun 2001 11:57:14 -0500 (CDT)
2001-06-30 00:56:28 +00:00
enami
ab05795faa Fix tcpdump path. 2001-06-27 05:17:32 +00:00
itojun
b12a7f19d9 drop setgid. suggested by deraadt 2001-06-26 17:10:33 +00:00
itojun
d54eb3a39d change tcpdump dir to refer to. Daniel Carosone <dan@geek.com.au> 2001-06-26 13:43:29 +00:00
itojun
230b44a44a switch to use src/dist/tcpdump. source code has been checked and the new
tree organization should give the same (or more) decoding functionalities.
2001-06-25 19:41:19 +00:00
mrg
b5ca908e21 extend file size lossage message. 2001-06-25 16:40:50 +00:00
mrg
e1633c19d7 printer of "" becomes the DEFLP (the default printer, "lp") 2001-06-25 15:29:12 +00:00
mrg
a062d79672 use DEFLP instead of "lp". 2001-06-25 11:04:51 +00:00
ad
0767fc8d4b Missing space in usage(); from OpenBSD. 2001-06-25 08:47:29 +00:00
itojun
85856f18c0 do not make "useradd foo -s bar" to ignore "-s bar" silently. require
exactly one username.
2001-06-23 02:42:32 +00:00
christos
44f22a6994 make things compile again with -DSMALL 2001-06-23 00:10:06 +00:00
eeh
09af009af3 Fix typo in previous. (damn vi.) 2001-06-21 22:58:36 +00:00
eeh
5e8c69237f Add sparc64 support for both sparc and sparc64:
ELF64 for 64-bit sparc64 kernels.
ELF32 for 32-bit sparc and sparc64 kernels.
a.out for old sparc kernels.
2001-06-21 22:57:25 +00:00
christos
e01ff467fb order the eE options as the others. 2001-06-21 20:58:18 +00:00
drochner
65ae86a522 more obsolete files 2001-06-19 14:55:30 +00:00
drochner
e47db61069 some more files which disappeared in the distribution 2001-06-19 14:45:46 +00:00
drochner
9eb0a9bd7a add missing comma 2001-06-19 14:34:08 +00:00
drochner
e3ef27af9b iron out some unnecessary differences between the distribution and the
NetBSD version
2001-06-19 14:22:45 +00:00
drochner
ad33c4e9c3 these are not in the original distribution anymore 2001-06-19 13:58:30 +00:00
drochner
d94b2b3963 fix some obviously botched error returns 2001-06-19 13:54:58 +00:00
wiz
3f9984fc90 existent', not existant' 2001-06-19 13:42:07 +00:00
wiz
f3f6c5b675 accessible' only has one a'. 2001-06-19 12:52:20 +00:00
ad
14edc766df Check for transport failure before looking at the status code in the reply. 2001-06-19 10:46:16 +00:00
ad
c8adbae640 Refer to the i2ocfg package. 2001-06-19 10:44:03 +00:00
christos
a2458a3f05 use better/quicker shell syntax 2001-06-18 19:43:55 +00:00
drochner
8d1282dd17 update for moved toisc.c 2001-06-18 19:16:10 +00:00
drochner
ef869f8376 merge 3.0rc8 2001-06-18 19:01:50 +00:00
drochner
5233105195 ISC DHCP 3.0rc8 2001-06-18 18:13:13 +00:00
wiz
ccfe29f3cf Symmetric has one s and two m's. 2001-06-18 11:23:00 +00:00
lukem
6a56b422c8 use mktemp(1) as appropriate 2001-06-18 11:21:54 +00:00
itojun
993a4807cb copyright clarification. sync with tcpdump.org.
based on communiation with the author, Jeffrey Mogul <mogul@pa.dec.com>.
by Jakob Schlyter <jakob@openbsd.org>
2001-06-15 02:07:06 +00:00
fredette
fd8d9e615b Merge in ndbootd-0.5. 2001-06-13 21:38:30 +00:00
fredette
74cc4fdaac Import of Matt Fredette's ndbootd-0.5 boot program for Sun2 machines. 2001-06-13 21:35:57 +00:00
wiz
c03a48d64f withough -> without 2001-06-13 10:45:57 +00:00
itojun
a167adffce need va_start/end for every vfprintf(). from markus@openbsd. sync with kame 2001-06-13 04:31:52 +00:00
wiz
0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
wiz
40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
wiz
5811c27b4d Remove trailing dot from .Nd, and a bogus comment line (probably left
over from example man page).
2001-06-08 23:57:43 +00:00
fredette
de800ed660 Added support for listing multiple additional names on
a `machine' line.  For each of these subarches, its
arch/${SUBARCH}/conf/files.${SUBARCH} is included, and
a symlink ${SUBARCH} -> arch/${SUBARCH}/include is made.
This will for a "richer structure" and easier code
sharing under sys/arch.
2001-06-08 12:47:06 +00:00
mrg
5d9bc91556 new `-n' switch to avoid looking up hostnames. 2001-06-08 04:16:28 +00:00
wiz
d422b80ea9 Uppercase Dt argument. 2001-06-05 11:58:55 +00:00
wiz
1375e0081d Minor fixes. 2001-06-05 11:40:04 +00:00
wiz
bca0e833cf Uppercase .Dt argument. 2001-06-05 11:38:42 +00:00
wiz
5b6ad2d2f5 Drop argument of .Os. 2001-06-05 11:31:21 +00:00
wiz
9322798d06 No argument for .Os. 2001-06-05 10:27:02 +00:00
wiz
2c753b6eca Add .Os. 2001-06-05 10:26:26 +00:00
wiz
48a36de9c0 Don't give .Os an argument, not even 'NetBSD' (default includes version). 2001-06-05 10:08:03 +00:00
mrg
7276c20511 don't #define _LKM to work around header lossage; it is no longer necessary. 2001-06-05 09:20:12 +00:00
itojun
dc1b085d64 prevent overflow of lifetime value. sync with kame 2001-06-03 09:26:04 +00:00
itojun
45b2928589 do not visit mtrace6 2001-06-03 06:09:10 +00:00
itojun
780e7ac88c remove pim6[sd]d from the tree. the software had a restrictive license
than we can handle.  hope to re-enable it as pkgsrc, or to re-enable it
into basesrc if license updates.
2001-06-02 00:34:00 +00:00
joda
073d0b6122 (usage): correct number of arguments to fprintf 2001-05-28 07:59:53 +00:00
itojun
8d42ab239c remove extra \n even more. sync with tcpdump.org 2001-05-27 04:57:19 +00:00
itojun
59dea86dc0 disable DNSSEC build, for two reasons. (1) restrictive license
(2) due to protocol changes BIND8 DNSSEC code is not really useful
2001-05-27 04:39:40 +00:00
itojun
840fe8eadc put -NOESW to version number if MKCRYPTO != yes, to sync better with original
BIND8 makefiles.
2001-05-27 04:08:04 +00:00
he
ccc114118a Add `E' to getopt string, so the -E option is recognized.
Should fix PR#13008.
2001-05-26 21:20:28 +00:00
itojun
46636f1249 remove too many \n for icmp6 too big 2001-05-26 12:31:56 +00:00
christos
4fce6523d7 make the -DSMALL option work again. 2001-05-26 00:37:45 +00:00
fredette
735202e79f Merge in ndbootd-0.4. 2001-05-23 02:59:35 +00:00
fredette
bbf2feac6e Import of Matt Fredette's ndbootd boot program for Sun2 machines. 2001-05-23 02:49:37 +00:00
fredette
f2f22b5de0 sunndd has been renamed ndbootd. 2001-05-22 14:52:24 +00:00
fredette
ee3099f75d Note that sunndd has been renamed ndbootd. 2001-05-22 14:50:31 +00:00
fredette
ab467667c7 Finished the 3rdparty import procedure for the ndbootd
package: Added RCS IDs, a Makefile, added to 3RDPARTY.
Also removed sunndd from 3RDPARTY.
2001-05-22 14:41:59 +00:00
fredette
2d0f1618a6 Import of Matt Fredette's ndbootd boot program for Sun2 machines. 2001-05-22 14:20:49 +00:00
agc
bd6e892efe Apply the -I substitution logic for @cd as well as @cwd (just for
completeness, as @cwd will be used almost everywhere, and @cd is
deprecated).
2001-05-21 12:06:30 +00:00
agc
8f6a8bb131 When adding the checksums for the individual file entries in the generated
+CONTENTS file, if the entry is also the last in the package's list, adjust
the tail pointer accordingly.
2001-05-21 12:05:20 +00:00
agc
83dc57abd5 Display the correct directory for the @src directive if -I has been
specified.
2001-05-21 12:03:53 +00:00
agc
95a52b2709 Add -I argument to pkg_create so that the real prefix can be specified
for the @src and @cwd PLIST directives.

Bump version number.
2001-05-21 09:17:28 +00:00
uwe
2e8ee296d6 Don't discard all the hard work of setdefentries() and uniquepath().
Fixes bin/12742.  Reviewed by jdolecek.
2001-05-20 22:05:30 +00:00
agc
6ccfedb598 Add -U argument to pkg_create - by default, all files are added to the
pkgdb.byfile.db database. If -U is specified on command line to
pkg_create, don't add the PLIST entry to pkgdb.byfile.db.

Bump version number.
2001-05-18 13:21:38 +00:00
minoura
81e8dc3cac Correct a typo.
Pointed out by MAEKAWA Masahide <maekawa@kbug.gr.jp>.
2001-05-18 07:48:07 +00:00
itojun
4cd3525823 upgrade to 8.2.4. 2001-05-17 22:59:37 +00:00
fredette
1605cd00aa Build sunndd, used to netboot Sun2 machines. 2001-05-17 21:08:54 +00:00
fredette
a83cae8ce3 Finished the 3rdparty import procedure for the sunndd
package: Added RCS IDs, a Makefile, added to 3RDPARTY.
2001-05-17 20:42:08 +00:00
fredette
d21eeebf46 Import of Matt Fredette's sunndd boot program for Sun2 machines. 2001-05-17 20:15:26 +00:00
tsubai
eef5fa50d3 Big-endian support. 2001-05-16 10:45:36 +00:00
kleink
80fd97ca8d Need <bsd.own.mk> now. 2001-05-15 17:07:49 +00:00
kleink
dccee15238 Don't install the example config if MKSHARE=no. 2001-05-15 17:05:54 +00:00
assar
0eaf453fc3 handle badly formattted access RPC
should fix PR bin/12765
2001-05-15 05:59:13 +00:00
ichiro
a420303a55 It enabled it to control roaming mode and authentication mode. 2001-05-15 04:16:21 +00:00
veego
221a388192 Regenerated for am-utils 6.0.6.
The configure script was fixed, so the default output of configure is now
fine.
2001-05-13 18:11:56 +00:00
veego
2f8b710391 Bump the minor number because of the addition of haseq and hasmnteq. 2001-05-13 18:11:12 +00:00
itojun
f8ce289dc0 remove -g from CFLAGS. 2001-05-10 18:50:33 +00:00
itojun
30901383d9 correct ip6 option header chasing. sync with tcpdump.org. 2001-05-09 02:50:02 +00:00
wiz
6db93e0e58 Replace some .Xr with .Ic (programs non-existing or not in base system). 2001-05-08 17:20:02 +00:00
wiz
7d87aacf52 Add RCS Ids. 2001-05-08 17:04:56 +00:00
sommerfeld
390fe67281 Add .WAIT barrier for parallel make 2001-05-08 02:03:18 +00:00
kleink
a0649bd297 getopt(3): EOF -> -1. 2001-05-07 14:00:22 +00:00
wiz
7da30c83ac Change xref for vmstat(8) to vmstat(1).
Whitespace, punctuation and spelling fixes while I'm here.
2001-05-06 23:48:31 +00:00
wiz
ccb6f40539 Improve usage of `comprise' according to Webster and misc/10893
by Jim Bernard.
2001-05-06 12:29:18 +00:00
tron
90eb7ba34c Add support for decoding PPPoE packages on an ethernet interface. 2001-05-06 07:57:08 +00:00
ichiro
16aa429153 sys/dev/pcmcia/if_wi_ieee.h was moved to sys/dev/ic/wi_ieee.h 2001-05-06 03:28:57 +00:00
wiz
0ebf74a84b Logical markup. Reported in bin/12816 by Tetsuya Isaki. 2001-05-03 16:45:01 +00:00
garbled
804fb9a962 Add some stuff and tidy up the TODO list 2001-05-03 07:46:29 +00:00
matt
1ac7180770 Enable ELF32 for vax re: mdsetimage. 2001-05-01 20:35:19 +00:00
fvdl
0979d803f6 For the local case, return serv_uaddr in addrmerge, not the address
by which the client contacted rpcbind.

Also fix a missing \n in a debug printf.

From Martin Blapp, mb@imp.ch
2001-04-30 00:36:07 +00:00
martin
a1ff386294 Add an example for PPPoE configuration. 2001-04-29 11:41:02 +00:00
wiz
b0cdcfe61b Add RCS Id, formatting improvements, and typo fixes. 2001-04-29 10:46:02 +00:00
martin
d53224619c Use this to configure pppoe interfaces as well.
This feed more oil to itojun's suggestion to move some of this into
ifconfig and deal more generically with others.
2001-04-29 10:30:41 +00:00
martin
fa10c3107d Make tcpdump work with the current pppoe code.
Will be revisited when a generic PPP sheme is implemented.
2001-04-29 10:27:03 +00:00
hubertf
01b66ea788 * add function strip_txz() to strip off any .tgz, .tbz, .t[bg]z from a
given filename.
 * Use strip_txz() inside the FTP-wildcard-depends handling code to
   prevent it handing a combination of glob and dewey pattern to pmatch(),
   which our pattern matching code currently does not handle. Bugfix!

XXX The other places that could be changed to use strip_txz() are not
    touched in this commit to keep the impact of this change small in the
    light of the approaching 1.5.1 release. I'll revisit them.
2001-04-28 20:55:33 +00:00
agc
248b28d16b Size the columns in the table of related files better.
Be a bit more precise about the location of example files.
2001-04-27 09:13:35 +00:00