From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 01C281396D0 for ; Sat, 12 Aug 2017 21:56:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AFDAE0E9A; Sat, 12 Aug 2017 21:55:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2CDA6E0E9A for ; Sat, 12 Aug 2017 21:55:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3DAC4341705 for ; Sat, 12 Aug 2017 21:55:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 968337704 for ; Sat, 12 Aug 2017 21:55:56 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1502574937.ecbbe957fede6fc29cad915dde6aa6bb0ff8e09f.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xmlsec/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/xmlsec/xmlsec-1.2.24-r1.ebuild X-VCS-Directories: dev-libs/xmlsec/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: ecbbe957fede6fc29cad915dde6aa6bb0ff8e09f X-VCS-Branch: master Date: Sat, 12 Aug 2017 21:55: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: 55e31d69-00b0-49e4-89ba-8ce1b157a9a0 X-Archives-Hash: ad0c9663201111927660b76a4c06af2f commit: ecbbe957fede6fc29cad915dde6aa6bb0ff8e09f Author: Anthony G. Basile gentoo org> AuthorDate: Sat Aug 12 21:55:37 2017 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Aug 12 21:55:37 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecbbe957 dev-libs/xmlsec: add libressl support Package-Manager: Portage-2.3.6, Repoman-2.3.1 dev-libs/xmlsec/xmlsec-1.2.24-r1.ebuild | 65 +++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/dev-libs/xmlsec/xmlsec-1.2.24-r1.ebuild b/dev-libs/xmlsec/xmlsec-1.2.24-r1.ebuild new file mode 100644 index 00000000000..831e68a7e30 --- /dev/null +++ b/dev-libs/xmlsec/xmlsec-1.2.24-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools ltprune + +DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML" +HOMEPAGE="http://www.aleksey.com/xmlsec" +SRC_URI="http://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc gcrypt gnutls libressl nss +openssl static-libs" +REQUIRED_USE="|| ( gcrypt gnutls nss openssl ) + gnutls? ( gcrypt )" + +RDEPEND=">=dev-libs/libxml2-2.7.4 + >=dev-libs/libxslt-1.0.20 + gcrypt? ( >=dev-libs/libgcrypt-1.4.0:0 ) + gnutls? ( >=net-libs/gnutls-2.8.0 ) + nss? ( + >=dev-libs/nspr-4.4.1 + >=dev-libs/nss-3.9 + ) + openssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${PN}1-${PV} + +src_prepare() { + default + # conditionally install extra documentation + if ! use doc ; then + sed -i '/^SUBDIRS/s/docs//' Makefile.am || die + eautoreconf + fi +} + +src_configure() { + econf \ + --enable-pkgconfig \ + --with-html-dir=/usr/share/doc/${PF}/html \ + $(use_enable static-libs static) \ + $(use_with gcrypt gcrypt "") \ + $(use_with gnutls gnutls "") \ + $(use_with nss nspr "") \ + $(use_with nss nss "") \ + $(use_with openssl openssl "") \ + $(use_enable openssl aes) +} + +src_test() { + emake TMPFOLDER="${T}" check +} + +src_install() { + default + prune_libtool_files --all +}