FS#37743 - makepkg does not use SVN proxy configuration

Attached to Project: Pacman
Opened by Michael (Zrax) - Tuesday, 12 November 2013, 19:17 GMT
Task Type Bug Report
Category makepkg
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.1.2
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 6
Private No

Details

Summary and Info:
For sources cloned from SVN repositories, makepkg currently creates a local configuration directory (<svnrepo>/.makepkg), which causes subversion to initialize the directory with default config files. Any proxy configuration in ~/.subversion is ignored, meaning that networks which require a proxy server to access external URLs will not be able to fetch the subversion sources.

Adding the proxy config manually to the created .makepkg directory and then performing the svn commands by hand, or removing the --config-dir "$dir/.makepkg" option from the download_svn function in makepkg itself both allow the SVN checkout to successfully checkout through the proxy server.


Steps to Reproduce:
0) Be in a network that requires a proxy server for HTTP traffic :(
1) Set up a proxy in ~/.subversion/servers
2) Attempt to build a package which has SVN sources (in my case, I was building lldb-svn-193092-2 from the AUR)
This task depends upon

Comment by Christophe RĂ©quillart (crequill) - Tuesday, 05 May 2015, 08:53 GMT
Same problem with pacman 4.2.1-1. As Michael said, if a proxy is configured in ~/.subversion/servers removing the --config-dir "$dir/.makepkg" option from the download_svn function in /usr/bin/makepkg allow the SVN checkout to successfully checkout through the proxy server.
Comment by ilya (leniviy) - Monday, 08 August 2016, 07:17 GMT
Still not fixed in pacman 5.0.1-4

Loading...