public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sysklogd/
Date: Thu, 28 Nov 2019 16:33:53 +0000 (UTC)	[thread overview]
Message-ID: <1574958785.935b7f8301c682e18bd36247a5ad24bd1bec1ce0.polynomial-c@gentoo> (raw)

commit:     935b7f8301c682e18bd36247a5ad24bd1bec1ce0
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 28 16:33:05 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Nov 28 16:33:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=935b7f83

app-admin/sysklogd: Bump to version 2.0.2

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-admin/sysklogd/Manifest              |  1 +
 app-admin/sysklogd/sysklogd-2.0.2.ebuild | 68 ++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/app-admin/sysklogd/Manifest b/app-admin/sysklogd/Manifest
index 1f8f8b29719..3743cb2733e 100644
--- a/app-admin/sysklogd/Manifest
+++ b/app-admin/sysklogd/Manifest
@@ -1,4 +1,5 @@
 DIST sysklogd-1.5.1.tar.gz 90011 BLAKE2B c40bd8d5769f7d3d4141d602c74ac41e05a140743d18c4923d9368da7ba193ccb89a6837173994f0b7a9c290cc23f64513040434d7ab8df81b5d09b73b0263ad SHA512 a72196a1a172d25be1c4791ef6256fe71fa2ba8c1383d230e646e93f8a65c3a57c535189726325da4c792fdb2e9cb119bba43c878816a8e78e78189fd32b12b7
 DIST sysklogd-2.0.1.tar.gz 461158 BLAKE2B 2c56ea1b5edb11f6ce75cb34d7cb5778516fbf3cb64986a7dd6063f830e9e8040430a0deb0ac68aeb389435319ede89202b2aa31cb480fe9bd9518ad503ca6ee SHA512 24d82a2db8d7d8fbdf291964d3d42717cf3b62129d1d503986b17a8005ca414eb824c39ed787d73bac966dad5a7cc9b439efce58e218aebed72b765e07134a83
+DIST sysklogd-2.0.2.tar.gz 465933 BLAKE2B bc0181e43ca5996cfbf8a8a35d083f332e15f5c83215ec60b406cefc7817bb742d0ce094d6c0d9fe708d345db630a73ce408992d9aade18e5b69414ca4e2b2a6 SHA512 1e5e30162b1091c37801542ae44df3e5d1da09ead02dd74f81e1e35ebb2fea99bab372f00eca621340ca306a41629ccdfb3caa0d46db0fecf46e3030da932473
 DIST sysklogd-2.0.tar.gz 465822 BLAKE2B 030ce2e65287d215d376937aec590715abcac06dffef735038c31ee102eb00d5c616bfd2f3d378e53ef6ae4aa062e9802aaaca84a6f5598b43da35ee722d37ac SHA512 25b55b8ea47280c11959e03d5a8c592e1b02764b4aeb722ef9782d84116475f1bbba96d6db8c291b694d99c7970e2e7615e7cd48b8fef6dff4f9ae825e18d030
 DIST sysklogd_1.5-6.diff.gz 25677 BLAKE2B 3cb1f596490998b6002d4656a2321a500ce9941a37737c0b9d4702bbb87d7bc9ba21b68e06d175e3c1714a701adc6b3312e18a556ebc9ef395d8968762830cb5 SHA512 816961a835a43057569f62fd20d9f7b5e0bfcfcb173b68947457708504db3ce47e635956c8a9564f9bd577d8f3c49dfc725d321dfd3370b2de918363c30f838e

diff --git a/app-admin/sysklogd/sysklogd-2.0.2.ebuild b/app-admin/sysklogd/sysklogd-2.0.2.ebuild
new file mode 100644
index 00000000000..e9298b83532
--- /dev/null
+++ b/app-admin/sysklogd/sysklogd-2.0.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic systemd toolchain-funcs
+
+DESCRIPTION="Standard log daemons"
+HOMEPAGE="https://troglobit.com/sysklogd.html https://github.com/troglobit/sysklogd"
+SRC_URI="https://github.com/troglobit/sysklogd/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="klogd logger logrotate systemd"
+RESTRICT="test"
+
+DEPEND="
+	logger? (
+		!<sys-apps/util-linux-2.34-r3
+		!>=sys-apps/util-linux-2.34-r3[logger]
+	)
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( ChangeLog.md README.md )
+
+pkg_setup() {
+	append-lfs-flags
+	tc-export CC
+}
+
+src_configure() {
+	local myeconfargs=(
+		--runstatedir="${EPREFIX}"/run
+		$(use_with klogd)
+		$(use_with logger)
+		$(use_with systemd systemd $(systemd_get_systemunitdir))
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	insinto /etc
+	doins syslog.conf
+	keepdir /etc/syslog.d
+
+	newinitd "${FILESDIR}"/sysklogd.rc8 sysklogd
+	newconfd "${FILESDIR}"/sysklogd.confd2 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 "*.a" -o -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
+}


             reply	other threads:[~2019-11-28 16:34 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-28 16:33 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-19 18:43 [gentoo-commits] repo/gentoo:master commit in: app-admin/sysklogd/ Mike Gilbert
2024-09-19 18:43 Mike Gilbert
2024-09-18  1:34 Sam James
2024-02-02  4:21 Ionen Wolkens
2024-02-02  4:21 Ionen Wolkens
2024-01-18  0:28 Sam James
2024-01-18  0:28 Sam James
2024-01-17  6:02 Sam James
2024-01-17  5:50 Sam James
2024-01-17  5:33 Sam James
2024-01-15  3:32 Ionen Wolkens
2024-01-15  3:32 Ionen Wolkens
2023-11-13 19:53 Sam James
2023-09-27 13:29 Arthur Zamarin
2023-09-16 10:29 Sam James
2023-08-01  5:47 Sam James
2023-06-02 12:49 Sam James
2022-10-29 21:32 Sam James
2022-09-28  6:55 Agostino Sarubbo
2022-09-25  6:25 Agostino Sarubbo
2022-09-25  6:24 Agostino Sarubbo
2022-09-25  6:19 Agostino Sarubbo
2022-09-25  4:46 Sam James
2022-09-25  4:43 Sam James
2022-08-13 18:12 Sam James
2022-08-13 18:12 Sam James
2022-08-12 21:02 Sam James
2022-08-03  2:54 Sam James
2022-05-31  3:29 Sam James
2022-03-10  2:37 Yixun Lan
2022-02-19  8:38 Arthur Zamarin
2022-02-19  2:36 Sam James
2022-02-19  2:36 Sam James
2022-02-19  2:24 Sam James
2021-11-28 13:12 Lars Wendler
2021-09-06  2:23 Yixun Lan
2021-06-13  6:32 Agostino Sarubbo
2021-06-13  6:10 Sam James
2021-06-12 15:49 Sam James
2021-06-12 15:49 Sam James
2021-06-12 15:49 Sam James
2021-05-12  7:09 Lars Wendler
2021-05-01 23:02 David Seifert
2021-04-26 10:38 Sam James
2021-04-26 10:34 Sam James
2021-04-25 19:23 Sam James
2021-04-25 15:52 Sam James
2021-04-25 12:32 Sam James
2021-04-25 12:32 Sam James
2021-03-08 11:00 Lars Wendler
2021-03-08 11:00 Lars Wendler
2021-02-02 13:54 Lars Wendler
2021-01-30 14:30 Lars Wendler
2021-01-15 10:40 Lars Wendler
2021-01-15 10:35 Lars Wendler
2020-05-15 17:33 Sergei Trofimovich
2020-05-15 11:47 Agostino Sarubbo
2020-05-15 11:46 Agostino Sarubbo
2020-05-15 11:45 Agostino Sarubbo
2020-05-15 10:30 Agostino Sarubbo
2020-05-15 10:28 Agostino Sarubbo
2020-05-15 10:18 Agostino Sarubbo
2020-03-23  1:13 Lars Wendler
2020-03-23  1:13 Lars Wendler
2020-01-19 23:06 Lars Wendler
2020-01-17  8:23 Lars Wendler
2019-12-02  9:23 Lars Wendler
2019-11-25 17:09 Lars Wendler
2019-11-21  8:25 Lars Wendler
2019-11-21  8:24 Lars Wendler
2019-11-19 11:01 Lars Wendler
2019-11-18 15:14 Lars Wendler
2019-11-18 15:14 Lars Wendler
2019-11-18 11:59 Lars Wendler
2018-01-07 15:02 Mikle Kolyada
2018-01-07 15:00 Mikle Kolyada
2017-11-11 15:47 Sergei Trofimovich
2017-11-11 13:07 Sergei Trofimovich
2017-11-08 12:51 Tobias Klausmann
2017-11-03 21:52 Sergei Trofimovich
2017-11-02 21:16 Thomas Deutschmann
2017-11-02 20:19 Sergei Trofimovich
2017-11-02 10:45 Manuel Rüger
2017-05-17 19:22 Markus Meier
2017-01-17 17:39 Lars Wendler

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=1574958785.935b7f8301c682e18bd36247a5ad24bd1bec1ce0.polynomial-c@gentoo \
    --to=polynomial-c@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