From dc26cbf0be7040f4f84892b4b43dd86e2bebef3a Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 11 Dec 2005 04:40:27 +0000 Subject: [PATCH] Bump the file size limit to 300MB now that openoffice distfiles exceed 256MB. Clarify a comment. --- Tools/portbuild/scripts/portbuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tools/portbuild/scripts/portbuild b/Tools/portbuild/scripts/portbuild index 8379105bd9b1..72fa76618691 100755 --- a/Tools/portbuild/scripts/portbuild +++ b/Tools/portbuild/scripts/portbuild @@ -194,8 +194,8 @@ unset PORTSDIR # wait 1 hour before killing build with no output export TIMEOUT=7200 -# to prevent runaway processes -- 256 meg file size limit, one hour CPU limit -ulimit -f 524288 +# to prevent runaway processes -- 300 meg file size limit, one hour CPU limit +ulimit -f 614400 ulimit -t 3600 # directories to clean @@ -267,9 +267,9 @@ echo "in directory ${chroot}" | tee -a ${chroot}/tmp/${pkgname}.log mkdir -p ${chroot}/a/ports rm -rf ${chroot}/usr/ports -# Don't build in a world-writable directory because some ports hardcode -# this path and try to load things from it at runtime, which is bad for -# user security +# Don't build in a world-writable standard directory because some ports +# hardcode this path and try to load things from it at runtime, which is +# bad for user security rm -rf ${chroot}/${WRKDIRPREFIX} mkdir -p ${chroot}/${WRKDIRPREFIX}