summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-01-08 17:12:06 +1300
committerKent Fredric <kentnl@gentoo.org>2017-01-08 19:26:21 +1300
commit9c74d151ce4939213d291347d01a503287e6f5c3 (patch)
tree30559897f6e5e8b165fdcdc27573440bf3ae19eb /dev-perl/Net-SSLeay
parentapp-shells/bash-completion: amd64 stable wrt bug #604680 (diff)
downloadgentoo-9c74d151ce4939213d291347d01a503287e6f5c3.tar.gz
gentoo-9c74d151ce4939213d291347d01a503287e6f5c3.tar.bz2
gentoo-9c74d151ce4939213d291347d01a503287e6f5c3.zip
dev-perl/Net-SSLeay: Bump to version 1.800.0
- Use DIST_EXAMPLES feature Upstream: - OpenSSL 1.1 support - Fix unexpected perl flow control w/ tickey key callbacks - Fix inline variable declarations - Fix compiling against compression-free openssl - Many CTX_ and key APIs added/removed. Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-perl/Net-SSLeay')
-rw-r--r--dev-perl/Net-SSLeay/Manifest1
-rw-r--r--dev-perl/Net-SSLeay/Net-SSLeay-1.800.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-perl/Net-SSLeay/Manifest b/dev-perl/Net-SSLeay/Manifest
index cdc6c260dfa1..0b940583b1ba 100644
--- a/dev-perl/Net-SSLeay/Manifest
+++ b/dev-perl/Net-SSLeay/Manifest
@@ -1,2 +1,3 @@
DIST Net-SSLeay-1.65.tar.gz 384413 SHA256 2fb1371120b85f018944d95736c107163f04ba56b6029c0709a2c3d6247b9c06 SHA512 e347ac7cc5ee22b9785953a5318d35fa3a2d5a21a2e726f49c74621d2dad9ea68373e208068dcd60d8a8d5ab027ae6e32fc0b671995d1645a14c2934eb5a884f WHIRLPOOL 15f38b5a026734f7a074b290979f3e346dfea125d02d8f63e7f5c163de7a4514456d3948ade61b74a53173e27aa221b9142736a98b9d6631c61f0239e6f0833b
DIST Net-SSLeay-1.72.tar.gz 386011 SHA256 1baac39f0f12cee515d8bec633175bb5916ca542e5356e26420437bd6195d2f4 SHA512 33d8355af22bf76da21a6fc1f336970c6baf5a4595cd445a986bfd2de6ae4fac479d63a97d54c4cb2c9f3f1a7024c893ad0961be419adb6c51e0916829b53a88 WHIRLPOOL 13bceb86968209ae257d8144f4fc11ba9c39fe201cd9799b0135160c5b2ba17831ba35bc608739a2051a93516d4fa39738ec4d5737f2d824eb082fe25dd37a83
+DIST Net-SSLeay-1.80.tar.gz 395820 SHA256 a541a66d59fc5f9bb7af09d3a0b68305e4c43ba9488b12915728fd282ea01b93 SHA512 03b5f2ba86d20f31ef50029af94b1bcf513c7b99d9666a04e83aba4f7c8cce3e30daf6df85932619949f059177660f49a928488e61b967a12dd4aec41eafad95 WHIRLPOOL 8f11141c3caaa1e9d32368183ab9742e8c1bba5efd6702efa9e4142b6f54871f2380cdb6fe3d1aef2b63db388bdf69f3167d592eca935d93af484dd00511b03c
diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.800.0.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.800.0.ebuild
new file mode 100644
index 000000000000..b3836a480676
--- /dev/null
+++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.800.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=MIKEM
+DIST_VERSION=1.80
+DIST_EXAMPLES=("examples/*")
+inherit multilib perl-module
+
+DESCRIPTION="Perl extension for using OpenSSL"
+
+LICENSE="openssl"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="libressl test minimal examples"
+
+RDEPEND="
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ virtual/perl-MIME-Base64
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ !minimal? (
+ dev-perl/Test-Exception
+ dev-perl/Test-Warn
+ dev-perl/Test-NoWarnings
+ )
+ virtual/perl-Test-Simple
+ )
+"
+export OPTIMIZE="$CFLAGS"
+export OPENSSL_PREFIX=${EPREFIX}/usr
+
+src_prepare() {
+ sed -i \
+ -e "/\$opts->{optimize} = '-O2 -g';/d" \
+ -e "s,\"\$prefix/lib\",\"\$prefix/$(get_libdir)\"," \
+ inc/Module/Install/PRIVATE/Net/SSLeay.pm || die
+
+ local my_test_control
+ my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}
+
+ if use test; then
+ perl_rm_files 't/local/01_pod.t' 't/local/02_pod_coverage.t' 't/local/kwalitee.t'
+ fi
+ if use test && has network ${my_test_control} ; then
+ eapply "${FILESDIR}/1.72-config-nettest-yes.patch"
+ else
+ eapply "${FILESDIR}/1.72-config-nettest-no.patch"
+ fi
+
+ perl-module_src_prepare
+}