| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Submitted by: Jonatan B < onatan at gmail dot com >
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
segfaults on amd64
o while here correct printf formats for size_t args
Identified by: Pascal Hofstee
MFC after: 3 days
|
|
|
|
|
|
|
| |
PR: bin/83467
Submitted by: Dan Lukes <dan -at- obluda.cz>
Prodded by: glebius
MFC after: 3 days
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
|
|
|
|
| |
certain corrupt files.
Submitted by: liamfoy@dragonflybsd.org
Reported by: Nikolay Kalev, via freebsd-current
MFC after: 3 days
|
|
|
|
| |
Reported by: Steve Kargl <sgk@troutmask.apl.washington.edu>
|
| |
|
|
|
|
| |
anymore.
|
| |
|
|
|
|
|
|
|
| |
Note, that when cron(8) cannot create pidfile, it'll exit. I didn't
changed this behaviour, but its better to ignore errors other than
EEXIST, so daemon can be started on systems where /var/ file system
doesn't support locking (like NFS without rpc.lockd(8)).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
and Kevin Oberman for this work.
Submitted by: Kevin Oberman
Reviewed by: njl
Approved by: njl
|
|
|
|
|
|
|
|
|
|
| |
- Use pool.ntp.org servers where possible, thanks to
Chuck Swiger <cswiger at mac dot com> .
- Update list of Swedish NTP servers, thanks to
Fredrik Lindberg <fli+freebsd-current at shapeshifter dot se> .
PR: bin/75479
MFC after: 1 day
|
| |
|
|
|
|
| |
malloc(number).
|
|
|
|
|
|
|
|
|
| |
Trim trailing whitespace and comments before parsing, and skip empty lines.
Skip subvendor / subdevice entries (which start with two tab characters).
Change the scanf() format string to match any amount and type of whitespace
between the device ID and the description text.
MFC after: 3 weeks
|
| |
|
|
|
|
|
| |
PR: docs/85009
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Provide larger /, /var, and /tmp partitions (the last increase was
in 2001, and we now have both larger hard drives and more space-hungry
software.)
2. If there is enough space available, allocate extra space to /var
sufficient to store a crash dump.
On systems where harddrivesize > 3 * RAMsize + 10GB, the default sizes
will now be as follows:
swap RAMsize * 2
/ 512 MB
/tmp 512 MB
/var 1024 MB + RAMsize
/usr the rest (8GB or more)
On systems where harddrivesize > RAMsize / 8 + 2 GB, the default sizes
will be in the following ranges, with space allocated proportionally:
swap RAMsize / 8 -- RAMsize * 2
/ 256 MB -- 512 MB
/tmp 128 MB -- 512 MB
/var 128 MB -- 1024 MB
/usr 1536 MB -- 8192 MB
On systems with even less disk space, the existing behaviour is not
changed.
Approved by: re (kensmith)
MFC after: 1 day
(or once people stop arguing about colours of paint)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in sysctl_jail_list(). Because of this, jls(8) could enter into
an endless loop. The strange thing is, that we can call jls(8) while
the other one is in loop and it will succeed - SYSCTL_OUT() will
not return ENOMEM there.
Maybe SYSCTL_OUT() returns first ENOMEM, because there is no memory,
but is marking some memory range as wired even on failure and another
SYSCTL_OUT() calls are not going to succeed, because process exceeds
limit of wired memory? ENOVMCLUE.
Anyway. Fix jls(8) to ignore ENOMEM and retry only 4 times.
Submitted by: Niklas Saers
PR: kern/79245
MFC after: 3 days
|
|
|
|
| |
Suggested by: dougb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
missing from ${WORKDIR}/files/.
This bug was caused by the astonishing interaction of "return" and
pipelines; in the following code, the "return" does not exit the
function, but instead exits the subshell which was spawned for the last
element of the pipeline; consequently, the output produced is "foo".
foo() {
echo bar | while read baz; do
if [ ${baz} = "bar" ]; then
return 1
fi
done
echo foo
}
Reported by: simon
|
|
|
|
|
|
|
|
|
| |
- Bump document date for recent updates.
- Use .Fx for FreeBSD.
- Remove EOL whitespace.
- Start new sentences on new lines.
Reviewed by: cperciva
|
|
|
|
|
|
|
|
|
| |
"portsnap fetch update" or "portsnap -I cron update". They will be
executed in the order that they appear, and duplicates are not removed
(so "portsnap fetch fetch fetch fetch" is meaningful, albeit rather
silly).
Requested by: Roman Divacky
|
|
|
|
|
|
|
| |
missed this when I changed the stats code in the ports -> base
transition.
Pointed out by: simon
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
we want the exit code, but not the actual output; add a redirect to
/dev/null.
Pointy hat to: cperciva
|
|
|
|
|
|
|
|
|
|
|
| |
change the permissions. Failures are still recorded.
This allows mtree to do a generally better job of things when uid != 0.
Sponsored by: ActiveState/Sophos
Partially submitted by: neilw at ActiveState dot com
Reviewed by: neilw at ActiveState dot com
MFC after: 3 weeks
|
| |
|
|
|
|
|
|
|
| |
exit early; this avoids spending five seconds rebuilding the INDEX
files.
Requested by: somebody on IRC, but I can't remember who
|
|
|
|
|
| |
Submitted by: suz
Obtained from: KAME
|
|
|
|
| |
Reported by: stefanf
|
| |
|
|
|
|
|
| |
Submitted by: Roman Divacky (who did a very complete review of both
make_index.c and phttpget.c)
|
|
|
|
| |
because OFF_MAX wasn't defined on FreeBSD 4.x.
|
|
|
|
|
|
|
|
|
| |
from the port number (if any exists). This unbreaks
env HTTP_PROXY="http://localhost:3128/" portsnap fetch
While I'm here, list both the host and the port in the error message
output if getaddrinfo() fails, since either of them could be responsible
for the failure.
|
|
|
|
|
|
|
|
|
|
| |
than what we already have" message. [1]
When operating with the undocumented --debug option, replace "xargs
phttpget" with "xargs -t phttpget", since that might conceivably help
debugging.
Noticed by: simon [1]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fast, lightweight, and generally good way for users to keep their
ports trees up to date.
This is version 0.9.4 from the ports tree (sysutils/portsnap) with
the following changes:
1. The experimental pipelined http code is enabled. No seatbelts
in -CURRENT. (^_^)
2. The working directory has moved from /usr/local/portsnap to
/var/db/portsnap (as discussed on -arch two days ago).
3. Portsnap now fetches a list of mirrors (distributed as DNS SRV
records) and selects one randomly. This should help to avoid the
uneven loading which plagues the cvsup mirror network.
4. The license is now 2-clause BSD instead of 3-clause BSD.
5. Various incidental changes to make portsnap fit into the base
system's build mechanics.
X-MFC-After: 6.0-RELEASE
X-MFC-Before: 5.5-RELEASE
X-MFC-To: RELENG_6, RELENG_5, ports
discussed on: -arch and several other places
"yes please" from: simon, remko, flz, Diane Bruce
thinks this is a great idea: bsdimp
Hopes he didn't forget any files: cperciva
|
|
|
|
|
| |
Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
| |
it is running during installations. The vsystem() function does get
used after this happens (e.g. if you manually configure the network
interface and ask it to enable the interface) so it needs to be a
little smarter about whether it uses /stand/sh or /bin/sh.
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
| |
flags NIS entries as invalid.
MFC6 candidate
Submitted by: Bob Willcox <bob@immure.com>
PR: bin/82325 (but I used the patch from Bob).
|
|
|
|
|
| |
Reported by: cracauer
MFC after: 3 days
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: Roman Divacky
MFC after: 3 days
|