Commit Graph

9457 Commits

Author SHA1 Message Date
uebayasi
b833b11a50 Document -t (modify mtime). Bump date. 2010-01-20 13:50:27 +00:00
christos
e684a7b22f check if i is in range before using it. 2010-01-18 04:53:10 +00:00
drochner
23174fa441 Invert the flag bits to control module loading: rename
LOADMODULES->NOMODULES and READBOOTCONF->NOBOOTCONF.
This way, the default value (0) wired into old bootxx_* and installed
to file systems remains valid and we avoid problems on partial updates.
2010-01-17 14:54:43 +00:00
joerg
228bb419cc Use .%U for URLs instead of .%O. 2010-01-15 19:19:32 +00:00
drochner
79f027bbd6 On i386/amd64, define two flag bits in the boot parameters which control
whether modules are loaded and whether boot.cfg is evaluated, and
set both to "off" per default in the PXE bootloader.
Extend "installboot" to toggle the bits.
This way, pxeboot works with existing dhcp server setups (and as
described in the manpage) out of the box. Also, boot.cfg reading
involves a stat() call which is horribly inefficient with the
TFTP pseudo file system.
2010-01-14 17:49:31 +00:00
tsutsui
e5f39b5e90 Remove if defined(__RCSID) around __RCSID() macro.
#include "nbtool_config.h" is enough for tools.
2010-01-14 16:27:49 +00:00
pooka
ef38ca9933 Make r/w servers unmount themselves cleanly upon receiving SIGINT/TERM. 2010-01-12 18:43:37 +00:00
wiz
be1708fee6 Anon tells me it should be "on the order of", not "in the order of".
Hi marc!
2010-01-11 14:30:02 +00:00
wiz
be7ea74662 New sentence, new line. 2010-01-11 09:49:19 +00:00
mbalmer
ec0de7b4ec some wording fixes 2010-01-11 09:21:39 +00:00
mbalmer
06404c9d5f remove stupid casts. if lint complains about return values that are ignored,
lint should fe fixed, and not code being cluttered.
2010-01-10 19:40:11 +00:00
snj
34d0fbb3ff Add a missing semicolon. Noted by Tomasz Motyl in PR bin/42603. 2010-01-10 19:04:35 +00:00
joerg
4e2447c901 Don't leak two file descriptors in cp(). From Igor Zinovik.
Explicitly check the close for errors and bail out if needed.
2010-01-10 16:40:00 +00:00
mbalmer
89644c3065 Various language fixes.
From FreeBSD.
2010-01-09 10:43:11 +00:00
pooka
e828ea6b56 Fix compilation with -Wsign-compare. Apparently 5.0 doesn't have
-Wsign-compare enabled, which explains a thing or two ...

pointed out by gson
2010-01-08 10:53:31 +00:00
wiz
a9e00b2097 Don't be terse. 2010-01-07 23:35:45 +00:00
pooka
eac396bb5a errx() already contains progname ... 2010-01-07 21:26:49 +00:00
pooka
754f939dd3 Don't allow mangling of uid or gid -1, since they have a special
meaning in the sftp protocol.
2010-01-07 21:23:10 +00:00
pooka
6cd252da60 Fix chgrp (and don't rely on VNOVAL being -1, however unlikely that
is to be broken).
2010-01-07 21:19:45 +00:00
pooka
c4291c195a Add -u and -g, which allow to remap one (local,remote) uidgid, i.e.
umapfs without the fuss.
2010-01-07 21:05:50 +00:00
tsutsui
17ad8ece63 Add a sectorsize parameter member in struct ib_params and use it
where sector size (disk block size) is required, instead of
DEV_BSIZE constant which means device I/O block size.

"Looks reasonable" from dholland@, and fixes tools installboot(8)
on Cygwin where DEV_BSIZE != 512 as mentioned in PR toolchain/42555.
2010-01-07 13:26:00 +00:00
mbalmer
40406154b1 Fix typo in comment. 2010-01-06 06:30:37 +00:00
mbalmer
43f131c4e8 Only use an auto-determined interface if it is the only one in the system
that is up and running.  This change prevents wake(8) from picking an
arbitrary interface (which is possibly the wrong one).
2010-01-04 11:34:39 +00:00
wiz
f5e16a46b4 Capitalize Ethernet. 2010-01-03 19:04:26 +00:00
mbalmer
18af789290 Indicating the interface over which to send Wake on LAN frames is optional,
if the interface is not given on the command line, wake(8) will use the
first ethernet interface that is up and running.
2010-01-03 17:58:14 +00:00
wiz
31ac57e452 Fix previous: Dd argument and lost Em markup. 2010-01-01 21:44:07 +00:00
mbalmer
acf41ffe98 fold long lines. 2010-01-01 21:26:18 +00:00
wiz
e68a42515b Bump date for gid_range. 2009-12-31 20:14:19 +00:00
mlelstv
6ee63fe8b0 Add new keyword gid_range to usermgmt.conf which specifies a default
GID range for groupadd(8).
2009-12-31 19:59:31 +00:00
abs
564d9d15f0 Put "MAN= acpidump.8" back outside the i386/amd64 block so its in the
MI manpages, and non i386/amd64 setlists are correct again
2009-12-27 21:42:22 +00:00
christos
9a4b585a95 running postinstall fix should also say why fontconfig did not work, like
all other postinstall methods.
2009-12-24 21:52:57 +00:00
mbalmer
a72f71643d Fix typo in comments, no code change. 2009-12-23 09:17:40 +00:00
cegger
3b140d483b Import acpidump from FreeBSD per request from jmcneill@
Changes made in the port:
- adapt path to iasl from /usr/sbin/iasl to /usr/bin/iasl
- fix realpath() usage to accomplish NetBSD's behaviour
- use EXIT_FAILURE/EXIT_SUCCESS everywhere
- fix crash on corrupt DSDT file and print proper error message
- implemented additional ACPI table parsers for
  BERT, BOOT, CPEP, DBGP, EINJ, ERST, HEST, MSCT, SBST,
  SLIT, SPCR, TCPA, WAET, WDAT and WDRT
2009-12-22 08:44:03 +00:00
cegger
de1cae9a73 msg.txt 2009-12-22 08:44:02 +00:00
cegger
09f2089b95 Import acpidump from FreeBSD per request from jmcneill@
Changes made in the port:
- adapt path to iasl from /usr/sbin/iasl to /usr/bin/iasl
- fix realpath() usage to accomplish NetBSD's behaviour
- use EXIT_FAILURE/EXIT_SUCCESS everywhere
- fix crash on corrupt DSDT file and print proper error message
- implemented additional ACPI table parsers for
  BERT, BOOT, CPEP, DBGP, EINJ, ERST, HEST, MSCT, SBST,
  SLIT, SPCR, TCPA, WAET, WDAT and WDRT
2009-12-22 08:44:02 +00:00
mbalmer
9e1aa40062 Better wording. 2009-12-21 15:48:33 +00:00
mbalmer
0b145a4077 Fix synopsis to make it clear that at least one lladdr is required. 2009-12-21 08:42:39 +00:00
christos
0283f36219 PR/42486: Ed Ravin nfsd sometimes exits prematurely during port-scan fix
from freebsd bin 61084 applied (preserving errno properly). The accept
code should be merged.
2009-12-21 05:06:55 +00:00
nakayama
89f2cb29c8 Add xref to ofctl(8). 2009-12-19 23:10:57 +00:00
pooka
0ab737e1d6 add ranty rant about data storage in tmpfs 2009-12-17 14:06:38 +00:00
pooka
0446aae700 Call ukfs_part_release(). For completeness and educational value. 2009-12-13 21:16:54 +00:00
nakayama
1c54a66d99 System utilities, boot programs and kernel modules are machine
(port) specific not CPU, so use MACHINE not MACHINE_ARCH.
2009-12-13 05:01:32 +00:00
pooka
abcee849c9 This is linked against rumpnet_sockin, so it should not be linked
against rumpnet_netinet anymore.
2009-12-11 16:46:27 +00:00
kardel
142d831562 Merge ntp 4.2.4p8 2009-12-08 21:52:05 +00:00
mbalmer
74f49bc48d s/the the/the/ 2009-12-08 09:46:01 +00:00
dsl
111a678bed VNDIOCSET now returns a 64bit unsigned size.
Use compat ioctls if the kernel rejects the request.
Fixes PR/41873.
2009-12-06 16:35:16 +00:00
kiyohara
24a2c2d7c2 Add unistone. 2009-12-06 13:21:37 +00:00
kiyohara
4e74fe3282 Support Infineon UniStone (PBA31308).
from Gumstix's bluez-utils-hciattach-pba31308.patch.
  tested on Gumstix verdex-pro.
2009-12-06 12:55:46 +00:00
kiyohara
adcbe4e3eb Fix some bugs.
1. Remove O_NDELAY.  Please block it.  Or read() returns EAGAIN.
 2. We want data size.  header already read.
 3. Call errx().  errno(2) unspecified at now.
2009-12-06 12:47:37 +00:00
kiyohara
c7fee8db52 Check return values. 2009-12-06 12:31:07 +00:00
kiyohara
69144e751e Fix comment. CSR use BlueCore command. 2009-12-06 12:29:48 +00:00
pooka
70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
pooka
a1c4673949 Adapt ukfs users to the new ukfs_part interface. 2009-12-03 14:27:16 +00:00
pooka
3b493fbd05 remove unnecessary LDADD 2009-12-03 14:26:44 +00:00
mbalmer
9b182ae0ac s/the the/the/ 2009-11-22 18:45:27 +00:00
mbalmer
f0a888ee5f make sense 2009-11-22 18:43:27 +00:00
mbalmer
124961627e s/the the/the/ 2009-11-22 18:40:26 +00:00
roy
431f7b204e Use resolvconf(8) to manage /etc/resolv.conf 2009-11-21 07:53:59 +00:00
christos
6b6eea3c51 allow comparing v2 and v3 filehandles. 2009-11-19 22:27:26 +00:00
enami
29551a2991 Prevent sign extension when reading device number in ufs1 on disk inode
so that devname(3) correctly converts it to device filename.
2009-11-19 02:52:54 +00:00
drochner
86b474fa0d ANSIfy, sprinkle "const" 2009-11-17 18:58:07 +00:00
drochner
5fbc003349 ANSIfy partially 2009-11-17 18:37:45 +00:00
christos
e6f376b325 Fix pppd for ipv6 link-local addresses. Change the prefix length to 72 bits.
Thanks to Nagae Hidetake for providing patches and testing.
2009-11-14 04:47:03 +00:00
mishka
5da27c1396 The ippool(5) manpage mentions ippool.conf (which is also more common
name for config files) - add it to distribution. Per <hubertf> suggestion.
2009-11-13 09:51:13 +00:00
dyoung
2bd83a5fc2 Update date. 2009-11-06 20:51:43 +00:00
dyoung
95d78285f1 Teach ndp(8) about override_rtadv. 2009-11-06 20:51:19 +00:00
skrll
96092d9e00 Whitespace. 2009-11-06 15:41:58 +00:00
christos
225e9fc5c1 make this compile. 2009-11-06 15:36:55 +00:00
joerg
3e36bb3dce Drop __SCCSID. It is only of archeological interest. 2009-11-06 15:00:31 +00:00
chuck
a8036503d8 rev 1.18 un-covered some bugs:
1. add_interdomain and add_secure are optional... not all maps use these
    keys.  if we are unable to add them due to a YPERR_KEY (meaning they
    are not being used), then we should not flag this as a general error.

 2. if we have a failure (status <= 0) we unlink_db() the temp database
    as part of error handling.   but we should not overwrite our error
    status code with the return value from unlink_db() because if the
    unlink_db() works (likely true) than that success will wipe out our
    error code and the calling yppush will think we worked.
2009-11-05 21:26:25 +00:00
chuck
1f5ddb4eb6 in the case where ypbind is serving more than one domain (i.e.
not just the yp_get_default_domain() domain), we must remove
any old binding files from /var/yp/binding (BINDINGDIR) from
previous runs, or the non-yp_get_default_domain()'s will not
bind properly.   add a purge_bindingdir() function that basically
does "rm BINDINGDIR/*.[0-9]" at ypbind startup time.

example case of where this is an issue: bind a second (non-default)
domain.   ypbind will create and flock a /var/yp/binding/xxx.2
file for it.  stop and restart ypbind.  the old /var/yp/binding/xxx.2
file will remain from the previous run.   since it is not flock()'d
by the new instance of ypbind, libc functions like yp_master() will
fail without even bothering to talk to ypbind itself.   (and ypbind
is totally unaware of the old file...)
2009-11-05 19:34:06 +00:00
chuck
fd40ef4f59 yppush RPC is supposed to return yppush_status error/status codes
(e.g. YPPUSH_SUCC, YPPUSH_NOMAP, etc.).

Functions like yp_master, yp_order_host, yp_master_host, and
yp_match_host return YPERR-style error codes.  YPERR-style error
codes do not directly correspond to yppush_status codes, so it
is a bad idea to just directly YPERR codes into the yppush return
status value (it causes failing yppush runs to print confusing
error messages).

Change ypxfr.c to convert the YPERR codes to YPPUSH codes.
2009-11-05 15:23:55 +00:00
pooka
597f5b5581 Link fs components into binary instead of loading dynamically now
that it's possible (dependency handling changes to rumpuser_dl).
2009-11-05 14:17:07 +00:00
pooka
5866121c7c more lp64 it's-a-sign! fixes 2009-11-05 13:28:18 +00:00
pooka
07b61426de WARNS=2 (netsmb is not pointer-sign-confusion-lp64-clean) 2009-11-05 13:26:02 +00:00
pooka
1aa117e65e lp64 sign comparison 2009-11-05 13:09:56 +00:00
pooka
23517ba3a1 Need to p2k_init() (i.e. fork()) earlier to not lose threads created
in rump_init().
2009-11-05 12:00:18 +00:00
pooka
a91d18a45a pump up the WARNS to 4 2009-11-05 11:41:43 +00:00
pooka
de048bdaae const woes 2009-11-05 11:40:24 +00:00
joerg
13ed0794d0 Escape literal backslashes. 2009-11-02 00:35:32 +00:00
joerg
d1a4d78e86 Drop undefined macros. 2009-11-02 00:33:34 +00:00
joerg
02c40990a1 Drop ".i0", it is an undefined macro. 2009-11-02 00:29:04 +00:00
joerg
fa47d7aeec Fix markup. 2009-11-01 20:25:57 +00:00
jakllsch
87dcea5d47 Use documentation prefix.
Drop trailing whitespace.
Remove repeated word.
Bump date.
2009-11-01 15:19:19 +00:00
jakllsch
691255789a Use documentation prefix. 2009-11-01 15:17:59 +00:00
christos
53a85f7e1b add -DROUTEINFO 2009-10-31 22:32:51 +00:00
christos
2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
christos
ffd8793875 no need for YY_NO here. 2009-10-29 14:41:02 +00:00
christos
ca70685cf2 option noinput nounput 2009-10-29 14:40:09 +00:00
christos
e5f4435e87 option noinput 2009-10-29 14:39:23 +00:00
christos
aecc92ac3d option noinput nounput 2009-10-29 14:38:37 +00:00
christos
a4ac032926 no unput 2009-10-28 22:49:38 +00:00
christos
2f78b1a39a no unput 2009-10-28 22:37:50 +00:00
christos
6e36ff926d PR/42239: M. Levinson: paxctl(8) fails since binutils 2.19.1 upgrade
binutils-2.19.1 tries to create one note section for all adjacent loadable
note sections, instead of the old behavior where each note is in its own
section. The fix looks at the section headers instead of the program headers
for the note.
2009-10-27 16:27:47 +00:00
tsutsui
359ac4c562 A checksum value in alpha boot block is stored in little endian,
so use le64toh() to print it on the host tool.
While here, use consistent (unsignd long long) casts on printing it.
2009-10-26 14:26:25 +00:00
plunky
b04b174c48 after setting the L2CAP link mode in server mode, retrieve the kernels
interpretation of it and check specifically for auth when creating the
service record.
2009-10-25 19:28:45 +00:00
wiz
1675d276fa Bump date for previous. 2009-10-25 01:30:48 +00:00
jakllsch
96c2887e36 Renumber 6bone addresses to documentation prefix.
Fix broken URL for totd site.
Add reference to pkgsrc/net/totd.
2009-10-25 01:09:09 +00:00
plunky
f379f083fb use correct value for 10 Mbps 2009-10-24 20:06:42 +00:00
reed
2d0dbf5439 Change manpage reference from talkd to ntalkd.
(Man link does exist, but no binary.)
2009-10-24 12:23:47 +00:00