[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: aa77fda9c096b246bbe50d0aa09ef3c9ee509802 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Sep 1 19:46:51 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Sep 1 19:46:51 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa77fda9 app-admin/logrotate: Stabilize 3.22.0 sparc, #938627 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.22.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.22.0.ebuild b/app-admin/logrotate/logrotate-3.22.0.ebuild index 4b0e586dcb9d..a9b70e508b32 100644 --- a/app-admin/logrotate/logrotate-3.22.0.ebuild +++ b/app-admin/logrotate/logrotate-3.22.0.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 3307aa80c066e888a3f2cb303759420b329fc25b Author: Sam James gentoo org> AuthorDate: Thu Aug 29 03:14:51 2024 + Commit: Sam James gentoo org> CommitDate: Thu Aug 29 03:14:51 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3307aa80 app-admin/logrotate: Stabilize 3.22.0 amd64, #938627 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.22.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.22.0.ebuild b/app-admin/logrotate/logrotate-3.22.0.ebuild index 90e4a8913158..4b0e586dcb9d 100644 --- a/app-admin/logrotate/logrotate-3.22.0.ebuild +++ b/app-admin/logrotate/logrotate-3.22.0.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 082671b47eaf2b0ec50207df60860bb4342f8e89 Author: Sam James gentoo org> AuthorDate: Thu Aug 29 02:34:25 2024 + Commit: Sam James gentoo org> CommitDate: Thu Aug 29 02:34:25 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=082671b4 app-admin/logrotate: Stabilize 3.22.0 ppc, #938627 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.22.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.22.0.ebuild b/app-admin/logrotate/logrotate-3.22.0.ebuild index a31493b09660..cd11d072d1c6 100644 --- a/app-admin/logrotate/logrotate-3.22.0.ebuild +++ b/app-admin/logrotate/logrotate-3.22.0.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 5018b7ca350ac6093f4387f4c7b80487d6adb5aa Author: Sam James gentoo org> AuthorDate: Thu Aug 29 02:34:26 2024 + Commit: Sam James gentoo org> CommitDate: Thu Aug 29 02:34:26 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5018b7ca app-admin/logrotate: Stabilize 3.22.0 arm, #938627 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.22.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.22.0.ebuild b/app-admin/logrotate/logrotate-3.22.0.ebuild index cd11d072d1c6..90e4a8913158 100644 --- a/app-admin/logrotate/logrotate-3.22.0.ebuild +++ b/app-admin/logrotate/logrotate-3.22.0.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: f5497aea229c975eae42ff3189634264fe158253 Author: Sam James gentoo org> AuthorDate: Thu Aug 29 02:34:23 2024 + Commit: Sam James gentoo org> CommitDate: Thu Aug 29 02:34:23 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5497aea app-admin/logrotate: Stabilize 3.22.0 arm64, #938627 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.22.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.22.0.ebuild b/app-admin/logrotate/logrotate-3.22.0.ebuild index 590fd270a862..1a4a3f474a7a 100644 --- a/app-admin/logrotate/logrotate-3.22.0.ebuild +++ b/app-admin/logrotate/logrotate-3.22.0.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 4193e908bfbb117b2a985c02288717f57b0bdfb8 Author: Sam James gentoo org> AuthorDate: Thu Aug 29 02:34:24 2024 + Commit: Sam James gentoo org> CommitDate: Thu Aug 29 02:34:24 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4193e908 app-admin/logrotate: Stabilize 3.22.0 ppc64, #938627 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.22.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.22.0.ebuild b/app-admin/logrotate/logrotate-3.22.0.ebuild index 1a4a3f474a7a..a31493b09660 100644 --- a/app-admin/logrotate/logrotate-3.22.0.ebuild +++ b/app-admin/logrotate/logrotate-3.22.0.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 757150e603d68574eb7bde09db97c17b60ef66a1 Author: Sam James gentoo org> AuthorDate: Thu Aug 29 02:34:22 2024 + Commit: Sam James gentoo org> CommitDate: Thu Aug 29 02:34:22 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=757150e6 app-admin/logrotate: Stabilize 3.22.0 x86, #938627 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.22.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.22.0.ebuild b/app-admin/logrotate/logrotate-3.22.0.ebuild index 9426d975db21..590fd270a862 100644 --- a/app-admin/logrotate/logrotate-3.22.0.ebuild +++ b/app-admin/logrotate/logrotate-3.22.0.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/files/
commit: e0afbee7c774aa88efb223d0cea12f593b17f7c1 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat Jun 29 09:12:47 2024 + Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jun 29 23:56:56 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0afbee7 app-admin/logrotate: remove unused patch Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Conrad Kostecki gentoo.org> .../files/logrotate-3.20.1-log-changes.patch | 147 - 1 file changed, 147 deletions(-) diff --git a/app-admin/logrotate/files/logrotate-3.20.1-log-changes.patch b/app-admin/logrotate/files/logrotate-3.20.1-log-changes.patch deleted file mode 100644 index b7c4bb5275db.. --- a/app-admin/logrotate/files/logrotate-3.20.1-log-changes.patch +++ /dev/null @@ -1,147 +0,0 @@ -https://bugs.gentoo.org/847382#c3 -https://github.com/logrotate/logrotate/commit/31cf1099ab8514dfcae5a980bc77352edd5292f8 -https://github.com/logrotate/logrotate/commit/7b1fa328bf70eb8434166f151bd075cd1440d0dc - -From 31cf1099ab8514dfcae5a980bc77352edd5292f8 Mon Sep 17 00:00:00 2001 -From: Kamil Dudka -Date: Fri, 27 May 2022 09:56:07 +0200 -Subject: [PATCH] lockState: do not print `error:` when exit code is unaffected - -Closes: https://github.com/logrotate/logrotate/pull/448 a/logrotate.c -+++ b/logrotate.c -@@ -3050,8 +3050,8 @@ static int lockState(const char *stateFilename, int skip_state_lock) - } - - if (sb.st_mode & S_IROTH) { --message(MESS_ERROR, "state file %s is world-readable and thus can" --" be locked from other unprivileged users." -+message(MESS_NORMAL, "warning: state file %s is world-readable" -+" and thus can be locked from other unprivileged users." - " Skipping lock acquisition...\n", - stateFilename); - close(lockFd); - -From 7b1fa328bf70eb8434166f151bd075cd1440d0dc Mon Sep 17 00:00:00 2001 -From: Kamil Dudka -Date: Fri, 27 May 2022 16:02:57 +0200 -Subject: [PATCH] log: unify handling of log levels - -Use MESS_WARN instead of MESS_NORMAL and make it always use -the `warning:` prefix. MESS_WARN is now mapped to LOG_WARNING -for syslog. - -Also drop MESS_VERBOSE, which was not set anywhere. - -Closes: https://github.com/logrotate/logrotate/pull/239 -Closes: https://github.com/logrotate/logrotate/pull/449 a/config.c -+++ b/config.c -@@ -643,7 +643,7 @@ static void set_criterium(enum criterium *pDst, enum criterium src, int *pSet) - { - if (*pSet && (*pDst != src)) { - /* we are overriding a previously set criterium */ --message(MESS_VERBOSE, "warning: '%s' overrides previously specified '%s'\n", -+message(MESS_DEBUG, "note: '%s' overrides previously specified '%s'\n", - crit_to_string(src), crit_to_string(*pDst)); - } - *pDst = src; -@@ -1021,7 +1021,7 @@ static int readConfigFile(const char *configFile, struct logInfo *defConfig) - - if (getuid() == ROOT_UID) { - if ((sb_config.st_mode & 07533) != 0400) { --message(MESS_NORMAL, -+message(MESS_WARN, - "Potentially dangerous mode on %s: 0%o\n", - configFile, (unsigned) (sb_config.st_mode & 0)); - } -@@ -1386,7 +1386,7 @@ static int readConfigFile(const char *configFile, struct logInfo *defConfig) - RAISE_ERROR(); - } - } else if (!strcmp(key, "errors")) { --message(MESS_NORMAL, -+message(MESS_WARN, - "%s: %d: the errors directive is deprecated and no longer used.\n", - configFile, lineNum); - } else if (!strcmp(key, "mail")) { a/log.c -+++ b/log.c -@@ -40,9 +40,12 @@ static void log_once(FILE *where, int level, const char *format, va_list args) - { - switch (level) { - case MESS_DEBUG: --case MESS_NORMAL: --case MESS_VERBOSE: - break; -+ -+case MESS_WARN: -+fprintf(where, "warning: "); -+break; -+ - default: - fprintf(where, "error: "); - break; -@@ -78,10 +81,11 @@ void message(int level, const char *format, ...) - priority |= LOG_DEBUG; - break; - case MESS_DEBUG: --case MESS_VERBOSE: --case MESS_NORMAL: - priority |= LOG_INFO; - break; -+case MESS_WARN: -+priority |= LOG_WARNING; -+break; - case MESS_ERROR: - priority |= LOG_ERR; - break; a/log.h -+++ b/log.h -@@ -5,8 +5,7 @@ - - #define MESS_REALDEBUG 1 - #define MESS_DEBUG 2 --#define MESS_VERBOSE3 --#define MESS_NORMAL 4 -+#define MESS_WARN 4 - #define MESS_ERROR
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: a192ab77c52d85509361070bac9300e719c9ecdd Author: Sam James gentoo org> AuthorDate: Mon Jun 24 02:23:16 2024 + Commit: Sam James gentoo org> CommitDate: Mon Jun 24 02:53:35 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a192ab77 app-admin/logrotate: drop 3.19.0, 3.20.1-r1 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/Manifest | 3 - app-admin/logrotate/logrotate-3.19.0.ebuild| 96 -- app-admin/logrotate/logrotate-3.20.1-r1.ebuild | 96 -- 3 files changed, 195 deletions(-) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 8c9bb675f204..82484df4b0c6 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,5 +1,2 @@ -DIST logrotate-3.19.0.tar.xz 166276 BLAKE2B bb19690ca092905e527f6a0a7915373a65b29d3b50d97456ed31aa9b5b5698b3ae266c8e247a167198dcd8891a7e330f4913dfefa3563e5b2de7a6e0d067a6c3 SHA512 7838e14a5b147f6e5edf6efdf743deeca39fdb563fc6f14aa010ac5b7bdef9c2bb8005415481d1b042b31975052d5ed6e75c4bcd7e378003427ebe5ec02a1f2c -DIST logrotate-3.20.1.tar.xz 166712 BLAKE2B 8481e0d746c6bcbe10f2686a921334c6f957c8d92520927de7bc8fb0b7631a444fedaa80f35bc2de7961b3d5833ce4ab885b1298b235b7f8b33cc3ae05438da6 SHA512 a9ed5796ab254f511d0029a8f29ef7557f62e12e3ea9af24e30b5b9f348b1c1a16df26d44314b78299916fb3b5000b9cd9eed7cee2cee8df11cfd8e40c79b092 -DIST logrotate-3.20.1.tar.xz.asc 833 BLAKE2B afc02177335bcd580e0617af8c50846b371c2d00ecd8fe329c2e298dc8c48823137625f455cea3d983a0d9971733297fa2c4d98ba3c6f72d2c07f8f21108cfe4 SHA512 2dd207feec431b223ff12f09f6cce14409d45e5bb3abaf2275dd773c7ee7c59ed7d32395e5869bfed70c970be4158fd299e6e269838378843dcb63ca5ebfa029 DIST logrotate-3.21.0.tar.xz 168532 BLAKE2B f7fa0050bde51e2517eac8456ecf87648bc8423621830894ceb2a3ff6b9dfe32c5b53df6a4ee59aa91bd563ed94376a635159535f4fdc170fbc673354bcef508 SHA512 c576df7d2bc1a1db2f99befdd0ea627aef2d97bdcd4a7cdea76870623ba92fb1f04f1af6d15b75e4a9085f4aef2ae5e9843c4094cdd01e24d89872ccaf9c0d4a DIST logrotate-3.21.0.tar.xz.asc 833 BLAKE2B b2099a0b8c15d1ea7f7325884027dff08dcc8305113411448797b8089d17026242a3f10bd6d7f3d865e3e339ec6fb5faf4ff48f8fd65bca3af4da8b335c3b5f1 SHA512 8f4c1853cd84f85c796b72b43048f4cf04e3409703e7669ee91e1d1aa5e9e5c04261fac1cdf85ec303508d5b6dbf126a44eb9ec819bcc772c664830d39e1068c diff --git a/app-admin/logrotate/logrotate-3.19.0.ebuild b/app-admin/logrotate/logrotate-3.19.0.ebuild deleted file mode 100644 index 461e26ab35da.. --- a/app-admin/logrotate/logrotate-3.19.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd tmpfiles - -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.xz"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="acl +cron selinux" - -DEPEND=">=dev-libs/popt-1.5 - selinux? ( sys-libs/libselinux ) - acl? ( virtual/acl )" -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-logrotate ) - cron? ( virtual/cron )" - -STATEFILE="${EPREFIX}/var/lib/misc/logrotate.status" -OLDSTATEFILE="${EPREFIX}/var/lib/logrotate.status" - -PATCHES=( - "${FILESDIR}/${PN}-3.15.0-ignore-hidden.patch" -) - -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}" || die - fi -} - -install_cron_file() { - exeinto /etc/cron.daily - newexe "${S}"/examples/logrotate.cron "${PN}" -} - -src_prepare() { - default - - sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' examples/logrotate.{cron,service} || die -} - -src_configure() { - econf \ - $(use_with acl) \ - $(use_with selinux) \ - --with-state-file-path="${STATEFILE}" -} - -src_test() { - emake test -} - -src_install() { - 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} - newtmpfiles "${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 - - tmpfiles_process ${PN}.conf - - if [[ -z ${REPLACING_VERSIONS} ]] ; then - elog "If you wish to have logrotate e-mail you updates, please"
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: e04ca13b79c8da0b16bf8f181224141979bf9d64 Author: Sam James gentoo org> AuthorDate: Mon Jun 24 02:35:50 2024 + Commit: Sam James gentoo org> CommitDate: Mon Jun 24 02:53:36 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04ca13b app-admin/logrotate: add 3.22.0 Bug: https://github.com/logrotate/logrotate/issues/576 Bug: https://github.com/logrotate/logrotate/issues/611 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/Manifest| 2 + app-admin/logrotate/logrotate-3.22.0.ebuild | 99 + 2 files changed, 101 insertions(+) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 82484df4b0c6..889283fbcb4e 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,2 +1,4 @@ DIST logrotate-3.21.0.tar.xz 168532 BLAKE2B f7fa0050bde51e2517eac8456ecf87648bc8423621830894ceb2a3ff6b9dfe32c5b53df6a4ee59aa91bd563ed94376a635159535f4fdc170fbc673354bcef508 SHA512 c576df7d2bc1a1db2f99befdd0ea627aef2d97bdcd4a7cdea76870623ba92fb1f04f1af6d15b75e4a9085f4aef2ae5e9843c4094cdd01e24d89872ccaf9c0d4a DIST logrotate-3.21.0.tar.xz.asc 833 BLAKE2B b2099a0b8c15d1ea7f7325884027dff08dcc8305113411448797b8089d17026242a3f10bd6d7f3d865e3e339ec6fb5faf4ff48f8fd65bca3af4da8b335c3b5f1 SHA512 8f4c1853cd84f85c796b72b43048f4cf04e3409703e7669ee91e1d1aa5e9e5c04261fac1cdf85ec303508d5b6dbf126a44eb9ec819bcc772c664830d39e1068c +DIST logrotate-3.22.0.tar.xz 172108 BLAKE2B c1c9f1ff792905d2917e9ba3cee360c50259e1520e04073cb69abe475499adcf01aeb3cb4c6933af61255fbb5978577c4fdf9d6ab6ebf9568358d2446791c7f3 SHA512 16fd95b4daef779212008c4a968c7a7130be8d550f58531d24fc04599cb9adff6323a745725b3b14d7312ad36cb6646fe33a3defdb5b70cda2cec9646aab066a +DIST logrotate-3.22.0.tar.xz.asc 833 BLAKE2B 379d4fd71c6161211234903560770cf14a7ddf769b83e76ef27ad96d1204e2f4dc73d1e44aa69401db87c252c4471d5bdbace0555dfbb66c8751c20131a7751f SHA512 93664c45bfe9ea20aedc54fe216825db38eaf81d43b238cd7bf8ea3e03f7d282f53743fb6d914766a9ed0cb5b33376435d253db5b9ec7039facd66e25d349dd4 diff --git a/app-admin/logrotate/logrotate-3.22.0.ebuild b/app-admin/logrotate/logrotate-3.22.0.ebuild new file mode 100644 index ..9426d975db21 --- /dev/null +++ b/app-admin/logrotate/logrotate-3.22.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/cgzones.asc +inherit systemd tmpfiles verify-sig + +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.xz"; +SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz.asc )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="acl +cron selinux" + +DEPEND=" + >=dev-libs/popt-1.5 + selinux? ( sys-libs/libselinux ) + acl? ( virtual/acl ) +" +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-logrotate ) + cron? ( virtual/cron ) +" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-cgzones )" + +STATEFILE="${EPREFIX}/var/lib/misc/logrotate.status" +OLDSTATEFILE="${EPREFIX}/var/lib/logrotate.status" + +PATCHES=( + "${FILESDIR}"/${PN}-3.15.0-ignore-hidden.patch +) + +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}" || die + fi +} + +install_cron_file() { + exeinto /etc/cron.daily + newexe "${S}"/examples/logrotate.cron "${PN}" +} + +src_prepare() { + default + + sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' examples/logrotate.{cron,service} || die +} + +src_configure() { + econf \ + $(use_with acl) \ + $(use_with selinux) \ + --with-state-file-path="${STATEFILE}" +} + +src_install() { + 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} + newtmpfiles "${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 + + tmpfiles_process ${PN}.conf + + 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" +
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 8146692da8492ea2e5cedec633b8486a4caa0ffa Author: Jakov Smolić gentoo org> AuthorDate: Sat Mar 4 22:30:04 2023 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Mar 4 22:30:04 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8146692d app-admin/logrotate: Stabilize 3.21.0 hppa, #899294 Signed-off-by: Jakov Smolić gentoo.org> app-admin/logrotate/logrotate-3.21.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.21.0.ebuild b/app-admin/logrotate/logrotate-3.21.0.ebuild index d5fc55288d7c..274d7c986b0e 100644 --- a/app-admin/logrotate/logrotate-3.21.0.ebuild +++ b/app-admin/logrotate/logrotate-3.21.0.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: f97e81ba736f2deef31e697b78f5b5597164a7fb Author: Arthur Zamarin gentoo org> AuthorDate: Sat Mar 4 08:50:52 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Mar 4 08:50:52 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97e81ba app-admin/logrotate: Stabilize 3.21.0 sparc, #899294 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.21.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.21.0.ebuild b/app-admin/logrotate/logrotate-3.21.0.ebuild index fff845e354cd..30946c295323 100644 --- a/app-admin/logrotate/logrotate-3.21.0.ebuild +++ b/app-admin/logrotate/logrotate-3.21.0.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 764f99674e593c692f37e550b24c7db2f9867017 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Mar 4 05:57:36 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Mar 4 05:57:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=764f9967 app-admin/logrotate: Stabilize 3.21.0 arm64, #899294 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.21.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.21.0.ebuild b/app-admin/logrotate/logrotate-3.21.0.ebuild index 3cfb3a1c50e9..f1dddce0b836 100644 --- a/app-admin/logrotate/logrotate-3.21.0.ebuild +++ b/app-admin/logrotate/logrotate-3.21.0.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: f9bfcedffb80414b970dbccd81729f1e87027ba7 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Mar 4 05:50:46 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Mar 4 05:50:46 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9bfcedf app-admin/logrotate: Stabilize 3.21.0 x86, #899294 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.21.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-admin/logrotate/logrotate-3.21.0.ebuild b/app-admin/logrotate/logrotate-3.21.0.ebuild index fed4e129a527..3cfb3a1c50e9 100644 --- a/app-admin/logrotate/logrotate-3.21.0.ebuild +++ b/app-admin/logrotate/logrotate-3.21.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: ef50aaeaa445b70a56c9a7bc4730a1a77890802b Author: Sam James gentoo org> AuthorDate: Tue Dec 13 22:53:37 2022 + Commit: Sam James gentoo org> CommitDate: Tue Dec 13 22:53:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef50aaea app-admin/logrotate: add 3.21.0 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/Manifest| 2 + app-admin/logrotate/logrotate-3.21.0.ebuild | 99 + 2 files changed, 101 insertions(+) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 2d6b9a160eae..8c9bb675f204 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,3 +1,5 @@ DIST logrotate-3.19.0.tar.xz 166276 BLAKE2B bb19690ca092905e527f6a0a7915373a65b29d3b50d97456ed31aa9b5b5698b3ae266c8e247a167198dcd8891a7e330f4913dfefa3563e5b2de7a6e0d067a6c3 SHA512 7838e14a5b147f6e5edf6efdf743deeca39fdb563fc6f14aa010ac5b7bdef9c2bb8005415481d1b042b31975052d5ed6e75c4bcd7e378003427ebe5ec02a1f2c DIST logrotate-3.20.1.tar.xz 166712 BLAKE2B 8481e0d746c6bcbe10f2686a921334c6f957c8d92520927de7bc8fb0b7631a444fedaa80f35bc2de7961b3d5833ce4ab885b1298b235b7f8b33cc3ae05438da6 SHA512 a9ed5796ab254f511d0029a8f29ef7557f62e12e3ea9af24e30b5b9f348b1c1a16df26d44314b78299916fb3b5000b9cd9eed7cee2cee8df11cfd8e40c79b092 DIST logrotate-3.20.1.tar.xz.asc 833 BLAKE2B afc02177335bcd580e0617af8c50846b371c2d00ecd8fe329c2e298dc8c48823137625f455cea3d983a0d9971733297fa2c4d98ba3c6f72d2c07f8f21108cfe4 SHA512 2dd207feec431b223ff12f09f6cce14409d45e5bb3abaf2275dd773c7ee7c59ed7d32395e5869bfed70c970be4158fd299e6e269838378843dcb63ca5ebfa029 +DIST logrotate-3.21.0.tar.xz 168532 BLAKE2B f7fa0050bde51e2517eac8456ecf87648bc8423621830894ceb2a3ff6b9dfe32c5b53df6a4ee59aa91bd563ed94376a635159535f4fdc170fbc673354bcef508 SHA512 c576df7d2bc1a1db2f99befdd0ea627aef2d97bdcd4a7cdea76870623ba92fb1f04f1af6d15b75e4a9085f4aef2ae5e9843c4094cdd01e24d89872ccaf9c0d4a +DIST logrotate-3.21.0.tar.xz.asc 833 BLAKE2B b2099a0b8c15d1ea7f7325884027dff08dcc8305113411448797b8089d17026242a3f10bd6d7f3d865e3e339ec6fb5faf4ff48f8fd65bca3af4da8b335c3b5f1 SHA512 8f4c1853cd84f85c796b72b43048f4cf04e3409703e7669ee91e1d1aa5e9e5c04261fac1cdf85ec303508d5b6dbf126a44eb9ec819bcc772c664830d39e1068c diff --git a/app-admin/logrotate/logrotate-3.21.0.ebuild b/app-admin/logrotate/logrotate-3.21.0.ebuild new file mode 100644 index ..fed4e129a527 --- /dev/null +++ b/app-admin/logrotate/logrotate-3.21.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/kamildudka.asc +inherit systemd tmpfiles verify-sig + +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.xz"; +SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz.asc )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="acl +cron selinux" + +DEPEND=" + >=dev-libs/popt-1.5 + selinux? ( sys-libs/libselinux ) + acl? ( virtual/acl ) +" +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-logrotate ) + cron? ( virtual/cron ) +" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-kamildudka )" + +STATEFILE="${EPREFIX}/var/lib/misc/logrotate.status" +OLDSTATEFILE="${EPREFIX}/var/lib/logrotate.status" + +PATCHES=( + "${FILESDIR}"/${PN}-3.15.0-ignore-hidden.patch +) + +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}" || die + fi +} + +install_cron_file() { + exeinto /etc/cron.daily + newexe "${S}"/examples/logrotate.cron "${PN}" +} + +src_prepare() { + default + + sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' examples/logrotate.{cron,service} || die +} + +src_configure() { + econf \ + $(use_with acl) \ + $(use_with selinux) \ + --with-state-file-path="${STATEFILE}" +} + +src_install() { + 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} + newtmpfiles "${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 + + tmpfiles_proces
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: fef4d6517bb66698022978cd835a56d5701e318a Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 29 14:40:38 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 29 14:40:38 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef4d651 app-admin/logrotate: Stabilize 3.20.1-r1 hppa, #858149 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.20.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild index 65640690466c..868b758df65f 100644 --- a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: ad232dc6ab103f18616b0d2b8ab7eb7649d929c0 Author: Sam James gentoo org> AuthorDate: Fri Jul 29 03:21:07 2022 + Commit: Sam James gentoo org> CommitDate: Fri Jul 29 03:21:07 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad232dc6 app-admin/logrotate: fix metadata indentation Signed-off-by: Sam James gentoo.org> app-admin/logrotate/metadata.xml | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app-admin/logrotate/metadata.xml b/app-admin/logrotate/metadata.xml index 7e0dcb911968..5fc3fca4708a 100644 --- a/app-admin/logrotate/metadata.xml +++ b/app-admin/logrotate/metadata.xml @@ -1,10 +1,10 @@ https://www.gentoo.org/dtd/metadata.dtd";> - - base-sys...@gentoo.org - Gentoo Base System - + + base-sys...@gentoo.org + Gentoo Base System + Logrotate allows for the automatic rotation compression, removal and mailing of log files. Logrotate can be set to handle a log
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: ff38caeaa12a4ac2157677b5d6d1517ab6e3af3b Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jul 16 08:59:19 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jul 16 08:59:19 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff38caea app-admin/logrotate: x86 stable wrt bug #858149 Signed-off-by: Agostino Sarubbo gentoo.org> app-admin/logrotate/logrotate-3.20.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild index 1f950f5d6746..65640690466c 100644 --- a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 28c952d64e872af24c503fc47895e4d9b548066d Author: Sam James gentoo org> AuthorDate: Fri Jul 15 12:13:47 2022 + Commit: Sam James gentoo org> CommitDate: Fri Jul 15 12:14:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c952d6 app-admin/logrotate: Stabilize 3.20.1-r1 amd64, #858149 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.20.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild index f2b18ca713b5..1f950f5d6746 100644 --- a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 00781bb42918b474e699e8dea9ceccd0f3ad6677 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 11:04:48 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 11:04:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00781bb4 app-admin/logrotate: Stabilize 3.20.1-r1 ppc64, #858149 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.20.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild index 8d12cfe4caae..440aaa9678d6 100644 --- a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 9def6f8c429e3c1b5e26551151e7c8f81844b8a5 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 11:04:49 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 11:04:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9def6f8c app-admin/logrotate: Stabilize 3.20.1-r1 ppc, #858149 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.20.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild index 440aaa9678d6..f2b18ca713b5 100644 --- a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 00a71688c27302807946a17d14396ab969bd1f67 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 11:02:39 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 11:02:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00a71688 app-admin/logrotate: Stabilize 3.20.1-r1 sparc, #858149 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.20.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild index 91e18ae2ad6b..8d12cfe4caae 100644 --- a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 94975045088ca7e84f0f9193d0d8aebefef858e3 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 10:59:17 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 10:59:17 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94975045 app-admin/logrotate: Stabilize 3.20.1-r1 arm64, #858149 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.20.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild index 594b37f8e439..91e18ae2ad6b 100644 --- a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: a23e77f5a238c043f3171004610e79fdc983297c Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 10:02:54 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 10:02:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a23e77f5 app-admin/logrotate: Stabilize 3.20.1-r1 arm, #858149 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.20.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild index 9023bd91b43b..594b37f8e439 100644 --- a/app-admin/logrotate/logrotate-3.20.1-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.20.1-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/files/, app-admin/logrotate/
commit: f22a1ea1d23806ba35b1fe2b4c7772819d1bb776 Author: Sam James gentoo org> AuthorDate: Tue Jun 7 01:30:45 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jun 7 01:30:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f22a1ea1 app-admin/logrotate: backport log setting tweaks Should make things a bit less noisy w/ recent CVE fix. Bug: https://bugs.gentoo.org/847382 Signed-off-by: Sam James gentoo.org> .../files/logrotate-3.20.1-log-changes.patch | 147 + app-admin/logrotate/logrotate-3.20.1-r1.ebuild | 96 ++ 2 files changed, 243 insertions(+) diff --git a/app-admin/logrotate/files/logrotate-3.20.1-log-changes.patch b/app-admin/logrotate/files/logrotate-3.20.1-log-changes.patch new file mode 100644 index ..b7c4bb5275db --- /dev/null +++ b/app-admin/logrotate/files/logrotate-3.20.1-log-changes.patch @@ -0,0 +1,147 @@ +https://bugs.gentoo.org/847382#c3 +https://github.com/logrotate/logrotate/commit/31cf1099ab8514dfcae5a980bc77352edd5292f8 +https://github.com/logrotate/logrotate/commit/7b1fa328bf70eb8434166f151bd075cd1440d0dc + +From 31cf1099ab8514dfcae5a980bc77352edd5292f8 Mon Sep 17 00:00:00 2001 +From: Kamil Dudka +Date: Fri, 27 May 2022 09:56:07 +0200 +Subject: [PATCH] lockState: do not print `error:` when exit code is unaffected + +Closes: https://github.com/logrotate/logrotate/pull/448 +--- a/logrotate.c b/logrotate.c +@@ -3050,8 +3050,8 @@ static int lockState(const char *stateFilename, int skip_state_lock) + } + + if (sb.st_mode & S_IROTH) { +-message(MESS_ERROR, "state file %s is world-readable and thus can" +-" be locked from other unprivileged users." ++message(MESS_NORMAL, "warning: state file %s is world-readable" ++" and thus can be locked from other unprivileged users." + " Skipping lock acquisition...\n", + stateFilename); + close(lockFd); + +From 7b1fa328bf70eb8434166f151bd075cd1440d0dc Mon Sep 17 00:00:00 2001 +From: Kamil Dudka +Date: Fri, 27 May 2022 16:02:57 +0200 +Subject: [PATCH] log: unify handling of log levels + +Use MESS_WARN instead of MESS_NORMAL and make it always use +the `warning:` prefix. MESS_WARN is now mapped to LOG_WARNING +for syslog. + +Also drop MESS_VERBOSE, which was not set anywhere. + +Closes: https://github.com/logrotate/logrotate/pull/239 +Closes: https://github.com/logrotate/logrotate/pull/449 +--- a/config.c b/config.c +@@ -643,7 +643,7 @@ static void set_criterium(enum criterium *pDst, enum criterium src, int *pSet) + { + if (*pSet && (*pDst != src)) { + /* we are overriding a previously set criterium */ +-message(MESS_VERBOSE, "warning: '%s' overrides previously specified '%s'\n", ++message(MESS_DEBUG, "note: '%s' overrides previously specified '%s'\n", + crit_to_string(src), crit_to_string(*pDst)); + } + *pDst = src; +@@ -1021,7 +1021,7 @@ static int readConfigFile(const char *configFile, struct logInfo *defConfig) + + if (getuid() == ROOT_UID) { + if ((sb_config.st_mode & 07533) != 0400) { +-message(MESS_NORMAL, ++message(MESS_WARN, + "Potentially dangerous mode on %s: 0%o\n", + configFile, (unsigned) (sb_config.st_mode & 0)); + } +@@ -1386,7 +1386,7 @@ static int readConfigFile(const char *configFile, struct logInfo *defConfig) + RAISE_ERROR(); + } + } else if (!strcmp(key, "errors")) { +-message(MESS_NORMAL, ++message(MESS_WARN, + "%s: %d: the errors directive is deprecated and no longer used.\n", + configFile, lineNum); + } else if (!strcmp(key, "mail")) { +--- a/log.c b/log.c +@@ -40,9 +40,12 @@ static void log_once(FILE *where, int level, const char *format, va_list args) + { + switch (level) { + case MESS_DEBUG: +-case MESS_NORMAL: +-case MESS_VERBOSE: + break; ++ ++case MESS_WARN: ++fprintf(where, "warning: "); ++break; ++ + default: + fprintf(where, "error: "); + break; +@@ -78,10 +81,11 @@ void message(int level, const char *format, ...) + priority |= LOG_DEBUG; + break; + case MESS_DEBUG: +-case MESS_VERBOSE: +-case MESS_NORMAL: + priority |= LOG_INFO; + break; ++case MESS_WARN: ++priority |= LOG_WARNING; ++break; + case MESS_ERROR: + priority |= LOG_ERR; + break; +--- a/log.h b/log.h +@@ -5,8 +5,7 @@ + + #define MESS_REALDEBUG 1 + #define MESS_DEBUG 2 +-#define MESS_VERBOS
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 898643725ad24e41d3846092d639903f86d3b613 Author: Sam James gentoo org> AuthorDate: Wed May 25 22:46:15 2022 + Commit: Sam James gentoo org> CommitDate: Wed May 25 22:46:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89864372 app-admin/logrotate: add 3.20.1 Additional fix to the original security issue. Bug: https://bugs.gentoo.org/847382 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/Manifest| 2 + app-admin/logrotate/logrotate-3.20.1.ebuild | 95 + 2 files changed, 97 insertions(+) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index f29730e396d9..52cd7279b77a 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -2,3 +2,5 @@ DIST logrotate-3.18.1.tar.gz 225226 BLAKE2B 6f40dfe89f9c6202263f16204a9cff07b921 DIST logrotate-3.19.0.tar.xz 166276 BLAKE2B bb19690ca092905e527f6a0a7915373a65b29d3b50d97456ed31aa9b5b5698b3ae266c8e247a167198dcd8891a7e330f4913dfefa3563e5b2de7a6e0d067a6c3 SHA512 7838e14a5b147f6e5edf6efdf743deeca39fdb563fc6f14aa010ac5b7bdef9c2bb8005415481d1b042b31975052d5ed6e75c4bcd7e378003427ebe5ec02a1f2c DIST logrotate-3.20.0.tar.xz 166604 BLAKE2B 5cde189e0271d3a46075497547b06b0be0b10d79fb508ca241cd92063de94418e27b346657dd21601b219bd72a30ca1c4f7814d325fda4d40501992f8af3507d SHA512 2e2a6f29dfe8606202962a18b0262b6f56c6dbd3cacef10381ee2ae31ba1ba3166ad7f6b13e5a88dd7628b0048d8ab146951676be273dbe0bc6bfc4e8c67d65e DIST logrotate-3.20.0.tar.xz.asc 833 BLAKE2B cbe3f825f2c17a6541dd2a7e1ab6720045b0f6ec498d13286e7f683317cddcf784c69d29b2ec8f05d62611a9fe1fc46c5db3c9278cefb28d8f0079760e6ea63f SHA512 9bff8dbdbf0c241a00191dc24c8c218c4f52b1f0bffc698446e10ac98d1ac5d8f108dc6aeec0c4729e7bf171d0b32b97419d83f3b8f64ec71f71e7fc54b3b034 +DIST logrotate-3.20.1.tar.xz 166712 BLAKE2B 8481e0d746c6bcbe10f2686a921334c6f957c8d92520927de7bc8fb0b7631a444fedaa80f35bc2de7961b3d5833ce4ab885b1298b235b7f8b33cc3ae05438da6 SHA512 a9ed5796ab254f511d0029a8f29ef7557f62e12e3ea9af24e30b5b9f348b1c1a16df26d44314b78299916fb3b5000b9cd9eed7cee2cee8df11cfd8e40c79b092 +DIST logrotate-3.20.1.tar.xz.asc 833 BLAKE2B afc02177335bcd580e0617af8c50846b371c2d00ecd8fe329c2e298dc8c48823137625f455cea3d983a0d9971733297fa2c4d98ba3c6f72d2c07f8f21108cfe4 SHA512 2dd207feec431b223ff12f09f6cce14409d45e5bb3abaf2275dd773c7ee7c59ed7d32395e5869bfed70c970be4158fd299e6e269838378843dcb63ca5ebfa029 diff --git a/app-admin/logrotate/logrotate-3.20.1.ebuild b/app-admin/logrotate/logrotate-3.20.1.ebuild new file mode 100644 index ..79f198aab986 --- /dev/null +++ b/app-admin/logrotate/logrotate-3.20.1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/kamildudka.asc +inherit systemd tmpfiles verify-sig + +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.xz"; +SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz.asc )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="acl +cron selinux" + +DEPEND=">=dev-libs/popt-1.5 + selinux? ( sys-libs/libselinux ) + acl? ( virtual/acl )" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-logrotate ) + cron? ( virtual/cron )" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-kamildudka )" + +STATEFILE="${EPREFIX}/var/lib/misc/logrotate.status" +OLDSTATEFILE="${EPREFIX}/var/lib/logrotate.status" + +PATCHES=( + "${FILESDIR}/${PN}-3.15.0-ignore-hidden.patch" +) + +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}" || die + fi +} + +install_cron_file() { + exeinto /etc/cron.daily + newexe "${S}"/examples/logrotate.cron "${PN}" +} + +src_prepare() { + default + + sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' examples/logrotate.{cron,service} || die +} + +src_configure() { + econf \ + $(use_with acl) \ + $(use_with selinux) \ + --with-state-file-path="${STATEFILE}" +} + +src_install() { + 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} + newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}.conf + + keepdir /etc/logrotate.d +} + +pkg_postinst() { + elog + elog "The ${PN} binary
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: e5f19c9604ac3e7b61ff979add45c7db2f037c03 Author: Sam James gentoo org> AuthorDate: Wed May 25 07:46:09 2022 + Commit: Sam James gentoo org> CommitDate: Wed May 25 07:55:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5f19c96 app-admin/logrotate: add 3.20.0 Bug: https://bugs.gentoo.org/847382 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/Manifest| 2 + app-admin/logrotate/logrotate-3.20.0.ebuild | 95 + 2 files changed, 97 insertions(+) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 46170aa8169d..f29730e396d9 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,2 +1,4 @@ DIST logrotate-3.18.1.tar.gz 225226 BLAKE2B 6f40dfe89f9c6202263f16204a9cff07b921abc9a298b58649bb4968c9f498626741be334c47d4092da564ed75642b687ff6ef8781f69f5e25364f8635646d9d SHA512 c40f920686aee014c652f087c64f2a85e9e866a8717d1bd3f32a9dd7959a02962e6174de28ae685428b442e12079d0c8d91485611ca34a873ffae872a54ec9fe DIST logrotate-3.19.0.tar.xz 166276 BLAKE2B bb19690ca092905e527f6a0a7915373a65b29d3b50d97456ed31aa9b5b5698b3ae266c8e247a167198dcd8891a7e330f4913dfefa3563e5b2de7a6e0d067a6c3 SHA512 7838e14a5b147f6e5edf6efdf743deeca39fdb563fc6f14aa010ac5b7bdef9c2bb8005415481d1b042b31975052d5ed6e75c4bcd7e378003427ebe5ec02a1f2c +DIST logrotate-3.20.0.tar.xz 166604 BLAKE2B 5cde189e0271d3a46075497547b06b0be0b10d79fb508ca241cd92063de94418e27b346657dd21601b219bd72a30ca1c4f7814d325fda4d40501992f8af3507d SHA512 2e2a6f29dfe8606202962a18b0262b6f56c6dbd3cacef10381ee2ae31ba1ba3166ad7f6b13e5a88dd7628b0048d8ab146951676be273dbe0bc6bfc4e8c67d65e +DIST logrotate-3.20.0.tar.xz.asc 833 BLAKE2B cbe3f825f2c17a6541dd2a7e1ab6720045b0f6ec498d13286e7f683317cddcf784c69d29b2ec8f05d62611a9fe1fc46c5db3c9278cefb28d8f0079760e6ea63f SHA512 9bff8dbdbf0c241a00191dc24c8c218c4f52b1f0bffc698446e10ac98d1ac5d8f108dc6aeec0c4729e7bf171d0b32b97419d83f3b8f64ec71f71e7fc54b3b034 diff --git a/app-admin/logrotate/logrotate-3.20.0.ebuild b/app-admin/logrotate/logrotate-3.20.0.ebuild new file mode 100644 index ..79f198aab986 --- /dev/null +++ b/app-admin/logrotate/logrotate-3.20.0.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/kamildudka.asc +inherit systemd tmpfiles verify-sig + +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.xz"; +SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz.asc )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="acl +cron selinux" + +DEPEND=">=dev-libs/popt-1.5 + selinux? ( sys-libs/libselinux ) + acl? ( virtual/acl )" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-logrotate ) + cron? ( virtual/cron )" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-kamildudka )" + +STATEFILE="${EPREFIX}/var/lib/misc/logrotate.status" +OLDSTATEFILE="${EPREFIX}/var/lib/logrotate.status" + +PATCHES=( + "${FILESDIR}/${PN}-3.15.0-ignore-hidden.patch" +) + +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}" || die + fi +} + +install_cron_file() { + exeinto /etc/cron.daily + newexe "${S}"/examples/logrotate.cron "${PN}" +} + +src_prepare() { + default + + sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' examples/logrotate.{cron,service} || die +} + +src_configure() { + econf \ + $(use_with acl) \ + $(use_with selinux) \ + --with-state-file-path="${STATEFILE}" +} + +src_install() { + 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} + newtmpfiles "${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 + + tmpfiles_process ${PN}.conf + + 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 +
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 29bf86595de90144f947d9dd088c96432bc5cffd Author: Sam James gentoo org> AuthorDate: Tue Apr 12 10:29:41 2022 + Commit: Sam James gentoo org> CommitDate: Tue Apr 12 10:29:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29bf8659 app-admin/logrotate: migrate to xz Smaller tarballs. Signed-off-by: Sam James gentoo.org> app-admin/logrotate/Manifest| 2 +- app-admin/logrotate/logrotate-3.19.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 467344c959b2..46170aa8169d 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,2 +1,2 @@ DIST logrotate-3.18.1.tar.gz 225226 BLAKE2B 6f40dfe89f9c6202263f16204a9cff07b921abc9a298b58649bb4968c9f498626741be334c47d4092da564ed75642b687ff6ef8781f69f5e25364f8635646d9d SHA512 c40f920686aee014c652f087c64f2a85e9e866a8717d1bd3f32a9dd7959a02962e6174de28ae685428b442e12079d0c8d91485611ca34a873ffae872a54ec9fe -DIST logrotate-3.19.0.tar.gz 228089 BLAKE2B aa5e932fe2056d150cc632134d80e160883b62e9f92a010bd5f5cded40a0362e28b966d006305b07030a8b07eb35a8e0c5b65b8d4bc87c278286b326cced1c46 SHA512 68bca961608565687a9ccb18e72f0627b405aff95286e508fdc78926d2cc172c56e1523a24ca81a161f683c2d568312984e2757edd291d144e0e4b982433e119 +DIST logrotate-3.19.0.tar.xz 166276 BLAKE2B bb19690ca092905e527f6a0a7915373a65b29d3b50d97456ed31aa9b5b5698b3ae266c8e247a167198dcd8891a7e330f4913dfefa3563e5b2de7a6e0d067a6c3 SHA512 7838e14a5b147f6e5edf6efdf743deeca39fdb563fc6f14aa010ac5b7bdef9c2bb8005415481d1b042b31975052d5ed6e75c4bcd7e378003427ebe5ec02a1f2c diff --git a/app-admin/logrotate/logrotate-3.19.0.ebuild b/app-admin/logrotate/logrotate-3.19.0.ebuild index 7cb3f042a6ea..461e26ab35da 100644 --- a/app-admin/logrotate/logrotate-3.19.0.ebuild +++ b/app-admin/logrotate/logrotate-3.19.0.ebuild @@ -7,7 +7,7 @@ inherit systemd tmpfiles 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"; +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz"; LICENSE="GPL-2" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 5f4a70ee63e9e11649613ee7248d83d237872650 Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Feb 24 14:56:51 2022 + Commit: Sam James gentoo org> CommitDate: Thu Feb 24 15:01:57 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4a70ee app-admin/logrotate: stable 3.19.0 for hppa, bug #833638 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.19.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.19.0.ebuild b/app-admin/logrotate/logrotate-3.19.0.ebuild index 34386c3e21df..7cb3f042a6ea 100644 --- a/app-admin/logrotate/logrotate-3.19.0.ebuild +++ b/app-admin/logrotate/logrotate-3.19.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 6d06d58d822d0cfb645bb0a03a6994b43967 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 19 08:36:11 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 19 08:36:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d06d58d app-admin/logrotate: Stabilize 3.19.0 arm, #833638 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.19.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.19.0.ebuild b/app-admin/logrotate/logrotate-3.19.0.ebuild index 90849e058f1c..34386c3e21df 100644 --- a/app-admin/logrotate/logrotate-3.19.0.ebuild +++ b/app-admin/logrotate/logrotate-3.19.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 3a0df773f02ca38554ee7d2945e08b6bd449886b Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 19 08:29:21 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 19 08:29:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a0df773 app-admin/logrotate: Stabilize 3.19.0 arm64, #833638 Signed-off-by: Arthur Zamarin gentoo.org> app-admin/logrotate/logrotate-3.19.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.19.0.ebuild b/app-admin/logrotate/logrotate-3.19.0.ebuild index 008ee3c45ce9..90849e058f1c 100644 --- a/app-admin/logrotate/logrotate-3.19.0.ebuild +++ b/app-admin/logrotate/logrotate-3.19.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 6d422657f358965ac602068d271361bdbfcf274a Author: Sam James gentoo org> AuthorDate: Sat Feb 19 02:34:02 2022 + Commit: Sam James gentoo org> CommitDate: Sat Feb 19 02:34:02 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d422657 app-admin/logrotate: Stabilize 3.19.0 sparc, #833638 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.19.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.19.0.ebuild b/app-admin/logrotate/logrotate-3.19.0.ebuild index 40a07f6a453e..008ee3c45ce9 100644 --- a/app-admin/logrotate/logrotate-3.19.0.ebuild +++ b/app-admin/logrotate/logrotate-3.19.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: b273339e73fd3f9d1061fdb95bd6be902c26285b Author: Sam James gentoo org> AuthorDate: Sat Feb 19 02:31:53 2022 + Commit: Sam James gentoo org> CommitDate: Sat Feb 19 02:31:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b273339e app-admin/logrotate: Stabilize 3.19.0 ppc, #833638 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.19.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.19.0.ebuild b/app-admin/logrotate/logrotate-3.19.0.ebuild index 2c261add2137..40a07f6a453e 100644 --- a/app-admin/logrotate/logrotate-3.19.0.ebuild +++ b/app-admin/logrotate/logrotate-3.19.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: bf1749e829976a655879907951a82f14411b32c4 Author: Sam James gentoo org> AuthorDate: Sat Feb 19 02:24:37 2022 + Commit: Sam James gentoo org> CommitDate: Sat Feb 19 02:24:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf1749e8 app-admin/logrotate: Stabilize 3.19.0 x86, #833638 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.19.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.19.0.ebuild b/app-admin/logrotate/logrotate-3.19.0.ebuild index 77bc2221a813..23300fe66c8a 100644 --- a/app-admin/logrotate/logrotate-3.19.0.ebuild +++ b/app-admin/logrotate/logrotate-3.19.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: dec10e9bbd3dd5d0bfa224af7c0dc1f698e173a6 Author: Sam James gentoo org> AuthorDate: Sat Feb 19 02:20:58 2022 + Commit: Sam James gentoo org> CommitDate: Sat Feb 19 02:20:58 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec10e9b app-admin/logrotate: Stabilize 3.19.0 amd64, #833638 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.19.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.19.0.ebuild b/app-admin/logrotate/logrotate-3.19.0.ebuild index 00e473b5ae60..77bc2221a813 100644 --- a/app-admin/logrotate/logrotate-3.19.0.ebuild +++ b/app-admin/logrotate/logrotate-3.19.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="acl +cron selinux" DEPEND=">=dev-libs/popt-1.5
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: d8de3a922120c51e02639bf2fcf75bffb2ec6cf9 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Jan 24 16:58:32 2022 + Commit: Sam James gentoo org> CommitDate: Mon Jan 24 19:18:59 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8de3a92 app-admin/logrotate: stable 3.18.1-r1 for hppa, bug #831629 Package-Manager: Portage-3.0.28, Repoman-3.0.3 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-admin/logrotate/logrotate-3.18.1-r1.ebuild b/app-admin/logrotate/logrotate-3.18.1-r1.ebuild index 2d5867e5be92..df10ba413502 100644 --- a/app-admin/logrotate/logrotate-3.18.1-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 6024c1700b7d273c4777218d1d43b771702319c2 Author: Sam James gentoo org> AuthorDate: Sun Jan 9 00:57:28 2022 + Commit: Sam James gentoo org> CommitDate: Sun Jan 9 01:06:31 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6024c170 app-admin/logrotate: add 3.19.0 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/Manifest| 1 + app-admin/logrotate/logrotate-3.19.0.ebuild | 96 + 2 files changed, 97 insertions(+) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 0d34971c6277..467344c959b2 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1 +1,2 @@ DIST logrotate-3.18.1.tar.gz 225226 BLAKE2B 6f40dfe89f9c6202263f16204a9cff07b921abc9a298b58649bb4968c9f498626741be334c47d4092da564ed75642b687ff6ef8781f69f5e25364f8635646d9d SHA512 c40f920686aee014c652f087c64f2a85e9e866a8717d1bd3f32a9dd7959a02962e6174de28ae685428b442e12079d0c8d91485611ca34a873ffae872a54ec9fe +DIST logrotate-3.19.0.tar.gz 228089 BLAKE2B aa5e932fe2056d150cc632134d80e160883b62e9f92a010bd5f5cded40a0362e28b966d006305b07030a8b07eb35a8e0c5b65b8d4bc87c278286b326cced1c46 SHA512 68bca961608565687a9ccb18e72f0627b405aff95286e508fdc78926d2cc172c56e1523a24ca81a161f683c2d568312984e2757edd291d144e0e4b982433e119 diff --git a/app-admin/logrotate/logrotate-3.19.0.ebuild b/app-admin/logrotate/logrotate-3.19.0.ebuild new file mode 100644 index ..00e473b5ae60 --- /dev/null +++ b/app-admin/logrotate/logrotate-3.19.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd tmpfiles + +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"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="acl +cron selinux" + +DEPEND=">=dev-libs/popt-1.5 + selinux? ( sys-libs/libselinux ) + acl? ( virtual/acl )" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-logrotate ) + cron? ( virtual/cron )" + +STATEFILE="${EPREFIX}/var/lib/misc/logrotate.status" +OLDSTATEFILE="${EPREFIX}/var/lib/logrotate.status" + +PATCHES=( + "${FILESDIR}/${PN}-3.15.0-ignore-hidden.patch" +) + +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}" || die + fi +} + +install_cron_file() { + exeinto /etc/cron.daily + newexe "${S}"/examples/logrotate.cron "${PN}" +} + +src_prepare() { + default + + sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' examples/logrotate.{cron,service} || die +} + +src_configure() { + econf \ + $(use_with acl) \ + $(use_with selinux) \ + --with-state-file-path="${STATEFILE}" +} + +src_test() { + emake test +} + +src_install() { + 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} + newtmpfiles "${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 + + tmpfiles_process ${PN}.conf + + 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 +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 50c6bf408cf81af443f7fdfa9ffbd15871c398f8 Author: Ahmed Charles ahmedcharles com> AuthorDate: Sun Sep 5 13:59:08 2021 + Commit: Yixun Lan gentoo org> CommitDate: Mon Sep 6 02:22:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50c6bf40 app-admin/logrotate: keyword ~riscv. Signed-off-by: Ahmed Charles ahmedcharles.com> Signed-off-by: Yixun Lan gentoo.org> app-admin/logrotate/logrotate-3.18.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.1-r1.ebuild b/app-admin/logrotate/logrotate-3.18.1-r1.ebuild index e5eeab2ecc6..2d5867e5be9 100644 --- a/app-admin/logrotate/logrotate-3.18.1-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 51074ae5c81c0b5b65952e1dbd6dadba66dfb29d Author: Georgy Yakovlev gentoo org> AuthorDate: Fri Jul 30 08:39:00 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Jul 30 08:39:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51074ae5 app-admin/logrotate: drop 3.18.0 Signed-off-by: Georgy Yakovlev gentoo.org> app-admin/logrotate/Manifest| 1 - app-admin/logrotate/logrotate-3.18.0.ebuild | 101 2 files changed, 102 deletions(-) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 47c5cb3d375..0d34971c627 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,2 +1 @@ -DIST logrotate-3.18.0.tar.gz 224873 BLAKE2B f73ffa2d58a5125393e6c96e158e39e0b4cadef01e6eebd172220227a7e1363e6731bc2ac511fa028078054b55d42b131cdc30232ac5762ce4c6cbff79c19681 SHA512 d1bca267fbec4acbb83ffba4d3ac4c864f4269d8513e5614e7dbe6f3b1f176685218bffdb5d62f559ee73f84cf9a8a257c9f63e30af058d12d0034240f247586 DIST logrotate-3.18.1.tar.gz 225226 BLAKE2B 6f40dfe89f9c6202263f16204a9cff07b921abc9a298b58649bb4968c9f498626741be334c47d4092da564ed75642b687ff6ef8781f69f5e25364f8635646d9d SHA512 c40f920686aee014c652f087c64f2a85e9e866a8717d1bd3f32a9dd7959a02962e6174de28ae685428b442e12079d0c8d91485611ca34a873ffae872a54ec9fe diff --git a/app-admin/logrotate/logrotate-3.18.0.ebuild b/app-admin/logrotate/logrotate-3.18.0.ebuild deleted file mode 100644 index 9e712b69c69..000 --- a/app-admin/logrotate/logrotate-3.18.0.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd tmpfiles - -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"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -IUSE="acl +cron selinux" - -COMMON_DEPEND=" - >=dev-libs/popt-1.5 - selinux? ( sys-libs/libselinux ) - acl? ( virtual/acl )" - -DEPEND="${COMMON_DEPEND} - >=sys-apps/sed-4" - -RDEPEND="${COMMON_DEPEND} - 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}" || die - 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} - newtmpfiles "${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 -}
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 67937ee5de5186928547a01a41a40081b410de39 Author: Georgy Yakovlev gentoo org> AuthorDate: Fri Jul 30 08:36:21 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Jul 30 08:36:21 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67937ee5 app-admin/logrotate: Stabilize 3.18.1 arm64, #803458 Signed-off-by: Georgy Yakovlev gentoo.org> app-admin/logrotate/logrotate-3.18.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild index b422c0e89da..e5eeab2ecc6 100644 --- a/app-admin/logrotate/logrotate-3.18.1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: f30f1d471181f5b487dda53ac4d112cf56627060 Author: Georgy Yakovlev gentoo org> AuthorDate: Fri Jul 30 08:33:46 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Jul 30 08:34:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f30f1d47 app-admin/logrotate: call tmpfiles_process instead of printing message on openrc systems that directory already created by bootmisc Bug: https://bugs.gentoo.org/357275 Bug: https://bugs.gentoo.org/803458 Signed-off-by: Georgy Yakovlev gentoo.org> app-admin/logrotate/logrotate-3.18.1.ebuild | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild index 254aa29f735..b422c0e89da 100644 --- a/app-admin/logrotate/logrotate-3.18.1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1.ebuild @@ -83,10 +83,7 @@ pkg_postinst() { 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 + tmpfiles_process ${PN}.conf if [[ -z ${REPLACING_VERSIONS} ]] ; then elog "If you wish to have logrotate e-mail you updates, please"
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 325696e60986d441fcc131707bc06e5e599801c5 Author: Georgy Yakovlev gentoo org> AuthorDate: Fri Jul 30 08:37:49 2021 + Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Jul 30 08:37:49 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=325696e6 app-admin/logrotate: revbump for tmpfiles fix Bug: https://bugs.gentoo.org/803458 Signed-off-by: Georgy Yakovlev gentoo.org> .../logrotate/{logrotate-3.18.1.ebuild => logrotate-3.18.1-r1.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1-r1.ebuild similarity index 100% rename from app-admin/logrotate/logrotate-3.18.1.ebuild rename to app-admin/logrotate/logrotate-3.18.1-r1.ebuild
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: fe0f9e34f08572fe5e72036033f70c292867b968 Author: Sam James gentoo org> AuthorDate: Tue Jul 27 03:15:10 2021 + Commit: Sam James gentoo org> CommitDate: Tue Jul 27 03:15:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe0f9e34 app-admin/logrotate: Stabilize 3.18.1 ppc64, #803458 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild index b2eb09fdf23..254aa29f735 100644 --- a/app-admin/logrotate/logrotate-3.18.1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 2a2398da4ef8ab5ee77226a424aaf1e04341d633 Author: Sam James gentoo org> AuthorDate: Mon Jul 26 11:14:29 2021 + Commit: Sam James gentoo org> CommitDate: Mon Jul 26 11:17:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a2398da app-admin/logrotate: Stabilize 3.18.1 ppc, #803458 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild index 633c7a247db..b2eb09fdf23 100644 --- a/app-admin/logrotate/logrotate-3.18.1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: fdd0846e9df25df42a26228d54a876a8a44977df Author: Sam James gentoo org> AuthorDate: Sun Jul 25 20:07:29 2021 + Commit: Sam James gentoo org> CommitDate: Sun Jul 25 20:07:29 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdd0846e app-admin/logrotate: Stabilize 3.18.1 arm, #803458 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild index 78f3396cdb3..633c7a247db 100644 --- a/app-admin/logrotate/logrotate-3.18.1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 1e71d023b9fb9e3a26d91577ffe4c39dfa026adb Author: Sam James gentoo org> AuthorDate: Fri Jul 23 17:57:28 2021 + Commit: Sam James gentoo org> CommitDate: Fri Jul 23 17:57:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e71d023 app-admin/logrotate: Stabilize 3.18.1 amd64, #803458 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild index de42e70f08f..78f3396cdb3 100644 --- a/app-admin/logrotate/logrotate-3.18.1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 4f3458767b104ea25326175035ea584e7b039ef6 Author: Sam James gentoo org> AuthorDate: Fri Jul 23 17:56:15 2021 + Commit: Sam James gentoo org> CommitDate: Fri Jul 23 17:56:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f345876 app-admin/logrotate: Stabilize 3.18.1 x86, #803458 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild index 6a4986a1e59..de42e70f08f 100644 --- a/app-admin/logrotate/logrotate-3.18.1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 3971f5452687bfa4d299a27490f89ffb7681f774 Author: Rolf Eike Beer sf-mail de> AuthorDate: Fri Jul 23 16:32:56 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Jul 23 17:05:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3971f545 app-admin/logrotate: stable 3.18.1 for sparc, bug #803458 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> app-admin/logrotate/logrotate-3.18.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild index d49a3017aab..6a4986a1e59 100644 --- a/app-admin/logrotate/logrotate-3.18.1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc ~x86" IUSE="acl +cron selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 5830639f50629bd01a8c96416dc6a31e7beae497 Author: Sam James gentoo org> AuthorDate: Sat May 22 17:20:06 2021 + Commit: David Seifert gentoo org> CommitDate: Sat May 22 17:20:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5830639f app-admin/logrotate: tidy up Signed-off-by: Sam James gentoo.org> Signed-off-by: David Seifert gentoo.org> app-admin/logrotate/logrotate-3.18.1.ebuild | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild index ddc0d62508b..d49a3017aab 100644 --- a/app-admin/logrotate/logrotate-3.18.1.ebuild +++ b/app-admin/logrotate/logrotate-3.18.1.ebuild @@ -14,20 +14,16 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="acl +cron selinux" -COMMON_DEPEND=" +DEPEND=" >=dev-libs/popt-1.5 selinux? ( sys-libs/libselinux ) acl? ( virtual/acl )" - -DEPEND="${COMMON_DEPEND} - >=sys-apps/sed-4" - -RDEPEND="${COMMON_DEPEND} +RDEPEND="${DEPEND} selinux? ( sec-policy/selinux-logrotate ) cron? ( virtual/cron )" -STATEFILE="/var/lib/misc/logrotate.status" -OLDSTATEFILE="/var/lib/logrotate.status" +STATEFILE="${EPREFIX}/var/lib/misc/logrotate.status" +OLDSTATEFILE="${EPREFIX}/var/lib/logrotate.status" move_old_state_file() { elog "logrotate state file is now located at ${STATEFILE}" @@ -48,15 +44,15 @@ PATCHES=( ) src_prepare() { - sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.{cron,service} || die + sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' examples/logrotate.{cron,service} || die default } src_configure() { econf \ - $(use_with acl) \ - $(use_with selinux) \ - --with-state-file-path="${STATEFILE}" + $(use_with acl) \ + $(use_with selinux) \ + --with-state-file-path="${STATEFILE}" } src_test() { @@ -64,7 +60,6 @@ src_test() { } src_install() { - insinto /usr dobin logrotate doman logrotate.8 dodoc ChangeLog.md @@ -75,7 +70,7 @@ src_install() { use cron && install_cron_file systemd_dounit examples/logrotate.{service,timer} - newtmpfiles "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf + newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}.conf keepdir /etc/logrotate.d } @@ -85,11 +80,14 @@ pkg_postinst() { 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"
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 195570c5bcd15550c2bacc7d6fe9fbd0ed7b1242 Author: Lars Wendler gentoo org> AuthorDate: Sat May 22 15:40:32 2021 + Commit: Lars Wendler gentoo org> CommitDate: Sat May 22 15:40:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=195570c5 app-admin/logrotate: Bump to version 3.18.1 Signed-off-by: Lars Wendler gentoo.org> app-admin/logrotate/Manifest| 1 + app-admin/logrotate/logrotate-3.18.1.ebuild | 101 2 files changed, 102 insertions(+) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index c36eb2bbb82..47c5cb3d375 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1 +1,2 @@ DIST logrotate-3.18.0.tar.gz 224873 BLAKE2B f73ffa2d58a5125393e6c96e158e39e0b4cadef01e6eebd172220227a7e1363e6731bc2ac511fa028078054b55d42b131cdc30232ac5762ce4c6cbff79c19681 SHA512 d1bca267fbec4acbb83ffba4d3ac4c864f4269d8513e5614e7dbe6f3b1f176685218bffdb5d62f559ee73f84cf9a8a257c9f63e30af058d12d0034240f247586 +DIST logrotate-3.18.1.tar.gz 225226 BLAKE2B 6f40dfe89f9c6202263f16204a9cff07b921abc9a298b58649bb4968c9f498626741be334c47d4092da564ed75642b687ff6ef8781f69f5e25364f8635646d9d SHA512 c40f920686aee014c652f087c64f2a85e9e866a8717d1bd3f32a9dd7959a02962e6174de28ae685428b442e12079d0c8d91485611ca34a873ffae872a54ec9fe diff --git a/app-admin/logrotate/logrotate-3.18.1.ebuild b/app-admin/logrotate/logrotate-3.18.1.ebuild new file mode 100644 index 000..ddc0d62508b --- /dev/null +++ b/app-admin/logrotate/logrotate-3.18.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd tmpfiles + +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"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="acl +cron selinux" + +COMMON_DEPEND=" + >=dev-libs/popt-1.5 + selinux? ( sys-libs/libselinux ) + acl? ( virtual/acl )" + +DEPEND="${COMMON_DEPEND} + >=sys-apps/sed-4" + +RDEPEND="${COMMON_DEPEND} + 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}" || die + 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} + newtmpfiles "${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 +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/, app-admin/logrotate/files/
commit: 7a038d936856a70945d76e5ad9dde5842aabc74c Author: David Seifert gentoo org> AuthorDate: Sat May 1 23:02:33 2021 + Commit: David Seifert gentoo org> CommitDate: Sat May 1 23:02:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a038d93 app-admin/logrotate: Remove old 3.14.0, 3.17.0 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert gentoo.org> app-admin/logrotate/Manifest | 2 - .../files/logrotate-3.14.0-ignore-hidden.patch | 14 --- app-admin/logrotate/logrotate-3.14.0.ebuild| 101 - app-admin/logrotate/logrotate-3.17.0.ebuild| 101 - 4 files changed, 218 deletions(-) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index bdd1def147f..c36eb2bbb82 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,3 +1 @@ -DIST logrotate-3.14.0.tar.gz 215413 BLAKE2B 7914188922d81b1f8b6c4e493fae71d23bc9e65ebfcb190ebb4287c875af53204cbecb51c2731a3dc57530a30c685c3a626074265d9a2462714ff6ff077ea5ca SHA512 5f584d9be01737960eaffcf43746270a5395486d2161577a9ee3e757cb4dfe5a207c8b1d097181dd413560d76ecc0e3d526f87d1b123a52dc3e5e49d529a5fb5 -DIST logrotate-3.17.0.tar.gz 224559 BLAKE2B 6d019bafad6986a0b6264893d36a515db75d746dd590afd26825c01c68e9ccf3c260502a29912d75c069ece8715ae14d3c13d4030f6222187be0e1ca05d60e49 SHA512 ada4415ef68ad97c1415fa0c1ba7bf108621777cd91599bf4f999dea1c1025596543aa00fd579cae4d39315b71c4d8f96a9c9d1178f78be7c523470588ab1d31 DIST logrotate-3.18.0.tar.gz 224873 BLAKE2B f73ffa2d58a5125393e6c96e158e39e0b4cadef01e6eebd172220227a7e1363e6731bc2ac511fa028078054b55d42b131cdc30232ac5762ce4c6cbff79c19681 SHA512 d1bca267fbec4acbb83ffba4d3ac4c864f4269d8513e5614e7dbe6f3b1f176685218bffdb5d62f559ee73f84cf9a8a257c9f63e30af058d12d0034240f247586 diff --git a/app-admin/logrotate/files/logrotate-3.14.0-ignore-hidden.patch b/app-admin/logrotate/files/logrotate-3.14.0-ignore-hidden.patch deleted file mode 100644 index 6745126259b..000 --- a/app-admin/logrotate/files/logrotate-3.14.0-ignore-hidden.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nuar a/config.c b/config.c a/config.c 2018-03-09 17:47:08.0 +0100 -+++ b/config.c 2018-03-09 19:47:42.274696766 +0100 -@@ -440,7 +440,9 @@ - int i; - - /* Check if fname is '.' or '..'; if so, return false */ -- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2]))) -+/* Don't include 'hidden' files either; this breaks Gentoo -+ portage config file management http://bugs.gentoo.org/87683 */ -+if (fname[0] == '.') - return 0; - - /* Check if fname is ending in a taboo-extension; if so, return false */ diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild deleted file mode 100644 index bedd9e10b9b..000 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd tmpfiles - -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"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -IUSE="acl +cron selinux" - -COMMON_DEPEND=" - >=dev-libs/popt-1.5 - selinux? ( sys-libs/libselinux ) - acl? ( virtual/acl )" - -DEPEND="${COMMON_DEPEND} - >=sys-apps/sed-4" - -RDEPEND="${COMMON_DEPEND} - 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}" || die - fi -} - -install_cron_file() { - exeinto /etc/cron.daily - newexe "${S}"/examples/logrotate.cron "${PN}" -} - -PATCHES=( - "${FILESDIR}/${P}-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 examples/logrotate-default - - insinto /etc - doins "${FILESDIR}"/logrotate.conf - - use cron && install_cron_file - - systemd_dounit examples/logrotate.{
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 79db0fda0f73b14c17626c3344ecc826c8baeaea Author: Sam James gentoo org> AuthorDate: Mon Apr 26 10:36:44 2021 + Commit: Sam James gentoo org> CommitDate: Mon Apr 26 10:36:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79db0fda app-admin/logrotate: Stabilize 3.18.0 ppc64, #785589 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.0.ebuild b/app-admin/logrotate/logrotate-3.18.0.ebuild index 080240633e4..9e712b69c69 100644 --- a/app-admin/logrotate/logrotate-3.18.0.ebuild +++ b/app-admin/logrotate/logrotate-3.18.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 576e1b83146b97a936c2b38da41430dfcc6e1937 Author: Sam James gentoo org> AuthorDate: Mon Apr 26 10:31:01 2021 + Commit: Sam James gentoo org> CommitDate: Mon Apr 26 10:31:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=576e1b83 app-admin/logrotate: Stabilize 3.18.0 x86, #785589 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.0.ebuild b/app-admin/logrotate/logrotate-3.18.0.ebuild index 5107bf5f8b2..080240633e4 100644 --- a/app-admin/logrotate/logrotate-3.18.0.ebuild +++ b/app-admin/logrotate/logrotate-3.18.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 sparc x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 608967ad2a19468afd7b10fe16284e191264c2e1 Author: Sam James gentoo org> AuthorDate: Sun Apr 25 15:50:34 2021 + Commit: Sam James gentoo org> CommitDate: Sun Apr 25 15:51:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=608967ad app-admin/logrotate: Stabilize 3.18.0 ppc, #785589 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.0.ebuild b/app-admin/logrotate/logrotate-3.18.0.ebuild index 40ae9e4c49d..5107bf5f8b2 100644 --- a/app-admin/logrotate/logrotate-3.18.0.ebuild +++ b/app-admin/logrotate/logrotate-3.18.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 sparc ~x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: bcb6ad22be64fe1b1711fee934bb6e33288cd55f Author: Sam James gentoo org> AuthorDate: Sun Apr 25 15:19:54 2021 + Commit: Sam James gentoo org> CommitDate: Sun Apr 25 15:21:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb6ad22 app-admin/logrotate: Stabilize 3.18.0 arm64, #785589 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.0.ebuild b/app-admin/logrotate/logrotate-3.18.0.ebuild index 3f7c7135ee3..40ae9e4c49d 100644 --- a/app-admin/logrotate/logrotate-3.18.0.ebuild +++ b/app-admin/logrotate/logrotate-3.18.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc ~x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 8701e47d2e51f5b0011ff0543a10f97cc07c16ac Author: Sam James gentoo org> AuthorDate: Sun Apr 25 12:26:11 2021 + Commit: Sam James gentoo org> CommitDate: Sun Apr 25 12:26:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8701e47d app-admin/logrotate: Stabilize 3.18.0 sparc, #785589 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.0.ebuild b/app-admin/logrotate/logrotate-3.18.0.ebuild index c9e262bb7a8..3f7c7135ee3 100644 --- a/app-admin/logrotate/logrotate-3.18.0.ebuild +++ b/app-admin/logrotate/logrotate-3.18.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc ~x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 9f4cb911260a51aa1d7f9ab9932802c90978a942 Author: Sam James gentoo org> AuthorDate: Sun Apr 25 12:24:07 2021 + Commit: Sam James gentoo org> CommitDate: Sun Apr 25 12:24:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f4cb911 app-admin/logrotate: Stabilize 3.18.0 amd64, #785589 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.0.ebuild b/app-admin/logrotate/logrotate-3.18.0.ebuild index 574220b9e23..c9e262bb7a8 100644 --- a/app-admin/logrotate/logrotate-3.18.0.ebuild +++ b/app-admin/logrotate/logrotate-3.18.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 20724dea27699bdfbe4ce660e911d7f9d04c5888 Author: Sam James gentoo org> AuthorDate: Sun Apr 25 12:21:44 2021 + Commit: Sam James gentoo org> CommitDate: Sun Apr 25 12:21:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20724dea app-admin/logrotate: Stabilize 3.18.0 arm, #785589 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.18.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.18.0.ebuild b/app-admin/logrotate/logrotate-3.18.0.ebuild index ddc0d62508b..574220b9e23 100644 --- a/app-admin/logrotate/logrotate-3.18.0.ebuild +++ b/app-admin/logrotate/logrotate-3.18.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/files/
commit: 6bca1d8c9fb26f5603e3d45744b94a6220b438db Author: Louis Sautier gentoo org> AuthorDate: Thu Feb 25 15:14:57 2021 + Commit: Louis Sautier gentoo org> CommitDate: Thu Feb 25 15:20:49 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bca1d8c app-admin/logrotate: fix a typo in logrotate.conf Package-Manager: Portage-3.0.14, Repoman-3.0.2 Acked-by: Andreas K. Huettel gentoo.org> Signed-off-by: Louis Sautier gentoo.org> app-admin/logrotate/files/logrotate.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/files/logrotate.conf b/app-admin/logrotate/files/logrotate.conf index ff3319fd835..d25e0238586 100644 --- a/app-admin/logrotate/files/logrotate.conf +++ b/app-admin/logrotate/files/logrotate.conf @@ -39,4 +39,4 @@ include /etc/logrotate.d rotate 1 } -# system-specific logs may be also be configured here. +# system-specific logs may also be configured here.
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/files/
commit: 82abdea39b819ce26a5ec385170f5b506e7d3656 Author: Michael Mair-Keimberger gmail com> AuthorDate: Mon Jan 18 19:42:31 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Wed Jan 20 23:04:40 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82abdea3 app-admin/logrotate: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/19109 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Conrad Kostecki gentoo.org> app-admin/logrotate/files/gcc-fnocommon.patch | 41 --- 1 file changed, 41 deletions(-) diff --git a/app-admin/logrotate/files/gcc-fnocommon.patch b/app-admin/logrotate/files/gcc-fnocommon.patch deleted file mode 100644 index d490c20ce0a..000 --- a/app-admin/logrotate/files/gcc-fnocommon.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 908e86191bf062711ea44c922e66d27203e90214 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= -Date: Wed, 8 Jan 2020 10:54:53 +0100 -Subject: [PATCH] split declaration and definition of queue variable - -Support compilation with -fno-common flag, which is the default for GCC 10. - -Fixes: #288 -Closes #289 - config.c| 2 ++ - logrotate.h | 3 ++- - 2 files changed, 4 insertions(+), 1 deletion(-) - -diff --git a/config.c b/config.c -index 0e9a828..f027c7e 100644 a/config.c -+++ b/config.c -@@ -28,6 +28,8 @@ - #include "log.h" - #include "logrotate.h" - -+struct logInfoHead logs; -+ - #if !defined(GLOB_ABORTED) && defined(GLOB_ABEND) - #define GLOB_ABORTED GLOB_ABEND - #endif -diff --git a/logrotate.h b/logrotate.h -index 1c178da..6c1c2e7 100644 a/logrotate.h -+++ b/logrotate.h -@@ -89,7 +89,8 @@ struct logInfo { - TAILQ_ENTRY(logInfo) list; - }; - --TAILQ_HEAD(logInfoHead, logInfo) logs; -+TAILQ_HEAD(logInfoHead, logInfo); -+extern struct logInfoHead logs; - - extern int numLogs; - extern int debug;
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: ae54037ff59acad1e515a574e68806cc4e3ca757 Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Jan 14 18:08:19 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Jan 14 20:09:30 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae54037f app-admin/logrotate: stable 3.17.0 for sparc, bug #762038 Package-Manager: Portage-3.0.12, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> app-admin/logrotate/logrotate-3.17.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.17.0.ebuild b/app-admin/logrotate/logrotate-3.17.0.ebuild index 98a69f1ad41..33eb0d103ce 100644 --- a/app-admin/logrotate/logrotate-3.17.0.ebuild +++ b/app-admin/logrotate/logrotate-3.17.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 1121e9b91da43643b5eec146ef0bebf377444084 Author: Lars Wendler gentoo org> AuthorDate: Fri Jan 8 14:22:26 2021 + Commit: Lars Wendler gentoo org> CommitDate: Fri Jan 8 14:22:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1121e9b9 app-admin/logrotate: Removed old Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> app-admin/logrotate/Manifest| 2 - app-admin/logrotate/logrotate-3.15.1.ebuild | 102 app-admin/logrotate/logrotate-3.16.0.ebuild | 101 --- 3 files changed, 205 deletions(-) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 4fd48997cd0..bdd1def147f 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,5 +1,3 @@ DIST logrotate-3.14.0.tar.gz 215413 BLAKE2B 7914188922d81b1f8b6c4e493fae71d23bc9e65ebfcb190ebb4287c875af53204cbecb51c2731a3dc57530a30c685c3a626074265d9a2462714ff6ff077ea5ca SHA512 5f584d9be01737960eaffcf43746270a5395486d2161577a9ee3e757cb4dfe5a207c8b1d097181dd413560d76ecc0e3d526f87d1b123a52dc3e5e49d529a5fb5 -DIST logrotate-3.15.1.tar.gz 220263 BLAKE2B c164c542a0770965f5193f5816509f566b9afeb82ce8388a184d16c2b3e79aa0ef93be10d477c85f62037f01b3e626ea56d3173ca8cf017b8aa315f2e23b1a2b SHA512 72294607762751fb1aaaca1d62ebd87d109d837d50606176159a5e74782a993123321967b7a6185df6ca9c87a54febb832ac7537ceaa580a895901a995570cd5 -DIST logrotate-3.16.0.tar.gz 221904 BLAKE2B 38bfde57e9e055b86d6f25f0dd7c49b5d35865671926b1f8a2bd703ac8b8b2252d40cc29b0e1440309ecf224c747a99a2eab0ea99c86782559bef797f61fadb8 SHA512 2f2e8ebf9349424f529e4cf35e75036dadb00df84feac6b421b5a558ce015c9b1a22586463cba95a0265c104a559dd236764f7e37707975e626e69cc87e963e2 DIST logrotate-3.17.0.tar.gz 224559 BLAKE2B 6d019bafad6986a0b6264893d36a515db75d746dd590afd26825c01c68e9ccf3c260502a29912d75c069ece8715ae14d3c13d4030f6222187be0e1ca05d60e49 SHA512 ada4415ef68ad97c1415fa0c1ba7bf108621777cd91599bf4f999dea1c1025596543aa00fd579cae4d39315b71c4d8f96a9c9d1178f78be7c523470588ab1d31 DIST logrotate-3.18.0.tar.gz 224873 BLAKE2B f73ffa2d58a5125393e6c96e158e39e0b4cadef01e6eebd172220227a7e1363e6731bc2ac511fa028078054b55d42b131cdc30232ac5762ce4c6cbff79c19681 SHA512 d1bca267fbec4acbb83ffba4d3ac4c864f4269d8513e5614e7dbe6f3b1f176685218bffdb5d62f559ee73f84cf9a8a257c9f63e30af058d12d0034240f247586 diff --git a/app-admin/logrotate/logrotate-3.15.1.ebuild b/app-admin/logrotate/logrotate-3.15.1.ebuild deleted file mode 100644 index 7222c9aa202..000 --- a/app-admin/logrotate/logrotate-3.15.1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="acl +cron selinux" - -COMMON_DEPEND=" - >=dev-libs/popt-1.5 - selinux? ( sys-libs/libselinux ) - acl? ( virtual/acl )" - -DEPEND="${COMMON_DEPEND} - >=sys-apps/sed-4" - -RDEPEND="${COMMON_DEPEND} - 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}" || die - fi -} - -install_cron_file() { - exeinto /etc/cron.daily - newexe "${S}"/examples/logrotate.cron "${PN}" -} - -PATCHES=( - "${FILESDIR}/${PN}-3.15.0-ignore-hidden.patch" - "${FILESDIR}/gcc-fnocommon.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 run
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 74e161f5526f91781854cd508ee274420f53f0bc Author: Lars Wendler gentoo org> AuthorDate: Fri Jan 8 14:21:17 2021 + Commit: Lars Wendler gentoo org> CommitDate: Fri Jan 8 14:22:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e161f5 app-admin/logrotate: Bump to version 3.18.0 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> app-admin/logrotate/Manifest| 1 + app-admin/logrotate/logrotate-3.18.0.ebuild | 101 2 files changed, 102 insertions(+) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 5526a34ad4f..4fd48997cd0 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -2,3 +2,4 @@ DIST logrotate-3.14.0.tar.gz 215413 BLAKE2B 7914188922d81b1f8b6c4e493fae71d23bc9 DIST logrotate-3.15.1.tar.gz 220263 BLAKE2B c164c542a0770965f5193f5816509f566b9afeb82ce8388a184d16c2b3e79aa0ef93be10d477c85f62037f01b3e626ea56d3173ca8cf017b8aa315f2e23b1a2b SHA512 72294607762751fb1aaaca1d62ebd87d109d837d50606176159a5e74782a993123321967b7a6185df6ca9c87a54febb832ac7537ceaa580a895901a995570cd5 DIST logrotate-3.16.0.tar.gz 221904 BLAKE2B 38bfde57e9e055b86d6f25f0dd7c49b5d35865671926b1f8a2bd703ac8b8b2252d40cc29b0e1440309ecf224c747a99a2eab0ea99c86782559bef797f61fadb8 SHA512 2f2e8ebf9349424f529e4cf35e75036dadb00df84feac6b421b5a558ce015c9b1a22586463cba95a0265c104a559dd236764f7e37707975e626e69cc87e963e2 DIST logrotate-3.17.0.tar.gz 224559 BLAKE2B 6d019bafad6986a0b6264893d36a515db75d746dd590afd26825c01c68e9ccf3c260502a29912d75c069ece8715ae14d3c13d4030f6222187be0e1ca05d60e49 SHA512 ada4415ef68ad97c1415fa0c1ba7bf108621777cd91599bf4f999dea1c1025596543aa00fd579cae4d39315b71c4d8f96a9c9d1178f78be7c523470588ab1d31 +DIST logrotate-3.18.0.tar.gz 224873 BLAKE2B f73ffa2d58a5125393e6c96e158e39e0b4cadef01e6eebd172220227a7e1363e6731bc2ac511fa028078054b55d42b131cdc30232ac5762ce4c6cbff79c19681 SHA512 d1bca267fbec4acbb83ffba4d3ac4c864f4269d8513e5614e7dbe6f3b1f176685218bffdb5d62f559ee73f84cf9a8a257c9f63e30af058d12d0034240f247586 diff --git a/app-admin/logrotate/logrotate-3.18.0.ebuild b/app-admin/logrotate/logrotate-3.18.0.ebuild new file mode 100644 index 000..8d3aed775a3 --- /dev/null +++ b/app-admin/logrotate/logrotate-3.18.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="acl +cron selinux" + +COMMON_DEPEND=" + >=dev-libs/popt-1.5 + selinux? ( sys-libs/libselinux ) + acl? ( virtual/acl )" + +DEPEND="${COMMON_DEPEND} + >=sys-apps/sed-4" + +RDEPEND="${COMMON_DEPEND} + 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}" || die + 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" +
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 2b11ab6ae4494a4e2455d53d0b7161e7582de931 Author: Sam James gentoo org> AuthorDate: Thu Jan 7 16:53:10 2021 + Commit: Sam James gentoo org> CommitDate: Thu Jan 7 16:53:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b11ab6a app-admin/logrotate: Stabilize 3.17.0 amd64, #762038 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.17.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.17.0.ebuild b/app-admin/logrotate/logrotate-3.17.0.ebuild index d161f76739b..98a69f1ad41 100644 --- a/app-admin/logrotate/logrotate-3.17.0.ebuild +++ b/app-admin/logrotate/logrotate-3.17.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sparc x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: c373eac5b5094482c0cb9d0d7ee97c946fc0cf45 Author: Sam James gentoo org> AuthorDate: Thu Jan 7 16:51:54 2021 + Commit: Sam James gentoo org> CommitDate: Thu Jan 7 16:51:54 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c373eac5 app-admin/logrotate: Stabilize 3.17.0 ppc64, #762038 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.17.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.17.0.ebuild b/app-admin/logrotate/logrotate-3.17.0.ebuild index 377982a5f79..d161f76739b 100644 --- a/app-admin/logrotate/logrotate-3.17.0.ebuild +++ b/app-admin/logrotate/logrotate-3.17.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sparc x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 437e5023059874bd12d8c056a39a8f1e263d0d04 Author: Sam James gentoo org> AuthorDate: Thu Jan 7 15:04:20 2021 + Commit: Sam James gentoo org> CommitDate: Thu Jan 7 15:04:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437e5023 app-admin/logrotate: Stabilize 3.17.0 x86, #762038 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.17.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.17.0.ebuild b/app-admin/logrotate/logrotate-3.17.0.ebuild index 2b41cf3b76a..377982a5f79 100644 --- a/app-admin/logrotate/logrotate-3.17.0.ebuild +++ b/app-admin/logrotate/logrotate-3.17.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sparc x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: f973704e77929aac42a168f897d10c485d148913 Author: Sam James gentoo org> AuthorDate: Thu Jan 7 10:07:48 2021 + Commit: Sam James gentoo org> CommitDate: Thu Jan 7 10:09:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f973704e app-admin/logrotate: Stabilize 3.17.0 ppc, #762038 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.17.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.17.0.ebuild b/app-admin/logrotate/logrotate-3.17.0.ebuild index fa7f5cbe723..2b41cf3b76a 100644 --- a/app-admin/logrotate/logrotate-3.17.0.ebuild +++ b/app-admin/logrotate/logrotate-3.17.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: dddae02ebb08f6964d0c6e248d23ef85536b436b Author: Sam James gentoo org> AuthorDate: Thu Jan 7 05:10:35 2021 + Commit: Sam James gentoo org> CommitDate: Thu Jan 7 05:10:35 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dddae02e app-admin/logrotate: Stabilize 3.17.0 arm, #762038 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.17.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.17.0.ebuild b/app-admin/logrotate/logrotate-3.17.0.ebuild index 31f32e817f6..fa7f5cbe723 100644 --- a/app-admin/logrotate/logrotate-3.17.0.ebuild +++ b/app-admin/logrotate/logrotate-3.17.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: ee2dc5fbd8d91aa7f5ecfb66bba55f03e7c1 Author: Sam James gentoo org> AuthorDate: Thu Jan 7 05:10:19 2021 + Commit: Sam James gentoo org> CommitDate: Thu Jan 7 05:10:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee2d app-admin/logrotate: Stabilize 3.17.0 arm64, #762038 Signed-off-by: Sam James gentoo.org> app-admin/logrotate/logrotate-3.17.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-admin/logrotate/logrotate-3.17.0.ebuild b/app-admin/logrotate/logrotate-3.17.0.ebuild index b63b513c2ef..31f32e817f6 100644 --- a/app-admin/logrotate/logrotate-3.17.0.ebuild +++ b/app-admin/logrotate/logrotate-3.17.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="acl +cron selinux" COMMON_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: e0c627d2e6ea4d372e1788d823fc1890cffd960c Author: Mikle Kolyada gentoo org> AuthorDate: Wed Sep 30 17:58:40 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Sep 30 17:59:31 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0c627d2 app-admin/logrotate: assign to base-system Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Mikle Kolyada gentoo.org> app-admin/logrotate/metadata.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app-admin/logrotate/metadata.xml b/app-admin/logrotate/metadata.xml index 3c0571938ff..051f4438e70 100644 --- a/app-admin/logrotate/metadata.xml +++ b/app-admin/logrotate/metadata.xml @@ -1,9 +1,9 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - zlog...@gentoo.org - Mikle Kolyada + + base-sys...@gentoo.org + Gentoo Base System Logrotate allows for the automatic rotation compression, removal
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 879cf325b6a906fafbf03040cd64de59c727095e Author: Mikle Kolyada gentoo org> AuthorDate: Fri Jul 31 16:06:31 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Jul 31 16:07:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=879cf325 app-admin/logrotate: Version bump (v3.17.0) Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Mikle Kolyada gentoo.org> app-admin/logrotate/Manifest| 1 + app-admin/logrotate/logrotate-3.17.0.ebuild | 101 2 files changed, 102 insertions(+) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 95a51dd7fef..5526a34ad4f 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,3 +1,4 @@ DIST logrotate-3.14.0.tar.gz 215413 BLAKE2B 7914188922d81b1f8b6c4e493fae71d23bc9e65ebfcb190ebb4287c875af53204cbecb51c2731a3dc57530a30c685c3a626074265d9a2462714ff6ff077ea5ca SHA512 5f584d9be01737960eaffcf43746270a5395486d2161577a9ee3e757cb4dfe5a207c8b1d097181dd413560d76ecc0e3d526f87d1b123a52dc3e5e49d529a5fb5 DIST logrotate-3.15.1.tar.gz 220263 BLAKE2B c164c542a0770965f5193f5816509f566b9afeb82ce8388a184d16c2b3e79aa0ef93be10d477c85f62037f01b3e626ea56d3173ca8cf017b8aa315f2e23b1a2b SHA512 72294607762751fb1aaaca1d62ebd87d109d837d50606176159a5e74782a993123321967b7a6185df6ca9c87a54febb832ac7537ceaa580a895901a995570cd5 DIST logrotate-3.16.0.tar.gz 221904 BLAKE2B 38bfde57e9e055b86d6f25f0dd7c49b5d35865671926b1f8a2bd703ac8b8b2252d40cc29b0e1440309ecf224c747a99a2eab0ea99c86782559bef797f61fadb8 SHA512 2f2e8ebf9349424f529e4cf35e75036dadb00df84feac6b421b5a558ce015c9b1a22586463cba95a0265c104a559dd236764f7e37707975e626e69cc87e963e2 +DIST logrotate-3.17.0.tar.gz 224559 BLAKE2B 6d019bafad6986a0b6264893d36a515db75d746dd590afd26825c01c68e9ccf3c260502a29912d75c069ece8715ae14d3c13d4030f6222187be0e1ca05d60e49 SHA512 ada4415ef68ad97c1415fa0c1ba7bf108621777cd91599bf4f999dea1c1025596543aa00fd579cae4d39315b71c4d8f96a9c9d1178f78be7c523470588ab1d31 diff --git a/app-admin/logrotate/logrotate-3.17.0.ebuild b/app-admin/logrotate/logrotate-3.17.0.ebuild new file mode 100644 index 000..b63b513c2ef --- /dev/null +++ b/app-admin/logrotate/logrotate-3.17.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="acl +cron selinux" + +COMMON_DEPEND=" + >=dev-libs/popt-1.5 + selinux? ( sys-libs/libselinux ) + acl? ( virtual/acl )" + +DEPEND="${COMMON_DEPEND} + >=sys-apps/sed-4" + +RDEPEND="${COMMON_DEPEND} + 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}" || die + 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" +
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: cab85bcbbe7d253c9a192c48cee3b31c5bf915c7 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Mar 6 06:29:15 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Mar 6 06:29:50 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab85bcb app-admin/logrotate: Version bump (v3.16.0) Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mikle Kolyada gentoo.org> app-admin/logrotate/Manifest| 1 + app-admin/logrotate/logrotate-3.16.0.ebuild | 101 2 files changed, 102 insertions(+) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 8c77d7ead09..95a51dd7fef 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,2 +1,3 @@ DIST logrotate-3.14.0.tar.gz 215413 BLAKE2B 7914188922d81b1f8b6c4e493fae71d23bc9e65ebfcb190ebb4287c875af53204cbecb51c2731a3dc57530a30c685c3a626074265d9a2462714ff6ff077ea5ca SHA512 5f584d9be01737960eaffcf43746270a5395486d2161577a9ee3e757cb4dfe5a207c8b1d097181dd413560d76ecc0e3d526f87d1b123a52dc3e5e49d529a5fb5 DIST logrotate-3.15.1.tar.gz 220263 BLAKE2B c164c542a0770965f5193f5816509f566b9afeb82ce8388a184d16c2b3e79aa0ef93be10d477c85f62037f01b3e626ea56d3173ca8cf017b8aa315f2e23b1a2b SHA512 72294607762751fb1aaaca1d62ebd87d109d837d50606176159a5e74782a993123321967b7a6185df6ca9c87a54febb832ac7537ceaa580a895901a995570cd5 +DIST logrotate-3.16.0.tar.gz 221904 BLAKE2B 38bfde57e9e055b86d6f25f0dd7c49b5d35865671926b1f8a2bd703ac8b8b2252d40cc29b0e1440309ecf224c747a99a2eab0ea99c86782559bef797f61fadb8 SHA512 2f2e8ebf9349424f529e4cf35e75036dadb00df84feac6b421b5a558ce015c9b1a22586463cba95a0265c104a559dd236764f7e37707975e626e69cc87e963e2 diff --git a/app-admin/logrotate/logrotate-3.16.0.ebuild b/app-admin/logrotate/logrotate-3.16.0.ebuild new file mode 100644 index 000..ae6c65c79eb --- /dev/null +++ b/app-admin/logrotate/logrotate-3.16.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="acl +cron selinux" + +COMMON_DEPEND=" + >=dev-libs/popt-1.5 + selinux? ( sys-libs/libselinux ) + acl? ( virtual/acl )" + +DEPEND="${COMMON_DEPEND} + >=sys-apps/sed-4" + +RDEPEND="${COMMON_DEPEND} + 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}" || die + 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 +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 5a96e246ae000e4c97deb8f568c5b63a5706bc5a Author: Mikle Kolyada gentoo org> AuthorDate: Mon Jan 27 19:03:21 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Mon Jan 27 19:03:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a96e246 app-admin/logrotate: fix SRC_URI Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mikle Kolyada gentoo.org> app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- app-admin/logrotate/logrotate-3.15.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index f0e25d4dbc2..ab589a26bc2 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -7,7 +7,7 @@ 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" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" diff --git a/app-admin/logrotate/logrotate-3.15.1.ebuild b/app-admin/logrotate/logrotate-3.15.1.ebuild index eef82c310b8..aa92d896ca4 100644 --- a/app-admin/logrotate/logrotate-3.15.1.ebuild +++ b/app-admin/logrotate/logrotate-3.15.1.ebuild @@ -7,7 +7,7 @@ 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" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/, app-admin/logrotate/files/
commit: 47d22ae9aaaba1133f8f503cdb24a8a9f59494b6 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Jan 25 17:47:35 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Jan 25 17:47:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47d22ae9 app-admin/logrotate: fix build with -fno-common Closes: https://bugs.gentoo.org/705882 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mikle Kolyada gentoo.org> app-admin/logrotate/files/gcc-fnocommon.patch | 41 +++ app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- app-admin/logrotate/logrotate-3.15.1.ebuild | 3 +- 3 files changed, 44 insertions(+), 2 deletions(-) diff --git a/app-admin/logrotate/files/gcc-fnocommon.patch b/app-admin/logrotate/files/gcc-fnocommon.patch new file mode 100644 index 000..d490c20ce0a --- /dev/null +++ b/app-admin/logrotate/files/gcc-fnocommon.patch @@ -0,0 +1,41 @@ +From 908e86191bf062711ea44c922e66d27203e90214 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= +Date: Wed, 8 Jan 2020 10:54:53 +0100 +Subject: [PATCH] split declaration and definition of queue variable + +Support compilation with -fno-common flag, which is the default for GCC 10. + +Fixes: #288 +Closes #289 +--- + config.c| 2 ++ + logrotate.h | 3 ++- + 2 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/config.c b/config.c +index 0e9a828..f027c7e 100644 +--- a/config.c b/config.c +@@ -28,6 +28,8 @@ + #include "log.h" + #include "logrotate.h" + ++struct logInfoHead logs; ++ + #if !defined(GLOB_ABORTED) && defined(GLOB_ABEND) + #define GLOB_ABORTED GLOB_ABEND + #endif +diff --git a/logrotate.h b/logrotate.h +index 1c178da..6c1c2e7 100644 +--- a/logrotate.h b/logrotate.h +@@ -89,7 +89,8 @@ struct logInfo { + TAILQ_ENTRY(logInfo) list; + }; + +-TAILQ_HEAD(logInfoHead, logInfo) logs; ++TAILQ_HEAD(logInfoHead, logInfo); ++extern struct logInfoHead logs; + + extern int numLogs; + extern int debug; diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index 4cb39bde390..729f5629d43 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -34,7 +34,7 @@ move_old_state_file() { elog "See bug #357275" if [[ -e "${OLDSTATEFILE}" ]] ; then elog "Moving your current state file to new location: ${STATEFILE}" - mv -n "${OLDSTATEFILE}" "${STATEFILE}" + mv -n "${OLDSTATEFILE}" "${STATEFILE}" || die fi } diff --git a/app-admin/logrotate/logrotate-3.15.1.ebuild b/app-admin/logrotate/logrotate-3.15.1.ebuild index 58b95631d2d..eef82c310b8 100644 --- a/app-admin/logrotate/logrotate-3.15.1.ebuild +++ b/app-admin/logrotate/logrotate-3.15.1.ebuild @@ -34,7 +34,7 @@ move_old_state_file() { elog "See bug #357275" if [[ -e "${OLDSTATEFILE}" ]] ; then elog "Moving your current state file to new location: ${STATEFILE}" - mv -n "${OLDSTATEFILE}" "${STATEFILE}" + mv -n "${OLDSTATEFILE}" "${STATEFILE}" || die fi } @@ -45,6 +45,7 @@ install_cron_file() { PATCHES=( "${FILESDIR}/${PN}-3.15.0-ignore-hidden.patch" + "${FILESDIR}/gcc-fnocommon.patch" ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/files/, app-admin/logrotate/
commit: e238b6738bace0fa835d138ba15a6d1d6b11f83e Author: Mikle Kolyada gentoo org> AuthorDate: Sat Jan 25 17:42:12 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Jan 25 17:42:44 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e238b673 app-admin/logrotate: Drop old Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mikle Kolyada gentoo.org> app-admin/logrotate/Manifest | 2 - .../logrotate/files/logrotate-3.13.0-fbsd.patch| 36 .../files/logrotate-3.13.0-ignore-hidden.patch | 14 --- app-admin/logrotate/logrotate-3.13.0.ebuild| 99 -- app-admin/logrotate/logrotate-3.14.0.ebuild| 15 ++-- app-admin/logrotate/logrotate-3.15.0.ebuild| 98 - app-admin/logrotate/logrotate-3.15.1.ebuild| 15 ++-- 7 files changed, 18 insertions(+), 261 deletions(-) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 811a098c7fe..8c77d7ead09 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,4 +1,2 @@ -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 diff --git a/app-admin/logrotate/files/logrotate-3.13.0-fbsd.patch b/app-admin/logrotate/files/logrotate-3.13.0-fbsd.patch deleted file mode 100644 index 028dc0551f1..000 --- a/app-admin/logrotate/files/logrotate-3.13.0-fbsd.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Nuar a/config.c b/config.c a/config.c 2017-10-14 18:52:56.829467653 +0200 -+++ b/config.c 2017-10-14 18:54:57.049467139 +0200 -@@ -25,6 +25,10 @@ - #include - #include - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include -+#endif -+ - #include "log.h" - #include "logrotate.h" - -diff -Nuar a/logrotate.c b/logrotate.c a/logrotate.c 2017-10-12 17:19:41.0 +0200 -+++ b/logrotate.c 2017-10-14 18:56:23.419466769 +0200 -@@ -1,6 +1,6 @@ - #include "queue.h" - /* alloca() is defined in stdlib.h in NetBSD */ --#ifndef __NetBSD__ -+#if !defined(__NetBSD__) && !defined(__FreeBSD__) - #include - #endif - #include -@@ -27,6 +27,10 @@ - #include - #endif - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include -+#endif -+ - #include "log.h" - #include "logrotate.h" - diff --git a/app-admin/logrotate/files/logrotate-3.13.0-ignore-hidden.patch b/app-admin/logrotate/files/logrotate-3.13.0-ignore-hidden.patch deleted file mode 100644 index f3ade248d38..000 --- a/app-admin/logrotate/files/logrotate-3.13.0-ignore-hidden.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nuar a/config.c b/config.c a/config.c 2017-10-12 16:05:41.0 +0200 -+++ b/config.c 2017-10-14 18:52:56.829467653 +0200 -@@ -432,7 +432,9 @@ - int i; - - /* Check if fname is '.' or '..'; if so, return false */ -- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2]))) -+ /* Don't include 'hidden' files either; this breaks Gentoo -+ portage config file management http://bugs.gentoo.org/87683 */ -+ if (fname[0] == '.') - return 0; - - /* Check if fname is ending in a taboo-extension; if so, return false */ diff --git a/app-admin/logrotate/logrotate-3.13.0.ebuild b/app-admin/logrotate/logrotate-3.13.0.ebuild deleted file mode 100644 index 88d7a22eb14..000 --- a/app-admin/logrotate/logrotate-3.13.0.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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="alp
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/, app-admin/logrotate/files/
commit: 86f7551364e4556b522c529606d1563fac1d5deb Author: Mikle Kolyada gentoo org> AuthorDate: Sat Aug 31 14:10:51 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Aug 31 14:10:51 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86f75513 app-admin/logrotate: Drop old Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> app-admin/logrotate/Manifest | 1 - .../logrotate/files/logrotate-3.9.1-Werror.patch | 12 .../files/logrotate-3.9.1-atomic-create.patch | 43 .../logrotate/files/logrotate-3.9.1-fbsd.patch | 57 --- .../files/logrotate-3.9.1-ignore-hidden.patch | 15 .../files/logrotate-3.9.1-noasprintf.patch | 55 --- app-admin/logrotate/logrotate-3.9.1.ebuild | 81 -- 7 files changed, 264 deletions(-) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 3c8b173781a..811a098c7fe 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -2,4 +2,3 @@ DIST logrotate-3.13.0.tar.gz 213726 BLAKE2B b9970a0fb49b9de9c83ee679fd4587b6a162 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/files/logrotate-3.9.1-Werror.patch b/app-admin/logrotate/files/logrotate-3.9.1-Werror.patch deleted file mode 100644 index b8cecc4ebfb..000 --- a/app-admin/logrotate/files/logrotate-3.9.1-Werror.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nuar a/Makefile.am b/Makefile.am a/Makefile.am 2015-04-03 09:39:35.0 +0200 -+++ b/Makefile.am 2015-06-28 14:03:12.42875 +0200 -@@ -1,7 +1,7 @@ - MAN = logrotate.8 - MAN5 = logrotate.conf.5 - --AM_CFLAGS = -Wall -Werror -+AM_CFLAGS = -Wall - sbin_PROGRAMS = logrotate - logrotate_SOURCES = logrotate.c log.c config.c basenames.c - diff --git a/app-admin/logrotate/files/logrotate-3.9.1-atomic-create.patch b/app-admin/logrotate/files/logrotate-3.9.1-atomic-create.patch deleted file mode 100644 index fdad8b6ea00..000 --- a/app-admin/logrotate/files/logrotate-3.9.1-atomic-create.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff -Nuar a/logrotate.c b/logrotate.c a/logrotate.c 2015-06-28 13:57:18.44884 +0200 -+++ b/logrotate.c 2015-06-28 14:02:20.79876 +0200 -@@ -371,15 +371,18 @@ - int createOutputFile(char *fileName, int flags, struct stat *sb, acl_type acl, int force_mode) - { - int fd; -- struct stat sb_create; -- int acl_set = 0; -- -- fd = open(fileName, (flags | O_EXCL | O_NOFOLLOW), -- (S_IRUSR | S_IWUSR) & sb->st_mode); -+int acl_set = 0; -+struct stat sb_create; -+char template[PATH_MAX + 1]; -+mode_t umask_value; -+snprintf(template, PATH_MAX, "%s/logrotate_temp.XX", ourDirName(fileName)); -+umask_value = umask(); -+fd = mkostemp(template, (flags | O_EXCL | O_NOFOLLOW)); -+umask(umask_value); - - if (fd < 0) { -- message(MESS_ERROR, "error creating output file %s: %s\n", -- fileName, strerror(errno)); -+ message(MESS_ERROR, "error creating unique temp file: %s\n", -+ strerror(errno)); - return -1; - } - if (fchmod(fd, (S_IRUSR | S_IWUSR) & sb->st_mode)) { -@@ -430,6 +433,13 @@ - } - } - -+if (rename(template, fileName)) { -+message(MESS_ERROR, "error renaming temp file to %s: %s\n", -+fileName, strerror(errno)); -+close(fd); -+return -1; -+} -+ - return fd; - } - diff --git a/app-admin/logrotate/files/logrotate-3.9.1-fbsd.patch b/app-admin/logrotate/files/logrotate-3.9.1-fbsd.patch deleted file mode 100644 index 6e329d6149f..000 --- a/app-admin/logrotate/files/
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: f90a2ec91effe7098473d0a4e7f405b9c64e8a21 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Aug 31 14:07:41 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Aug 31 14:08:06 2019 + 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 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 000..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 "
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 714c5f450d3fa396d63c9394e0982e3d16734145 Author: Mikle Kolyada gentoo org> AuthorDate: Tue May 21 19:17:16 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Tue May 21 19:17:16 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=714c5f45 app-admin/logrotate: Add myself as maintainer Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 app-admin/logrotate/metadata.xml | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app-admin/logrotate/metadata.xml b/app-admin/logrotate/metadata.xml index 7ace94cc2eb..4d03c4b664a 100644 --- a/app-admin/logrotate/metadata.xml +++ b/app-admin/logrotate/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - + + + zlog...@gentoo.org + Mikle Kolyada + Logrotate allows for the automatic rotation compression, removal and mailing of log files. Logrotate can be set to handle a log
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/, app-admin/logrotate/files/
commit: 3c36401dafd804f7e7f66d5e4170f46f4b19bd14 Author: Jose Maria Alonso Josa gentoo org> AuthorDate: Wed Dec 19 15:40:04 2018 + Commit: José María Alonso gentoo org> CommitDate: Wed Dec 19 15:40:04 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c36401d app-admin/logrotate: Bump version to 3.15.0 Signed-off-by: José María Alonso gentoo.org> Package-Manager: Portage-2.3.40, Repoman-2.3.11 app-admin/logrotate/Manifest | 1 + .../files/logrotate-3.15.0-ignore-hidden.patch | 14 app-admin/logrotate/logrotate-3.15.0.ebuild| 98 ++ 3 files changed, 113 insertions(+) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 9fe40fb9471..1bab50d4f29 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,3 +1,4 @@ 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.9.1.tar.gz 79061 BLAKE2B b07f8fd8eb59cc4d6c80441a3b5a8aab090bc13eb8fa5e35b111feb2203fb2c3092daa469e6fec02a29b1d377bca33fbbf5859bcd351a1f4a0d82343c5f65d3d SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 diff --git a/app-admin/logrotate/files/logrotate-3.15.0-ignore-hidden.patch b/app-admin/logrotate/files/logrotate-3.15.0-ignore-hidden.patch new file mode 100644 index 000..cb2fc073bc6 --- /dev/null +++ b/app-admin/logrotate/files/logrotate-3.15.0-ignore-hidden.patch @@ -0,0 +1,14 @@ +diff -Nuar a/config.c b/config.c +--- a/config.c 2018-10-05 17:01:21.0 +0200 b/config.c 2018-12-19 16:33:52.280129804 +0100 +@@ -417,7 +417,9 @@ + int i; + + /* Check if fname is '.' or '..'; if so, return false */ +-if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2]))) ++/* Don't include 'hidden' files either; this breaks Gentoo ++ portage config file management http://bugs.gentoo.org/87683 */ ++if (fname[0] == '.') + return 0; + + /* Check if fname is ending in a taboo-extension; if so, return false */ diff --git a/app-admin/logrotate/logrotate-3.15.0.ebuild b/app-admin/logrotate/logrotate-3.15.0.ebuild new file mode 100644 index 000..34b327c5d75 --- /dev/null +++ b/app-admin/logrotate/logrotate-3.15.0.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2018 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}/${P}-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 logrota
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: d03c93baf5e2eb9ed85eaadf24f9548d991e9adc Author: Stephen L Arnold gentoo org> AuthorDate: Sun Jun 24 21:55:53 2018 + Commit: Steve Arnold gentoo org> CommitDate: Sun Jun 24 21:55:53 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d03c93ba app-admin/logrotate: fix patch-not-being-applied error on 3.14 * eapply_user is not currently a substitute for default Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index 64edaf09f13..2a41a2fa759 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -49,7 +49,7 @@ PATCHES=( src_prepare() { sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.{cron,service} || die - eapply_user + default } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 710267ce0b97cd5f39781f5a6b00f20df66b3016 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sun Jun 17 10:04:56 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jun 17 10:21:32 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=710267ce app-admin/logrotate: stable 3.14.0 for sparc Bug: https://bugs.gentoo.org/652804 Package-Manager: Portage-2.3.24, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc" app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index 00425ba7d4d..64edaf09f13 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 982f3d8156daa58dfe14d7a68dac87c2816a9610 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Jun 9 19:19:42 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Jun 9 19:21:47 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=982f3d81 app-admin/logrotate: stable 3.14.0 for ppc, bug #652804 Tested-by: ernsteiswuerfel Bug: https://bugs.gentoo.org/652804 Package-Manager: Portage-2.3.40, Repoman-2.3.9 RepoMan-Options: --include-arches="ppc" app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index b91a54cba8d..00425ba7d4d 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: cd08dbd3126afc85c661b5880d502699c07a359f Author: Sergei Trofimovich gentoo org> AuthorDate: Sun May 20 14:47:05 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun May 20 14:47:05 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd08dbd3 app-admin/logrotate: stable 3.14.0 for ppc64, bug #652804 Bug: https://bugs.gentoo.org/652804 Package-Manager: Portage-2.3.38, Repoman-2.3.9 RepoMan-Options: --include-arches="ppc64" app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index 4f19e8b5cdc..b91a54cba8d 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: fd772b5083dbf0e8beaa2c353bbccacc27309c80 Author: Mart Raudsepp gentoo org> AuthorDate: Thu May 3 07:21:07 2018 + Commit: Mart Raudsepp gentoo org> CommitDate: Thu May 3 07:21:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd772b50 app-admin/logrotate-3.14.0: arm64 stable (bug #652804) Package-Manager: Portage-2.3.28, Repoman-2.3.9 app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index 4ee8fd19f6e..4f19e8b5cdc 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: e1c498fad7f45dfc2f632fe4ab4ac4e6fca66edf Author: Mikle Kolyada gentoo org> AuthorDate: Tue Apr 24 11:22:52 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Tue Apr 24 11:23:20 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c498fa app-admin/logrotate: arm stable wrt bug #652804 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index a1587e04c66..4ee8fd19f6e 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 52bf4c30a3e95c4694e579c74b1532af3fd14844 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Apr 18 07:10:10 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Apr 18 07:10:10 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52bf4c30 app-admin/logrotate: stable 3.14.0 for ia64, bug #652804 Bug: https://bugs.gentoo.org/652804 Package-Manager: Portage-2.3.28, Repoman-2.3.9 RepoMan-Options: --include-arches="ia64" app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index bf1a09bbdb5..a1587e04c66 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: a388e158dbb87ec74408beeefc96a2009b1d0b3e Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Apr 11 20:31:59 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Apr 11 20:43:25 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a388e158 app-admin/logrotate: x86 stable (bug #652804) Package-Manager: Portage-2.3.28, Repoman-2.3.9 app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index dee701d9073..bf1a09bbdb5 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 756e1e40a8d0fab66c5769aa0dac67caf9f5f96a Author: Tobias Klausmann gentoo org> AuthorDate: Tue Apr 10 11:32:10 2018 + Commit: Tobias Klausmann gentoo org> CommitDate: Tue Apr 10 11:32:29 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=756e1e40 app-admin/logrotate-3.14.0-r0: alpha stable Gentoo-Bug: http://bugs.gentoo.org/652804 app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index 53c698e22ea..dee701d9073 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: f9d03479853179480e8ea70917a8c548ee6ea2b6 Author: Aaron Bauman gentoo org> AuthorDate: Sun Apr 8 15:41:30 2018 + Commit: Aaron Bauman gentoo org> CommitDate: Sun Apr 8 15:41:30 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9d03479 app-admin/logrotate: amd64 stable Bug: https://bugs.gentoo.org/652804 Package-Manager: Portage-2.3.28, Repoman-2.3.9 app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index 901ce887429..53c698e22ea 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/files/, app-admin/logrotate/
commit: 3cb00e9b57dd4566bf845b45bbce77b06d4c Author: Chema Alonso Josa gentoo org> AuthorDate: Fri Mar 9 19:16:08 2018 + Commit: José María Alonso gentoo org> CommitDate: Fri Mar 9 19:16:36 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb0 app-admin/logrotate: Bumps version to 3.14.0 Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-admin/logrotate/Manifest | 1 + .../files/logrotate-3.14.0-ignore-hidden.patch | 14 app-admin/logrotate/logrotate-3.14.0.ebuild| 98 ++ 3 files changed, 113 insertions(+) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index c0753bf1cec..9fe40fb9471 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,2 +1,3 @@ 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.9.1.tar.gz 79061 BLAKE2B b07f8fd8eb59cc4d6c80441a3b5a8aab090bc13eb8fa5e35b111feb2203fb2c3092daa469e6fec02a29b1d377bca33fbbf5859bcd351a1f4a0d82343c5f65d3d SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 diff --git a/app-admin/logrotate/files/logrotate-3.14.0-ignore-hidden.patch b/app-admin/logrotate/files/logrotate-3.14.0-ignore-hidden.patch new file mode 100644 index 000..6745126259b --- /dev/null +++ b/app-admin/logrotate/files/logrotate-3.14.0-ignore-hidden.patch @@ -0,0 +1,14 @@ +diff -Nuar a/config.c b/config.c +--- a/config.c 2018-03-09 17:47:08.0 +0100 b/config.c 2018-03-09 19:47:42.274696766 +0100 +@@ -440,7 +440,9 @@ + int i; + + /* Check if fname is '.' or '..'; if so, return false */ +- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2]))) ++/* Don't include 'hidden' files either; this breaks Gentoo ++ portage config file management http://bugs.gentoo.org/87683 */ ++if (fname[0] == '.') + return 0; + + /* Check if fname is ending in a taboo-extension; if so, return false */ diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild new file mode 100644 index 000..901ce887429 --- /dev/null +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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}/${P}-ignore-hidden.patch" +) + +src_prepare() { + sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.{cron,service} || die + eapply_user +} + +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 examples/logrotate-default + + 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_po
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/, app-admin/logrotate/files/
commit: 49280b6dc51df4c4a73c27df24a38f8515fd4cf8 Author: Chema Alonso Josa gentoo org> AuthorDate: Thu Feb 1 20:40:05 2018 + Commit: José María Alonso gentoo org> CommitDate: Thu Feb 1 20:40:55 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49280b6d app-admin/logrotate: Drops old version 3.12.3 Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-admin/logrotate/Manifest | 1 - .../logrotate/files/logrotate-3.12.3-fbsd.patch| 36 .../files/logrotate-3.12.3-ignore-hidden.patch | 14 --- app-admin/logrotate/logrotate-3.12.3-r1.ebuild | 99 -- app-admin/logrotate/logrotate-3.12.3-r2.ebuild | 99 -- 5 files changed, 249 deletions(-) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 50ece1aff4f..c0753bf1cec 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,3 +1,2 @@ -DIST logrotate-3.12.3.tar.gz 202991 BLAKE2B 26e6507ae15cfa1e183a64151a66600462a48aa6eb951b30634b90644b24ae7ceb9e26da5954919c83e05cab5a102589b621b7a8fdc8bea8d40dd1c813fe SHA512 ab700a50736c7ce8a6e5b9dc2504919c6d3e6ae48a7f112f6980253df5c6bab7fc507c82a0cd961d73ed1312c930da46d96d9f27046996644e0759c84c6a1ae9 DIST logrotate-3.13.0.tar.gz 213726 BLAKE2B b9970a0fb49b9de9c83ee679fd4587b6a1623cf1aae2444e818339361c7b7762ce51fcbd124fefafbe47d529dd21ef346a6c9a267da20547914388db99dce003 SHA512 3dec2fcdd674d3337b71fd70339cb5e3dd06b4bc24bee191356a30c2a211a290ae7747e63b90581e32a6d6d1f73cf62d5b0ee5a91aa05bad4d6ee403a35d9e76 DIST logrotate-3.9.1.tar.gz 79061 BLAKE2B b07f8fd8eb59cc4d6c80441a3b5a8aab090bc13eb8fa5e35b111feb2203fb2c3092daa469e6fec02a29b1d377bca33fbbf5859bcd351a1f4a0d82343c5f65d3d SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 diff --git a/app-admin/logrotate/files/logrotate-3.12.3-fbsd.patch b/app-admin/logrotate/files/logrotate-3.12.3-fbsd.patch deleted file mode 100644 index 67a60e3af17..000 --- a/app-admin/logrotate/files/logrotate-3.12.3-fbsd.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Nuar a/config.c b/config.c a/config.c 2017-04-22 23:46:08.201991730 +0200 -+++ b/config.c 2017-04-22 23:49:43.021996055 +0200 -@@ -25,6 +25,10 @@ - #include - #include - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include -+#endif -+ - #include "log.h" - #include "logrotate.h" - -diff -Nuar a/logrotate.c b/logrotate.c a/logrotate.c 2017-04-21 10:52:10.0 +0200 -+++ b/logrotate.c 2017-04-22 23:50:20.691996814 +0200 -@@ -1,6 +1,6 @@ - #include "queue.h" - /* alloca() is defined in stdlib.h in NetBSD */ --#ifndef __NetBSD__ -+#if !defined(__NetBSD__) && !defined(__FreeBSD__) - #include - #endif - #include -@@ -27,6 +27,10 @@ - #include - #endif - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include -+#endif -+ - #include "log.h" - #include "logrotate.h" - diff --git a/app-admin/logrotate/files/logrotate-3.12.3-ignore-hidden.patch b/app-admin/logrotate/files/logrotate-3.12.3-ignore-hidden.patch deleted file mode 100644 index 0bbb91dcb4f..000 --- a/app-admin/logrotate/files/logrotate-3.12.3-ignore-hidden.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nuar a/config.c b/config.c a/config.c 2017-04-18 14:57:02.0 +0200 -+++ b/config.c 2017-04-22 23:46:08.201991730 +0200 -@@ -389,7 +389,9 @@ - int i; - - /* Check if fname is '.' or '..'; if so, return false */ -- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2]))) -+ /* Don't include 'hidden' files either; this breaks Gentoo -+ portage config file management http://bugs.gentoo.org/87683 */ -+ if (fname[0] == '.') - return 0; - - /* Check if fname is ending in a taboo-extension; if so, return false */ diff --git a/app-admin/logrotate/logrotate-3.12.3-r1.ebuild b/app-admin/logrotate/logrotate-3.12.3-r1.ebuild deleted file mode 100644 index 81b5ffc20c5..000 --- a/app-admin/logrotate/logrotate-3.12.3-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# 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
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 67d9a3b2014b183788414fc4eb68773360e65a48 Author: Markus Meier gentoo org> AuthorDate: Thu Jan 18 18:58:16 2018 + Commit: Markus Meier gentoo org> CommitDate: Thu Jan 18 18:58:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d9a3b2 app-admin/logrotate: arm stable, bug #637130 Package-Manager: Portage-2.3.13, Repoman-2.3.3 RepoMan-Options: --include-arches="arm" app-admin/logrotate/logrotate-3.13.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-admin/logrotate/logrotate-3.13.0.ebuild b/app-admin/logrotate/logrotate-3.13.0.ebuild index bd3fbe4b720..3e708af36c7 100644 --- a/app-admin/logrotate/logrotate-3.13.0.ebuild +++ b/app-admin/logrotate/logrotate-3.13.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: e7fb5547ab4d62cfd5bc1ea1b9615fcdc672d591 Author: Tobias Klausmann gentoo org> AuthorDate: Fri Nov 17 11:17:55 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Fri Nov 17 11:17:55 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7fb5547 app-admin/logrotate-3.13.0-r0: alpha stable Gentoo-Bug: http://bugs.gentoo.org/637130 app-admin/logrotate/logrotate-3.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.13.0.ebuild b/app-admin/logrotate/logrotate-3.13.0.ebuild index 352c38fa9e3..bd3fbe4b720 100644 --- a/app-admin/logrotate/logrotate-3.13.0.ebuild +++ b/app-admin/logrotate/logrotate-3.13.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 5ccc311acaa013375ae6c0abd56c9a10bcf1fd3a Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Nov 14 09:00:21 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Nov 14 09:00:21 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ccc311a app-admin/logrotate: stable 3.13.0 for hppa, bug #637130 Package-Manager: Portage-2.3.13, Repoman-2.3.4 RepoMan-Options: --include-arches="hppa" app-admin/logrotate/logrotate-3.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.13.0.ebuild b/app-admin/logrotate/logrotate-3.13.0.ebuild index 01b93cc48d0..352c38fa9e3 100644 --- a/app-admin/logrotate/logrotate-3.13.0.ebuild +++ b/app-admin/logrotate/logrotate-3.13.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: e2cb38e94735bdb0a5036ba19245580bd00adf4b Author: Manuel Rüger gentoo org> AuthorDate: Mon Nov 13 15:07:44 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Nov 13 15:07:44 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2cb38e9 app-admin/logrotate: amd64 stable Package-Manager: Portage-2.3.12, Repoman-2.3.4 app-admin/logrotate/logrotate-3.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.13.0.ebuild b/app-admin/logrotate/logrotate-3.13.0.ebuild index 5d173b4f82b..01b93cc48d0 100644 --- a/app-admin/logrotate/logrotate-3.13.0.ebuild +++ b/app-admin/logrotate/logrotate-3.13.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 34b861e18f7609906c46f2712054371d234267db Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 11 23:12:06 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 11 23:33:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34b861e1 app-admin/logrotate: stable 3.13.0 for ppc/ppc64, bug #637130 Package-Manager: Portage-2.3.13, Repoman-2.3.4 RepoMan-Options: --include-arches="ppc ppc64" app-admin/logrotate/logrotate-3.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.13.0.ebuild b/app-admin/logrotate/logrotate-3.13.0.ebuild index 8f2c7f4141f..5d173b4f82b 100644 --- a/app-admin/logrotate/logrotate-3.13.0.ebuild +++ b/app-admin/logrotate/logrotate-3.13.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 1a07fb048d0902348b09fca1de29833662240c0a Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 11 22:01:16 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 11 22:12:44 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a07fb04 app-admin/logrotate: stable 3.13.0 for sparc, bug #637130 (thanks to Rolf Eike Beer) Package-Manager: Portage-2.3.13, Repoman-2.3.4 RepoMan-Options: --include-arches="sparc" app-admin/logrotate/logrotate-3.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.13.0.ebuild b/app-admin/logrotate/logrotate-3.13.0.ebuild index 1742530a417..8f2c7f4141f 100644 --- a/app-admin/logrotate/logrotate-3.13.0.ebuild +++ b/app-admin/logrotate/logrotate-3.13.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 1e239035b40c61753ba58b88783e262813ba2f4a Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Nov 11 17:58:57 2017 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Nov 11 18:00:10 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e239035 app-admin/logrotate: x86 stable (bug #637130) Package-Manager: Portage-2.3.13, Repoman-2.3.4 app-admin/logrotate/logrotate-3.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.13.0.ebuild b/app-admin/logrotate/logrotate-3.13.0.ebuild index 741d0622fde..1742530a417 100644 --- a/app-admin/logrotate/logrotate-3.13.0.ebuild +++ b/app-admin/logrotate/logrotate-3.13.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/
commit: 68b7990acf7a244606f6a322eb2af46c004ecf0f Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 11 14:47:06 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 11 14:47:06 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68b7990a app-admin/logrotate: stable 3.13.0 for ia64, bug #637130 Package-Manager: Portage-2.3.13, Repoman-2.3.4 RepoMan-Options: --include-arches="ia64" app-admin/logrotate/logrotate-3.13.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/logrotate/logrotate-3.13.0.ebuild b/app-admin/logrotate/logrotate-3.13.0.ebuild index f0661a39594..741d0622fde 100644 --- a/app-admin/logrotate/logrotate-3.13.0.ebuild +++ b/app-admin/logrotate/logrotate-3.13.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/files/, app-admin/logrotate/
commit: 2d250269ac4b8af6f18f04c51f0c6cd40bbc461e Author: Chema Alonso Josa gentoo org> AuthorDate: Tue Oct 24 19:20:54 2017 + Commit: José María Alonso gentoo org> CommitDate: Tue Oct 24 19:21:17 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d250269 app-admin/logrotate: Drops old versions Package-Manager: Portage-2.3.8, Repoman-2.3.3 app-admin/logrotate/Manifest | 2 - .../logrotate/files/logrotate-3.11.0-Werror.patch | 12 --- .../logrotate/files/logrotate-3.11.0-fbsd.patch| 57 - .../files/logrotate-3.11.0-ignore-hidden.patch | 14 .../logrotate/files/logrotate-3.11.0-lfs.patch | 11 --- .../files/logrotate-3.11.0-noasprintf.patch| 55 .../logrotate/files/logrotate-3.12.2-fbsd.patch| 36 .../files/logrotate-3.12.2-ignore-hidden.patch | 14 app-admin/logrotate/logrotate-3.11.0.ebuild| 88 --- app-admin/logrotate/logrotate-3.12.2.ebuild| 83 -- app-admin/logrotate/logrotate-3.12.3.ebuild| 98 -- 11 files changed, 470 deletions(-) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index f43f755b54c..ead9fe510d7 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,5 +1,3 @@ -DIST logrotate-3.11.0.tar.gz 176488 SHA256 7dcb440ed2f1937459e1e06f841c6af1e564b77b2df8009147b56c8649197910 SHA512 67ceb2e18c175a5935c81e7699af7a5e6625cef50a3f52e993d49d6c10d9c433f6c7354a8dd05cb35ab28e4393d1db198f2e46e5f6eafd3e6f040b6518438cc1 WHIRLPOOL 0a581aa5922386b84a7c40a9490364287f4e162f7180fd0e15bf191694294168b663947c7081e92755406fe4f0b3b8792b6f0c5f0e646afa5505a17995a86858 -DIST logrotate-3.12.2.tar.gz 202700 SHA256 754777ada2ef2f34378e8f6025cdb0c0725e212f12195d59971c42df0ae0597f SHA512 ba8c3d7c7134b9ab5968c0dc8a1c5d24d7287a3204e1c6eed080b537d6a0ed7765a47c69b3067493304994e3f4238dc0173b593e4628316bfadf3decd002da16 WHIRLPOOL a299bc2bd50ab36acdd4ab747a479c5b94e84ac92bf55b71a8a8a7d4e1b55eb909dce94c22a5fdadda946dc783376923de5f46729084e21b54811489ce97c482 DIST logrotate-3.12.3.tar.gz 202991 SHA256 435a3f9a534a37e11657532a090f6bf521d8696bdf9cb799a360c1750ba3aea9 SHA512 ab700a50736c7ce8a6e5b9dc2504919c6d3e6ae48a7f112f6980253df5c6bab7fc507c82a0cd961d73ed1312c930da46d96d9f27046996644e0759c84c6a1ae9 WHIRLPOOL ceadd2a748850f0035702156b9a566bf3a38749edf823062f1c867e60cac1c7b40d770d6c923eed79972ce58394b3220e16e40e97e192a6a7046cf09c5fcbf77 DIST logrotate-3.13.0.tar.gz 213726 SHA256 2ea33f69176dd2668fb85307210d7ed0411ff2a0429e4a0a2d881e740160e4b0 SHA512 3dec2fcdd674d3337b71fd70339cb5e3dd06b4bc24bee191356a30c2a211a290ae7747e63b90581e32a6d6d1f73cf62d5b0ee5a91aa05bad4d6ee403a35d9e76 WHIRLPOOL 952c5eda18870876ea5109d4c5ae7ac1048d3ea07c89b4a0320a48baa8170fbc200f5b4a1cc193da0f6b0e1ef8dbdcdb82f74f23d4f12e5a19bb98650c1e7d5a DIST logrotate-3.9.1.tar.gz 79061 SHA256 022769e3288c80981559a8421703c88e8438b447235e36dd3c8e97cd94c52545 SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 WHIRLPOOL 9b3558bb03c6c95f8f386ea75ca09bfda802ae4c45b9ef8408692e3aa7a2ee57447cf15ce04d0289946b9cae2266acb5509d8151d15ac6ea0ad9113aeb32dc17 diff --git a/app-admin/logrotate/files/logrotate-3.11.0-Werror.patch b/app-admin/logrotate/files/logrotate-3.11.0-Werror.patch deleted file mode 100644 index 43c0ebaeb18..000 --- a/app-admin/logrotate/files/logrotate-3.11.0-Werror.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nuar a/Makefile.am b/Makefile.am a/Makefile.am 2016-11-30 13:05:55.0 +0100 -+++ b/Makefile.am 2016-12-02 23:46:15.288908073 +0100 -@@ -8,7 +8,7 @@ - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. - # --AM_CFLAGS = -Wall -Werror -+AM_CFLAGS = -Wall - sbin_PROGRAMS = logrotate - logrotate_SOURCES = basenames.c config.c log.c logrotate.c \ - basenames.h config.h log.h logrotate.h queue.h diff --git a/app-admin/logrotate/files/logrotate-3.11.0-fbsd.patch b/app-admin/logrotate/files/logrotate-3.11.0-fbsd.patch deleted file mode 100644 index f5aa65272b8..000 --- a/app-admin/logrotate/files/logrotate-3.11.0-fbsd.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff -Nuar a/config.c b/config.c a/config.c 2016-12-02 23:33:36.768905615 +0100 -+++ b/config.c 2016-12-02 23:36:15.568906130 +0100 -@@ -1,6 +1,6 @@ - #include "queue.h" - /* Alloca is defined in stdlib.h in NetBSD */ --#ifndef __NetBSD__ -+#if !defined(__NetBSD__) && !defined(__FreeBSD__) - #include - #endif - #include -@@ -24,6 +24,10 @@ - #include - #include - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include -+#endif -+ - #include "basenames.h" - #include "log.h" - #include "logrotate.h" -diff -Nuar a/logrotate.c b/logrotate.c a/logrotate.c 2016-11-30 14:07:15.0 +0100 -+++ b/logrotate.c