itojun
b4d29cbd68
don't try to parse packets with short iphlen.
...
From: tcpdump.org (bugtraq june 99)
2000-02-03 17:42:01 +00:00
enami
39fdef6641
If failed to export some mount point, unexport and try again. This is a
...
workaround to fix the bug that mountd fails to export the currently exported
mount point if it is exported everyone or only export option is changed.
2000-02-03 09:59:22 +00:00
itojun
25db46c9cf
fix advanced api bug. (sync with snap)
...
this is for 2292bis case, and netbsd-current is not affected - the commit
is to avoiding buggy code from spreading around.
2000-02-03 06:59:35 +00:00
bouyer
a3bc666f44
Supports nlm version 4 (for use with nfsv3).
2000-02-02 18:17:42 +00:00
agc
199e667b0f
Add RCS Id and Copyright.
2000-02-02 15:12:10 +00:00
hubertf
b932078a68
remove clutter left after switching to mkstemp
2000-02-02 14:54:50 +00:00
hubertf
4b164aae49
Use mkstemp instead of mkstemp.
2000-02-02 14:42:53 +00:00
hubertf
45d0c80c1d
add copyright and (more important!) _RCS_ID()
2000-02-02 14:09:40 +00:00
itojun
94a0a3b5f3
align message a bit better.
2000-02-02 05:18:32 +00:00
itojun
4d9ae69b8a
bring in latest KAME tree. show kludge entry.
2000-02-02 05:04:17 +00:00
itojun
faa17682df
add -R (accept router renumbering packet). now router renumbering is disabled
...
by default for ipsec config twists.
dies gracefully on SIGTERM.
2000-02-02 04:07:50 +00:00
enami
04553a3a98
Kill the period in SEE ALSO.
2000-02-02 01:55:55 +00:00
thorpej
732a15a21d
Printf formats on LP64.
2000-02-02 01:08:26 +00:00
agc
cf6ad33088
Set the environment variables to have zero-length strings on Solaris.
2000-02-01 10:46:55 +00:00
enami
1b1b19c5c5
Emit `.MAIN: all' to force the target `all' as default target.
2000-02-01 05:13:17 +00:00
itojun
4b061adfdb
sync with latest libipsec.
...
since outgoing and incoming policy is separated, inetd can take multiple
policy specification, separated by ";".
2000-01-31 14:28:17 +00:00
itojun
a58fc4d3b8
sync with latest libipsec/kernel.
2000-01-31 14:25:42 +00:00
itojun
6b2922d06b
catch up with latest libipsec/kernel.
2000-01-31 14:22:41 +00:00
agc
2a29f83468
Fix a typo.
...
Make a start at linting this.
2000-01-31 13:39:08 +00:00
agc
69acf6de93
Fix for Solaris: don't try to call unsetenv().
2000-01-31 13:33:19 +00:00
itojun
e38f0bc373
add pim6sd: PIMv6 sparse mode daemon. (from KAME)
2000-01-28 19:32:43 +00:00
itojun
55ffb1ce63
make error check against getnameinfo().
2000-01-27 19:52:43 +00:00
thorpej
d65c17674f
In callit() and logit(), set a slightly informative proctitle to make
...
it easier to determine where large numbers of wedged portmap processes
are coming from.
2000-01-27 16:28:32 +00:00
itojun
33ba3a0f18
IPv6 support, using rcmd-family funciton added.
...
NetBSD PR: 9050
From: Feico Dillema
2000-01-27 05:39:50 +00:00
hubertf
938c6a8b17
be a bit more liberal WRT slow servers
2000-01-26 02:12:14 +00:00
hubertf
549295852e
-current's gcc seems to be a bit picky about using pointer-differences as
...
args to the "*" of a printf "%*.*s" pattern. Add some casts to int.
(At least on NetBSD, ptrdiff_t is typedef'ed to int anyways)
2000-01-25 17:21:07 +00:00
sommerfeld
0cd03c86b4
Fix use of -I and -P at the same time by refactoring so there's only
...
one set of code which knows how to resize the packet.
Report when we shrink MTU because of an EMSGSIZE return; fix
formatting to let this not look ugly.
Add a few likely MTU's to the table (1480 and 1280).
2000-01-25 16:24:32 +00:00
hubertf
4a961a7fc3
some code cleanup
2000-01-25 12:09:19 +00:00
enami
0d45936ccf
Please pay an attention to the existing code and not to introduce
...
different coding style.
2000-01-25 01:16:00 +00:00
ad
04ddf7ae0d
Default bit/byte order with #define's and fix usage().
2000-01-25 01:04:07 +00:00
itojun
3f638e0b65
fix pathname for rtadvd.conf. (/etc/rtadvd.conf for netbsd-current)
2000-01-24 12:59:30 +00:00
mycroft
cbe35e1b13
One last bit of .mk lossage.
2000-01-24 06:49:29 +00:00
hubertf
764307a5a1
Keeping my kernel config files under RCS control, I always wished to
...
have a way to embed the revision number into the kernel's "uname -v"
output. The patch below does this, by generating a new keyword "ident"
that can be followed by any string, e.g.
ident "NOON-$Revision$"
will lead to
vvvvvvvvvvvvvvvvvvvvvv
char version[] = "NetBSD 1.4P (NOON-$Revision: 1.21 $) #37 : Thu Jan
20 02:01:23 MET 2000\n feyrer@noon:/usr/cvs.local/src-current/sys/arch/i386/c
ompile/NOON\n";
This will lead to a version of "MYMACHINE-$Revision$" instead of the
kernel config file name. If "ident" is not present, the current behaviour
of using the kernel config file's name as identifier is used.
Implement by writing the ident to a file ("ident") in the compile dir,
which newvers.sh will pick up for generating the ident.
2000-01-23 23:37:42 +00:00
mycroft
a73ccc591a
More .mk file fallout. *sigh*
2000-01-23 21:55:44 +00:00
mycroft
c077907823
Add explicit endianness overrides.
2000-01-23 19:59:32 +00:00
drochner
b2fa2f59f4
improve logging: tell whether a request was declined by the loopback
...
security check
2000-01-23 15:54:31 +00:00
tron
932885638e
Remove bogus declaration of "errno".
2000-01-22 10:18:07 +00:00
tron
ed4d897b2e
Remove bogus declarations of "errno".
2000-01-22 10:16:23 +00:00
tron
1bc6630de6
Remove bogus declaration of "errno".
2000-01-22 10:05:13 +00:00
mycroft
f5d7100e26
Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
...
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
abs
918a3dbacc
small grammar fix
2000-01-21 11:10:51 +00:00
itojun
57f7502caf
inet_pton() error must be checked with 1. see inet_pton(3).
...
will notify the original author.
2000-01-20 04:55:52 +00:00
thorpej
aa1aaac03e
Allow abolute pathnames as prefixes.
2000-01-20 00:08:08 +00:00
hubertf
9d0c5bb4ee
FTP wildcard depends code, initial commit.
...
Modulo some code cleanup, this gives NetBSD full wildcard support not
only in pkgsrc, but esp. for binary packages installed from local disk
and via FTP. For more information, see:
http://www.feyrer.de/NetBSD/wildcards.html
2000-01-19 23:28:28 +00:00
christos
716b39b67a
PR/9245: Feico Dillema: ip6 support in pppd doesn't compile/work
2000-01-19 20:23:46 +00:00
itojun
5e54c56a6d
add manpage, rip6query(8).
2000-01-19 06:35:22 +00:00
pk
3357e41c5c
Dump softdep mode.
2000-01-18 20:24:19 +00:00
itojun
eada5082e8
Moved to sbin/sysctl/sysctl.c,v
2000-01-17 02:32:07 +00:00
itojun
53e0058d18
Moved to sbin/sysctl/sysctl.8,v
2000-01-17 02:31:51 +00:00
itojun
b98e3c2504
Moved to sbin/sysctl/pathconf.c,v
2000-01-17 02:31:15 +00:00
itojun
dcaf710696
Moved to sbin/sysctl/Makefile,v
2000-01-17 02:30:19 +00:00
itojun
2f39c47e7f
disable sysctl for now (avoid breakage during move from usr.sbin to sbin)
2000-01-17 02:29:48 +00:00
hubertf
d46e75859c
Reverse wording for -R. Per PR 9141 by Jim Bernard <jbernard@ox.mines.edu>
2000-01-17 00:48:52 +00:00
cgd
9a222ad604
remove .cvsignore files; if the tree doesn't clean completely, that's a bug
2000-01-16 08:27:40 +00:00
bouyer
f0f0eba116
In real_plog() change vsprintf() to vsnprintf() to be sure we'll never overflow
...
msg[]. I didn't check all the plog() call so I don't know if this overflow
is possible by a non-root user or not.
Suggested by Zdenek Salvet <salvet@ics.muni.cz> a looong time ago.
2000-01-15 15:51:54 +00:00
jlam
2cda0d3aff
Add 'l' to getopt-checked flags
2000-01-13 16:04:53 +00:00
itojun
a31f62a92c
call sigsetmask() on ipsec initialization failure.
2000-01-13 15:53:00 +00:00
abs
0e026526cf
fix bug that caused first load to fail - from jkunz@unixag-kl.fh-kl.de
2000-01-10 19:33:18 +00:00
hubertf
bbb733f849
mention -Ss in usage
2000-01-10 14:53:56 +00:00
hubertf
be120f8f41
Also move the +SIZE files into place, if a pkg comes with some.
2000-01-09 17:21:53 +00:00
tsutsui
5cb06e6456
Use uname(3) to determine MACHINE type.
2000-01-09 04:54:53 +00:00
msaitoh
049ad0d982
machine/exec_coff.h -> sys/exec_coff.h
2000-01-07 09:40:33 +00:00
itojun
293291b23d
grammar fix. sync with latest KAME.
2000-01-06 07:58:04 +00:00
itojun
2e904aec57
make IPV6_BINDV6ONLY setsockopt available. it controls behavior of
...
AF_INET6 wildcard listening socket. heavily documented in ip6(4).
net.inet6.ip6.bindv6only defines default value. default is 1.
"options INET6_BINDV6ONLY" removes any code fragment that supports
IPV6_BINDV6ONLY == 0 case (not defopt'ed as use of this is rare).
2000-01-06 06:41:18 +00:00
itojun
9695855746
add missing variables under net.inet6.ip6.
2000-01-06 02:56:44 +00:00
ad
a4eb83847b
Update for changes to 'struct wsdisplay_font'.
2000-01-05 18:46:43 +00:00
drochner
4b3a806e80
print a warning if a "cinclude"d file cannot be opened and the -v flag
...
is given
2000-01-05 11:24:02 +00:00
hubertf
873c34bf5e
Some changes from David Maxwell <david@fundy.ca>:
...
- make it clear that a URL or full path can be given on the command line
- explain where depending pkgs are expected to live
2000-01-04 22:39:28 +00:00
itojun
07c2fe1cd9
add net.inet6.icmp6.nodeinfo sysctl.
...
this allows you to disable/enable ICMPv6 node information query/reply
processing (which tells remote end the gethostname(3) setting, interface
addresses on the node, and some other things - documented in
draft-ietf-ipngwg-icmp-name-lookup* or something alike).
to test it, try ping6 -w ::1 with nodeinfo=0 and nodeinfo=1.
(sync with kame change)
2000-01-02 16:31:17 +00:00
itojun
f5507e1557
avoid use of bitfield in packet format definition. it is non-portable
...
(packing constraint is unknown).
avoid use of u_int8_t bitfield. it is illegal.
2000-01-02 13:15:53 +00:00
itojun
758c15425b
wording changes. document rtsol(8) behavior earlier in the document.
...
(sync with kame repo)
2000-01-02 06:30:15 +00:00
agc
2f3f04acfd
Enhancements from Hubert Feyrer:
...
+ copy all files and directories in <skeldir> to new user's home
directory, not just if they begin with a '.'
+ use pax to copy files from <skeldir>, as this will allow <skeldir>
to contain directory trees as well as regular files
+ use -h arg to chown(1) in case any symlinks have been created in the
new user's home directory
+ getpwnam(3) does not set errno, so use errx(3) and warnx(3)
+ use nologin(8) in preference to false(1) when deleting users but
preserving information
+ in usage messages, specify [-r lowuid..highuid] rather than a simple
[-r range]
1999-12-31 21:58:14 +00:00
itojun
1d4f533c98
avoid use of kvm, mostly for boot floppy's convenience.
...
(sync with latest kame)
1999-12-31 19:40:19 +00:00
itojun
5dd97131d3
typo (sa_family must be sa_len)
...
NetBSD PR: 9084
1999-12-30 15:39:40 +00:00
itojun
c8ebe62e8b
avoid memory leak on realloc() error.
1999-12-30 09:10:28 +00:00
hubertf
a27c7840ac
mention /usr/share/examples/apm/script
1999-12-29 05:00:43 +00:00
mjl
9d38d8530d
Fix typo.:wq
1999-12-28 02:54:51 +00:00
garbled
2ae03f4ff8
Add CPPFLAGS so this can be cross compiled.
1999-12-24 19:12:38 +00:00
agc
7497747c60
Add new functionality, and fix some bugs and oversights:
...
+ Moved all internal definitions from usermgmt.h to user.c
+ Added prototypes to usermgmt.h
+ Allow defaults to be set at build time
+ Check the effective uid is 0 if any data is to be modified
+ Check all numeric uids and gids really are numeric
+ Fix a bug (reported by lenb at sasquatch.com) where new ranges were
appended to old ranges, rather than replacing them
+ Add userinfo(8) and groupinfo(8) utilities (if EXTENSIONS is
defined), whereby user and group information can be displayed. Add
manual pages for new utilities. Add front-end calling from user(8)
and group(8) accordingly.
+ Make all functions visible outside the user.c file again. User and
group manipulation may be split out into a separate shared lib in the
future
+ Split off main function into a separate main.c
+ Changed default group to be "users"
+ Changed despatch table for commands to work in a more sane manner
+ Added "default-group" target to Makefile, so that the default group
can be made easily.
1999-12-24 09:08:48 +00:00
mjl
8515b446a0
Fix null terminating the wrong buffer curtesy of similar variables
...
mixed up. Seemed to never have any ill effect, but then...
Noted by Tetsuya Furukawa in FreeBSD PR/15604.
1999-12-23 02:10:07 +00:00
tron
7ff4a3bbe2
Replace HTML tag by correct character. Problem reported by SAKAI, Atsushi
...
in PR bin/9036.
1999-12-21 18:45:52 +00:00
itojun
8a32f07b83
wording fix.
1999-12-21 01:39:44 +00:00
hubertf
be1f1ece47
Set things to a sane state for db(3) routines.
1999-12-20 18:23:03 +00:00
nathanw
19d95c5d43
Fix typo in comment.
1999-12-20 17:19:13 +00:00
itojun
a733a88c71
fix default daemon pathname.
1999-12-20 16:23:44 +00:00
itojun
2d9ec4dac7
void unbounded sprintf().
...
fix proc title.
1999-12-20 16:22:41 +00:00
itojun
01c6c6df06
fix wrong indentation.
1999-12-20 16:03:19 +00:00
itojun
e67cbfed4a
oops, fix typo.
1999-12-20 16:01:31 +00:00
itojun
e0e43ad479
fix uninitialized pointer access on mapped addr handling.
...
add more debugging info on setsockopt errors.
1999-12-20 15:35:55 +00:00
jdc
6ed8472046
Fix include.
...
Add prototypes.
1999-12-20 09:51:53 +00:00
jdc
9e109631e6
Manual page to sparc subdirectory.
1999-12-20 09:51:07 +00:00
jdc
9a26c043d2
Added tadpolectl
1999-12-20 09:50:20 +00:00
itojun
184c111af0
fix possible infinite loop in tcp relay (avoid possible DoS).
...
PR: 8640
From: Feico Dillema
1999-12-20 05:41:35 +00:00
hubertf
78254bd723
Put back former -s switch to pkg_create as -L now.
...
Fixes PR 8982 by Eric Schnoebelen <eric@cirr.com>
1999-12-20 03:25:57 +00:00
tsutsui
e4e5afee28
mdconfig /dev/md0c rather than /dev/md0a in EXAMPLES.
1999-12-18 03:14:15 +00:00
abs
65b09cecfc
Remove obsolete reference to mkpasswd(8)
1999-12-17 13:11:22 +00:00
garbled
b8bee8a542
Typo in makefile.
1999-12-17 05:32:38 +00:00
garbled
606c3a8481
Add new binary tadpolectl for use with Tadpole SparcBook machines.
...
Presents a sysctl(8)-like interface for the user to read and modify
tadpole specific values and hardware states. (for things like changing the
bell frequency/volume, tft brightness, mouse variables, etc)
1999-12-17 05:30:02 +00:00
garbled
be3f0561fc
Fix some minor typos and word usage nits.
1999-12-17 05:01:26 +00:00
bouyer
7616130d51
Explicitely cast to (u_quad_t) calls to btodb() and dbtob() to avoid
...
int overflow. It's now possible to add/display quotas of more than
4G.
XXX I'm sure there is a PR open on this but I couln't find it with the
usual search engines. If someone knows it's number ...
1999-12-16 17:29:52 +00:00
itojun
a650ffbfaf
write out dump file into /var/run, not /var/tmp.
...
(sync with KAME, for possible security reasons)
1999-12-16 05:55:52 +00:00
garbled
37b2f44641
Enable build on sparc, and move manpage out of i386 specific directory
1999-12-15 20:34:03 +00:00
itojun
644cf51b1e
add -I and -l. cleanup on screen formatting.
...
(sync with latest KAME)
1999-12-13 15:30:25 +00:00
itojun
2faf5d6a6d
s/.Os KAME/.Os/
1999-12-13 04:38:22 +00:00
itojun
e9dcae109b
use getaddrinfo() for getting address parameter.
...
clarify command line parser. add -I option.
(sync with recent KAME)
1999-12-13 04:30:53 +00:00
itojun
af2a74fdec
use sizeof(foo) instead of hardcoded value, to help synchronizing
...
variable def and function parameter.
1999-12-13 04:25:08 +00:00
hubertf
93331a6d49
Remove code to make this compile on 1.4.1, as requested by Luke and
...
Frank. We'll need to move this to pkgsrc to get it for 1.4.1.
1999-12-13 00:26:26 +00:00
veego
9c9aae0fda
Use the new IP Filter dist layout for.
...
We are now at version 3.3.5.
1999-12-12 11:29:55 +00:00
thorpej
9e4b4a03d7
Need <string.h> for memset prototype.
1999-12-11 18:20:27 +00:00
thorpej
bc322cb5f0
Fix printf formats; cast pointer diffs to long, and use %ld.
1999-12-11 18:19:20 +00:00
mrg
2a987cd998
- use symbolic names for mode bits
...
- use _exit() where we should
- fix spelling mistake
- use vasprintf() in pstatus()
all from freebsd.
1999-12-11 02:01:18 +00:00
mrg
585454b2f2
xref setsockopt (from freebsd) and hosts.equiv.
1999-12-11 01:59:43 +00:00
mrg
2e2dfe5c71
tsk. tsk. document new features i added.
1999-12-10 23:49:03 +00:00
itojun
e6d250552f
s/.Os kAME/.Os/
1999-12-10 11:05:10 +00:00
itojun
4adaf7b678
oops, forgot to add the file. sorry.
1999-12-10 11:04:08 +00:00
itojun
e8d8a9dd7f
sync with more recent KAME.
...
- more debugging messages
- corect inet_pton() error code check
- don't mix-up "gif10" and "gif0" (due to strncmp mistake)
1999-12-10 06:13:31 +00:00
itojun
192f4042b9
sync with recent KAME. tiny wording fix.
1999-12-10 05:48:51 +00:00
itojun
7201a8f4cd
sync with recent KAME. give a better debugging information.
1999-12-10 05:47:51 +00:00
itojun
6baefd92e4
sync with recent KAME.
...
- more length overflow check for ip6 related parsing
- protocol decode fixes
- add dhcp6 parser
XXX how should we maintain usr.sbin/tcpdump for years to come?
relationship with www.tcpdump.org codebase?
1999-12-10 05:45:07 +00:00
itojun
d81f686e11
typo fixes.
1999-12-10 01:09:06 +00:00
itojun
4265f28e51
sync with latest KAME. cleanup on interface type determination.
1999-12-09 15:34:19 +00:00
itojun
119ee78fd0
sync with latest KAME tree. manpage improvements.
1999-12-09 15:30:43 +00:00
itojun
9e8f1055f6
sync with latest KAME. nuke use of ss_{len,family}.
...
CVsA: ----------------------------------------------------------------------
1999-12-09 15:20:02 +00:00
itojun
d9a742bd0d
improve debugging functionality.
...
(sync with latest KAME)
1999-12-09 15:08:33 +00:00
msaitoh
01dc593408
fix the table of the STATE field of "pstat -t"
1999-12-08 22:01:53 +00:00
lukem
8c1445f5dc
* cleanup the usage messages:
...
- put `usage' at the start of each message
- put a space between the option and arg in [-x foo]
* fix command parsing for when a two word command is invoked without
args or with an invalid second arg so that a more appropriate error
message is printed.
1999-12-08 21:45:54 +00:00
hubertf
73332d1d4c
Make MKDIR just be /bin/mkdir, without -p
1999-12-08 18:22:54 +00:00
hubertf
f925a43bdf
- Only use strlcpy() on systems that have it, i.e. >=1.4K. This makes
...
this working again on 1.4 systems.
- Revert last change to argument passing which broke "user del",
"user mod", ...
1999-12-08 18:12:16 +00:00
soren
5220b33459
Add user(8).
1999-12-08 09:19:04 +00:00
itojun
6ac6bbb103
sync with more recent KAME.
1999-12-08 04:54:15 +00:00
itojun
92732ebc68
netbsd rcsid fix.
1999-12-08 04:51:04 +00:00
itojun
9f2f48b6ef
fix pathname to /etc/rtadvd.conf.
...
NetBSD PR: 8966
1999-12-08 02:31:26 +00:00
soren
6cc6a03447
Add adduser(8) for compatibility.
1999-12-08 00:01:36 +00:00
soren
e7d9a82c6f
'If it comes from a client that already knows its address and is not
...
requesting a broadcast response, and we can unicast to a client without
using the ARP protocol, sent it directly to that client.'
Make some ARCS firmware happy.
Many thanks to Ted Lemon for debugging this.
1999-12-07 23:23:16 +00:00
wennmach
914178b225
code.c is no longer used, we use strsvis instead. Removed prototypes
...
from extern.h
1999-12-07 18:42:06 +00:00
mrg
5b6d0e7e39
- add timeouts to displayq(), rmremote(), sendfile() and response(),
...
and use these timeout in the lpq, lpd and lprm programs.
these stop hung remote printers that accept tcp connections but do
not process jobs from hanging the whole system and letting the sysadmin
have a clue about what is going on with this rogue printer.
- add a -r flag to lpd to allow `of' filters for remote jobs.
i know there are ways around this, but i just don't care.
- add a -f flag to lpf to add missing carriage returns.
useful when printing UNIX files to an, eg, LaserWriter that wants CR's
as well as LF's in raw text. stair-stepped text is no fun.
- implement child process accounting: we just have a limit on the number
of children we can have (settable by the sysadmin), and we sleep when
this number is reached. this can reduce malicious not-so-malicious
attacks on the print server by a rogue remote client..
- use setproctitle() where appropriate so the sysadmin has a clue about
what each of the lpd's here are doing.
this was useful to help diagnose a problem (that the above child process
accounting change reduces the lossages of) where a rogue client was
attempting "lpq" operations on one stuck queue in rapid succession,
causing the lpd server to be extremely slow, due to the large number
of lpd processes running.
i have been running these changes in production for about a year.
1999-12-07 14:54:44 +00:00
ad
8ad73e9274
RCSID police.
1999-12-07 11:30:27 +00:00
lukem
bbd13d34a8
* don't dump core if run without args
...
* use strlcpy() instead of homegrown strnncpy()
* sort #includes
1999-12-07 10:42:12 +00:00
lukem
02bc52bd3e
remove unused STRNCPY macro
1999-12-07 10:37:57 +00:00
lukem
dda92ed7f3
missing ,
1999-12-07 10:25:33 +00:00
lukem
c7a4f3b509
use (c) instead of 8bit copyright symbol...
1999-12-07 10:14:01 +00:00
simonb
837589f349
Fix up a few calls to usage().
1999-12-06 23:11:27 +00:00
simonb
e919f8db3f
Use FILES= to install example files instead of home-grown install rule.
...
Fix DPADD usage.
1999-12-06 22:52:18 +00:00
simonb
d193cbd060
Make this compile with WARNS=1.
1999-12-06 22:50:46 +00:00
simonb
faba922c92
Make ./etc/skel and ./usr/share/examples/usermgmt with mtree, and don't
...
create the directory in the user(8) Makefile.
1999-12-06 22:44:47 +00:00
simonb
a4bb8cea12
Make this compile with WARNS=1.
1999-12-06 22:29:02 +00:00
simonb
7506323401
Use LINKS+= not LINKS=.
1999-12-06 22:28:12 +00:00
agc
7beb00d627
Fix typos.
1999-12-06 21:39:20 +00:00
agc
af1b2fe493
Add SVR4/Solaris-like useradd/usermod/userdel functionality, and
...
groupadd/groupmod/groupdel functionality, along with two front-end
utilities, user(8) and group(8).
Based on the addnerd package, but most of the interface has been
completely rewritten, and suggestions from simonb and mrg have been
incorporated.
1999-12-06 21:31:42 +00:00
itojun
4ba0077ac0
be more friendly with non-IPv6 kernel.
1999-12-06 01:26:26 +00:00
jdolecek
5986e9b6ee
main(): g/c variable errs accidentaly introduced in last commit, rename
...
'i' to 'opt'
1999-12-05 22:22:05 +00:00
jdolecek
0e29a42af3
Change the formatting of output so that entries with host:user longer than
...
24 characters would be displayed correctly.
Fixes bin/8880 by Brian Stark <bstark@uswest.net>.
While here, convert code to use getopt(3) and do some const poisoning.
Also g/c variables uid and euid, they are no longer needed after
the split of ../common_source/common.c
1999-12-05 22:18:40 +00:00
jdolecek
b86257129c
put fatal() and a some of variables used independantly of other functions
...
in common.c into separate files - this slighly cuts down size of pac(1)
not that it's really significant, but every bit counts ....
1999-12-05 22:10:57 +00:00
itojun
9d1c5f0b5c
IPv6 support in syslogd. actually we need library update as well.
...
NetBSD PR #8934 from Feico Dillema <dillema@acm.org> (with memory leak fix).
1999-12-02 16:17:29 +00:00
wennmach
e1bf4e526c
Use strunvis instead of homebrewed "decode" routine
1999-12-01 22:14:46 +00:00
wennmach
dff19e227b
Now that we have strsvis, use it.
1999-12-01 22:12:52 +00:00
hubertf
d11f27480e
Not without my handbag. (Forgot this in last commit)
1999-12-01 15:15:29 +00:00
hubertf
402f80b9da
- Comment code
...
- Minor re-indenting
- Fix printing of @ignore in pkg_info (did this ever work?)
- Fix installing of local wildcard dependencies (unused in main system)
- Fix deleting of packages that depend on wildcard dependencies
(fexist() is not enough there :-)
1999-12-01 14:51:50 +00:00
hubertf
28f1032831
Document the current round of the game. :-)
1999-12-01 05:08:34 +00:00
hubertf
2b494f847d
Don't be verbose unnecessarily. (Instead, just remove this stale debug
...
code)
1999-12-01 05:08:10 +00:00
sommerfeld
772dc3bc64
nope, those are unsigned long longs; correct accordingly..
1999-12-01 03:40:51 +00:00
sommerfeld
71b188db88
Render LL128-safe (fixing printf formats)
1999-11-30 21:13:46 +00:00
veego
5ceefc298e
Backout the last change.
1999-11-30 20:34:51 +00:00
veego
626fb4bb79
ndc is now a binary so we don't need the 'exec' anymore.
1999-11-30 20:18:11 +00:00
sommerfeld
3e6c42c11a
Bugfix: deal with ${CC} containing spaces.
1999-11-30 18:28:16 +00:00
ad
73f0c424f5
- Fix location of RCS Id string.
...
- It's now syslogd.pid, not syslog.pid.
1999-11-30 12:08:49 +00:00
hubertf
ecf89794f5
Put support for @src back in.
...
For users who use private packages that use it. (Hi Bill!)
1999-11-29 20:09:54 +00:00
hubertf
406791739c
Add code to include the size of a package into both the
...
installed version and binary packages. The size can be queried then
via pkg_info:
xfeyrer @ noon% pkg_info -s xv
Information for xv-3.10apl1:
Size of this package in bytes: 4670692
xfeyrer @ noon% pkg_info -S xv
Information for xv-3.10apl1:
Size in bytes including required pkgs: 14610165
While doing work on the size code, support for the @src directive was
removed (formerly enabled with the pkg_create -s switch, but unused in
our pkg system). The new pkg_info -s and -S switches were tested on
installed, local (file) and remote (ftp) packages.
In bsd.pkg.mk, take special care for pkg_* versions that do not have
the pkg_create -s and -S switches and do not record size information
there.
1999-11-29 19:48:44 +00:00
itojun
879146211f
align stat results better.
1999-11-29 13:53:00 +00:00
itojun
0641b08184
add cnwctl(8), a control program for cnw interface.
...
from bsdi/freebsd-pao cnwctl(8).
1999-11-29 12:55:06 +00:00
itojun
876c4c29f7
cnw driver controller, from FreeBSD/PAO2 repository
1999-11-29 12:32:17 +00:00
veego
9f3c20bc0f
Use the libc md5 function.
1999-11-28 17:39:06 +00:00
veego
5e5665ea10
Remove commented lines which are not used here.
1999-11-28 17:02:27 +00:00
veego
ff8362d781
Install named.conf again into /usr/share/examples/named.
...
Somehow it vanished when I updated the bind version.
1999-11-28 16:58:16 +00:00
lukem
683d885daf
more gracefully detect _NG_ERROR
1999-11-28 04:40:21 +00:00
mrg
6663793e96
add some debug messages.
1999-11-27 14:51:49 +00:00
simonb
da434805dc
Remove update(8) now that we have trickle-sync.
1999-11-25 01:20:27 +00:00
itojun
ad663a8d32
refrain using non-standard .Sh. use .Ss.
1999-11-21 17:28:23 +00:00
veego
f038a8aeeb
Add the missing all-named-xfer all-ndc: all-named target.
1999-11-21 16:55:23 +00:00
itojun
395f032639
s/make/${MAKE}/
1999-11-21 16:46:33 +00:00
itojun
b7a7f5becf
use print-objdir instead.
...
Suggested by: tsubai
1999-11-21 16:39:54 +00:00
itojun
5d6d47c96c
fix compilation of named-xfer and ndc, when you do "make obj" (including
...
"make build" from the top).
XXX
if you do "make obj", you have to reference:
bind/named/obj/pathnames.h
from either of them by using relative path:
${.OBJDIR} = bind/named-xfer/obj or
${.CURDIR} = bind/named-xfer
-I${.OBJDIR}/../named was included but is not the correct one.
I used -I${.CURDIR}/../named/obj, but I'm not sure if it is the right way.
1999-11-21 16:26:03 +00:00
veego
b4f26a2c2c
Ups, remove the LDSTATIC which was only there for tests.
1999-11-20 20:42:39 +00:00
veego
3c25783fec
Use the bind source from basesrc/dist/bind.
1999-11-20 19:47:10 +00:00
abs
3214d69367
Our db btree(3) implementation is tuned for ordered insertion, so pipe
...
through sort before makedbm.
This drops Erik Rungi's <rungus@openface.ca> passwd.byname generation for
3000 entries from 25-30 seconds down to 0.75 seconds.
1999-11-19 16:55:25 +00:00
bouyer
689cdcf64b
Adapt printf formats for 64bit counters.
1999-11-19 10:45:23 +00:00
mrg
b016d0483c
fix MKSHARE=no
1999-11-19 04:20:14 +00:00
enami
82d7115cf2
Don't pass so many args to .Nd macro. It just overflows.
1999-11-19 01:12:39 +00:00
kristerw
2220c68654
Typos (from OpenBSD)
1999-11-18 19:02:31 +00:00
enami
2ca792df74
- Sync mount options and vnode flags with reality.
...
- Use i_e2fs_rdev.
- Print per filesystem data only if an inode is associated to the vnode.
1999-11-18 08:34:38 +00:00
enami
041d1aa9b5
Cosmetic changes; fix indentation and usage of white spaces.
1999-11-18 08:27:39 +00:00
enami
c1fd241001
The field to print vnode tag isn't necessary so wide.
1999-11-18 03:08:38 +00:00
fredb
60fae50bc1
Don't preserve uids or permissions of checked out files (MTREE, DEINSTALL,
...
INSTALL) into package tarballs. Files installed by the package itself are
not affected.
1999-11-18 02:05:16 +00:00
jonathan
436062d739
Update to 4.0.98f. fix last remaining references to xntp.
1999-11-16 03:53:21 +00:00
mjl
f214fa323a
From FreeBSD bin/14844 (slightly modified): Due to signed calculations
...
with the packet size, a short packet would trigger an infinite loop
on little endian machines.
1999-11-15 15:59:24 +00:00
mjl
2c3c567c94
From FreeBSD misc/14850: When communicating with a BOOTP server,
...
dhclient would fail to configure the interface and crash. Added check
for lease time option present before using that value.
1999-11-15 15:50:16 +00:00
sommerfeld
3fc2334c5d
After some light testing, it worked for me, so...
...
Commit mrg's fix from pr8791: don't un-export filesystems which are just going
to be re-exported; instead, do additions, then deletions.
1999-11-14 14:37:16 +00:00
wennmach
5677540edf
Add __RCSID()
1999-11-12 14:42:35 +00:00
abs
9c1ad975e8
Check return value from realpath() to avoid a NULL pointer being passed to
...
alloc_lpkg(). Avoids coredump if current directory is invalid.
1999-11-10 18:51:47 +00:00
drochner
b12f1e565f
print a nicer error message if a screen is already configured
1999-11-10 16:34:58 +00:00
wennmach
7b5b69d3cb
Add RCS tag
1999-11-09 22:41:53 +00:00
drochner
85cbf55d16
Since our gcc doesn't warn about NULL format strings anymore, we can
...
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
drochner
68062ca8dc
prototype encode()/decode()
1999-11-09 10:16:55 +00:00
wennmach
7db0eb0492
Encode file names using strvis(3) when creating a specification.
...
Escape white space characters and `#' characters. Do the inverse
when reading specs.
This is a temporary fix until we have strzouvis(3) (or some such)
which is an improved version of strvis (taking an additional list
of characters to encode).
Fixes PR 5006 and PR 7663
1999-11-07 20:23:01 +00:00
erh
6752f572d8
Remove ELFNAME defines since they are defined in sys/exec_elf.h
1999-11-04 02:00:17 +00:00
hwr
e00fb667a6
Change bogus section headers. From PR 8735.
1999-11-03 21:44:37 +00:00
lukem
1e0635835d
fix title. noted by Danny Thomas <D.Thomas@cmcb.uq.edu.au> in [bin/8734]
1999-11-02 10:30:38 +00:00
veego
09d42ef262
Use BIN{OWN,GRP,MODE} to create the directory and not DOC{OWN,GRP,MODE}.
1999-10-31 22:46:17 +00:00
is
6f86d72282
Document the callback option, in a way similar to what John A. Maier
...
suggested in PR 8550.
1999-10-28 09:41:56 +00:00
kleink
522cbf0248
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
1999-10-25 13:55:06 +00:00
veego
10a4c3c374
Updated to the new NetBSD source layout with basesrc and syssrc.
...
Apply the MKMAN and MKSHARE changes which someone changed in the Makefiles
but did not apply them here.
Add the mediaone example.
Changes for the new ipfilter version 3.3.3.
1999-10-24 19:56:31 +00:00
msaitoh
dac65e51e9
skip check if the output database file name != "/var/db/kvm.db"
1999-10-23 04:02:09 +00:00
hannken
5fb16f4d15
Undo last change. While these macros are defined in exec_elf.h, they are
...
enclosed by `#ifdef _KERNEL'.
1999-10-22 10:58:00 +00:00
erh
59b90d4a0e
Remove ELFNAME macros which are already defines in exec_elf.h
1999-10-21 21:17:08 +00:00
jonathan
44249bfade
*** empty log message ***
1999-10-21 02:46:21 +00:00
erh
c98f493f90
Fix arguments to printf string. Was causing a crash on out of range mtu settings.
1999-10-14 18:29:02 +00:00
jdolecek
1374533c20
document ddb.fromconsole & DBCTL_FROMCONSOLE, description taken from options(4)
1999-10-14 09:33:51 +00:00
jonathan
88beeca68b
Perl script to aid importers of ntp-4.x (replaces xntp)
1999-10-13 22:18:53 +00:00
sjg
872404ddf2
avoid warnings from gcc about x possibly being uninitialized
1999-10-11 12:40:12 +00:00
sjg
6c501163d3
missing P in \fP
1999-10-11 12:37:43 +00:00
mrg
f01ad921fa
notice "dty" as well as "tty".
1999-10-11 11:44:59 +00:00
mrg
7ca673b24b
add a (long) cast to previous fix like the other arguments.
1999-10-10 00:15:27 +00:00
hubertf
4fa18183d7
Install example dhcpd.conf into /usr/share/examples/dhcp
1999-10-09 15:33:36 +00:00
msaitoh
0fcbe067c6
s/ the the / the /
1999-10-08 20:13:42 +00:00
msaitoh
e73ef7c8bf
s/ a a / a /
1999-10-08 19:55:43 +00:00
ad
d3f47cfba9
A colon is the preferred way to split a user and group name pair; make this
...
possible and depreciate the use of dot.
1999-10-06 21:54:10 +00:00
ad
29836f5681
When reporting on group quotas, don't label the first column with "User".
1999-10-06 12:17:31 +00:00
mycroft
c960d1da4a
Adjust this to work on the Alpha.
1999-10-06 07:20:20 +00:00
is
a7c7586cf6
First part of ARCnet support.
...
Matching for anything won't work (as we need to teach the stuff about
variable length link level headers), but printing is fine.
1999-10-05 20:37:21 +00:00
mycroft
357cd6197f
Make this work on file systems larger than 2GB.
1999-10-05 03:14:28 +00:00
proff
e09818f9fd
Apply Force (-f) recursively
1999-10-04 17:16:59 +00:00
soren
bcc362ca92
Account for widening of the v_usecount member in struct vnode.
1999-10-01 23:11:24 +00:00
sjg
dbb9ca2738
Add printing of TELNET options (with -v) and hex/ascii (-X).
...
Thanks to Alan Barrett for the simpler hexdump code and testing.
Tested on -current and 1.4.1.
1999-09-30 14:49:12 +00:00
soren
30d18a154c
Remove extraneous colons and newlines from perror(3) arguments.
1999-09-30 12:35:52 +00:00
bouyer
1679d2b98e
Add handling of the proc hierarchy. Document it, as well as kern.defcorename.
1999-09-28 14:48:48 +00:00
kleink
3e833f70b4
Need <sys/param.h> for MAXHOSTNAMELEN.
1999-09-26 10:40:32 +00:00
mrg
23b9fac082
delint and other cleanups.
1999-09-26 10:32:27 +00:00
kleink
99c164dd65
Need <sys/param.h> for MAXHOSTNAMELEN.
1999-09-26 10:27:40 +00:00
msaitoh
c67cb58b47
add "-o database" option to specify alternate database file path.
1999-09-24 20:08:08 +00:00
hubertf
1f6247c83d
Add some sanity checks on what pkgdb_retrieve() returns.
...
Noted by D'Arcy J.M. Cain <darcy@druid.druid.net> on current-users.
1999-09-24 14:39:44 +00:00
enami
8e1cda20c6
Fix the path of ioconf.incl.$MACHINE using sourcepath(). This is part
...
of PR#8369. Also, make sure that the file pointer ifp is always closed.
1999-09-24 04:48:37 +00:00
enami
532da8eb1c
Remove redundant declaration of firstfile().
1999-09-24 04:23:36 +00:00
tron
7469644d8f
Replace place holders (e.g. "@CMD_EXT@") with correct values for NetBSD.
1999-09-23 19:38:10 +00:00
ws
b47ad60693
Correct handling of extended partitions within extended partitions.
...
Problem found and new program tested by Reinoud.Koornstra@ibbnet.nl .
While here, add support for Linux extended partitions.
1999-09-23 15:21:12 +00:00
ws
b17a1042ba
Allow mutual dependencies.
...
Output string-valued options reasonably to option files.
1999-09-22 14:23:03 +00:00
is
54e4d2fc26
Fix grammar, as pointed out by Olaf Seibert.
1999-09-21 15:50:19 +00:00
mason
6b7a2b3594
Fixed typo. (invalud -> invalid)
1999-09-21 01:13:50 +00:00
kleink
8753f5a3c6
Add trailing newline to usage string.
1999-09-20 15:01:36 +00:00
itojun
f7c22e9eaa
fix internal servers (like echo) so that they can accept AF_INET6 connections.
...
add AF_INET6 support for port_good_dg().
1999-09-15 09:59:41 +00:00
mason
164b1b9275
Fixed grammatical error. "Allows to call" -> "Allows calls to"
1999-09-13 19:04:35 +00:00