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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5CF39158095 for ; Sat, 13 Aug 2022 18:12:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79AC6E077C; Sat, 13 Aug 2022 18:12:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E0BCE077C for ; Sat, 13 Aug 2022 18:12:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 4870A34122B for ; Sat, 13 Aug 2022 18:12:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F9E8326 for ; Sat, 13 Aug 2022 18:12:53 +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: <1660414367.d0eee11f868477a425b53e8e90423c9022fc6973.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.4.ebuild X-VCS-Directories: app-admin/sysklogd/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d0eee11f868477a425b53e8e90423c9022fc6973 X-VCS-Branch: master Date: Sat, 13 Aug 2022 18:12:53 +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: aff4af49-6b3d-4507-931e-fca444a7a965 X-Archives-Hash: 0d9af3edf2aa9bdac475848c11f3a277 commit: d0eee11f868477a425b53e8e90423c9022fc6973 Author: Sam James gentoo org> AuthorDate: Sat Aug 13 18:11:06 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Aug 13 18:12:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0eee11f app-admin/sysklogd: add 2.4.4 Signed-off-by: Sam James gentoo.org> app-admin/sysklogd/Manifest | 1 + app-admin/sysklogd/sysklogd-2.4.4.ebuild | 88 ++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/app-admin/sysklogd/Manifest b/app-admin/sysklogd/Manifest index 980f21a39082..253554eb6986 100644 --- a/app-admin/sysklogd/Manifest +++ b/app-admin/sysklogd/Manifest @@ -2,3 +2,4 @@ DIST sysklogd-2.3.0.tar.gz 441168 BLAKE2B fa2ec9975d51bcb26d7acc88ab02e211453fc7 DIST sysklogd-2.4.0.tar.gz 450757 BLAKE2B 65f7174ebad122d17032e0095c65df80110a992a40b41a3ecddb1f813605094ce59c1313f5d4f35ae33d0cb7557392a176fc9c2f0f69162b74cb69d531be0a09 SHA512 0f9c4498b3677636abd636a80a8256095798b09f43b6febbcb386b3bce7faae23c44aebc54234462a7aa53fb8e5bf821e89081bdbdba0f72218ac8481365029c DIST sysklogd-2.4.2.tar.gz 451760 BLAKE2B 35f59f3343e66be33cd6c0277e53a49dd94f593da9dbe0af685f513de9e3c5c4103d79530aba48b9515222556a3d5751a86c89be04aa6983b94b02d21db855be SHA512 5d17bfd25248f8ddc0938f00c9c11c5d7cfa559904b984bf6c6fc50bcddf0ac0263ff175cc05e039b8635012c097207b84bf9270df5c5bf0a9d6532d01b0a9ec DIST sysklogd-2.4.3.tar.gz 451887 BLAKE2B 210ad69fab10af2724c7554a10347c238eba97a7a3e7fec95ca12520976abd60a2ce762ff5effb528aa7f6f9191ecc95f9425a905de83f1e7820bd0b0294186c SHA512 9ff935811974b812f84e96bea64d284d718cab53038a4c11d74e50ae33d14d5d3c1f843d7c2771edd6ea1f742f108fc60aa81b4a686c336c276f76ea73d2c0c1 +DIST sysklogd-2.4.4.tar.gz 451938 BLAKE2B 218d9487440ab3fa395f596e5e4a9fa95df9dfa416470da658a9ac742437050c81a6e62b42763b038b8dc5d8cfab2ba30d049e269b08a66882f6d3f99863ee7b SHA512 434609dd11951b37d62b5371a2aef66424bb15ae4c98cba44762e8338ac135b37a453e5a4f40492ab80bce9b72faefc9a0ad065753f4cc5f7595911477b26e4a diff --git a/app-admin/sysklogd/sysklogd-2.4.4.ebuild b/app-admin/sysklogd/sysklogd-2.4.4.ebuild new file mode 100644 index 000000000000..b823887c4367 --- /dev/null +++ b/app-admin/sysklogd/sysklogd-2.4.4.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic systemd toolchain-funcs + +DESCRIPTION="Standard log daemons" +HOMEPAGE="https://troglobit.com/sysklogd.html https://github.com/troglobit/sysklogd" + +if [[ ${PV} == *9999 ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/troglobit/sysklogd.git" +else + SRC_URI="https://github.com/troglobit/sysklogd/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="logger logrotate" +# Needs network access +RESTRICT="test" + +DEPEND=" + logger? ( + !=sys-apps/util-linux-2.34-r3[logger] + ) +" +RDEPEND=" + ${DEPEND} + logrotate? ( app-admin/logrotate ) +" + +DOCS=( ChangeLog.md README.md ) + +src_prepare() { + default + + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_configure() { + append-lfs-flags + tc-export CC + + local myeconfargs=( + --disable-static + --runstatedir="${EPREFIX}"/run + --with-systemd=$(systemd_get_systemunitdir) + $(use_with logger) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + insinto /etc + doins syslog.conf + keepdir /etc/syslog.d + + newinitd "${FILESDIR}"/sysklogd.rc10 sysklogd + newconfd "${FILESDIR}"/sysklogd.confd3 sysklogd + + if use logrotate ; then + insinto /etc/logrotate.d + newins "${FILESDIR}"/sysklogd.logrotate sysklogd + sed 's@ -r 10M:10@@' -i "${ED}"/etc/conf.d/sysklogd || die + fi + + find "${ED}" -type f -name "*.la" -delete || die +} + +pkg_postinst() { + if ! use logrotate && [[ -n ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -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 + elog "Starting with version 2.1 sysklogd no longer provides klogd." + elog "syslogd now also logs kernel messages." + fi +}