[perl-ORLite-Mirror] add proxy support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit a201070e1f5ec75dd01bc7a611f09b1375a45023
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Tue May 10 05:47:56 2011 +0200

    add proxy support

 perl-ORLite-Mirror.spec     |    9 ++++++++-
 rt61795-proxy-support.patch |   11 +++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/perl-ORLite-Mirror.spec b/perl-ORLite-Mirror.spec
index e578068..00e6cde 100644
--- a/perl-ORLite-Mirror.spec
+++ b/perl-ORLite-Mirror.spec
@@ -1,11 +1,14 @@
 Name:           perl-ORLite-Mirror
 Version:        1.20
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Extend ORLite to support remote SQLite databases
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/ORLite-Mirror/
 Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/ORLite-Mirror-%{version}.tar.gz
+# add proxy support
+# https://rt.cpan.org/Public/Bug/Display.html?id=61795
+Patch0:         rt61795-proxy-support.patch
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::HomeDir) >= 0.69
@@ -38,6 +41,7 @@ arbitrary URI in read-only form as well.
 
 %prep
 %setup -q -n ORLite-Mirror-%{version}
+%patch0 -p 1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -62,6 +66,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue May 10 2011 Iain Arnell <iarnell@xxxxxxxxx> 1.20-4
+- add proxy support (rt #61795)
+
 * Tue Apr 26 2011 Iain Arnell <iarnell@xxxxxxxxx> 1.20-3
 - don't install the test stub.db
 
diff --git a/rt61795-proxy-support.patch b/rt61795-proxy-support.patch
new file mode 100644
index 0000000..19da45a
--- /dev/null
+++ b/rt61795-proxy-support.patch
@@ -0,0 +1,11 @@
+diff -up ORLite-Mirror-1.20/lib/ORLite/Mirror.pm.orig ORLite-Mirror-1.20/lib/ORLite/Mirror.pm
+--- ORLite-Mirror-1.20/lib/ORLite/Mirror.pm.orig	2010-01-28 08:24:31.000000000 +0100
++++ ORLite-Mirror-1.20/lib/ORLite/Mirror.pm	2011-05-10 05:52:55.000000000 +0200
+@@ -163,6 +163,7 @@ sub import {
+ 				agent         => $agent,
+ 				timeout       => 30,
+ 				show_progress => $show_progress,
++				env_proxy     => 1,
+ 			);
+ 		}
+ 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux