Package Details: perl-http-proxy 0.304-1

Git Clone URL: (read-only, click to copy)
Package Base: perl-http-proxy
Description: HTTP proxy
Upstream URL:
Licenses: GPL, PerlArtistic
Submitter: sputnick
Maintainer: sputnick
Last Packager: sputnick
Votes: 3
Popularity: 0.000000
First Submitted: 2010-04-03 23:11
Last Updated: 2017-05-25 10:09

Latest Comments

neowinx commented on 2020-02-03 15:40

As @rdoursenaud pointed out, the PKGBUILD needs to contain the patched version or the build doesn't work:


# Maintener: sputnick <gilles DOT quenot AT gmail DOT com>
# Generator  : CPANPLUS::Dist::Arch 0.18
pkgdesc="HTTP proxy"
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
makedepends=('perl-libwww' 'perl-test-simple')
source=("${pkgver}.tar.gz" "")

prepare() {
  cd "$srcdir/${_dist_dir}"
  patch --forward --strip=1 --input="${srcdir}/HTTP-Proxy-0.304-Support-IPv6.patch"

build() {
  export PERL_MM_USE_DEFAULT=1 export PERL_AUTOINSTALL=--skipdeps
  { cd "$_dist_dir" &&
    /usr/bin/perl Makefile.PL INSTALLDIRS=vendor &&
    make &&
    make test
  } || return 1

package() {
    cd "$_dist_dir"
    find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
    make DESTDIR="$pkgdir" install

rdoursenaud commented on 2019-05-22 12:42

The relevant patch has been posted there:

It's the same that is applied by Debian.

Please add it to the package.


andreagi commented on 2019-03-03 09:37

There is an issue on the dependency that prevents this package to successfully complete the test where the proxy is an IPv6 address. There are two different issues open on the libwww-perl tracker, see:

both the patches correct the file:


this line:

Carp::croak("Bad http proxy specification '$url'") if $url =~ /^https?:/ && $url !~ m,^https?://\w,;

with either:

Carp::croak("Bad http proxy specification '$url'") if $url =~ /^https?:/ && $url !~ m,^https?://(\w|[),;


Carp::croak("Bad http proxy specification '$url'") if $url =~ /^https?:/ && $url !~ m,^https?://[\w[],;

alessiotomelleri commented on 2018-09-24 08:54


problem still there...

t/20dummy.t ............... Bad http proxy specification .... line 80

@jcorthoefer if your patch works, could you upload it or simply show it ?!

thx in advance to everyone could help here. Alessio

sputnick commented on 2018-04-02 16:27

Latest commit b8065e8 on 16 Jun 2015

sputnick commented on 2018-04-02 16:25

If test fails, it's an upstream issue, not related to aur

astroty commented on 2018-04-02 14:44

Test 20dummy.t is still failing with the error:

t/20dummy.t ............... Bad http proxy specification 'http://[::1]:33485/' at t/20dummy.t line 80.

jcorthoefer commented on 2018-01-19 16:23

This package does not currently build nor do the tests work. I've added patches to at least let it build. I'll submit the diff file as soon as I figure out how to upload it.

Radar2 commented on 2017-12-15 09:05

Hi. Build breaks:

t/20dummy.t ............... Bad http proxy specification 'http://[::1]:46805/' at t/20dummy.t line 80.

Then it hangs indefinitely

bparmentier commented on 2017-01-05 11:30

.SRCINFO needs to be updated. It doesn't match PKGBUILD.