From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
Date: Sat, 31 Aug 2019 14:08:10 +0000 (UTC) [thread overview]
Message-ID: <1567260486.f90a2ec91effe7098473d0a4e7f405b9c64e8a21.zlogene@gentoo> (raw)
commit: f90a2ec91effe7098473d0a4e7f405b9c64e8a21
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 31 14:07:41 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Aug 31 14:08:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f90a2ec9
app-admin/logrotate: Version bump (v3.15.1)
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
app-admin/logrotate/Manifest | 1 +
app-admin/logrotate/logrotate-3.15.1.ebuild | 98 +++++++++++++++++++++++++++++
2 files changed, 99 insertions(+)
diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest
index 1bab50d4f29..3c8b173781a 100644
--- a/app-admin/logrotate/Manifest
+++ b/app-admin/logrotate/Manifest
@@ -1,4 +1,5 @@
DIST logrotate-3.13.0.tar.gz 213726 BLAKE2B b9970a0fb49b9de9c83ee679fd4587b6a1623cf1aae2444e818339361c7b7762ce51fcbd124fefafbe47d529dd21ef346a6c9a267da20547914388db99dce003 SHA512 3dec2fcdd674d3337b71fd70339cb5e3dd06b4bc24bee191356a30c2a211a290ae7747e63b90581e32a6d6d1f73cf62d5b0ee5a91aa05bad4d6ee403a35d9e76
DIST logrotate-3.14.0.tar.gz 215413 BLAKE2B 7914188922d81b1f8b6c4e493fae71d23bc9e65ebfcb190ebb4287c875af53204cbecb51c2731a3dc57530a30c685c3a626074265d9a2462714ff6ff077ea5ca SHA512 5f584d9be01737960eaffcf43746270a5395486d2161577a9ee3e757cb4dfe5a207c8b1d097181dd413560d76ecc0e3d526f87d1b123a52dc3e5e49d529a5fb5
DIST logrotate-3.15.0.tar.gz 219496 BLAKE2B b9f9cd0b22b79c3da1ea6092c5f3ebf9fca39da3a4bb7e1da39a8bf96f0bdb573864b77681671ad227cfc444bbc3e64a518805780580adb954bfacd564f00e2f SHA512 9520f15eaec54da426699f1f5ce31949d1372fa25c5c127dfbf29ff717a1c15a6fd14437c1d7b67b116b12c8a5c28f6012e39ad4b3ca2b053c874d02efe98d84
+DIST logrotate-3.15.1.tar.gz 220263 BLAKE2B c164c542a0770965f5193f5816509f566b9afeb82ce8388a184d16c2b3e79aa0ef93be10d477c85f62037f01b3e626ea56d3173ca8cf017b8aa315f2e23b1a2b SHA512 72294607762751fb1aaaca1d62ebd87d109d837d50606176159a5e74782a993123321967b7a6185df6ca9c87a54febb832ac7537ceaa580a895901a995570cd5
DIST logrotate-3.9.1.tar.gz 79061 BLAKE2B b07f8fd8eb59cc4d6c80441a3b5a8aab090bc13eb8fa5e35b111feb2203fb2c3092daa469e6fec02a29b1d377bca33fbbf5859bcd351a1f4a0d82343c5f65d3d SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28
diff --git a/app-admin/logrotate/logrotate-3.15.1.ebuild b/app-admin/logrotate/logrotate-3.15.1.ebuild
new file mode 100644
index 00000000000..2be55d79dad
--- /dev/null
+++ b/app-admin/logrotate/logrotate-3.15.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd
+
+DESCRIPTION="Rotates, compresses, and mails system logs"
+HOMEPAGE="https://github.com/logrotate/logrotate"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="acl +cron selinux"
+
+CDEPEND="
+ >=dev-libs/popt-1.5
+ selinux? ( sys-libs/libselinux )
+ acl? ( virtual/acl )"
+
+DEPEND="${CDEPEND}
+ >=sys-apps/sed-4"
+
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-logrotate )
+ cron? ( virtual/cron )"
+
+STATEFILE="/var/lib/misc/logrotate.status"
+OLDSTATEFILE="/var/lib/logrotate.status"
+
+move_old_state_file() {
+ elog "logrotate state file is now located at ${STATEFILE}"
+ elog "See bug #357275"
+ if [[ -e "${OLDSTATEFILE}" ]] ; then
+ elog "Moving your current state file to new location: ${STATEFILE}"
+ mv -n "${OLDSTATEFILE}" "${STATEFILE}"
+ fi
+}
+
+install_cron_file() {
+ exeinto /etc/cron.daily
+ newexe "${S}"/examples/logrotate.cron "${PN}"
+}
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.15.0-ignore-hidden.patch"
+)
+
+src_prepare() {
+ sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.{cron,service} || die
+ default
+}
+
+src_configure() {
+ econf $(use_with acl) $(use_with selinux) --with-state-file-path="${STATEFILE}"
+}
+
+src_test() {
+ emake test
+}
+
+src_install() {
+ insinto /usr
+ dobin logrotate
+ doman logrotate.8
+ dodoc ChangeLog.md
+
+ insinto /etc
+ doins "${FILESDIR}"/logrotate.conf
+
+ use cron && install_cron_file
+
+ systemd_dounit examples/logrotate.{service,timer}
+ systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf
+
+ keepdir /etc/logrotate.d
+}
+
+pkg_postinst() {
+ elog
+ elog "The ${PN} binary is now installed under /usr/bin. Please"
+ elog "update your links"
+ elog
+ move_old_state_file
+ elog "If you are running systemd you might need to run:"
+ elog "systemd-tmpfiles --create /usr/lib/tmpfiles.d/logrotate.conf"
+ elog "in order to create the new location of the logrotate state file"
+ elog
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ elog "If you wish to have logrotate e-mail you updates, please"
+ elog "emerge virtual/mailx and configure logrotate in"
+ elog "/etc/logrotate.conf appropriately"
+ elog
+ elog "Additionally, /etc/logrotate.conf may need to be modified"
+ elog "for your particular needs. See man logrotate for details."
+ fi
+}
next reply other threads:[~2019-08-31 14:08 UTC|newest]
Thread overview: 142+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-31 14:08 Mikle Kolyada [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-08 12:50 [gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/ Sam James
2024-09-01 19:46 Arthur Zamarin
2024-08-29 3:15 Sam James
2024-08-29 2:35 Sam James
2024-08-29 2:35 Sam James
2024-08-29 2:35 Sam James
2024-08-29 2:35 Sam James
2024-08-29 2:35 Sam James
2024-06-24 2:54 Sam James
2024-06-24 2:54 Sam James
2023-03-04 22:30 Jakov Smolić
2023-03-04 8:50 Arthur Zamarin
2023-03-04 5:57 Arthur Zamarin
2023-03-04 5:50 Arthur Zamarin
2022-12-13 22:54 Sam James
2022-07-29 14:40 Arthur Zamarin
2022-07-29 3:24 Sam James
2022-07-16 8:59 Agostino Sarubbo
2022-07-15 12:14 Sam James
2022-07-15 11:04 Arthur Zamarin
2022-07-15 11:04 Arthur Zamarin
2022-07-15 11:02 Arthur Zamarin
2022-07-15 10:59 Arthur Zamarin
2022-07-15 10:03 Arthur Zamarin
2022-05-25 22:46 Sam James
2022-05-25 7:55 Sam James
2022-04-12 10:56 Sam James
2022-02-24 15:02 Sam James
2022-02-19 8:36 Arthur Zamarin
2022-02-19 8:29 Arthur Zamarin
2022-02-19 2:36 Sam James
2022-02-19 2:36 Sam James
2022-02-19 2:28 Sam James
2022-02-19 2:24 Sam James
2022-01-24 19:19 Sam James
2022-01-09 1:06 Sam James
2021-09-06 2:23 Yixun Lan
2021-07-30 8:39 Georgy Yakovlev
2021-07-30 8:39 Georgy Yakovlev
2021-07-30 8:39 Georgy Yakovlev
2021-07-30 8:39 Georgy Yakovlev
2021-07-27 3:16 Sam James
2021-07-26 11:17 Sam James
2021-07-25 20:09 Sam James
2021-07-23 17:58 Sam James
2021-07-23 17:58 Sam James
2021-07-23 17:05 Sergei Trofimovich
2021-05-22 17:20 David Seifert
2021-05-22 15:40 Lars Wendler
2021-04-26 10:38 Sam James
2021-04-26 10:34 Sam James
2021-04-25 15:52 Sam James
2021-04-25 15:21 Sam James
2021-04-25 12:32 Sam James
2021-04-25 12:32 Sam James
2021-04-25 12:32 Sam James
2021-01-14 20:09 Sergei Trofimovich
2021-01-08 14:22 Lars Wendler
2021-01-08 14:22 Lars Wendler
2021-01-07 16:53 Sam James
2021-01-07 16:52 Sam James
2021-01-07 15:04 Sam James
2021-01-07 10:09 Sam James
2021-01-07 5:10 Sam James
2021-01-07 5:10 Sam James
2020-09-30 17:59 Mikle Kolyada
2020-07-31 16:07 Mikle Kolyada
2020-03-06 6:29 Mikle Kolyada
2020-01-27 19:03 Mikle Kolyada
2019-05-21 19:17 Mikle Kolyada
2018-06-24 21:56 Steve Arnold
2018-06-17 10:21 Sergei Trofimovich
2018-06-09 19:22 Sergei Trofimovich
2018-05-20 14:47 Sergei Trofimovich
2018-05-03 7:28 Mart Raudsepp
2018-04-24 11:23 Mikle Kolyada
2018-04-18 7:10 Sergei Trofimovich
2018-04-11 20:43 Thomas Deutschmann
2018-04-10 11:32 Tobias Klausmann
2018-04-08 15:41 Aaron Bauman
2018-01-18 19:03 Markus Meier
2017-11-17 11:18 Tobias Klausmann
2017-11-14 9:00 Sergei Trofimovich
2017-11-13 15:12 Manuel Rüger
2017-11-11 23:34 Sergei Trofimovich
2017-11-11 22:12 Sergei Trofimovich
2017-11-11 18:00 Thomas Deutschmann
2017-11-11 14:47 Sergei Trofimovich
2017-10-23 18:01 Markus Meier
2017-10-05 20:46 José María Alonso
2017-10-04 8:13 Sergei Trofimovich
2017-10-02 23:45 Thomas Deutschmann
2017-10-02 13:24 Sergei Trofimovich
2017-10-02 12:17 Manuel Rüger
2017-09-30 7:18 Sergei Trofimovich
2017-09-29 0:41 Sergei Trofimovich
2017-08-28 15:39 José María Alonso
2017-08-04 19:24 José María Alonso
2017-07-13 20:40 José María Alonso
2017-07-12 11:52 José María Alonso
2017-06-21 11:57 Agostino Sarubbo
2017-06-15 16:07 Markus Meier
2017-06-13 12:31 Agostino Sarubbo
2017-06-10 15:10 Agostino Sarubbo
2017-06-10 13:45 Agostino Sarubbo
2017-06-04 19:20 Tobias Klausmann
2017-06-04 10:42 Agostino Sarubbo
2017-06-04 10:34 Agostino Sarubbo
2017-02-26 19:43 José María Alonso
2017-02-26 19:24 José María Alonso
2017-02-10 0:52 Michael Weber
2017-01-16 19:56 Tobias Klausmann
2017-01-15 0:30 Jeroen Roovers
2017-01-10 14:56 Agostino Sarubbo
2017-01-03 9:38 José María Alonso
2016-12-21 11:49 Thomas Deutschmann
2016-12-02 14:53 Lars Wendler
2016-10-01 12:51 Jeroen Roovers
2016-10-01 7:58 Markus Meier
2016-09-21 17:48 Tobias Klausmann
2016-07-30 13:49 Mike Gilbert
2016-07-30 13:46 Richard Farina
2016-07-30 13:37 Richard Farina
2016-07-26 11:35 José María Alonso
2016-07-18 4:49 Jeroen Roovers
2016-05-25 6:29 Matt Turner
2016-03-24 5:55 Markus Meier
2016-02-25 9:04 José María Alonso
2016-01-10 10:34 Agostino Sarubbo
2015-12-27 9:39 Mikle Kolyada
2015-12-07 11:40 Agostino Sarubbo
2015-12-06 11:52 Markus Meier
2015-12-03 13:28 Agostino Sarubbo
2015-12-03 8:30 Jeroen Roovers
2015-11-30 9:17 Agostino Sarubbo
2015-09-21 11:27 Agostino Sarubbo
2015-09-21 3:47 Jeroen Roovers
2015-09-12 3:40 Mike Frysinger
2015-09-06 13:25 Agostino Sarubbo
2015-08-18 5:54 Jeroen Roovers
2015-08-16 16:32 Mikle Kolyada
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=1567260486.f90a2ec91effe7098473d0a4e7f405b9c64e8a21.zlogene@gentoo \
--to=zlogene@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