summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/bulk/build12
-rw-r--r--mk/bulk/build.conf-example6
2 files changed, 16 insertions, 2 deletions
diff --git a/mk/bulk/build b/mk/bulk/build
index d28f9e90b49..362961ce051 100644
--- a/mk/bulk/build
+++ b/mk/bulk/build
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: build,v 1.1 2000/09/15 22:05:47 hubertf Exp $
+# $NetBSD: build,v 1.2 2000/09/15 22:25:57 hubertf Exp $
#
# Do builk build
#
@@ -9,6 +9,16 @@
echo Bulk build started: `date`
echo ""
+if [ "$http_proxy" != "" ]; then
+ echo "Using HTTP proxy $http_proxy"
+ export http_proxy
+fi
+if [ "$ftp_proxy" != "" ]; then
+ echo "Using FTP proxy $ftp_proxy"
+ export ftp_proxy
+fi
+echo ""
+
# Pull in ADMIN:
if [ -f "$BULK_BUILD_CONF" ]; then
. $BULK_BUILD_CONF
diff --git a/mk/bulk/build.conf-example b/mk/bulk/build.conf-example
index a4780eb5bd5..5eff0a3de4a 100644
--- a/mk/bulk/build.conf-example
+++ b/mk/bulk/build.conf-example
@@ -1,5 +1,5 @@
# build.conf
-# $Id: build.conf-example,v 1.1 2000/09/15 22:05:47 hubertf Exp $
+# $Id: build.conf-example,v 1.2 2000/09/15 22:25:57 hubertf Exp $
#
# config file in /bin/sh syntax for {,pre,post}-build
#
@@ -26,6 +26,10 @@ USR_PKGSRC="/usr/pkgsrc"
# As which user to run "cvs updates"
CVS_USER="yourlogin"
+# Proxies (optional):
+#ftp_proxy=http://proxy.machi.ne:3128/
+#http_proxy=http://proxy.machi.ne:3128/
+
###########################################################################
### No changes should be needed below this line !!!
###########################################################################