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 9BF3C138350 for ; Tue, 28 Apr 2020 23:04:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A66AE08E0; Tue, 28 Apr 2020 23:04:34 +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 73FF0E08E0 for ; Tue, 28 Apr 2020 23:04:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2CC8A34EF98 for ; Tue, 28 Apr 2020 23:04:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 587131F4 for ; Tue, 28 Apr 2020 23:04:31 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1588114842.cb94f8cc805d728e09a8c23f03571f55b6ef783b.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/librelp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/librelp/Manifest dev-libs/librelp/librelp-1.6.0.ebuild X-VCS-Directories: dev-libs/librelp/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: cb94f8cc805d728e09a8c23f03571f55b6ef783b X-VCS-Branch: master Date: Tue, 28 Apr 2020 23:04:31 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 742de40f-590d-4d6f-a72e-38fd5cf3cb7b X-Archives-Hash: 7a821bceff9b5021b410d0b424d1ceb1 commit: cb94f8cc805d728e09a8c23f03571f55b6ef783b Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Apr 28 22:32:24 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Apr 28 23:00:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb94f8cc dev-libs/librelp: bump to v1.6.0 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann gentoo.org> dev-libs/librelp/Manifest | 1 + dev-libs/librelp/librelp-1.6.0.ebuild | 74 +++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/dev-libs/librelp/Manifest b/dev-libs/librelp/Manifest index d3cdde4e4c9..e4ac6ea06d4 100644 --- a/dev-libs/librelp/Manifest +++ b/dev-libs/librelp/Manifest @@ -1,2 +1,3 @@ DIST librelp-1.4.0.tar.gz 519235 BLAKE2B 9c1e52cc9f666e75f261db65f45e3d954afa033cac59f93394c30ba99ed772d71b2882bdbb9bed696e57ed99805d47e57fd5e331cc3bc3850c5f15041a0d70d0 SHA512 92d01a51b4ee3c66d1f65d2e26f214646d72b41a8411ab700fe5f9f30f805ef98dec962526ef95c8d8428bf7398d38f656c919f95a3e49382adc745ef9eb4239 DIST librelp-1.5.0.tar.gz 521793 BLAKE2B f3fa42ab1df5bc7fea340bf87f241666535f61a5726df55f47f6f324347a1dbbede2a66d252fe654d21e79ee44684aa51e83cace32491778d6cc42698f578195 SHA512 b7fb35e4ddb5c3c14ef733699405f8aa62911adef305cd4f494170e111bc61a9208b84dab472a708582cd76ad9976894dae0e7574e60acdae2b56491aa7daf36 +DIST librelp-1.6.0.tar.gz 522827 BLAKE2B 04e608a3afe4e6e0109cc9bf753de34e9486595e33bc57387b9428bcf50f8d56177e8f849870611778636be5a58714e4640048758c83a041a354f70442d55cf0 SHA512 1bf96b700fa5ab648ed671b341ae7101fc1db4107f178abd507647afe4f12d59a94c821cc0e06998ac7b344ed41a5e3821843c722c82bf5284c6556995391228 diff --git a/dev-libs/librelp/librelp-1.6.0.ebuild b/dev-libs/librelp/librelp-1.6.0.ebuild new file mode 100644 index 00000000000..edacd29ee8e --- /dev/null +++ b/dev-libs/librelp/librelp-1.6.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit autotools python-any-r1 + +DESCRIPTION="An easy to use library for the RELP protocol" +HOMEPAGE="https://www.rsyslog.com/librelp/" +SRC_URI="https://download.rsyslog.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+ doc? ( FDL-1.3 )" + +# subslot = soname version +SLOT="0/0.5.0" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="debug doc +ssl +gnutls libressl openssl static-libs test" +REQUIRED_USE="ssl? ( ^^ ( gnutls openssl ) )" + +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.3.17.1:0= ) + openssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + )" +DEPEND="${RDEPEND} + test? ( ${PYTHON_DEPS} ) + virtual/pkgconfig" + +RESTRICT="!test? ( test )" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + sed -i \ + -e 's/ -g"/"/g' \ + configure.ac || die "sed failed" + + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-valgrind + $(use_enable debug) + $(use_enable gnutls tls) + $(use_enable openssl tls-openssl) + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + emake -j1 check +} + +src_install() { + local DOCS=( ChangeLog ) + use doc && local HTML_DOCS=( doc/relp.html ) + default + + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi +}