Changeset 2234 in ProjectBuilder for devel/pb/bin
- Timestamp:
- Jun 27, 2017, 3:32:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r2232 r2234 619 619 verpmtype default = rpmbootstrap 620 620 621 You may also choose to specify a mirror for the OS packages, and optionally http/ftp proxies. You can specify the proxies either through environment variables ($http_proxy/$ ftp_proxy) or in the configuration file. The configuration file will be used if no corresponding environment variable has been set. For example, for debian and with a local squid proxy:621 You may also choose to specify a mirror for the OS packages, and optionally http/ftp proxies. You can specify the proxies either through environment variables ($http_proxy/$https_proxy/$ftp_proxy) or in the configuration file. The configuration file will be used if no corresponding environment variable has been set. For example, for debian and with a local squid proxy: 622 622 623 623 rbsmirrorsrv debian = http://mirrors1.kernel.org/debian/ 624 624 http_proxy default = http://localhost:3128/ 625 https_proxy default = http://localhost:3128/ 625 626 ftp_proxy default = http://localhost:3128/ 626 627 … … 3389 3390 print SCRIPT "export http_proxy=\"$ENV{'http_proxy'}\"\n"; 3390 3391 } 3391 3392 if (defined $ENV{'https_proxy'}) { 3393 print SCRIPT "export https_proxy=\"$ENV{'https_proxy'}\"\n"; 3394 } 3392 3395 if (defined $ENV{'ftp_proxy'}) { 3393 3396 print SCRIPT "export ftp_proxy=\"$ENV{'ftp_proxy'}\"\n"; … … 3858 3861 print SCRIPT << "EOF"; 3859 3862 # Keep proxy configuration while using sudo 3860 print PBOUT "Defaults:$pbac->{$ENV{'PBPROJ'}} env_keep += \\\"http_proxy ftp_proxy\\\"\\n";3861 print PBOUT "Defaults:root env_keep += \\\"http_proxy ftp_proxy\\\"\\n";3863 print PBOUT "Defaults:$pbac->{$ENV{'PBPROJ'}} env_keep += \\\"http_proxy https_proxy ftp_proxy\\\"\\n"; 3864 print PBOUT "Defaults:root env_keep += \\\"http_proxy https_proxy ftp_proxy\\\"\\n"; 3862 3865 EOF 3863 3866 }
Note:
See TracChangeset
for help on using the changeset viewer.