Xin LI
f32c4f1dbd
Actually fix the DHCP handling, by using more robust detection of DHCP
...
setting. While there, add some more debug messages explaining what is
happening, and some comments to improve readability.
Submitted by: ceri
2006-02-09 14:43:42 +00:00
Gleb Smirnoff
a47c388cce
Refuse to install invalid ARP entries.
...
Submitted by: Vitaliy Ovsyannikov <V.Ovsyannikov kr.ru>
2006-02-09 12:49:39 +00:00
Ceri Davies
b64ff0e36e
Remove attempts to use mknod.
...
Approved by: jhb
2006-02-07 11:34:41 +00:00
Xin LI
11d5abebd2
Attempt to fix DHCP address acquisition which was broken by rev. 1.133.
...
MFC After: 3 days
2006-02-06 06:49:57 +00:00
Ceri Davies
67e4c7efd5
Another update for reality: "dangerously dedicated" mode is now
...
achieved by hitting 'F', which is no longer undocumented.
PR: bin/92533
Submitted by: Rudolf Cejka <cejkar at fit.vutbr dot cz>
2006-02-06 00:06:39 +00:00
Ceri Davies
759d68677f
Correct a user-visible typo.
2006-02-05 18:57:01 +00:00
Ceri Davies
a8d7f86323
Gratuitous "typo in comment" fix.
2006-02-05 18:49:52 +00:00
Ceri Davies
9ca95cfad3
Bring these files somewhat into the present.
...
Perform some rewording while here.
Remove register.hlp, since the code that deals with it was removed
nearly 7 years ago.
2006-02-05 18:46:46 +00:00
Ceri Davies
f6ffc14649
Perform minor rewording and grammatical improvement. Add a missing Xr.
2006-02-04 22:17:38 +00:00
Robert Watson
344c91d1b2
Add a -A argument to mergemaster to allow explicitly specifying an
...
architecture to pass through to the underlying makefiles. This is
quite useful when building on an i386 box to populate an amd64 NFS
root.
Head nod: dougb
MFC after: 1 week
2006-02-04 18:24:06 +00:00
Warner Losh
d5e0beb486
Allow newer config versions to config older versions with the same
...
major number.
Reviewed by: ru@, jhb@, arch@ (a few months ago)
# this is subject to refinement based on experience.
2006-02-03 06:12:10 +00:00
Robert Watson
e97cfaadfb
Remove reference to auditon(8), this tool has been superseded by
...
auditd(8), and was committed in error.
Obtained from: TrustedBSD Project
2006-02-02 11:14:35 +00:00
Robert Watson
8d87990e51
Enable building of OpenBSM command line tools:
...
- audit(8) - audit subsystem management tool
- auditd(8) - audit trail and subsystem management daemon
- auditreduce(1) - audit trail reduction tool
- praudit(1) - audit trail printing tool
Could probably use a NO_AUDIT make.conf flag.
Obtained from: TrustedBSD Project
2006-02-02 10:15:30 +00:00
Joel Dahl
fbf9b468d5
Expand contractions.
2006-02-01 14:33:14 +00:00
Kirill Ponomarev
1a4eb4edac
Fix typo.
2006-01-29 20:30:55 +00:00
Joseph Koshy
10affec4aa
Use ".Pa" for path names.
...
MFC after: 3 days
2006-01-29 08:44:05 +00:00
Jung-uk Kim
b5b86d9583
- Hide 'incorrect geometry warning' in non-interactive mode. A user should
...
know what they are doing in non-interactive mode. Less scarier warning
goes to debugging info instead.
- Print sanitized geometry to debugging info.
2006-01-27 21:41:49 +00:00
Jung-uk Kim
910d8ea0aa
Add `mediaOpen' function. This function mounts selected media device.
...
For example, you can dynamically generate and load configuration file
depending on the hardware configuration with the following template:
mediaSetCDROM
mediaOpen
command='/dist/rescue/sh /dist/scripts/install.sh'
system
mediaClose
configFile=/tmp/generated.cfg
loadConfig
Now we have full access to files on the media before installation begins.
2006-01-27 21:00:31 +00:00
Colin Percival
b258da0fa9
Merge from accidental commit to RELENG_5:
...
Correctly identify the host and port values on a failed
getaddrinfo lookup.
2006-01-27 14:42:15 +00:00
Erwin Lansing
5bc32c2c2b
After changing hostres from libdisk to libgeom, it now compiles
...
and runs on amd64, so revert the stopgap from rev. 1.10
Approved by: harti
Hardware borrowed from: simon
2006-01-26 21:32:51 +00:00
Hartmut Brandt
4ecdfdcf91
Replace ki_ocomm by ki_comm. The former will go away.
...
Submitted by: Victor Cruceru <soc-victor>
Suggested by: Julian Elischer
2006-01-26 12:19:10 +00:00
Hartmut Brandt
1de368e2f2
Fix a bug in the processor load code: the wrong process was used to
...
get the inital processor load. Also fix compilation on sparc64 without NDEBUG.
2006-01-26 12:15:06 +00:00
Hartmut Brandt
c8203bd856
Fix false positives when searching for disks. Things like adv(4) are not
...
disks.
Submitted by: Victor Cruceru <soc-victor@>
2006-01-26 11:49:27 +00:00
Hartmut Brandt
e8689b4ce4
Fix the MIB to use libgeom instead of libdisk.
...
Submitted by: Victor Cruceru <soc-victor>
2006-01-26 10:13:32 +00:00
Xin LI
50385af97a
An old patch from Dan Lukes <dan at obluda.cz>:
...
+ Include netinet/in.h for ntohl()
* Since the return value was tested separately, cast the values to
size_t in order to shut up compiler warnings.
+ Raise WARNS= level to 6
PR: bin/71666
2006-01-23 13:55:32 +00:00
Colin Percival
66915bd926
Replace "fetch" with "fetch -r" when downloading the initial ~38MB
...
snapshot in order to avoid unnecessary re-downloading.
Remove the earlier "rm -f ${SNAPSHOTHASH}.tgz" to make this work.
Suggested by: Lars Engels
MFC after: 7 days
2006-01-22 23:48:07 +00:00
Matteo Riondato
f4c595b794
Honour the "uuid" directive in adduser.conf
...
PR: conf/87914
Approved by: philip (mentor)
MFC after: 3 days
2006-01-22 18:37:51 +00:00
Garance A Drosehn
616270cb21
Improve error-handling related to the fork() done to compress files after
...
they have been rotated. Among other things, use warnx() instead of warn()
for some messages where the value if errno is irrelevant to the problem
being reported.
MFC after: 5 days
2006-01-20 05:18:01 +00:00
Xin LI
b512f01068
Revert previous commit for now, which seems to have (re)introduced some
...
old bugs, as well as some unwanted side effects. I will do more
investigation and fix these issues first.
Pointed out by: dwmalone
2006-01-18 19:38:43 +00:00
Xin LI
4d115fef9e
Improves and cleanups over inetd(8):
...
- Teach inetd(8) about kqueue, originally implemented by jmg@[1].
- Use new C99 style function prototypes instead of K&Rs.
- Raise WARNS from 2 to 6
Glanced at by: ru
MFC After: 2 weeks
[1] http://people.freebsd.org/~jmg/inetd.kq.patch ,
http://people.freebsd.org/~jmg/inetd.kq.html
2006-01-18 07:47:46 +00:00
Colin Percival
afb9481259
Mention that the random time slept by "portsnap cron" is between 1 and
...
3600 seconds.
Suggested by: Niki Denev
MFC after: 3 days
2006-01-17 03:02:44 +00:00
Ceri Davies
7ac386ccec
Add ntp.cgi.cz.
...
PR: bin/90095
Submitted by: Jakub Chromy <hicks at cgi dott cz>
Approved by: jhb (proxy mentor)
MFC after: 3 days
2006-01-15 23:15:41 +00:00
Ceri Davies
d5d399e113
Preserve any additional arguments to ifconfig that were specified in the
...
DHCP case too.
PR: bin/74406
Approved by: jhb (proxy mentor)
MFC after: 3 days
2006-01-15 23:00:07 +00:00
Ceri Davies
c371d3ffd7
If sysinstall was used to configure an anonymous FTP area, it was
...
possible for information to be copied from the group file to the group
file in the FTP area. This patch based on a patch from Zak Johnson
<zakj at nox dot cx>.
PR: bin/25851
Submitted by: Ted Mittelstaedt <tedm at toybox punkt placo period com>
Approved by: jhb (proxy mentor)
MFC after: 3 days
MFC to: RELENG_5, RELENG_6
Security: Prevents possible group information leakage
2006-01-15 22:57:17 +00:00
Ceri Davies
80ed316e5c
Correct obsolete chown syntax.
...
PR: bin/90057
Submitted by: Charlie M. McDonald <BoredOutkast at yahoo punkt com>
Approved by: jhb (mentor by proxy)
MFC to: RELENG_5, RELENG_6
MFC After: 3 days
2006-01-15 22:42:38 +00:00
Florent Thoumie
34e703473c
- Change the exit message from "make cleandepend; make depend" to
...
"make cleandepend && make depend".
PR: bin/91765
Submitted by: Soeren Straarup <xride@x12.dk>
Approved by: cpercival
MFC after: 3 days
2006-01-14 08:12:25 +00:00
David E. O'Brien
f5eea0f5f2
Unbreak the AMD64 build by forgoing the 'snmp_hostres' functionality.
...
Approved by: harti
2006-01-13 02:09:15 +00:00
Jason Evans
609c1c6c22
Use posix_memalign() rather than assuming that malloc() provides adequate
...
alignment.
Approved by: markm (mentor)
2006-01-12 08:01:38 +00:00
Hartmut Brandt
6c5d6ce3dd
Fix build without -DNDEBUG.
...
Spotted by: obrien
2006-01-12 07:44:40 +00:00
David E. O'Brien
d1682a2c99
assert(3) is not used here.
2006-01-12 02:53:42 +00:00
Brooks Davis
582fa422ec
Update usage to reflect the fact that the -d -a now accepts -i <interface>.
...
Reminded by: ru
Pointy hat: brooks
2006-01-10 16:15:58 +00:00
Pav Lucistnik
c549166846
- Fix: documentation for -m option was inserted halfway thru the text of -l
...
option.
PR: docs/90359
Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
MFC after: 3 days
2006-01-10 16:03:37 +00:00
Brooks Davis
9896de5a67
/etc/crontab is similar enough to parse as correct if you run
...
"crontab /etc/crontab", but not the same format due to the who field.
Add some limited anti-foot-shooting support and refuse to load
/etc/crontab as someone's crontab. Users wishing shoot their foot in
this manner may copy /etc/crontab elsewhere. :)
MFC After: 1 week
2006-01-10 05:56:32 +00:00
Brooks Davis
0836985219
Allow the -i <interface> option with -d -a to allow all arp entries for
...
a given interface to be removed.
2006-01-10 05:17:16 +00:00
Florent Thoumie
61927b8299
Fix -r causing SIGSEGV due to parse_args() being called before font_current is set.
...
Approved by: krion
MFC after: 3 days
2006-01-09 19:54:28 +00:00
Florent Thoumie
cd2407daad
Add -K option to pkg_add and pkg_info.
...
This option saves packages to PKGDIR (if defined or current directory by default)
as they are downloaded.
Silent a warning when -n is used and package has a +DISPLAY file.
Approved by: krion
MFC after: 1 week
2006-01-09 18:27:21 +00:00
Hartmut Brandt
5348e773b2
Connect the HOSTRES MIB to the build.
2006-01-09 12:34:07 +00:00
Hartmut Brandt
d76947f322
msg
2006-01-09 12:33:45 +00:00
Kirill Ponomarev
ce036f4091
When using @cwd %%FOO%%, we must ensure to return in the original
...
prefix later, but doing so with @cwd %%OLDPREFIX%% (having
PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing
list. That's not really a problem when dealing with ports but that's
a problem with packages since pkg_add -p option only overrides the
first @cwd occurrence.
This patch allow us to use @cwd without any argument. If no
directory argument is given, it will set current working directory
to the first prefix given by the @cwd command.
PR: bin/77212
Submitted by: flz
2006-01-07 22:10:58 +00:00
Colin Percival
7e6b02f651
Make "portsnap extract" automatically create ${PORTSDIR} if necessary
...
instead of complaining that "Directory does not exist or is not
writable".
Suggested by: {tlp, siep} via IRC
MFC after: 1 week
2006-01-06 20:39:11 +00:00