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 (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 38F61158094 for ; Wed, 3 Aug 2022 02:54:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CC90E0EDF; Wed, 3 Aug 2022 02:54:24 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A0E5E0EDF for ; Wed, 3 Aug 2022 02:54:24 +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 018FB3410DC for ; Wed, 3 Aug 2022 02:54:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4018A50A for ; Wed, 3 Aug 2022 02:54:21 +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: <1659493881.d421cf8279d94342a6c298f130fda84c9720c0e9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sysklogd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/sysklogd/Manifest app-admin/sysklogd/sysklogd-2.4.2.ebuild app-admin/sysklogd/sysklogd-9999.ebuild X-VCS-Directories: app-admin/sysklogd/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d421cf8279d94342a6c298f130fda84c9720c0e9 X-VCS-Branch: master Date: Wed, 3 Aug 2022 02:54:21 +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: 530df71a-30ef-4797-afe1-26a08e5414c4 X-Archives-Hash: 8bb90361fb5445c98aa42613d61f7446 commit: d421cf8279d94342a6c298f130fda84c9720c0e9 Author: Sam James gentoo org> AuthorDate: Wed Aug 3 02:31:21 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 3 02:31:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d421cf82 app-admin/sysklogd: add 2.4.2 Signed-off-by: Sam James gentoo.org> app-admin/sysklogd/Manifest | 1 + ...{sysklogd-9999.ebuild => sysklogd-2.4.2.ebuild} | 22 ++++++++++++---------- app-admin/sysklogd/sysklogd-9999.ebuild | 22 ++++++++++++---------- 3 files changed, 25 insertions(+), 20 deletions(-) diff --git a/app-admin/sysklogd/Manifest b/app-admin/sysklogd/Manifest index 6649296a48b4..e9ee012e497b 100644 --- a/app-admin/sysklogd/Manifest +++ b/app-admin/sysklogd/Manifest @@ -1,2 +1,3 @@ DIST sysklogd-2.3.0.tar.gz 441168 BLAKE2B fa2ec9975d51bcb26d7acc88ab02e211453fc7e6d722ec6d38543a20833ae9c49b9a274d323e7a32deb82ca9c38025947e25b15424084a0ce345410a2e686a4d SHA512 7a16dd3f45a71015ad055e64aa62f4f94b0a8aa739f407c03376241cbc16ff764a768a698362cb428d150b169934798b774622b330903b287f9af5dd846775fc DIST sysklogd-2.4.0.tar.gz 450757 BLAKE2B 65f7174ebad122d17032e0095c65df80110a992a40b41a3ecddb1f813605094ce59c1313f5d4f35ae33d0cb7557392a176fc9c2f0f69162b74cb69d531be0a09 SHA512 0f9c4498b3677636abd636a80a8256095798b09f43b6febbcb386b3bce7faae23c44aebc54234462a7aa53fb8e5bf821e89081bdbdba0f72218ac8481365029c +DIST sysklogd-2.4.2.tar.gz 451760 BLAKE2B 35f59f3343e66be33cd6c0277e53a49dd94f593da9dbe0af685f513de9e3c5c4103d79530aba48b9515222556a3d5751a86c89be04aa6983b94b02d21db855be SHA512 5d17bfd25248f8ddc0938f00c9c11c5d7cfa559904b984bf6c6fc50bcddf0ac0263ff175cc05e039b8635012c097207b84bf9270df5c5bf0a9d6532d01b0a9ec diff --git a/app-admin/sysklogd/sysklogd-9999.ebuild b/app-admin/sysklogd/sysklogd-2.4.2.ebuild similarity index 92% copy from app-admin/sysklogd/sysklogd-9999.ebuild copy to app-admin/sysklogd/sysklogd-2.4.2.ebuild index 53e3b031b00b..b823887c4367 100644 --- a/app-admin/sysklogd/sysklogd-9999.ebuild +++ b/app-admin/sysklogd/sysklogd-2.4.2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit flag-o-matic systemd toolchain-funcs @@ -18,7 +18,7 @@ fi LICENSE="BSD" SLOT="0" -IUSE="logger logrotate systemd" +IUSE="logger logrotate" # Needs network access RESTRICT="test" @@ -28,16 +28,13 @@ DEPEND=" !>=sys-apps/util-linux-2.34-r3[logger] ) " -RDEPEND="${DEPEND} - logrotate? ( app-admin/logrotate )" +RDEPEND=" + ${DEPEND} + logrotate? ( app-admin/logrotate ) +" DOCS=( ChangeLog.md README.md ) -pkg_setup() { - append-lfs-flags - tc-export CC -} - src_prepare() { default @@ -45,12 +42,16 @@ src_prepare() { } src_configure() { + append-lfs-flags + tc-export CC + local myeconfargs=( --disable-static --runstatedir="${EPREFIX}"/run + --with-systemd=$(systemd_get_systemunitdir) $(use_with logger) - $(use_with systemd systemd $(systemd_get_systemunitdir)) ) + econf "${myeconfargs[@]}" } @@ -79,6 +80,7 @@ pkg_postinst() { 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 elog "Starting with version 2.1 sysklogd no longer provides klogd." elog "syslogd now also logs kernel messages." diff --git a/app-admin/sysklogd/sysklogd-9999.ebuild b/app-admin/sysklogd/sysklogd-9999.ebuild index 53e3b031b00b..b823887c4367 100644 --- a/app-admin/sysklogd/sysklogd-9999.ebuild +++ b/app-admin/sysklogd/sysklogd-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit flag-o-matic systemd toolchain-funcs @@ -18,7 +18,7 @@ fi LICENSE="BSD" SLOT="0" -IUSE="logger logrotate systemd" +IUSE="logger logrotate" # Needs network access RESTRICT="test" @@ -28,16 +28,13 @@ DEPEND=" !>=sys-apps/util-linux-2.34-r3[logger] ) " -RDEPEND="${DEPEND} - logrotate? ( app-admin/logrotate )" +RDEPEND=" + ${DEPEND} + logrotate? ( app-admin/logrotate ) +" DOCS=( ChangeLog.md README.md ) -pkg_setup() { - append-lfs-flags - tc-export CC -} - src_prepare() { default @@ -45,12 +42,16 @@ src_prepare() { } src_configure() { + append-lfs-flags + tc-export CC + local myeconfargs=( --disable-static --runstatedir="${EPREFIX}"/run + --with-systemd=$(systemd_get_systemunitdir) $(use_with logger) - $(use_with systemd systemd $(systemd_get_systemunitdir)) ) + econf "${myeconfargs[@]}" } @@ -79,6 +80,7 @@ pkg_postinst() { 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 elog "Starting with version 2.1 sysklogd no longer provides klogd." elog "syslogd now also logs kernel messages."