summaryrefslogtreecommitdiff
path: root/dev-tex/biber
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/biber')
-rw-r--r--dev-tex/biber/Manifest9
-rw-r--r--dev-tex/biber/biber-2.5.ebuild77
-rw-r--r--dev-tex/biber/biber-2.7.ebuild65
-rw-r--r--dev-tex/biber/files/biber-2.4-drop-mozilla-ca.patch146
-rw-r--r--dev-tex/biber/files/biber-2.7-drop-mozilla-ca.patch122
-rw-r--r--dev-tex/biber/metadata.xml16
6 files changed, 435 insertions, 0 deletions
diff --git a/dev-tex/biber/Manifest b/dev-tex/biber/Manifest
new file mode 100644
index 000000000000..029a862caadf
--- /dev/null
+++ b/dev-tex/biber/Manifest
@@ -0,0 +1,9 @@
+AUX biber-2.4-drop-mozilla-ca.patch 6398 SHA256 98686ec0b90f911b2c2925e7506838806505a7da8454663f9dfce45b0967e732 SHA512 0fa5014559379094b8284b02e83afe6045f5249a6691c212b2a2130163969bbdbd093c7f743ff398c3d02d22122d8532bb354cd0f098e984dd495ca5a1aadef2 WHIRLPOOL 9bd66b139be355af83ba08e4932091eb9893b3cac16c2fe3ab04b238f406cb6f00b97252814cc61902c38185f2f132d6311c1b70a41a530bc38fde369d262b8d
+AUX biber-2.7-drop-mozilla-ca.patch 5146 SHA256 75097aee9f60af1edc545980a826f7e92ab7f7f667e50b6c53b65ee6ffd2d867 SHA512 83295ada1516e18d4d4f1bab50c70304c1df9c88113a215b31f4bc8c9b250244f4bcb8e5b5f4958b1086327796967b27681c5d574c6dd15ddf73f35092e8cf3a WHIRLPOOL c32310ff41979361e4eb7482da6403c2d76075a50a591b2f6d22770a9d0505b6c8a429c92312d14b6ef828ca5406e2cfc1c833eadb652f93faf563203a51deac
+DIST biber-2.5.tar.gz 1247783 SHA256 1be7e690845d2ee40cdf4a932cab3ca1fc09a4a8030021b7e53f4f3ec8687a98 SHA512 5b67aa221e690f17d33ab918e041e8a542e1fdfb9733d99eb41abc87ca9c10b193072e5aac5bc70c19c5f68df009b93be879a4cdfa51392ff63cf755adac90dc WHIRLPOOL 48bad706f1f708d42e87c65ffa7b52069f473dbe188cddc252b071093567ba099a8337705a6d113cfb6ac20cbd4ec5f689b743c005b85150f30de25e2648221d
+DIST biber-2.7.tar.gz 1274716 SHA256 a0afc4cd97d56f4f433e476de1d4bd9bf9740eb29191bf616b1ea3f424408d9f SHA512 a62c116d4278b177c9e05a1cac857358dd0ebc6283465e74bb557d13fa343843d8b84050a466b2308a309345309bd584ccd2e90ccbbefbd01f2203a8eea77609 WHIRLPOOL 60044d0a08bc7db80aa52924665417c7c4d7eb8a8e8bd16218728556063ff0f446fae36a321404380428f8bb067706d699b60bf392616f0f560b96d2fa3b1bb3
+EBUILD biber-2.5.ebuild 1814 SHA256 666b9f83a83db7c33e4eed74e6ac6af5db3bea7aa11d284b388f535f0ca12629 SHA512 68ad03ea8ebc34b89af5d365a050fa5ca5cd000f82c44d0818dc738e728ac9de14b696e0c394394f64f90f0fe6626edf9906fc1971b3cc85c18918f7cc68af24 WHIRLPOOL 7d3e23438ccc51541c7f61c2a6d0b3068b7094ce2dbe3be4197b47d99f4f621e8509d9b5307fa0e71b3b53c2049e51ae656825c156bce2efac2d662d66cab8d3
+EBUILD biber-2.7.ebuild 1671 SHA256 8b358bf4b5cfc2dd97c58350dcb9d8df74f243efd72daae98e2f8b1bebb31e71 SHA512 effabfaf74a0531ad6ef55890acdfd6fc15cb0e06da2651d0d64fc16df9368e0789522bce767cfb6eab7222d0b403cba599a785277373177ef013688b1dfcfa4 WHIRLPOOL 052ae323a07ad3d66f6f4b74ca2cc65c1e9f4bbcd87fe233b135776006ca61e21c076504ce84d6b906e73767a3b4fcec80249e49b82cf3ba06ab4d0bc5a03a33
+MISC ChangeLog 4498 SHA256 e86ea192409927071caa366ce2e0e5e17aaf694bde43eaa8723061ebc802e3fc SHA512 596ea6c9c14cf8ab8caa3ad9686cd7f2c8a90246c335e352bd127a3fb6be844ce9945f946533f4afff648775cc9c5d57e5a69104b7e0aed089f9e355d8c54865 WHIRLPOOL e53b7e3c147fed57b2101ced0669349ac11b728628bec9280a8fe4a72ea5eae6d3b03f16f9e3db5c6b9d613ce193a661b59326528d03f32ca4851092e42c0ac7
+MISC ChangeLog-2015 1570 SHA256 a47bae03f79658cb14312b30aeae5f667b21237a8d937f398fecc259df66a0f8 SHA512 0ffe5c438703a2c01ca62f351458dce22375e9649bdb0d9e867d61287c1db8aef3cce386312d2c16f259475616cdc10ec973ba473020817f4ffaf65ee2022a19 WHIRLPOOL a03c99bbfe84851f5f00f563a5dec4125cdb65b75a596d9066309c4449416b9c52b832112c1e44aeb42ba670392e8975047c4d88362d1d84697124cb370dcdb0
+MISC metadata.xml 517 SHA256 325279068a7bf26f89815288df31a2ed04fed5873ddfebbe56ccb7bcc6696a18 SHA512 5b580b01df44df89406b9e845416ce043bc5ede5239c9024380348a7aa43f4c436485619e73fd12b4f0b5ea0628b9f8ab55142b5861e2a227fac02385c179533 WHIRLPOOL cead216c1b9ae0d2066058a7e254a03207c157968deb71baafa3c9f05ff717f5650efaf03f1113ab9bd9ad66897011032a4af95aa7b9d809385e1e8de23ef80c
diff --git a/dev-tex/biber/biber-2.5.ebuild b/dev-tex/biber/biber-2.5.ebuild
new file mode 100644
index 000000000000..b445da0cd8fb
--- /dev/null
+++ b/dev-tex/biber/biber-2.5.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils perl-module
+
+MY_PN=biblatex-${PN}
+
+DESCRIPTION="A BibTeX replacement for users of biblatex"
+HOMEPAGE="http://biblatex-biber.sourceforge.net/ https://github.com/plk/biber/"
+SRC_URI="https://github.com/plk/biber/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( Artistic-2 GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="doc test"
+
+RDEPEND=">=dev-lang/perl-5.16
+ dev-perl/autovivification
+ dev-perl/Business-ISBN
+ dev-perl/Business-ISMN
+ dev-perl/Business-ISSN
+ dev-perl/Class-Accessor
+ dev-perl/Data-Compare
+ dev-perl/Data-Dump
+ dev-perl/Data-Uniqid
+ dev-perl/Date-Simple
+ dev-perl/Encode-EUCJPASCII
+ dev-perl/Encode-HanExtra
+ dev-perl/Encode-JIS2K
+ dev-perl/File-Slurp-Unicode
+ dev-perl/IPC-Run3
+ dev-perl/libwww-perl[ssl]
+ >=dev-perl/Lingua-Translit-0.25
+ dev-perl/List-AllUtils
+ >=dev-perl/List-MoreUtils-0.408.0
+ dev-perl/Log-Log4perl
+ dev-perl/LWP-Protocol-https
+ dev-perl/Regexp-Common
+ dev-perl/Readonly
+ dev-perl/Readonly-XS
+ dev-perl/Text-Roman
+ >=dev-perl/Text-BibTeX-0.720.0
+ dev-perl/URI
+ dev-perl/Unicode-LineBreak
+ >=virtual/perl-Unicode-Normalize-1.230.0
+ dev-perl/XML-LibXML
+ dev-perl/XML-LibXML-Simple
+ dev-perl/XML-LibXSLT
+ dev-perl/XML-SAX-Base
+ dev-perl/XML-Writer
+ ~dev-tex/biblatex-3.4
+ virtual/perl-IPC-Cmd
+ >=virtual/perl-Unicode-Collate-1.140.0"
+DEPEND="${RDEPEND}
+ dev-perl/Config-AutoConf
+ dev-perl/Module-Build
+ test? ( dev-perl/File-Which
+ dev-perl/Test-Differences
+ dev-perl/Test-Pod
+ dev-perl/Test-Pod-Coverage )"
+
+SRC_TEST="parallel"
+
+src_prepare(){
+ epatch "${FILESDIR}"/${PN}-2.4-drop-mozilla-ca.patch
+}
+
+src_install(){
+ perl-module_src_install
+ use doc && dodoc -r doc/*
+}
+
+src_test() {
+ BIBER_SKIP_DEV_TESTS=1 perl-module_src_test
+}
diff --git a/dev-tex/biber/biber-2.7.ebuild b/dev-tex/biber/biber-2.7.ebuild
new file mode 100644
index 000000000000..438fbff89fa3
--- /dev/null
+++ b/dev-tex/biber/biber-2.7.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit perl-module
+
+DESCRIPTION="A BibTeX replacement for users of biblatex"
+HOMEPAGE="http://biblatex-biber.sourceforge.net/ https://github.com/plk/biber/"
+SRC_URI="https://github.com/plk/biber/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm"
+IUSE="test"
+
+RDEPEND=">=dev-lang/perl-5.24
+ dev-perl/autovivification
+ dev-perl/Business-ISBN
+ dev-perl/Business-ISMN
+ dev-perl/Business-ISSN
+ dev-perl/Class-Accessor
+ dev-perl/Data-Compare
+ dev-perl/Data-Dump
+ dev-perl/Data-Uniqid
+ dev-perl/DateTime-Calendar-Julian
+ dev-perl/DateTime-Format-Builder
+ dev-perl/Encode-EUCJPASCII
+ dev-perl/Encode-HanExtra
+ dev-perl/Encode-JIS2K
+ dev-perl/File-Slurp
+ dev-perl/IPC-Run3
+ dev-perl/libwww-perl[ssl]
+ >=dev-perl/Lingua-Translit-0.250
+ dev-perl/List-AllUtils
+ dev-perl/List-MoreUtils
+ dev-perl/List-MoreUtils-XS
+ dev-perl/Log-Log4perl
+ dev-perl/LWP-Protocol-https
+ dev-perl/Regexp-Common
+ dev-perl/Sort-Key
+ >=dev-perl/Text-BibTeX-0.760.0
+ dev-perl/Text-CSV
+ dev-perl/Text-CSV_XS
+ dev-perl/Text-Roman
+ dev-perl/URI
+ >=dev-perl/Unicode-LineBreak-2016.3.0
+ >=virtual/perl-Unicode-Normalize-1.250.0
+ >=dev-perl/XML-LibXML-1.70
+ dev-perl/XML-LibXML-Simple
+ dev-perl/XML-LibXSLT
+ dev-perl/XML-Writer
+ ~dev-tex/biblatex-3.7
+ virtual/perl-IPC-Cmd
+ >=virtual/perl-Unicode-Collate-1.190.0"
+DEPEND="${RDEPEND}
+ dev-perl/Config-AutoConf
+ dev-perl/Module-Build
+ dev-perl/ExtUtils-LibBuilder
+ test? ( dev-perl/File-Which
+ dev-perl/Test-Differences )"
+
+PATCHES=( "${FILESDIR}/${PN}-2.7-drop-mozilla-ca.patch" )
+
+mydoc="doc/biber.tex"
diff --git a/dev-tex/biber/files/biber-2.4-drop-mozilla-ca.patch b/dev-tex/biber/files/biber-2.4-drop-mozilla-ca.patch
new file mode 100644
index 000000000000..d4618a4cb99d
--- /dev/null
+++ b/dev-tex/biber/files/biber-2.4-drop-mozilla-ca.patch
@@ -0,0 +1,146 @@
+commit 09ac1811820c2d2b92f8de779f7c389f89dc6c16
+Author: Jason A. Donenfeld <Jason@zx2c4.com>
+Date: Sat Mar 12 02:54:35 2016 +0100
+
+ Remove Mozilla::CA dependency
+
+diff --git a/Build.PL b/Build.PL
+index 6031458..8de2f2a 100644
+--- a/Build.PL
++++ b/Build.PL
+@@ -53,7 +53,6 @@ my $builder = $class->new(
+ 'List::AllUtils' => 0,
+ 'List::MoreUtils' => 0,
+ 'List::MoreUtils::XS' => 0,
+- 'Mozilla::CA' => '20141217',
+ 'Regexp::Common' => 0,
+ 'Log::Log4perl' => 0,
+ 'Unicode::Collate' => '1.14',
+diff --git a/bin/biber b/bin/biber
+index f9e28fb..8d614e5 100755
+--- a/bin/biber
++++ b/bin/biber
+@@ -78,7 +78,6 @@ GetOptions(
+ 'sortgiveninits|sortfirstinits=s',
+ 'sortlocale|l=s',
+ 'sortupper=s',
+- 'ssl-nointernalca',
+ 'ssl-noverify-host',
+ 'strip_comments|strip-comments',
+ 'tool',
+@@ -710,12 +709,6 @@ default sorting (B<--collate|-C>). When
+ 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 --git a/data/schemata/config.rnc b/data/schemata/config.rnc
+index 7baf386..f3d321e 100644
+--- a/data/schemata/config.rnc
++++ b/data/schemata/config.rnc
+@@ -79,7 +79,6 @@ start =
+ map+
+ }+
+ }? &
+- element ssl-nointernalca { "0" | "1" }? &
+ element ssl-noverify-host { "0" | "1" }? &
+ element tool { "0" | "1" }? &
+ element tool_config { text }? &
+diff --git a/data/schemata/config.rng b/data/schemata/config.rng
+index f11b38e..fff209a 100644
+--- a/data/schemata/config.rng
++++ b/data/schemata/config.rng
+@@ -353,14 +353,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 --git a/lib/Biber/Input/file/biblatexml.pm b/lib/Biber/Input/file/biblatexml.pm
+index 8139cd4..14018da 100644
+--- a/lib/Biber/Input/file/biblatexml.pm
++++ b/lib/Biber/Input/file/biblatexml.pm
+@@ -115,19 +115,6 @@ sub extract_entries {
+ else {
+ 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
+- # Have to explicitly try to require Mozilla::CA here to get it into %INC below
+- # It may, however, have been removed by some biber unpacked dists
+- if (not exists($ENV{PERL_LWP_SSL_CA_FILE}) and
+- not exists($ENV{PERL_LWP_SSL_CA_PATH}) and
+- not defined(Biber::Config->getoption('ssl-nointernalca')) and
+- eval {require Mozilla::CA}) {
+- # 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');
+- }
+
+ # fallbacks for, e.g., linux
+ unless (exists($ENV{PERL_LWP_SSL_CA_FILE})) {
+diff --git a/lib/Biber/Input/file/bibtex.pm b/lib/Biber/Input/file/bibtex.pm
+index 6cc365a..b41e946 100644
+--- a/lib/Biber/Input/file/bibtex.pm
++++ b/lib/Biber/Input/file/bibtex.pm
+@@ -138,19 +138,6 @@ sub extract_entries {
+ else {
+ 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
+- # Have to explicitly try to require Mozilla::CA here to get it into %INC below
+- # It may, however, have been removed by some biber unpacked dists
+- if (not exists($ENV{PERL_LWP_SSL_CA_FILE}) and
+- not exists($ENV{PERL_LWP_SSL_CA_PATH}) and
+- not defined(Biber::Config->getoption('ssl-nointernalca')) and
+- eval {require Mozilla::CA}) {
+- # 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');
+- }
+
+ # fallbacks for, e.g., linux
+ unless (exists($ENV{PERL_LWP_SSL_CA_FILE})) {
+diff --git a/lib/Biber/Input/file/ris.pm b/lib/Biber/Input/file/ris.pm
+index 9814723..e849b95 100644
+--- a/lib/Biber/Input/file/ris.pm
++++ b/lib/Biber/Input/file/ris.pm
+@@ -109,19 +109,6 @@ sub extract_entries {
+ else {
+ 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
+- # Have to explicitly try to require Mozilla::CA here to get it into %INC below
+- # It may, however, have been removed by some biber unpacked dists
+- if (not exists($ENV{PERL_LWP_SSL_CA_FILE}) and
+- not exists($ENV{PERL_LWP_SSL_CA_PATH}) and
+- not defined(Biber::Config->getoption('ssl-nointernalca')) and
+- eval {require Mozilla::CA}) {
+- # 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');
+- }
+
+ # fallbacks for, e.g., linux
+ unless (exists($ENV{PERL_LWP_SSL_CA_FILE})) {
diff --git a/dev-tex/biber/files/biber-2.7-drop-mozilla-ca.patch b/dev-tex/biber/files/biber-2.7-drop-mozilla-ca.patch
new file mode 100644
index 000000000000..83b625ee4a3e
--- /dev/null
+++ b/dev-tex/biber/files/biber-2.7-drop-mozilla-ca.patch
@@ -0,0 +1,122 @@
+commit 09ac1811820c2d2b92f8de779f7c389f89dc6c16
+Author: Jason A. Donenfeld <Jason@zx2c4.com>
+Date: Sat Mar 12 02:54:35 2016 +0100
+
+ Remove Mozilla::CA dependency
+
+diff --git a/Build.PL b/Build.PL
+index 6031458..8de2f2a 100644
+--- a/Build.PL
++++ b/Build.PL
+@@ -53,7 +53,6 @@ my $builder = $class->new(
+ 'List::AllUtils' => 0,
+ 'List::MoreUtils' => 0,
+ 'List::MoreUtils::XS' => 0,
+- 'Mozilla::CA' => '20160104',
+ 'Regexp::Common' => 0,
+ 'Log::Log4perl' => 0,
+ 'Unicode::Collate' => '1.19',
+diff --git a/bin/biber b/bin/biber
+index f9e28fb..8d614e5 100755
+--- a/bin/biber
++++ b/bin/biber
+@@ -78,7 +78,6 @@ GetOptions(
+ 'sortgiveninits|sortfirstinits=s',
+ 'sortlocale|l=s',
+ 'sortupper=s',
+- 'ssl-nointernalca',
+ 'ssl-noverify-host',
+ 'strip_comments|strip-comments',
+ 'tool',
+@@ -710,12 +709,6 @@ default sorting (B<--collate|-C>). When
+ 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 --git a/data/schemata/config.rnc b/data/schemata/config.rnc
+index 7baf386..f3d321e 100644
+--- a/data/schemata/config.rnc
++++ b/data/schemata/config.rnc
+@@ -79,7 +79,6 @@ start =
+ map+
+ }+
+ }? &
+- element ssl-nointernalca { "0" | "1" }? &
+ element ssl-noverify-host { "0" | "1" }? &
+ element tool { "0" | "1" }? &
+ element tool_config { text }? &
+diff --git a/data/schemata/config.rng b/data/schemata/config.rng
+index f11b38e..fff209a 100644
+--- a/data/schemata/config.rng
++++ b/data/schemata/config.rng
+@@ -353,14 +353,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 --git a/lib/Biber/Input/file/biblatexml.pm b/lib/Biber/Input/file/biblatexml.pm
+index 8139cd4..14018da 100644
+--- a/lib/Biber/Input/file/biblatexml.pm
++++ b/lib/Biber/Input/file/biblatexml.pm
+@@ -115,19 +115,6 @@ sub extract_entries {
+ else {
+ 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
+- # Have to explicitly try to require Mozilla::CA here to get it into %INC below
+- # It may, however, have been removed by some biber unpacked dists
+- if (not exists($ENV{PERL_LWP_SSL_CA_FILE}) and
+- not exists($ENV{PERL_LWP_SSL_CA_PATH}) and
+- not defined(Biber::Config->getoption('ssl-nointernalca')) and
+- eval {require Mozilla::CA}) {
+- # 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');
+- }
+
+ # fallbacks for, e.g., linux
+ unless (exists($ENV{PERL_LWP_SSL_CA_FILE})) {
+diff --git a/lib/Biber/Input/file/bibtex.pm b/lib/Biber/Input/file/bibtex.pm
+index 6cc365a..b41e946 100644
+--- a/lib/Biber/Input/file/bibtex.pm
++++ b/lib/Biber/Input/file/bibtex.pm
+@@ -138,19 +138,6 @@ sub extract_entries {
+ else {
+ 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
+- # Have to explicitly try to require Mozilla::CA here to get it into %INC below
+- # It may, however, have been removed by some biber unpacked dists
+- if (not exists($ENV{PERL_LWP_SSL_CA_FILE}) and
+- not exists($ENV{PERL_LWP_SSL_CA_PATH}) and
+- not defined(Biber::Config->getoption('ssl-nointernalca')) and
+- eval {require Mozilla::CA}) {
+- # 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');
+- }
+
+ # fallbacks for, e.g., linux
+ unless (exists($ENV{PERL_LWP_SSL_CA_FILE})) {
diff --git a/dev-tex/biber/metadata.xml b/dev-tex/biber/metadata.xml
new file mode 100644
index 000000000000..9bb052a73bcf
--- /dev/null
+++ b/dev-tex/biber/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hendrik@consetetur.de</email>
+ <name>Hendrik v. Raven (lorem_ipsum)</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">biblatex-biber</remote-id>
+ <remote-id type="github">plk/biber</remote-id>
+ </upstream>
+</pkgmetadata>