From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DAA091384B4 for ; Sun, 22 Nov 2015 22:45:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D9C221C00C; Sun, 22 Nov 2015 22:45:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3F06021C00C for ; Sun, 22 Nov 2015 22:45:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23FF234082B for ; Sun, 22 Nov 2015 22:44:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB9F4FFB for ; Sun, 22 Nov 2015 22:44:56 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1448232283.b052ec40a6db27f050e4020100fa60cfd457f878.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-SSLeay/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild X-VCS-Directories: dev-perl/Net-SSLeay/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: b052ec40a6db27f050e4020100fa60cfd457f878 X-VCS-Branch: master Date: Sun, 22 Nov 2015 22:44:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 581cf097-09fd-4268-ad72-0dbfaeeb1574 X-Archives-Hash: 13ad3bca4d50a6d46fcc5bd523baad2c commit: b052ec40a6db27f050e4020100fa60cfd457f878 Author: Andreas K. Huettel (dilfridge) gentoo org> AuthorDate: Sun Nov 22 22:44:43 2015 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Sun Nov 22 22:44:43 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b052ec40 dev-perl/Net-SSLeay: add libressl support, bug 563570 Package-Manager: portage-2.2.25 dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild | 38 ++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild new file mode 100644 index 0000000..a11aba4 --- /dev/null +++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.650.0-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MODULE_AUTHOR=MIKEM +MODULE_VERSION=1.65 +inherit multilib perl-module + +DESCRIPTION="Net::SSLeay module for perl" + +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" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) +" +DEPEND="${RDEPEND}" +# test? ( dev-perl/Test-Exception +# dev-perl/Test-Warn +# dev-perl/Test-NoWarnings )" + +#SRC_TEST=do + +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 + perl-module_src_prepare +}