summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-06-17 15:29:26 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-06-17 15:32:35 +0200
commit0381eb23425a2caaffdb2961cc49d4b12a92326d (patch)
tree1d2f2b22c841cc599809838e1948c60f89220254 /dev-util/jenkins-bin
parentdev-util/jenkins-bin: drop old (diff)
downloadgentoo-0381eb23425a2caaffdb2961cc49d4b12a92326d.tar.gz
gentoo-0381eb23425a2caaffdb2961cc49d4b12a92326d.tar.bz2
gentoo-0381eb23425a2caaffdb2961cc49d4b12a92326d.zip
dev-util/jenkins-bin: fix logrotate script
Closes: https://bugs.gentoo.org/795177 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-util/jenkins-bin')
-rw-r--r--dev-util/jenkins-bin/files/jenkins-bin-r2.logrotate (renamed from dev-util/jenkins-bin/files/jenkins-bin-r1.logrotate)2
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.289.1-r1.ebuild (renamed from dev-util/jenkins-bin/jenkins-bin-2.289.1.ebuild)2
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.297-r1.ebuild (renamed from dev-util/jenkins-bin/jenkins-bin-2.297.ebuild)2
3 files changed, 3 insertions, 3 deletions
diff --git a/dev-util/jenkins-bin/files/jenkins-bin-r1.logrotate b/dev-util/jenkins-bin/files/jenkins-bin-r2.logrotate
index 33b16600452e..895461f0540e 100644
--- a/dev-util/jenkins-bin/files/jenkins-bin-r1.logrotate
+++ b/dev-util/jenkins-bin/files/jenkins-bin-r2.logrotate
@@ -3,7 +3,7 @@
dateext
maxage 365
rotate 99
- size=+4096k
+ size 4M
notifempty
missingok
create 644
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.289.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.289.1-r1.ebuild
index 10778d0c4f4a..4f917fe82dac 100644
--- a/dev-util/jenkins-bin/jenkins-bin-2.289.1.ebuild
+++ b/dev-util/jenkins-bin/jenkins-bin-2.289.1-r1.ebuild
@@ -34,7 +34,7 @@ src_install() {
newins "${DISTDIR}"/${P}.war ${PN/-bin/}.war
insinto /etc/logrotate.d
- newins "${FILESDIR}"/${PN}-r1.logrotate ${PN/-bin/}
+ newins "${FILESDIR}"/${PN}-r2.logrotate ${PN/-bin/}
newinitd "${FILESDIR}"/${PN}-r2.init jenkins
newconfd "${FILESDIR}"/${PN}.confd jenkins
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.297.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.297-r1.ebuild
index 6272140cb584..af8ebb51388e 100644
--- a/dev-util/jenkins-bin/jenkins-bin-2.297.ebuild
+++ b/dev-util/jenkins-bin/jenkins-bin-2.297-r1.ebuild
@@ -34,7 +34,7 @@ src_install() {
newins "${DISTDIR}"/${P}.war ${PN/-bin/}.war
insinto /etc/logrotate.d
- newins "${FILESDIR}"/${PN}-r1.logrotate ${PN/-bin/}
+ newins "${FILESDIR}"/${PN}-r2.logrotate ${PN/-bin/}
newinitd "${FILESDIR}"/${PN}-r2.init jenkins
newconfd "${FILESDIR}"/${PN}.confd jenkins