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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 354481581EC for ; Sat, 23 Nov 2024 13:56:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E60EE0871; Sat, 23 Nov 2024 13:56:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ED07CE0871 for ; Sat, 23 Nov 2024 13:56:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A194340CBB for ; Sat, 23 Nov 2024 13:56:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 987EB1295 for ; Sat, 23 Nov 2024 13:56:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1732370127.b650b7bfce54af7376575cec303cd2898ee90f4a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liblogging/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/liblogging/Manifest dev-libs/liblogging/liblogging-1.0.7.ebuild X-VCS-Directories: dev-libs/liblogging/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b650b7bfce54af7376575cec303cd2898ee90f4a X-VCS-Branch: master Date: Sat, 23 Nov 2024 13:56:10 +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: 3b28a2d9-d90b-4da0-833a-dc29750092c5 X-Archives-Hash: 5d4ffbf043067d3236f39fbb7f97321b commit: b650b7bfce54af7376575cec303cd2898ee90f4a Author: Sam James gentoo org> AuthorDate: Sat Nov 23 13:54:40 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Nov 23 13:55:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b650b7bf dev-libs/liblogging: add 1.0.7 Always enable rfc3195 and stdlog, as otherwise, 1.0.7 at least doesn't install anything. They have no extra dependencies and I can't see why not. Closes: https://bugs.gentoo.org/926515 Signed-off-by: Sam James gentoo.org> dev-libs/liblogging/Manifest | 1 + dev-libs/liblogging/liblogging-1.0.7.ebuild | 46 +++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-libs/liblogging/Manifest b/dev-libs/liblogging/Manifest index b37e716e0da3..d7e82243af04 100644 --- a/dev-libs/liblogging/Manifest +++ b/dev-libs/liblogging/Manifest @@ -1 +1,2 @@ DIST liblogging-1.0.6.tar.gz 593393 BLAKE2B c2ca93225b7594c2c064f14e83f475cf2f3dbf608e77e103759371e81e0052e49624740c35f29b7bf9cd1872f4f85f286a2c903f503bebb170a5337d0dfe0677 SHA512 09c90a93b2d32afa44be5a800705a64690810a56d21bed1455cb70680b01fecd4efef3881a43f98ebcafa996b6046ed8e5af935eacc12014f330a7fd23674964 +DIST liblogging-1.0.7.gh.tar.gz 288035 BLAKE2B 85530ccd3ef42c0c28e6f5edf43ee4ff7af5d4707f03cf08d03b1122f0c942cf97a13ff13eb79325f3aab7b4edfe9da0c313a3327ae422cef0fe763ff444ed53 SHA512 74e86b093831a9a08d8868d3828654a47c3a8d03a0dc6d9345deba9d55aca6daa391b4c53d0efe61012ceee131b75b88b302dde906cd485f54a89e823963247e diff --git a/dev-libs/liblogging/liblogging-1.0.7.ebuild b/dev-libs/liblogging/liblogging-1.0.7.ebuild new file mode 100644 index 000000000000..abc98e16bb56 --- /dev/null +++ b/dev-libs/liblogging/liblogging-1.0.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Easy to use, portable, open source library for system logging" +HOMEPAGE="http://www.liblogging.org" +#SRC_URI="http://download.rsyslog.com/liblogging/${P}.tar.gz" +SRC_URI="https://github.com/rsyslog/liblogging/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD-2" +SLOT="0/0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~sparc ~x86" +IUSE="systemd" + +RDEPEND="systemd? ( sys-apps/systemd )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( ChangeLog ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-cflags -std=gnu17 + + local myeconfargs=( + # The package installs nothing if neither of these are + # enabled. Just enable both as that seems to do no harm. + --enable-rfc3195 + --enable-stdlog + $(use_enable systemd journal) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}