You are not logged in.

#1 2015-02-11 20:42:55

peterp
Member
Registered: 2014-08-31
Posts: 7

makepkg - curl and proxy problem

Hello All!

I've got a problem with AUR package -> cntlm.
My ARCH works behind ISA proxy and some applications does not work with common solution: http_proxy=http://user:password@address:port etc.
To avoid the problem I found that I need to install cntlm, but unfortunately it is not available in pacman repositories(pacman is one of applications working with http_proxy).
I've downloaded cntlm from AUR but makepkg has returned error message that curl is not able to download sources of package (error 407 from proxy).
So, it there a possibility to install cntlm (besides manual compilation) on arch? Is there any possibility to fix curl problem?

Thanks in advance for your support!

Greetings,
Peter

Offline

#2 2015-02-11 21:06:42

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: makepkg - curl and proxy problem

Can you download the source files required by some other means (such as through the web browser?) into the folder where you extracted the tarball? If so, then you're all set.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2015-02-11 21:28:22

peterp
Member
Registered: 2014-08-31
Posts: 7

Re: makepkg - curl and proxy problem

I think it is possible, I will check it tomorrow.
So it means that if sources are available in build directory makepkg will omit that step and start build, is that correct?

Thansk!

Offline

#4 2015-02-11 23:06:17

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: makepkg - curl and proxy problem

makepkg will still check if everything is there, but if there are files with the names matching those in sources array makepkg will not download any.

EDIT: Typos

Last edited by bstaletic (2015-02-12 00:23:30)

Offline

#5 2015-02-11 23:29:39

progandy
Member
Registered: 2012-05-17
Posts: 5,203

Re: makepkg - curl and proxy problem

It should be able to fix your curl problem for each individual case where it is called. For makepkg you can modify the DLAGENTS array in /etc/makepkg.conf and add --proxy-ntlm to the http entry. Your proxy probably allows for other authentication methods, but makes problems if curl actually tries them.
http://curl.haxx.se/mail/lib-2012-03/0274.html


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2015-02-13 10:37:37

peterp
Member
Registered: 2014-08-31
Posts: 7

Re: makepkg - curl and proxy problem

@progandy
Thank you, I will check you suggestions.

Offline

Board footer

Powered by FluxBB