summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/biblatex-biber/files/biblatex-biber-1.7-remove-mozilla-ca.patch')
-rw-r--r--dev-tex/biblatex-biber/files/biblatex-biber-1.7-remove-mozilla-ca.patch186
1 files changed, 0 insertions, 186 deletions
diff --git a/dev-tex/biblatex-biber/files/biblatex-biber-1.7-remove-mozilla-ca.patch b/dev-tex/biblatex-biber/files/biblatex-biber-1.7-remove-mozilla-ca.patch
deleted file mode 100644
index baab95e..0000000
--- a/dev-tex/biblatex-biber/files/biblatex-biber-1.7-remove-mozilla-ca.patch
+++ /dev/null
@@ -1,186 +0,0 @@
-diff -urN biblatex-biber-1.7.orig/bin/biber biblatex-biber-1.7/bin/biber
---- biblatex-biber-1.7.orig/bin/biber 2013-07-04 01:29:20.000000000 +0400
-+++ biblatex-biber-1.7/bin/biber 2013-07-22 03:29:21.158897956 +0400
-@@ -67,7 +67,6 @@
- 'sortfirstinits=s',
- 'sortlocale|l=s',
- 'sortupper=s',
-- 'ssl-nointernalca',
- 'ssl-noverify-host',
- 'tool',
- 'tool_align',
-@@ -604,12 +603,6 @@
- using B<--fastsort|-f>, your OS collation locale determines
- this and this option is ignored (default is true).
-
--=item B<--ssl-nointernalca>
--
--Don't try to use the default Mozilla CA certificates when using HTTPS to fetch remote data.
--This assumes that the user will set one of the perl LWP::UserAgent module environment variables
--to find the CA certs.
--
- =item B<--ssl-noverify-host>
-
- Turn off host verification when using HTTPS to fetch remote data sources.
-diff -urN biblatex-biber-1.7.orig/Build.PL biblatex-biber-1.7/Build.PL
---- biblatex-biber-1.7.orig/Build.PL 2013-07-04 01:29:20.000000000 +0400
-+++ biblatex-biber-1.7/Build.PL 2013-07-22 03:33:11.986908081 +0400
-@@ -66,7 +66,6 @@
- 'Business::ISBN' => 0,
- 'Business::ISSN' => 0,
- 'Business::ISMN' => 0,
-- 'Mozilla::CA' => '20130114',
- 'perl' => '5.16.0'
- },
- recommends => {
-diff -urN biblatex-biber-1.7.orig/data/schemata/config.rnc biblatex-biber-1.7/data/schemata/config.rnc
---- biblatex-biber-1.7.orig/data/schemata/config.rnc 2013-07-04 01:29:20.000000000 +0400
-+++ biblatex-biber-1.7/data/schemata/config.rnc 2013-07-22 03:29:41.924898867 +0400
-@@ -157,7 +157,6 @@
- map+
- }+
- }? &
-- element ssl-nointernalca { "0" | "1" }? &
- element ssl-noverify-host { "0" | "1" }? &
- element tool { "0" | "1" }? &
- element tool_align { "0" | "1" }? &
-diff -urN biblatex-biber-1.7.orig/data/schemata/config.rng biblatex-biber-1.7/data/schemata/config.rng
---- biblatex-biber-1.7.orig/data/schemata/config.rng 2013-07-04 01:29:20.000000000 +0400
-+++ biblatex-biber-1.7/data/schemata/config.rng 2013-07-22 03:30:12.661900215 +0400
-@@ -531,14 +531,6 @@
- </element>
- </optional>
- <optional>
-- <element name="ssl-nointernalca">
-- <choice>
-- <value>0</value>
-- <value>1</value>
-- </choice>
-- </element>
-- </optional>
-- <optional>
- <element name="ssl-noverify-host">
- <choice>
- <value>0</value>
-diff -urN biblatex-biber-1.7.orig/lib/Biber/Input/file/biblatexml.pm biblatex-biber-1.7/lib/Biber/Input/file/biblatexml.pm
---- biblatex-biber-1.7.orig/lib/Biber/Input/file/biblatexml.pm 2013-07-04 01:29:21.000000000 +0400
-+++ biblatex-biber-1.7/lib/Biber/Input/file/biblatexml.pm 2013-07-22 03:31:00.149902298 +0400
-@@ -93,16 +93,6 @@
- $logger->info("Data source '$filename' is a remote .xml - fetching ...");
- if ($1) { # HTTPS
- # use IO::Socket::SSL qw(debug4); # useful for debugging SSL issues
-- # We have to explicitly set the cert path because otherwise the https module
-- # can't find the .pem when PAR::Packer'ed
-- if (not exists($ENV{PERL_LWP_SSL_CA_FILE}) and
-- not defined(Biber::Config->getoption('ssl-nointernalca'))) {
-- require Mozilla::CA; # Have to explicitly require this here to get it into %INC below
-- # we assume that the default CA file is in .../Mozilla/CA/cacert.pem
-- (my $vol, my $dir, undef) = File::Spec->splitpath( $INC{"Mozilla/CA.pm"} );
-- $dir =~ s/\/$//; # splitpath sometimes leaves a trailing '/'
-- $ENV{PERL_LWP_SSL_CA_FILE} = File::Spec->catpath($vol, "$dir/CA", 'cacert.pem');
-- }
- if (defined(Biber::Config->getoption('ssl-noverify-host'))) {
- $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
- }
-diff -urN biblatex-biber-1.7.orig/lib/Biber/Input/file/bibtex.pm biblatex-biber-1.7/lib/Biber/Input/file/bibtex.pm
---- biblatex-biber-1.7.orig/lib/Biber/Input/file/bibtex.pm 2013-07-04 01:29:20.000000000 +0400
-+++ biblatex-biber-1.7/lib/Biber/Input/file/bibtex.pm 2013-07-22 03:31:36.297903883 +0400
-@@ -134,16 +134,6 @@
- $logger->info("Data source '$source' is a remote BibTeX data source - fetching ...");
- if ($1) { # HTTPS
- # use IO::Socket::SSL qw(debug99); # useful for debugging SSL issues
-- # We have to explicitly set the cert path because otherwise the https module
-- # can't find the .pem when PAR::Packer'ed
-- if (not exists($ENV{PERL_LWP_SSL_CA_FILE}) and
-- not defined(Biber::Config->getoption('ssl-nointernalca'))) {
-- require Mozilla::CA; # Have to explicitly require this here to get it into %INC below
-- # we assume that the default CA file is in .../Mozilla/CA/cacert.pem
-- (my $vol, my $dir, undef) = File::Spec->splitpath( $INC{"Mozilla/CA.pm"} );
-- $dir =~ s/\/$//; # splitpath sometimes leaves a trailing '/'
-- $ENV{PERL_LWP_SSL_CA_FILE} = File::Spec->catpath($vol, "$dir/CA", 'cacert.pem');
-- }
- if (defined(Biber::Config->getoption('ssl-noverify-host'))) {
- $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
- }
-diff -urN biblatex-biber-1.7.orig/lib/Biber/Input/file/endnotexml.pm biblatex-biber-1.7/lib/Biber/Input/file/endnotexml.pm
---- biblatex-biber-1.7.orig/lib/Biber/Input/file/endnotexml.pm 2013-07-04 01:29:20.000000000 +0400
-+++ biblatex-biber-1.7/lib/Biber/Input/file/endnotexml.pm 2013-07-22 03:31:56.034904749 +0400
-@@ -112,16 +112,6 @@
- $logger->info("Data source '$source' is a remote EndNote XML datasource - fetching ...");
- if ($1) { # HTTPS
- # use IO::Socket::SSL qw(debug4); # useful for debugging SSL issues
-- # We have to explicitly set the cert path because otherwise the https module
-- # can't find the .pem when PAR::Packer'ed
-- if (not exists($ENV{PERL_LWP_SSL_CA_FILE}) and
-- not defined(Biber::Config->getoption('ssl-nointernalca'))) {
-- require Mozilla::CA; # Have to explicitly require this here to get it into %INC below
-- # we assume that the default CA file is in .../Mozilla/CA/cacert.pem
-- (my $vol, my $dir, undef) = File::Spec->splitpath( $INC{"Mozilla/CA.pm"} );
-- $dir =~ s/\/$//; # splitpath sometimes leaves a trailing '/'
-- $ENV{PERL_LWP_SSL_CA_FILE} = File::Spec->catpath($vol, "$dir/CA", 'cacert.pem');
-- }
- if (defined(Biber::Config->getoption('ssl-noverify-host'))) {
- $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
- }
-diff -urN biblatex-biber-1.7.orig/lib/Biber/Input/file/ris.pm biblatex-biber-1.7/lib/Biber/Input/file/ris.pm
---- biblatex-biber-1.7.orig/lib/Biber/Input/file/ris.pm 2013-07-04 01:29:20.000000000 +0400
-+++ biblatex-biber-1.7/lib/Biber/Input/file/ris.pm 2013-07-22 03:32:17.511905691 +0400
-@@ -107,16 +107,6 @@
- $logger->info("Data source '$source' is a remote RIS data source - fetching ...");
- if ($1) { # HTTPS
- # use IO::Socket::SSL qw(debug4); # useful for debugging SSL issues
-- # We have to explicitly set the cert path because otherwise the https module
-- # can't find the .pem when PAR::Packer'ed
-- if (not exists($ENV{PERL_LWP_SSL_CA_FILE}) and
-- not defined(Biber::Config->getoption('ssl-nointernalca'))) {
-- require Mozilla::CA; # Have to explicitly require this here to get it into %INC below
-- # we assume that the default CA file is in .../Mozilla/CA/cacert.pem
-- (my $vol, my $dir, undef) = File::Spec->splitpath( $INC{"Mozilla/CA.pm"} );
-- $dir =~ s/\/$//; # splitpath sometimes leaves a trailing '/'
-- $ENV{PERL_LWP_SSL_CA_FILE} = File::Spec->catpath($vol, "$dir/CA", 'cacert.pem');
-- }
- if (defined(Biber::Config->getoption('ssl-noverify-host'))) {
- $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
- }
-diff -urN biblatex-biber-1.7.orig/lib/Biber/Input/file/zoterordfxml.pm biblatex-biber-1.7/lib/Biber/Input/file/zoterordfxml.pm
---- biblatex-biber-1.7.orig/lib/Biber/Input/file/zoterordfxml.pm 2013-07-04 01:29:20.000000000 +0400
-+++ biblatex-biber-1.7/lib/Biber/Input/file/zoterordfxml.pm 2013-07-22 03:32:35.649906487 +0400
-@@ -123,16 +123,6 @@
- $logger->info("Data source '$source' is a remote Zotero RDF/XML data source - fetching ...");
- if ($1) { # HTTPS
- # use IO::Socket::SSL qw(debug4); # useful for debugging SSL issues
-- # We have to explicitly set the cert path because otherwise the https module
-- # can't find the .pem when PAR::Packer'ed
-- if (not exists($ENV{PERL_LWP_SSL_CA_FILE}) and
-- not defined(Biber::Config->getoption('ssl-nointernalca'))) {
-- require Mozilla::CA; # Have to explicitly require this here to get it into %INC below
-- # we assume that the default CA file is in .../Mozilla/CA/cacert.pem
-- (my $vol, my $dir, undef) = File::Spec->splitpath( $INC{"Mozilla/CA.pm"} );
-- $dir =~ s/\/$//; # splitpath sometimes leaves a trailing '/'
-- $ENV{PERL_LWP_SSL_CA_FILE} = File::Spec->catpath($vol, "$dir/CA", 'cacert.pem');
-- }
- if (defined(Biber::Config->getoption('ssl-noverify-host'))) {
- $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
- }
-diff -urN biblatex-biber-1.7.orig/META.json biblatex-biber-1.7/META.json
---- biblatex-biber-1.7.orig/META.json 2013-07-04 01:29:20.000000000 +0400
-+++ biblatex-biber-1.7/META.json 2013-07-22 03:33:29.583908853 +0400
-@@ -48,7 +48,6 @@
- "List::AllUtils" : "0",
- "List::MoreUtils" : "0",
- "Log::Log4perl" : "0",
-- "Mozilla::CA" : "20130114",
- "Regexp::Common" : "0",
- "Text::BibTeX" : "0.66",
- "URI" : "0",
-diff -urN biblatex-biber-1.7.orig/META.yml biblatex-biber-1.7/META.yml
---- biblatex-biber-1.7.orig/META.yml 2013-07-04 01:29:20.000000000 +0400
-+++ biblatex-biber-1.7/META.yml 2013-07-22 03:33:44.344909500 +0400
-@@ -88,7 +88,6 @@
- List::AllUtils: 0
- List::MoreUtils: 0
- Log::Log4perl: 0
-- Mozilla::CA: 20130114
- Regexp::Common: 0
- Text::BibTeX: 0.66
- URI: 0