aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-02-18 09:05:28 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-02-18 09:05:28 +0000
commit7379c7f0347bc9bbd56061b9e7bc8a1527d35532 (patch)
tree85d1a8a621190cb8d2272ee75e4d9854f8be34d8 /Tools
parentae0d1702e94add7f789f0b64850aa5d28eaba06e (diff)
downloadports-7379c7f0347bc9bbd56061b9e7bc8a1527d35532.tar.gz
ports-7379c7f0347bc9bbd56061b9e7bc8a1527d35532.zip
Notes
Diffstat (limited to 'Tools')
-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 32b1f38b4da4..0d61b36fcffc 100755
--- a/Tools/portbuild/scripts/portbuild
+++ b/Tools/portbuild/scripts/portbuild
@@ -129,12 +129,12 @@ unset MAKEFLAGS
unset PORTSDIR
export SRCBASE=/usr/src
-# wait 1 hour before killing build with no output
+# wait 2 hours before killing build with no output
export TIMEOUT=7200
-# to prevent runaway processes -- 300 meg file size limit, one hour CPU limit
-ulimit -f 614400
-ulimit -t 3600
+# to prevent runaway processes -- 400 meg file size limit, 2 hours CPU limit
+ulimit -f 819200
+ulimit -t 7200
# directories to clean
cleandirs="${LOCALBASE} ${X11BASE} /compat /var/db/pkg"
@@ -311,7 +311,7 @@ if [ "${error}" = 0 ]; then
if [ "${use_jail}" = 1 ]; then
ifconfig lo0 alias 127.${ip1}.${ip2}.${ip3}/32
- jail -J ${chroot}/tmp/jail.id ${chroot} jail-${chrootpid} 127.${ip1}.${ip2}.${ip3} /usr/bin/env HTTP_PROXY=${http_proxy} /usr/bin/nice -n $nice /buildscript ${dirname} 2 "$ED" "$PD" "$FD" "$BD" "$RD" > ${chroot}/tmp/${pkgname}.log2 2>&1
+ jail -J ${chroot}/tmp/jail.id ${chroot} jail-${chrootpid} 127.${ip1}.${ip2}.${ip3} /usr/bin/env JAIL_ADDR=127.${ip1}.${ip2}.${ip3} HTTP_PROXY=${http_proxy} /usr/bin/nice -n $nice /buildscript ${dirname} 2 "$ED" "$PD" "$FD" "$BD" "$RD" > ${chroot}/tmp/${pkgname}.log2 2>&1
ifconfig lo0 delete 127.${ip1}.${ip2}.${ip3}
else
chroot ${chroot} /usr/bin/nice -n $nice /buildscript ${dirname} 2 "$ED" "$PD" "$FD" "$BD" "$RD" > ${chroot}/tmp/${pkgname}.log2 2>&1