aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-12-11 12:40:27 +0800
committerkris <kris@FreeBSD.org>2005-12-11 12:40:27 +0800
commitb1f4789f56ab850030e9e37e6f77638b0db1825a (patch)
tree03f9a5c821c023188d18a460e0d42c85e1d56355
parenta5d4bb8426388ba8d6754a45e17f2e5f8fb70266 (diff)
downloadfreebsd-ports-gnome-b1f4789f56ab850030e9e37e6f77638b0db1825a.tar.gz
freebsd-ports-gnome-b1f4789f56ab850030e9e37e6f77638b0db1825a.tar.zst
freebsd-ports-gnome-b1f4789f56ab850030e9e37e6f77638b0db1825a.zip
Bump the file size limit to 300MB now that openoffice distfiles exceed
256MB. Clarify a comment.
-rwxr-xr-xTools/portbuild/scripts/portbuild10
1 files 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}