From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 4FE781582EF for ; Sat, 22 Feb 2025 08:02:07 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 372903431F5 for ; Sat, 22 Feb 2025 08:02:07 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B759311047B; Sat, 22 Feb 2025 08:02:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id ABD0711047B for ; Sat, 22 Feb 2025 08:02:05 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60F463431A1 for ; Sat, 22 Feb 2025 08:02:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BAABB2637 for ; Sat, 22 Feb 2025 08:02:03 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1740211067.4e2f7e2dd0618d6fde6905051fcd2c790dad98bf.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sysklogd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/sysklogd/sysklogd-2.6.2-r1.ebuild app-admin/sysklogd/sysklogd-9999.ebuild X-VCS-Directories: app-admin/sysklogd/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 4e2f7e2dd0618d6fde6905051fcd2c790dad98bf X-VCS-Branch: master Date: Sat, 22 Feb 2025 08:02:03 +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: 4f8d32f5-405b-49b2-9b28-b42562ecf1e7 X-Archives-Hash: 25558a259d1e346371e65bbf538efd68 commit: 4e2f7e2dd0618d6fde6905051fcd2c790dad98bf Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 16:16:29 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 22 07:57:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2f7e2d app-admin/sysklogd: Fix incorrect REPLACING_VERSIONS usage Signed-off-by: Ulrich Müller gentoo.org> app-admin/sysklogd/sysklogd-2.6.2-r1.ebuild | 8 ++++---- app-admin/sysklogd/sysklogd-9999.ebuild | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app-admin/sysklogd/sysklogd-2.6.2-r1.ebuild b/app-admin/sysklogd/sysklogd-2.6.2-r1.ebuild index 56b5bae68e17..b1b4185137a4 100644 --- a/app-admin/sysklogd/sysklogd-2.6.2-r1.ebuild +++ b/app-admin/sysklogd/sysklogd-2.6.2-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit flag-o-matic systemd toolchain-funcs +inherit eapi9-ver flag-o-matic systemd toolchain-funcs DESCRIPTION="Standard log daemons" HOMEPAGE="https://troglobit.com/sysklogd.html https://github.com/troglobit/sysklogd" @@ -73,13 +73,13 @@ src_install() { } pkg_postinst() { - if ! use logrotate && [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.0 ; then + if ! use logrotate && ver_replacing -lt 2.0 ; then elog "Starting with version 2.0 syslogd has built in log rotation" elog "functionality that does no longer require a running cron daemon." elog "So we no longer install any log rotation cron files for sysklogd." fi - if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.1 ; then + if ver_replacing -lt 2.1 ; then elog "Starting with version 2.1 sysklogd no longer provides klogd." elog "syslogd now also logs kernel messages." fi diff --git a/app-admin/sysklogd/sysklogd-9999.ebuild b/app-admin/sysklogd/sysklogd-9999.ebuild index 47b85d4229cc..9a1198818fec 100644 --- a/app-admin/sysklogd/sysklogd-9999.ebuild +++ b/app-admin/sysklogd/sysklogd-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit flag-o-matic systemd toolchain-funcs +inherit eapi9-ver flag-o-matic systemd toolchain-funcs DESCRIPTION="Standard log daemons" HOMEPAGE="https://troglobit.com/sysklogd.html https://github.com/troglobit/sysklogd" @@ -73,13 +73,13 @@ src_install() { } pkg_postinst() { - if ! use logrotate && [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.0 ; then + if ! use logrotate && ver_replacing -lt 2.0 ; then elog "Starting with version 2.0 syslogd has built in log rotation" elog "functionality that does no longer require a running cron daemon." elog "So we no longer install any log rotation cron files for sysklogd." fi - if [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.1 ; then + if ver_replacing -lt 2.1 ; then elog "Starting with version 2.1 sysklogd no longer provides klogd." elog "syslogd now also logs kernel messages." fi