public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liblogging/
Date: Sat, 23 Nov 2024 13:56:10 +0000 (UTC)	[thread overview]
Message-ID: <1732370127.b650b7bfce54af7376575cec303cd2898ee90f4a.sam@gentoo> (raw)

commit:     b650b7bfce54af7376575cec303cd2898ee90f4a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 13:54:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
+}


             reply	other threads:[~2024-11-23 13:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-23 13:56 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-26  6:59 [gentoo-commits] repo/gentoo:master commit in: dev-libs/liblogging/ Sam James
2024-11-26  6:57 Sam James
2024-11-23 14:55 Sam James
2024-11-23 14:53 Sam James
2022-09-04 18:21 Arthur Zamarin
2022-08-28  5:55 Jakov Smolić
2022-08-23 18:10 Arthur Zamarin
2022-08-05  9:31 Arthur Zamarin
2021-10-21 18:08 Thomas Deutschmann
2021-05-16  0:03 Sam James
2019-12-31  3:17 Thomas Deutschmann
2018-03-28  5:05 Markus Meier
2017-11-22 21:38 Sergei Trofimovich
2017-06-28 13:19 Agostino Sarubbo
2017-03-06 14:18 Thomas Deutschmann
2016-08-24  0:57 Thomas Deutschmann
2016-08-10 20:44 Thomas Deutschmann
2016-08-10 20:44 Thomas Deutschmann
2016-07-05  5:08 Yixun Lan
2016-05-26 14:58 Jeroen Roovers
2016-04-19 19:31 Markus Meier
2016-03-15 15:27 Agostino Sarubbo
2016-03-14 22:12 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1732370127.b650b7bfce54af7376575cec303cd2898ee90f4a.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox