bump(app-admin/logrotate): sync with upstream

This commit is contained in:
Michael Marineau 2015-06-26 10:56:52 -07:00
parent dd81edaaf6
commit 28588cbe3b
27 changed files with 1854 additions and 0 deletions

View File

@ -0,0 +1,844 @@
# ChangeLog for app-admin/logrotate
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.209 2015/06/21 18:23:54 zlogene Exp $
21 Jun 2015; Mikle Kolyada <zlogene@gentoo.org> logrotate-3.8.9-r1.ebuild:
alpha stable wrt bug #550032
17 Jun 2015; Mikle Kolyada <zlogene@gentoo.org> logrotate-3.8.9-r1.ebuild:
amd64 stable wrt bug #550032
11 Jun 2015; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.9-r1.ebuild:
Stable for ppc, wrt bug #550032
02 Jun 2015; Jack Morgan <jmorgan@gentoo.org> logrotate-3.8.9-r1.ebuild:
sparc stable wrt bug #550032
31 May 2015; Mikle Kolyada <zlogene@gentoo.org> logrotate-3.8.9-r1.ebuild:
arm stable wrt bug #550032
28 May 2015; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.9-r1.ebuild:
Stable for PPC64 (bug #550032).
27 May 2015; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.9-r1.ebuild:
Stable for x86, wrt bug #550032
25 May 2015; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.9-r1.ebuild:
Stable for HPPA (bug #550032).
21 May 2015; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.9-r1.ebuild:
Stable for amd64, wrt bug #550032
13 May 2015; Jack Morgan <jmorgan@gentoo.org> logrotate-3.8.9.ebuild:
sparc stable wrt bug #545566
01 May 2015; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.9.ebuild:
Stable for PPC64 (bug #545566).
21 Apr 2015; Pacho Ramos <pacho@gentoo.org> logrotate-3.8.9.ebuild:
ppc stable wrt bug #545566
*logrotate-3.8.9-r1 (21 Apr 2015)
21 Apr 2015; Chema Alonso <nimiux@gentoo.org> +logrotate-3.8.9-r1.ebuild,
metadata.xml:
Bump to fix bug #485848 and bug #546462
19 Apr 2015; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.9.ebuild:
Stable for x86, wrt bug #545566
14 Apr 2015; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.9.ebuild:
Stable for ia64, wrt bug #545566
13 Apr 2015; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.9.ebuild:
Stable for alpha, wrt bug #545566
09 Apr 2015; Chema Alonso <nimiux@gentoo.org> logrotate-3.8.9.ebuild:
Fix bug #545922 by Duncan
08 Apr 2015; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.9.ebuild:
Stable for amd64, wrt bug #545566
07 Apr 2015; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.9.ebuild:
Stable for HPPA (bug #545566).
04 Apr 2015; Chema Alonso <nimiux@gentoo.org> logrotate-3.8.9.ebuild:
Fix bug #485848 by Marek Mrva
02 Mar 2015; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.8.ebuild:
Stable for ppc, wrt bug #531744
*logrotate-3.8.9 (01 Mar 2015)
01 Mar 2015; Chema Alonso <nimiux@gentoo.org> +logrotate-3.8.9.ebuild,
+files/logrotate-3.8.9-Werror.patch,
+files/logrotate-3.8.9-atomic-create.patch,
+files/logrotate-3.8.9-fbsd.patch,
+files/logrotate-3.8.9-ignore-hidden.patch,
+files/logrotate-3.8.9-noasprintf.patch:
Version bump. Fix bug #533992
21 Jan 2015; Raúl Porcel <armin76@gentoo.org> logrotate-3.8.8.ebuild:
alpha/arm64/ia64/s390/sh/sparc stable wrt #531744
29 Dec 2014; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.8.ebuild,
+files/logrotate-3.8.8-Werror.patch:
Use autotools.eclass (bug #533798). Remove -Werror (bug #533830).
28 Dec 2014; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.8.ebuild:
Stable for x86, wrt bug #531744
27 Dec 2014; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.8.ebuild:
Stable for amd64, wrt bug #531744
26 Dec 2014; Markus Meier <maekke@gentoo.org> logrotate-3.8.8.ebuild:
arm stable, bug #531744
06 Dec 2014; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.8.ebuild:
Stable for HPPA (bug #531744).
*logrotate-3.8.8 (04 Nov 2014)
04 Nov 2014; Chema Alonso <nimiux@gentoo.org> +logrotate-3.8.8.ebuild,
+files/logrotate-3.8.8-atomic-create.patch,
+files/logrotate-3.8.8-fbsd.patch,
+files/logrotate-3.8.8-ignore-hidden.patch,
+files/logrotate-3.8.8-noasprintf.patch:
Version bump. (bug #528036)
02 Nov 2014; Sven Vermeulen <swift@gentoo.org> logrotate-3.8.7.ebuild:
Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug
#527698)
09 Jul 2014; Chema Alonso <nimiux@gentoo.org> -logrotate-3.8.4.ebuild,
-logrotate-3.8.6.ebuild, -files/logrotate-3.8.4-atomic-create.patch,
-files/logrotate-3.8.4-datehack.patch, -files/logrotate-3.8.4-fbsd.patch,
-files/logrotate-3.8.4-ignore-hidden.patch,
-files/logrotate-3.8.4-noasprintf.patch,
-files/logrotate-3.8.6-atomic-create.patch,
-files/logrotate-3.8.6-datehack.patch, -files/logrotate-3.8.6-fbsd.patch,
-files/logrotate-3.8.6-ignore-hidden.patch,
-files/logrotate-3.8.6-noasprintf.patch:
Drop old
07 Jul 2014; Chema Alonso <nimiux@gentoo.org> files/logrotate.conf:
Fix tabs and enhance comments. Thanks to Consus via email.
10 Jun 2014; Mike Frysinger <vapier@gentoo.org> logrotate-3.8.7.ebuild:
Mark m68k/s390/sh stable.
10 Jun 2014; Mike Frysinger <vapier@gentoo.org> logrotate-3.8.7.ebuild:
Add arm64 love.
18 Jan 2014; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.7.ebuild:
Stable for alpha, wrt bug #492768
15 Jan 2014; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.7.ebuild:
Stable for ia64, wrt bug #492768
23 Dec 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.7.ebuild:
Stable for sparc, wrt bug #492768
23 Dec 2013; Tom Wijsman <TomWij@gentoo.org> -files/logrotate.cron:
[QA] Remove unused files. (logrotate.cron is installed from ${S}/examples)
22 Dec 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.6.ebuild:
Stable for ppc64, wrt bug #485886
22 Dec 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.7.ebuild:
Stable for ppc64, wrt bug #492768
21 Dec 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.7.ebuild:
Stable for ppc, wrt bug #492768
21 Dec 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.6.ebuild:
Stable for ppc, wrt bug #485886
17 Dec 2013; Raúl Porcel <armin76@gentoo.org> logrotate-3.8.6.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #485502
08 Dec 2013; Pacho Ramos <pacho@gentoo.org> logrotate-3.8.7.ebuild:
x86 stable, bug #492768
08 Dec 2013; Pacho Ramos <pacho@gentoo.org> logrotate-3.8.7.ebuild:
amd64 stable, bug #492768
06 Dec 2013; Markus Meier <maekke@gentoo.org> logrotate-3.8.7.ebuild:
arm stable, bug #492768
04 Dec 2013; Markos Chandras <hwoarang@gentoo.org> logrotate-3.8.7.ebuild:
Add ~mips
30 Nov 2013; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.7.ebuild:
Stable for HPPA (bug #492768).
26 Oct 2013; Chema Alonso <nimiux@gentoo.org> -logrotate-3.8.5.ebuild,
-files/logrotate-3.8.5-atomic-create.patch,
-files/logrotate-3.8.5-datehack.patch, -files/logrotate-3.8.5-fbsd.patch,
-files/logrotate-3.8.5-ignore-hidden.patch,
-files/logrotate-3.8.5-noasprintf.patch:
Drop old
*logrotate-3.8.7 (26 Oct 2013)
26 Oct 2013; Chema Alonso <nimiux@gentoo.org> +logrotate-3.8.7.ebuild,
+files/logrotate-3.8.7-atomic-create.patch,
+files/logrotate-3.8.7-datehack.patch, +files/logrotate-3.8.7-fbsd.patch,
+files/logrotate-3.8.7-ignore-hidden.patch,
+files/logrotate-3.8.7-noasprintf.patch:
Version bump
02 Oct 2013; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.6.ebuild:
Stable for HPPA (bug #485886).
30 Sep 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.6.ebuild:
Stable for x86, wrt bug #485886
28 Sep 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.6.ebuild:
Stable for amd64, wrt bug #485886
27 Sep 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.6.ebuild:
Stable for arm, wrt bug #485886
13 Aug 2013; Chema Alonso <nimiux@gentoo.org> -logrotate-3.8.3.ebuild,
-files/logrotate-3.8.3-atomic-create.patch,
-files/logrotate-3.8.3-datehack.patch, -files/logrotate-3.8.3-fbsd.patch,
-files/logrotate-3.8.3-fix-acl-tests.patch,
-files/logrotate-3.8.3-ignore-hidden.patch,
-files/logrotate-3.8.3-noasprintf.patch:
Drop old
*logrotate-3.8.6 (13 Aug 2013)
13 Aug 2013; Chema Alonso <nimiux@gentoo.org> +logrotate-3.8.6.ebuild,
+files/logrotate-3.8.6-atomic-create.patch,
+files/logrotate-3.8.6-datehack.patch, +files/logrotate-3.8.6-fbsd.patch,
+files/logrotate-3.8.6-ignore-hidden.patch,
+files/logrotate-3.8.6-noasprintf.patch:
Version bump
02 Jul 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.4.ebuild:
Stable for sh, wrt bug #472868
30 Jun 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.4.ebuild:
Stable for s390, wrt bug #472868
29 Jun 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.4.ebuild:
Stable for sparc, wrt bug #472868
26 Jun 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.4.ebuild:
Stable for arm, wrt bug #472868
26 Jun 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.4.ebuild:
Stable for ia64, wrt bug #472868
26 Jun 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.4.ebuild:
Stable for alpha, wrt bug #472868
25 Jun 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.4.ebuild:
Stable for ppc64, wrt bug #472868
24 Jun 2013; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.4.ebuild:
Stable for ppc, wrt bug #472868
18 Jun 2013; Chema Alonso <nimiux@gentoo.org> logrotate-3.8.3.ebuild,
logrotate-3.8.4.ebuild, logrotate-3.8.5.ebuild:
Add ~amd64-fbsd keyword wrt bug 473540
*logrotate-3.8.5 (18 Jun 2013)
18 Jun 2013; Chema Alonso <nimiux@gentoo.org> +logrotate-3.8.5.ebuild,
+files/logrotate-3.8.5-atomic-create.patch,
+files/logrotate-3.8.5-datehack.patch, +files/logrotate-3.8.5-fbsd.patch,
+files/logrotate-3.8.5-ignore-hidden.patch,
+files/logrotate-3.8.5-noasprintf.patch:
Revision bump
18 Jun 2013; Sergey Popov <pinkbyte@gentoo.org> logrotate-3.8.4.ebuild:
Stable on amd64 and x86, wrt bug #472868
10 Jun 2013; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.4.ebuild:
Stable for HPPA (bug #472868).
18 May 2013; Chema Alonso <nimiux@gentoo.org> files/logrotate.conf:
Load all common settings before including specific files. Bug 469908 by Hank
Leininger
10 May 2013; Chema Alonso <nimiux@gentoo.org>
-files/logrotate-3.7.7-datehack.patch,
-files/logrotate-3.8.0-atomic-create.patch,
-files/logrotate-3.8.0-fbsd.patch,
-files/logrotate-3.8.0-ignore-hidden.patch, -logrotate-3.8.1.ebuild,
-files/logrotate-3.8.1-noasprintf.patch, -logrotate-3.8.2.ebuild,
-files/logrotate-3.8.2-atomic-create.patch,
-files/logrotate-3.8.2-fbsd.patch:
Clean old
*logrotate-3.8.4 (10 May 2013)
10 May 2013; Chema Alonso <nimiux@gentoo.org> +logrotate-3.8.4.ebuild,
+files/logrotate-3.8.4-atomic-create.patch,
+files/logrotate-3.8.4-datehack.patch, +files/logrotate-3.8.4-fbsd.patch,
+files/logrotate-3.8.4-ignore-hidden.patch,
+files/logrotate-3.8.4-noasprintf.patch, files/logrotate.conf:
Revision bump
01 Jan 2013; Raúl Porcel <armin76@gentoo.org> logrotate-3.8.3.ebuild:
s390/sh stable wrt #447510
30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.3.ebuild:
Stable for alpha, wrt bug #447510
30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.3.ebuild:
Stable for sparc, wrt bug #447510
26 Dec 2012; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.3.ebuild:
Stable for ia64, wrt bug #447510
24 Dec 2012; Markus Meier <maekke@gentoo.org> logrotate-3.8.3.ebuild:
arm stable, bug #447510
23 Dec 2012; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.3.ebuild:
Stable for ppc64, wrt bug #447510
22 Dec 2012; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.3.ebuild:
Stable for ppc, wrt bug #447510
19 Dec 2012; Chema Alonso <nimiux@gentoo.org>
files/logrotate-3.8.3-fix-acl-tests.patch:
Fixed tests to check for setfacl command wrt bug #447510 comment #10
18 Dec 2012; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.3.ebuild:
Stable for HPPA (bug #447510).
16 Dec 2012; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.3.ebuild:
Stable for x86, wrt bug #447510
16 Dec 2012; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.3.ebuild:
Stable for amd64, wrt bug #447510
*logrotate-3.8.3 (11 Nov 2012)
11 Nov 2012; Chema Alonso <nimiux@gentoo.org> +logrotate-3.8.3.ebuild,
+files/logrotate-3.8.3-atomic-create.patch,
+files/logrotate-3.8.3-datehack.patch, +files/logrotate-3.8.3-fbsd.patch,
+files/logrotate-3.8.3-fix-acl-tests.patch,
+files/logrotate-3.8.3-ignore-hidden.patch,
+files/logrotate-3.8.3-noasprintf.patch:
Version bump to 3.8.3
29 Oct 2012; <naota@gentoo.org> +files/logrotate-3.8.2-fbsd.patch,
logrotate-3.8.2.ebuild:
Add patch to allow build on FreeBSD-9.x. #439200
29 Sep 2012; Raúl Porcel <armin76@gentoo.org> logrotate-3.8.2.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #434348
18 Sep 2012; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.2.ebuild:
Stable for HPPA (bug #434348).
12 Sep 2012; Anthony G. Basile <blueness@gentoo.org> logrotate-3.8.2.ebuild:
stable arm, bug #434348
12 Sep 2012; Anthony G. Basile <blueness@gentoo.org> logrotate-3.8.2.ebuild:
stable ppc ppc64, bug #434348
11 Sep 2012; Johannes Huber <johu@gentoo.org> logrotate-3.8.2.ebuild:
Stable for x86, wrt bug #434348
10 Sep 2012; Chema Alonso <nimiux@gentoo.org> logrotate-3.8.2.ebuild:
Dropped mips and x86-fbsd stable keywords and tune flags wrt bug #434348
09 Sep 2012; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.2.ebuild:
Stable for amd64, wrt bug #434348
*logrotate-3.8.2 (02 Aug 2012)
02 Aug 2012; Chema Alonso <nimiux@gentoo.org> +logrotate-3.8.2.ebuild,
+files/logrotate-3.8.2-atomic-create.patch:
Version bump.
10 Jun 2012; Chema Alonso <nimiux@gentoo.org> metadata.xml:
Add myself as maintainer. Add description and use flags to metadata.
08 Jun 2012; Pacho Ramos <pacho@gentoo.org> -files/logrotate-3.7.7-fbsd.patch,
-files/logrotate-3.7.7-ignore-hidden.patch,
-files/logrotate-3.7.7-weekly.patch,
-files/logrotate-3.7.9-atomic-create.patch,
-files/logrotate-3.7.9-no-cloexec.patch, -files/logrotate-3.7.9-shred.patch,
-files/logrotate-3.7.9-skip-empty-files.patch,
-files/logrotate-3.7.9-statefile.patch,
-files/logrotate-3.8.0-noasprintf.patch, -logrotate-3.7.8.ebuild,
-logrotate-3.7.9-r1.ebuild, -logrotate-3.7.9-r2.ebuild,
-logrotate-3.7.9.ebuild, -logrotate-3.8.0.ebuild, metadata.xml:
Drop maintainer from metadata as talked with him, bug #90641. Drop old.
12 Feb 2012; Raúl Porcel <armin76@gentoo.org> logrotate-3.8.1.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #398529
31 Jan 2012; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.1.ebuild:
Stable for HPPA (bug #398529).
31 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> logrotate-3.8.1.ebuild:
ppc/ppc64 stable wrt #398529
29 Jan 2012; Markus Meier <maekke@gentoo.org> logrotate-3.8.1.ebuild:
arm stable, bug #398529
29 Jan 2012; Jeff Horelick <jdhore@gentoo.org> logrotate-3.8.1.ebuild:
x86 stable per bug 398529
27 Jan 2012; Agostino Sarubbo <ago@gentoo.org> logrotate-3.8.1.ebuild:
Stable for amd64, wrt bug #398529
*logrotate-3.8.1 (12 Oct 2011)
12 Oct 2011; Daniel Gryniewicz <dang@gentoo.org> +logrotate-3.8.1.ebuild,
+files/logrotate-3.8.1-noasprintf.patch:
Bump to logrotate-3.8.1
07 Aug 2011; Raúl Porcel <armin76@gentoo.org> logrotate-3.8.0.ebuild:
alpha/arm/ia64/s390/sh/sparc stable wrt #372973
06 Aug 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> logrotate-3.8.0.ebuild:
x86 stable wrt security bug #372973
05 Aug 2011; Jeroen Roovers <jer@gentoo.org> logrotate-3.8.0.ebuild:
Stable for HPPA (bug #372973).
04 Aug 2011; Markos Chandras <hwoarang@gentoo.org> logrotate-3.8.0.ebuild:
Stable on amd64 wrt bug #372973
03 Aug 2011; Daniel Gryniewicz <dang@gentoo.org> logrotate-3.8.0.ebuild:
Install the CHANGES file. Bug #377483
03 Aug 2011; Kacper Kowalik <xarthisius@gentoo.org> logrotate-3.8.0.ebuild:
ppc/ppc64 stable wrt #372973
18 Jul 2011; Daniel Gryniewicz <dang@gentoo.org> logrotate-3.8.0.ebuild,
files/logrotate-3.8.0-atomic-create.patch,
+files/logrotate-3.8.0-noasprintf.patch:
Fix bug #374407 and bug #374869
08 Jul 2011; Samuli Suominen <ssuominen@gentoo.org> logrotate-3.7.8.ebuild,
logrotate-3.7.9.ebuild, logrotate-3.7.9-r1.ebuild, logrotate-3.7.9-r2.ebuild,
logrotate-3.8.0.ebuild:
Convert from "useq" to "use".
*logrotate-3.8.0 (06 Jul 2011)
06 Jul 2011; Daniel Gryniewicz <dang@gentoo.org> +logrotate-3.8.0.ebuild,
+files/logrotate-3.8.0-atomic-create.patch,
+files/logrotate-3.8.0-fbsd.patch,
+files/logrotate-3.8.0-ignore-hidden.patch:
Bump to logrotate-3.8.0
- CVE-2011-1098
- CVE-2011-1154
- CVE-2011-1155
29 Apr 2011; Daniel Gryniewicz <dang@gentoo.org> logrotate-3.7.9-r1.ebuild,
logrotate-3.7.9-r2.ebuild, +files/logrotate-3.7.9-no-cloexec.patch:
Fix bug #365137: allow to build on systems without O_CLOEXEC
*logrotate-3.7.9-r2 (17 Apr 2011)
17 Apr 2011; Daniel Gryniewicz <dang@gentoo.org> -logrotate-3.7.1-r2.ebuild,
-files/logrotate-3.7.1-dateext-maxage.patch,
-files/logrotate-3.7.1-datehack.patch,
-files/logrotate-3.7.1-ignore-hidden.patch,
-files/logrotate-3.7.1-manpage-fixes.patch,
-files/logrotate-3.7.1-no-tmpdir.patch,
-files/logrotate-3.7.1-taboo-to-debug.patch,
-files/logrotate-3.7.1-weekly.patch, -logrotate-3.7.2.ebuild,
-logrotate-3.7.7.ebuild, +logrotate-3.7.9-r2.ebuild,
+files/logrotate-3.7.9-skip-empty-files.patch:
Bump to logrotate-3.7.9-r2
- Fix bug #363705
- Fix bug #195787
Remove old versions
16 Apr 2011; Raúl Porcel <armin76@gentoo.org> logrotate-3.7.9-r1.ebuild:
alpha/arm/s390/sh/sparc stable wrt #356811
15 Apr 2011; Kacper Kowalik <xarthisius@gentoo.org>
logrotate-3.7.9-r1.ebuild:
ppc64/ia64 stable wrt #356811
13 Apr 2011; Brent Baude <ranger@gentoo.org> logrotate-3.7.9-r1.ebuild:
Marking logrotate-3.7.9-r1 ppc for bug 356811
13 Apr 2011; Markos Chandras <hwoarang@gentoo.org> logrotate-3.7.9-r1.ebuild:
Stable on amd64 wrt bug #356811
13 Apr 2011; Thomas Kahle <tomka@gentoo.org> logrotate-3.7.9-r1.ebuild:
x86 stable per bug 356811
12 Apr 2011; Jeroen Roovers <jer@gentoo.org> logrotate-3.7.9-r1.ebuild:
Stable for HPPA (bug #356811).
*logrotate-3.7.9-r1 (12 Apr 2011)
12 Apr 2011; Daniel Gryniewicz <dang@gentoo.org> +logrotate-3.7.9-r1.ebuild,
+files/logrotate-3.7.9-atomic-create.patch,
+files/logrotate-3.7.9-shred.patch, +files/logrotate-3.7.9-statefile.patch:
Bug #356811:
- Fix CVE-2011-1154
- Fix CVE-2011-1098
- Fix CVE-2011-1155
06 Feb 2011; Mart Raudsepp <leio@gentoo.org> logrotate-3.7.1-r2.ebuild,
logrotate-3.7.2.ebuild:
Drop to ~mips
*logrotate-3.7.9 (16 Nov 2010)
16 Nov 2010; Daniel Gryniewicz <dang@gentoo.org> +logrotate-3.7.9.ebuild:
Bump to logrotate-3.7.9; bug #345199
03 Nov 2009; Daniel Gryniewicz <dang@gentoo.org> logrotate-3.7.8.ebuild:
Move selinux-logroate to RDEPEND; bug #287481
12 Oct 2009; Michael Sterrett <mr_bones_@gentoo.org>
logrotate-3.7.8.ebuild:
call epatch once
11 Oct 2009; Mark Loeser <halcy0n@gentoo.org> logrotate-3.7.1-r2.ebuild,
logrotate-3.7.2.ebuild, logrotate-3.7.7.ebuild, logrotate-3.7.8.ebuild:
QA fixes; unquoted variables
02 Jul 2009; Markus Meier <maekke@gentoo.org> logrotate-3.7.8.ebuild:
amd64 stable, bug #273419
02 Jul 2009; Joseph Jezak <josejx@gentoo.org> logrotate-3.7.8.ebuild:
Marked ppc stable for bug #273419.
24 Jun 2009; Raúl Porcel <armin76@gentoo.org> logrotate-3.7.8.ebuild:
arm/ia64/s390/sh stable wrt #273419
19 Jun 2009; Brent Baude <ranger@gentoo.org> logrotate-3.7.8.ebuild:
stable ppc64, bug 273419
17 Jun 2009; Tobias Klausmann <klausman@gentoo.org>
logrotate-3.7.8.ebuild:
Stable on alpha, bug #273419
11 Jun 2009; Jeroen Roovers <jer@gentoo.org> logrotate-3.7.8.ebuild:
Stable for HPPA (bug #273419).
11 Jun 2009; Christian Faulhammer <fauli@gentoo.org>
logrotate-3.7.8.ebuild:
stable x86, bug 273419
10 Jun 2009; Ferris McCormick <fmccor@gentoo.org> logrotate-3.7.8.ebuild:
Sparc stable, Bug #273419.
*logrotate-3.7.8 (10 Mar 2009)
10 Mar 2009; Daniel Gryniewicz <dang@gentoo.org> +logrotate-3.7.8.ebuild:
Bump to logrotate-3.7.8
- Update to EAPI 2
25 Jan 2009; Daniel Gryniewicz <dang@gentoo.org>
files/logrotate-3.7.7-fbsd.patch:
Real fix this time for bug #254795; thanks Javier
14 Jan 2009; Daniel Gryniewicz <dang@gentoo.org> logrotate-3.7.7.ebuild:
Try again to fix fbsd; bug #254795
13 Jan 2009; Daniel Gryniewicz <dang@gentoo.org>
+files/logrotate-3.7.7-fbsd.patch, logrotate-3.7.7.ebuild:
re-add missed fbsd patch. Bug #254795
*logrotate-3.7.7 (24 Dec 2008)
24 Dec 2008; Daniel Gryniewicz <dang@gentoo.org>
+files/logrotate-3.7.7-datehack.patch,
+files/logrotate-3.7.7-ignore-hidden.patch,
+files/logrotate-3.7.7-weekly.patch, files/logrotate.conf,
+logrotate-3.7.7.ebuild:
Bump to 3.7.7; now considering fedora as upstream
15 Dec 2008; Daniel Gryniewicz <dang@gentoo.org> logrotate-3.7.2.ebuild:
Strip cflags; bug #250960
24 Dec 2007; Carsten Lohrke <carlo@gentoo.org> logrotate-3.7.2.ebuild:
There is more than one mailx implementation.
13 May 2007; Joshua Kinard <kumba@gentoo.org> logrotate-3.7.2.ebuild:
Stable on mips.
26 Mar 2007; Alec Warner <antarus@gentoo.org> logrotate-3.7.1-r2.ebuild,
logrotate-3.7.2.ebuild:
Remove dependency on portage: ref bug 162516
18 Feb 2007; Markus Rothe <corsair@gentoo.org> logrotate-3.7.2.ebuild:
Stable on ppc64
17 Feb 2007; Raúl Porcel <armin76@gentoo.org> logrotate-3.7.2.ebuild:
x86 stable wrt bug 167266
24 Jan 2007; Marius Mauch <genone@gentoo.org> logrotate-3.7.1-r2.ebuild,
logrotate-3.7.2.ebuild:
Replacing einfo with elog
21 Jan 2007; Daniel Gryniewicz <dang@gentoo.org> logrotate-3.7.2.ebuild:
Use toolchain-funcs to get compiler name; bug #119638
29 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org>
logrotate-3.7.2.ebuild:
Stable on sparc
24 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
logrotate-3.7.2.ebuild:
Stable on ppc.
03 Dec 2006; Jeroen Roovers <jer@gentoo.org> logrotate-3.7.2.ebuild:
Stable for HPPA.
27 Nov 2006; Timothy Redaelli <drizzt@gentoo.org> logrotate-3.7.2.ebuild:
Added ~x86-fbsd keyword.
18 Nov 2006; Daniel Gryniewicz <dang@gentoo.org> logrotate-3.7.2.ebuild:
Marked stable on amd64
21 Oct 2006; Aron Griffis <agriffis@gentoo.org> logrotate-3.7.2.ebuild:
Mark 3.7.2 stable on alpha/ia64
*logrotate-3.7.2 (13 Sep 2006)
13 Sep 2006; Daniel Gryniewicz <dang@gentoo.org> +logrotate-3.7.2.ebuild:
New version with fixes for bug #147352, bug #89352, and bug #119638
20 Jul 2006; Daniel Gryniewicz <dang@gentoo.org>
logrotate-3.7.1-r2.ebuild:
Fix DEPEND=DEPEND from bug #141175
27 Apr 2006; Alec Warner <antarus@gentoo.org> Manifest:
Fixing duff SHA256 digests: Bug # 131293
10 Feb 2006; <dang@gentoo.org> -logrotate-3.7.1-r1.ebuild:
Remove -r1 now that -r2 is fully stable
09 Feb 2006; Joshua Kinard <kumba@gentoo.org> logrotate-3.7.1-r2.ebuild:
Marked stable on mips for Bug #119466.
21 Jan 2006; Markus Rothe <corsair@gentoo.org> logrotate-3.7.1-r2.ebuild:
Stable on ppc64
21 Jan 2006; Aron Griffis <agriffis@gentoo.org> logrotate-3.7.1-r2.ebuild:
Mark 3.7.1-r2 stable on alpha/ia64
21 Jan 2006; <nixnut@gentoo.org> logrotate-3.7.1-r2.ebuild:
Added ppc keyword. bug 119466
21 Jan 2006; Jeroen Roovers <jer@gentoo.org> logrotate-3.7.1-r2.ebuild:
Stable on hppa (bug #119466).
19 Jan 2006; Krzysiek Pawlik <nelchael@gentoo.org>
logrotate-3.7.1-r2.ebuild:
Stable on x86.
19 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org>
logrotate-3.7.1-r2.ebuild:
Stable on sparc wrt #119466
19 Jan 2006; <dang@gentoo.org> logrotate-3.7.1-r2.ebuild:
Marked stable on amd64
*logrotate-3.7.1-r2 (15 Oct 2005)
15 Oct 2005; <dang@gentoo.org> -files/logrotate-3.6.5-selinux.diff.bz2,
+files/logrotate-3.7.1-weekly.patch, -logrotate-3.6.5-r1.ebuild,
-logrotate-3.7.ebuild, -logrotate-3.7.1.ebuild,
+logrotate-3.7.1-r2.ebuild:
Fix weekly log rotation. bug #107906
14 Sep 2005; <dang@gentoo.org> files/logrotate-3.7.1-manpage-fixes.patch:
Fix default status file in manpage. Bug #105958
05 Jul 2005; Rene Nussbaumer <killerfox@gentoo.org>
logrotate-3.7.1-r1.ebuild:
Stable on hppa.
02 Jul 2005; Bryan Østergaard <kloeri@gentoo.org>
logrotate-3.7.1-r1.ebuild:
Stable on alpha.
30 Jun 2005; Joseph Jezak <josejx@gentoo.org> logrotate-3.7.1-r1.ebuild:
Marked ppc stable.
28 Jun 2005; Joshua Kinard <kumba@gentoo.org> logrotate-3.7.1-r1.ebuild:
Marked stable on mips.
27 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org>
logrotate-3.7.1-r1.ebuild:
Stable on sparc
27 Jun 2005; Markus Rothe <corsair@gentoo.org> logrotate-3.7.1-r1.ebuild:
Stable on ppc64
26 Jun 2005; <dang@gentoo.org> logrotate-3.7.1-r1.ebuild:
mark 3.7.1-r1 stable
29 May 2005; Joshua Kinard <kumba@gentoo.org> logrotate-3.6.5-r1.ebuild,
logrotate-3.7.1-r1.ebuild:
Stable 3.6.5-r1 on mips, ~mips 3.7.1-r1.
*logrotate-3.7.1-r1 (26 May 2005)
26 May 2005; <dang@gentoo.org> +files/logrotate-3.7.1-no-tmpdir.patch,
+logrotate-3.7.1-r1.ebuild:
Bump to include no-tmpdir patch. This patch makes scripts execute by
directly calling /bin/sh, rather than by writing out a tmp file.
*logrotate-3.7.1 (24 May 2005)
24 May 2005; <dang@gentoo.org>
+files/logrotate-3.7.1-dateext-maxage.patch,
+files/logrotate-3.7.1-datehack.patch,
+files/logrotate-3.7.1-ignore-hidden.patch,
+files/logrotate-3.7.1-manpage-fixes.patch,
+files/logrotate-3.7.1-taboo-to-debug.patch, metadata.xml,
+logrotate-3.7.1.ebuild:
Taking over as maintainer.
New version of logrotate from upstream.
Fixes from upstream:
- Rotated files now have correct ownership and permissions
Fixes from Debian 3.7-3:
- Manpage fixes
- Improved datehack fix for bug in old versions of logrotate
- Make printing of messages related to skipped logroate.d files DEBUG
messages rather than ERROR messages
Fixes from Suse:
- dateext - Enable usage of the rotation date as the file extension,
rather than sequential numbering
- maxage - Enable deletion of rotated files older than a certain age
Local fixes:
- Ignore dotfiles in logrotate.d/ directory, to keep emerges from
breaking logrotate via ._cfg* files
01 Jan 2005; Chris PeBenito <pebenito@gentoo.org> logrotate-3.7.ebuild:
SELinux code is now integrated in 3.7. Adjust ebuild accordingly.
*logrotate-3.7 (31 Dec 2004)
31 Dec 2004; Chris White <chriswhite@gentoo.org> +metadata.xml,
+logrotate-3.7.ebuild:
Took over as placeholder maintainer. Bumped to 3.7 while I was there.
09 Dec 2004; Sergey Kuleshov <svyatogor@gentoo.org>
logrotate-3.6.5-r1.ebuild:
Fixed a small typo in man page. (Bug #73843)
18 Nov 2004; Lars Weiler <pylon@gentoo.org> logrotate-3.6.5-r1.ebuild:
Added hppa to keywords.
18 Jul 2004; Daniel Black <dragonheart@gentoo.org> files/logrotate.conf:
Manifest fix - files/logrotate.conf
30 May 2004; Robin H. Johnson <robbat2@gentoo.org>
logrotate-3.6.5-r1.ebuild:
mailx move
28 Apr 2004; Jon Portnoy <avenj@gentoo.org> logrotate-3.6.5-r1.ebuild :
Stable on AMD64.
15 Apr 2004; Michael McCabe <randy@gentoo.org> logrotate-3.6.5-r1.ebuild:
adding s390 keywords
02 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org>
logrotate-3.5.9-r1.ebuild, logrotate-3.6.5.ebuild:
clean older ebuilds
07 Mar 2004; Tom Gall <tgall@gentoo.org> logrotate-3.6.5-r1.ebuild :
ppc64 marked stable
01 Feb 2004; Jon Portnoy <avenj@gentoo.org> logrotate-3.6.5-r1.ebuild :
AMD64 keywords.
27 Jan 2004; <agriffis@gentoo.org> logrotate-3.6.5-r1.ebuild:
stable on ia64
29 Nov 2003; Chris PeBenito <pebenito@gentoo.org> logrotate-3.6.5-r1.ebuild:
Add SELinux policy RDEP.
28 Oct 2003; Chris PeBenito <pebenito@gentoo.org> logrotate-3.6.5-r1.ebuild,
logrotate-3.6.5.ebuild, files/logrotate-3.6.5-selinux.diff.bz2:
Switch SELinux patch from old API to new API.
09 Jun 2003; <msterret@gentoo.org> logrotate-3.6.5-r1.ebuild:
unmask for everyone
15 May 2003; <msterret@gentoo.org> logrotate-3.6.5-r1.ebuild:
applied a patch from Wayne Davison to unpack in src_unpack rather than
src_compile.
14 May 2003; <msterret@gentoo.org> logrotate-3.6.5-r1.ebuild:
fix typo: install logrotate.cron into /etc/cron.daily instead of /etc.
*logrotate-3.6.5-r1 (01 May 2003)
01 May 2003; <msterret@gentoo.org> logrotate-3.6.5-r1.ebuild,
files/logrotate.conf, files/logrotate.cron:
new revision of logrotate ebuild.
adds support for /etc/logrotate.d
uses sed -i
installs /etc/cron.daily/logrotate.cron and /etc/logrotate.conf by default
so logrotate does something out of the box (bug#7144)
*logrotate-3.6.5 (20 Dec 2002)
13 Apr 2003; Sascha Schwabbauer <cybersystem@gentoo.org> logrotate-3.6.5.ebuild:
Marked this as stable for x86, since it is working perfectly on three boxes.
12 Apr 2003; Seemant Kulleen <seemant@gentoo.org> logrotate-3.6.5.ebuild:
depend on portage-r10 instead of inheriting eutils -- this fixes broken
description in emerge -s
23 Mar 2003; Joshua Brindle <method@gentoo.org> logrotate-3.6.5.ebuild:
added selinux support, thanks pebenito
23 Mar 2003; Lars Weiler <pylon@gentoo.org> logrotate-3.6.5.ebuild:
Set ppc in KEYWORDS
20 Dec 2002; Maik Schreiber <blizzy@gentoo.org> : New version.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
29 Jul 2002; Calum Selkirk <cselkirk@gentoo.org> logrotate-3.5.9-r1.ebuild :
Added ppc to KEYWORDS.
*logrotate-3.5.9-r1 (08 Jun 2002)
08 Jun 2002; Seemant Kulleen <seemant@gentoo.org> logrotate-3.5.9-r1.ebuild,
files/digest-logrotate-3.5.9-r1:
mailx is removed from RDEPEND list, and instead a note in pkg_setup() to
inform the user to emerge mailx if they would like reports to be e-mailed.
*logrotate-3.5.9 (4 Jun 2002)
4 Jun 2002; Seemant Kulleen <seemant@gentoo.org> logrotate-3.5.9.ebuild
files/digest-logrotate-3.5.9 :
Version bump, long needed. Also, added mailx to the DEPEND list (as
Debian has it as a required dep). Thanks to ftobin@neverending.org (Frank
Tobin) in bug #3381
*logrotate-3.3-r2 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

View File

@ -0,0 +1,37 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX logrotate-3.8.7-atomic-create.patch 1350 SHA256 b6ff26737a6c5f83a87d11b241cb1d439cdda59df0fabbcc95504e717ca3f3ec SHA512 4e7a45ae8b33ae38e368491fd4ab9fb0138bebbbe47ffddb1e2832a59cd59cdff07147d73c5a14414b4f6b11203c6db454a6259f016c7b0a890d82df7ce41ae9 WHIRLPOOL a277c2c4a17380ebe369b6f0313d82f34fd295fb05822c8c5d6b8eb109c3fc19fcc8786c79a54d6bf8fca7bbb6b632ad6b61fae2dff45ab2853aca8affd8f95d
AUX logrotate-3.8.7-datehack.patch 437 SHA256 f8a6efbb9ad66339c5be50b36472bc3f15eb26bc2fe37f96a77e8efddc087ab3 SHA512 03563c553513b867321b8e3a776a0e8c203bf7f331314cbfd084f93ca1ea79d1a11abad85b09e797c79c04790208a11f17841ba4c9be296e3d9e216a320dfbb2 WHIRLPOOL 08f407c2c5d98e9457ee667a7d0bebcebb623754600b01f8a47b8081a016d7decfd557930e58dbeade79ccbe8976185ef05c155f6857211642a15ac02c8c0e11
AUX logrotate-3.8.7-fbsd.patch 1408 SHA256 3c6139593557d033c4adcd757b24c5c877affe458ada62df114ef8e6d9d17d33 SHA512 daaf49e7ef3adfc7f55538e76eeac41ac515e2324da7c8ea7b068b182c73781cfecf70f08fdc53b67f2f5bfe33ffb1fb85cbc70a1b3d317b295ecaed31450159 WHIRLPOOL 855d8650e23cebd7a857448ec4ae97a4388a253b9f4b8686218685fc628aa7069ac88fe0dd49998092f20735d4ea9967898d5c7b5da00c31c7a2efc5666dc60d
AUX logrotate-3.8.7-ignore-hidden.patch 548 SHA256 a1df19c1b887918bc4adc19069e160f261c894d4167f3dffec2b8cd4202d0c23 SHA512 5c4ea381d5dc5fa0af968f14acedf767721d5c2671ddf6f876c487fb79ef65e1c64a762c32905335bb2fd5844985fcc504357db9a3dd17c7270a7b88b04998fa WHIRLPOOL 23a4df07778d1bb01ff127e7e2c18b588d88a8699901881adef01eb3cd5f25187ac917f608e6ff99d18b06d936cfd9a92d568ce52451906ab837ca9b4590c2df
AUX logrotate-3.8.7-noasprintf.patch 1264 SHA256 7307ca47518ec7a87fce3323ab3acc2c00e764e865ab72d11fb4947fb516fc50 SHA512 bc952f603d2202ff0760aea8262362a671be756fbf8c86aeffffff2d4d33537fa1e834b83f9d8e156cc905b6c0c9b480bb4ac2a86db833693b4d625de48bb613 WHIRLPOOL f0ff217a0dbd3edcd11b38ca5e0bb5a33978facc0698a626a369eb18785ca490107cad6ae5baf69357978bf5d27485306f8b819e93804dbdc5430a468b6d2752
AUX logrotate-3.8.8-Werror.patch 233 SHA256 20bc7fd2fa0e3c5dae9bace37659d81c6d14f71096352d6f61e0fee0b23f6055 SHA512 1910ef21d753566faebbf406b14dd7637652edd3e603efa373e64c73e728ade21e186b6d75c6e6e07792cf73520bf275400ca7475f3d70192064ad0aac7c5112 WHIRLPOOL 9e7df0912cc7d42edfc7681892eb45f4a017154397f5176d9fd14161c890d912dcf7920220a68471c30ec6feda66355a1a72b27efa03686bfb957d5de4587cc2
AUX logrotate-3.8.8-atomic-create.patch 1350 SHA256 9127c084f1dd28d876ad9cffa20327857a8caf40961de4b9cf809e2fd84f2154 SHA512 81fa128bd462715774a3de90d38b59f7293be59deb8d4c1dbdfb2607fb626ae1b42d1377c4bcae640f6ec44ba69e6c57fb03ec379fb0d2b64a01cf7362966148 WHIRLPOOL 4cdbfaf2e09d36a49d44ca79eaaa95da0f98eca7139f673d21f6abfdc62b0fa3fc8ac08259f2fc5901cae0461c66a46f6213ce7d59abeecf7399fd0da9fc52d8
AUX logrotate-3.8.8-fbsd.patch 1401 SHA256 bb6a6fdc6b776935bb0709f10c1d499cfc42dfcf0f0c72118207e096cf5ef04f SHA512 3736ebb7cfd7e314fabe3738a0fa3fd779fe3a69d7d5859d0d5b2cc79fdd8595afae6c4ab7148798d6c8eb27f02bc3058a4bfbe191391a721a19d5889c8e8d22 WHIRLPOOL b2bb108763214407b18c9a9fb0596fb96d06364a9b467622a6e7275e6495ca7969d330600b538367fc4dc021e850462e0929483dd548de5678bafe57af4e86bf
AUX logrotate-3.8.8-ignore-hidden.patch 548 SHA256 947e56780213fbc223cf1e90d6597ce5f5bd28a4b3bac2de040742bcf4195203 SHA512 3f3556400223d6a2439bfe7ff84fd7be3a5575f5f82b268d97c09aded598820f117e438f49d5e26e713a12df1254d4d31fdf34a1aa27ffc5d786d7c0a66d68f3 WHIRLPOOL 75b17ea87366697a020260359bd3c1d0ae18be5567d1c6d778b1f03d9af3d79d57f19fea5e321e1b471bc46fb6a1443bed8c71e39655496b35a5be04466b2d51
AUX logrotate-3.8.8-noasprintf.patch 1264 SHA256 904a932bba5c3ea6ef1103f75952b4825f5ec9a28af5f647f18721cdcce49da8 SHA512 0e51077cb5844c99d8c668b6fe47a0d6dd5fce650da3ecacd06d368dd5f400d97b564c5ceccbde3b7ad0808b6d2f05088ea7eb8b29bbefe661230e5a312f59c7 WHIRLPOOL ce39dc167a0408d49cb4c26afc47635879f78ee455a9e514e16b463660900391a04b912caf3fc631397588f33385b66ad0b561876d85b3075309525f3d879ffa
AUX logrotate-3.8.9-Werror.patch 344 SHA256 ab3ef89a880f025e7a401bbe53b49bb3f15e3e4b11b3558eefc7f06fd73e5a17 SHA512 8d35b2801b66baf89fd289d1c4edebb57b10bc0c873be38236c0d06bd1b9b2d29f69696d5d585f136508cb5da0f4528a1350d2e0305a5424ed0f6c212717b8fd WHIRLPOOL 8f5e3d21267d88b054e0461a704343701d6f2488e01f6832c9ffbb5806661004bac9831ef7e01138020cc7359addd02ff1c6a53e98857065ea226a2205cd8a02
AUX logrotate-3.8.9-atomic-create.patch 1260 SHA256 00761829766be7d7ac64e14d0193e11d289ae3b44afac81f1840f7a721b71100 SHA512 23d863f8d382c19a4390fd6d574318236cbe727c4aa8351acfbfa95464be11f674599ef4ba410a62c9dc52b69490fb5d788dd9e99eee4ae15ee2b6e792439f0b WHIRLPOOL 4172ae4ee3725873c7357f6fb4c360ff8194fccc82eded1dfc3054430696d4a4921c98ce25de66a01bc07a72b2c0866d3a28249f89da3955a007888393aae2a0
AUX logrotate-3.8.9-fbsd.patch 1393 SHA256 cdea95e588ec7c3fdcb5998ef1cad4b7c71091e92a08c372d0d979376e7a5405 SHA512 cce8091b799eed02850906583931963d7ca9c0b602a62dbe2a3a58d116c4d682b4ed41a5ea4dcd59a9349dcb43f2971b52b74812903955ae6236e7901325b40e WHIRLPOOL df655aba8281388531697ed710abf670b81b47d2b3d0806c733a53901e359a241920f7e162e86bf848dd80484446acf9ec00b557ce6899d7a23f208a669217d0
AUX logrotate-3.8.9-ignore-hidden.patch 548 SHA256 eb99319e7672834d3deb12f6d9c16b87ed76fc713d7d4fa9b3a2641085bada44 SHA512 0919e3637afdea75a9d0c3cdd1393225bd35214dbc3cebfad4dac45ba211a37e9cdc14382298cf2a54901644720d3a42f57fa9f89ce54f81b241d8bc3328e22b WHIRLPOOL c1e14cdf45cece28470ff8f6e370127d6e3bcd36a2bd5dd3f8994a42bdb7755f2d9549c840cfada061347ea9be0814a7c533458ebcb99e6c4837b4d41b3862f3
AUX logrotate-3.8.9-noasprintf.patch 1264 SHA256 44d5030dd9a88832fd4e73175b15f6f63aee5c69daee5b0e22594ea2f93c21a1 SHA512 b4722a34ade7a150d6ca0f86c9bc87cd9fc72aa1adc600e0ff6df598d486fd9e2fe7bd141c4c9511fe43516197bc347dc53bd46f0dd43c12816a4064aff72dc1 WHIRLPOOL 96424ab60372ba8bdba5b758c149d9051ad58179f677862f3de430d06365b12c5de59d1575f112438e012d04c76a586af065875e7b2cbad770cbf6743b962fd0
AUX logrotate.conf 858 SHA256 9f01dc19ce200abcf53bae2e69003b3b33a33c5e00be651f5c33e232165f8926 SHA512 0d733fd44ba8effa99d72ff0098d39dd5048dfcfc8c410e85c8d0906b8e05c866e5035d1b7fb170f0f66906083d2e4aee8d3fe2146e85357bb82f1494307ad82 WHIRLPOOL 0c46378c56e83abe3292e12716d3e10ce82965863735be06a14ca5fdcedecc5b6a2c22a0ba5bc51d03d4703ebbf550ec6752c973b74f7a080278ff427363d4d7
DIST logrotate-3.8.7.tar.gz 58898 SHA256 f6ba691f40e30e640efa2752c1f9499a3f9738257660994de70a45fe00d12b64 SHA512 6c0dc106e2a9e9d2cd7ac12af869bc152db7d046a1c6d1b75810fb2fc7a7f382b3c3f1dc54b9fb9a9eee248c1c66a9f5ce86804f15b49ac0210313c231b49e7f WHIRLPOOL 6ba7fd7eca8435575c96a5534fe9dbe098235ee2319f2ab8e279d94fa6de3ea0e53cd78eeabd643e4da049f585df9a901681b61d0d339131f45fe580aa0eb198
DIST logrotate-3.8.8.tar.gz 72014 SHA256 46a1510ef4a1f4359edd5f361112cfd1523942e85ff28e6cbb0c81bad1829d0f SHA512 2b7b5fe587b3a5cbe98b8035a541b5e272e6e4c40669f65ff6c43d1524b686eca9abc0b93bc00c8eb6da4d189f14a9b79905fcc0fadb914276d884ad7493bb4b WHIRLPOOL b145d51cdcf0214e4f4b6a97aed7b9e1375c2848efecbc16181eaa6e1105ac8892c57248c89b92eb080d6cd6b23958085f39a894df7f5dce0bea6516e2d583c4
DIST logrotate-3.8.9.tar.gz 77408 SHA256 700ed7ce9072a1cca324779a74797dfaefdae37ac50a817134b947c4ded1dfa7 SHA512 342533f321a1d77c0ca389fd0a393377ba73f10654aae163cbd35f8d5df25673f1aa6e44d0af42be5419d152a7dae11024d9005076bce0a3b3dad1f0e12b9c0d WHIRLPOOL 005621b5dc7f6954e505876eece76e3adf03b9b89b724e5c28b845c8af3ebb8e978d20e3a82c8a503c32bfd8758517625207e23518d6d08068e237c22fe7212d
EBUILD logrotate-3.8.7.ebuild 1849 SHA256 116d9d98db5e808f4a15a85f80843bb322534f2b09aad38e700b49e9a205dc95 SHA512 ee3d564aee262200c1ed35f8cec1d7817d6f8e1baaf7c4f68744f16bdd36b1183950958b203383987aac2ecb2ccf914c40c7c15f9242d0f6169b8c3520f0a90f WHIRLPOOL 7588c0fb1b9bfed3460b2af1363325180945fd7a56ef1086ca956068854b69ef443b7a9c890f4925d7f30b77ed72cef2f417d7507faf7ecaef3e1f48ad21e799
EBUILD logrotate-3.8.8.ebuild 1869 SHA256 4b3bef44e807701b031911599add90da2930405273e9dd47376fb43308e7ba95 SHA512 daf99a58996f293df91a2c691101fcdc7c64ed687e47bf98f43654bf4622854ef7669b87e15be8866850dbdb5b92b06124f17ffa3bdad1b3ae5ae80e8ba712c0 WHIRLPOOL ac534b3b0636b057684681097dc0ec2c4b3828677be4d5451ab8915db719e9b4231931c8a6834c267c8f4ebe2a43b83ab0718ee081b2bc0846a2d9c096c1571d
EBUILD logrotate-3.8.9-r1.ebuild 1922 SHA256 2dbf8a1da5eb04f227d029a31454ccad96c73730342f42999458ffaba9147d6e SHA512 cf7db7ab14b5f6e776e39448c86d31377d9d781cac2721fab5b5f1943ecfdd7db7c2f83c83af9320eb51d8430dd66e4ac86fe53a80424541ba2171b1456c2a1a WHIRLPOOL 7a424b2e0c0a186b0e06867b838cd6d7760b12aca8b29af480cd7b4ccb0d55b702ec2a64c5f6b9e8c1036fabd43fd678b80e610fba304bf48d42de226ad4d1bc
EBUILD logrotate-3.8.9.ebuild 1919 SHA256 07cf01b012249257941425844e310fdddc4d565f278ddafc107555bb3da1a14d SHA512 5c7409f0922e7c27848c28355c99e2c7af5ef6a11661f90214234ced58fae4ef7235558d381619ce0da99c98a26f8496db08ff33164dad8319a66ae318dba32c WHIRLPOOL cd6e99ab3dfad6c00a87d355dfc4c2c31d38316584d02375cae12948d423b273e35c60eb53bce40099d716071cbd7a16cebb55446450d29916533cde3ee6882b
MISC ChangeLog 30499 SHA256 7bbb483b0fc99dfc2df48493196318d4d435036c6acc9aa6ca6fec8c8c28f5f4 SHA512 d217b8c1cc45ff3e1974a93ac7144312537f0fbabf7479a6e6fc7eb24d07143df9509630f576a6cea136b6f161dff3ef9ebfbd3c54eaf64b26c56d2046b5530e WHIRLPOOL ba2c69a7345ad155885a2bb8887080843a4e27a4fa6d9d0b9bcb62c57848a0c324493fd1c92ace3035374f26eabb48492bf82c735794d2d9417ca7fc15fc0cbf
MISC metadata.xml 1021 SHA256 38ee9077db5b0f3223b2ea558b0c86fcb6c76fe2f1892c26d10d3b88c7e7b64f SHA512 dad453f4151ca9454c4374c6b4521e861b6adaa7352f147b0809e80ac2b6cafc51db04eca428754b48bde9caa2f54ed84d0b383c496c45684c0510be0a4ef575 WHIRLPOOL c260e541af2a735ec5bce0bf38eb060f002daa3ab4b41bd9c1dc3187c3ab669bed34a1bf5f4fe0713f80588bed6c703968302baf67022faf7fd80bfe07dda113
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iJwEAQEIAAYFAlWHALcACgkQG9wOWsQutdarYgP+PkWUeMrOQQV+0ga72pw3HrOI
DEOXkTeTSf3wj2GYZL/G/WrV7MnjNCKjHRVdffyx6qLt4ccrZDaE5+tlNT5FM7J0
Jj3oBbxk65mnBoAMwSSMzFIJNnClSS1wNho+THprlxUZrOCHa7g/gVXl1EM03B2h
aJ/lmh6bjIGL3accDHo=
=+mbj
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,45 @@
diff -Nuar a/logrotate.c b/logrotate.c
--- a/logrotate.c 2013-10-26 18:07:54.809999410 +0200
+++ b/logrotate.c 2013-10-26 18:16:08.539999396 +0200
@@ -304,15 +304,20 @@
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];
+ char *fname;
+ mode_t umask_value;
+ snprintf(template, PATH_MAX, "%s/logrotate_temp.XXXXXX", ourDirName(fileName));
+ umask_value = umask(0000);
+ fname = mktemp(template);
+ fd = open(fname, (flags | O_EXCL | O_NOFOLLOW), (S_IRUSR | S_IWUSR) & sb->st_mode);
+ 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)) {
@@ -363,6 +368,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;
}

View File

@ -0,0 +1,12 @@
diff -Nuar a/logrotate.c b/logrotate.c
--- a/logrotate.c 2013-10-10 10:43:36.000000000 +0200
+++ b/logrotate.c 2013-10-26 17:56:06.549999428 +0200
@@ -2046,7 +2046,7 @@
}
/* Hack to hide earlier bug */
- if ((year != 1900) && (year < 1996 || year > 2100)) {
+ if ((year != 1900) && (year < 1970 || year > 2100)) {
message(MESS_ERROR,
"bad year %d for file %s in state file %s\n", year,
argv[0], stateFilename);

View File

@ -0,0 +1,57 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2013-10-26 18:05:54.729999413 +0200
+++ b/config.c 2013-10-26 18:07:19.179999410 +0200
@@ -1,6 +1,6 @@
#include <sys/queue.h>
/* Alloca is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
#include <alloca.h>
#endif
#include <limits.h>
@@ -24,6 +24,10 @@
#include <fnmatch.h>
#include <sys/mman.h>
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
+#include <sys/param.h>
+#endif
+
#include "basenames.h"
#include "log.h"
#include "logrotate.h"
diff -Nuar a/logrotate.c b/logrotate.c
--- a/logrotate.c 2013-10-26 18:05:29.789999413 +0200
+++ b/logrotate.c 2013-10-26 18:07:54.809999410 +0200
@@ -1,6 +1,6 @@
#include <sys/queue.h>
/* alloca() is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
#include <alloca.h>
#endif
#include <limits.h>
@@ -43,6 +43,10 @@
static acl_type prev_acl = NULL;
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
+#include <sys/param.h>
+#endif
+
#include "basenames.h"
#include "log.h"
#include "logrotate.h"
diff -Nuar a/Makefile b/Makefile
--- a/Makefile 2013-06-10 13:29:16.000000000 +0200
+++ b/Makefile 2013-10-26 18:06:42.569999411 +0200
@@ -22,7 +22,9 @@
ifeq ($(WITH_ACL),yes)
CFLAGS += -DWITH_ACL
+ifneq ($(OS_NAME),FreeBSD)
LOADLIBES += -lacl
+endif
# See pretest
TEST_ACL=1
else

View File

@ -0,0 +1,14 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2013-07-31 13:34:31.000000000 +0200
+++ b/config.c 2013-10-26 17:57:58.309999425 +0200
@@ -255,7 +255,9 @@
char *pattern;
/* 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 */

View File

@ -0,0 +1,55 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2013-10-26 18:07:19.179999410 +0200
+++ b/config.c 2013-10-26 18:12:21.599999402 +0200
@@ -49,39 +49,6 @@
#include "asprintf.c"
#endif
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
-#include <stdarg.h>
-
-int asprintf(char **string_ptr, const char *format, ...)
-{
- va_list arg;
- char *str;
- int size;
- int rv;
-
- va_start(arg, format);
- size = vsnprintf(NULL, 0, format, arg);
- size++;
- va_start(arg, format);
- str = malloc(size);
- if (str == NULL) {
- va_end(arg);
- /*
- * Strictly speaking, GNU asprintf doesn't do this,
- * but the caller isn't checking the return value.
- */
- fprintf(stderr, "failed to allocate memory\\n");
- exit(1);
- }
- rv = vsnprintf(str, size, format, arg);
- va_end(arg);
-
- *string_ptr = str;
- return (rv);
-}
-
-#endif
-
#if !defined(strndup)
char *strndup(const char *s, size_t n)
{
diff -Nuar a/logrotate.h b/logrotate.h
--- a/logrotate.h 2013-06-10 13:29:16.000000000 +0200
+++ b/logrotate.h 2013-10-26 18:12:37.429999402 +0200
@@ -67,8 +67,5 @@
extern int debug;
int readAllConfigPaths(const char **paths);
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
-int asprintf(char **string_ptr, const char *format, ...);
-#endif
#endif

View File

@ -0,0 +1,11 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -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

View File

@ -0,0 +1,45 @@
diff -Nuar a/logrotate.c b/logrotate.c
--- a/logrotate.c 2014-10-16 13:12:35.000000000 +0200
+++ b/logrotate.c 2014-11-04 20:26:46.080067315 +0100
@@ -359,15 +359,20 @@
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];
+ char *fname;
+ mode_t umask_value;
+ snprintf(template, PATH_MAX, "%s/logrotate_temp.XXXXXX", ourDirName(fileName));
+ umask_value = umask(0000);
+ fname = mktemp(template);
+ fd = open(fname, (flags | O_EXCL | O_NOFOLLOW), (S_IRUSR | S_IWUSR) & sb->st_mode);
+ 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)) {
@@ -418,6 +423,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;
}

View File

@ -0,0 +1,57 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2014-10-16 13:12:35.000000000 +0200
+++ b/config.c 2014-11-04 19:22:31.750055957 +0100
@@ -1,6 +1,6 @@
#include <sys/queue.h>
/* Alloca is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
#include <alloca.h>
#endif
#include <limits.h>
@@ -24,6 +24,10 @@
#include <fnmatch.h>
#include <sys/mman.h>
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
+#include <sys/param.h>
+#endif
+
#include "basenames.h"
#include "log.h"
#include "logrotate.h"
diff -Nuar a/logrotate.c b/logrotate.c
--- a/logrotate.c 2014-10-16 13:12:35.000000000 +0200
+++ b/logrotate.c 2014-11-04 19:25:35.440056498 +0100
@@ -1,6 +1,6 @@
#include <sys/queue.h>
/* alloca() is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
#include <alloca.h>
#endif
#include <limits.h>
@@ -25,6 +25,10 @@
#include <limits.h>
#endif
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
+#include <sys/param.h>
+#endif
+
#include "basenames.h"
#include "log.h"
#include "logrotate.h"
diff -Nuar a/Makefile b/Makefile
--- a/Makefile 2014-10-16 13:12:35.000000000 +0200
+++ b/Makefile 2014-11-04 19:26:07.850056594 +0100
@@ -22,7 +22,9 @@
ifeq ($(WITH_ACL),yes)
CFLAGS += -DWITH_ACL
+ifneq ($(OS_NAME),FreeBSD)
LOADLIBES += -lacl
+endif
# See pretest
TEST_ACL=1
else

View File

@ -0,0 +1,14 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2014-10-16 13:12:35.000000000 +0200
+++ b/config.c 2014-11-04 19:19:55.200055496 +0100
@@ -255,7 +255,9 @@
char *pattern;
/* 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 */

View File

@ -0,0 +1,55 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2014-10-16 13:12:35.000000000 +0200
+++ b/config.c 2014-11-04 19:28:58.110057096 +0100
@@ -45,39 +45,6 @@
#include "asprintf.c"
#endif
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
-#include <stdarg.h>
-
-int asprintf(char **string_ptr, const char *format, ...)
-{
- va_list arg;
- char *str;
- int size;
- int rv;
-
- va_start(arg, format);
- size = vsnprintf(NULL, 0, format, arg);
- size++;
- va_start(arg, format);
- str = malloc(size);
- if (str == NULL) {
- va_end(arg);
- /*
- * Strictly speaking, GNU asprintf doesn't do this,
- * but the caller isn't checking the return value.
- */
- fprintf(stderr, "failed to allocate memory\\n");
- exit(1);
- }
- rv = vsnprintf(str, size, format, arg);
- va_end(arg);
-
- *string_ptr = str;
- return (rv);
-}
-
-#endif
-
#if !defined(strndup)
char *strndup(const char *s, size_t n)
{
diff -Nuar a/logrotate.h b/logrotate.h
--- a/logrotate.h 2014-10-16 13:12:35.000000000 +0200
+++ b/logrotate.h 2014-11-04 19:29:15.610057147 +0100
@@ -75,8 +75,5 @@
extern int debug;
int readAllConfigPaths(const char **paths);
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
-int asprintf(char **string_ptr, const char *format, ...);
-#endif
#endif

View File

@ -0,0 +1,12 @@
diff -Nuar a/Makefile.am b/Makefile.am
--- a/Makefile.am 2015-02-13 07:11:21.000000000 +0100
+++ b/Makefile.am 2015-03-01 11:19:47.279999912 +0100
@@ -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

View File

@ -0,0 +1,43 @@
diff -Nuar a/logrotate.c b/logrotate.c
--- a/logrotate.c 2015-03-01 11:50:36.569999862 +0100
+++ b/logrotate.c 2015-03-01 11:56:26.329999853 +0100
@@ -372,15 +372,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.XXXXXX", ourDirName(fileName));
+ umask_value = umask(0000);
+ 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)) {
@@ -431,6 +434,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;
}

View File

@ -0,0 +1,57 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2015-03-01 11:25:37.489999902 +0100
+++ b/config.c 2015-03-01 11:26:31.129999901 +0100
@@ -1,6 +1,6 @@
#include "queue.h"
/* Alloca is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
#include <alloca.h>
#endif
#include <limits.h>
@@ -24,6 +24,10 @@
#include <fnmatch.h>
#include <sys/mman.h>
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
+#include <sys/param.h>
+#endif
+
#include "basenames.h"
#include "log.h"
#include "logrotate.h"
diff -Nuar a/logrotate.c b/logrotate.c
--- a/logrotate.c 2015-02-13 07:11:21.000000000 +0100
+++ b/logrotate.c 2015-03-01 11:27:05.769999900 +0100
@@ -1,6 +1,6 @@
#include "queue.h"
/* alloca() is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
#include <alloca.h>
#endif
#include <limits.h>
@@ -25,6 +25,10 @@
#include <limits.h>
#endif
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
+#include <sys/param.h>
+#endif
+
#include "basenames.h"
#include "log.h"
#include "logrotate.h"
diff -Nuar a/Makefile b/Makefile
--- a/Makefile 2015-02-13 07:11:21.000000000 +0100
+++ b/Makefile 2015-03-01 11:27:27.209999900 +0100
@@ -22,7 +22,9 @@
ifeq ($(WITH_ACL),yes)
CFLAGS += -DWITH_ACL
+ifneq ($(OS_NAME),FreeBSD)
LOADLIBES += -lacl
+endif
# See pretest
TEST_ACL=1
else

View File

@ -0,0 +1,14 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2015-02-13 07:11:21.000000000 +0100
+++ b/config.c 2015-03-01 10:51:09.669999958 +0100
@@ -359,7 +359,9 @@
char *pattern;
/* 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 */

View File

@ -0,0 +1,55 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2015-03-01 10:58:18.689999946 +0100
+++ b/config.c 2015-03-01 11:04:20.899999937 +0100
@@ -49,39 +49,6 @@
#include "asprintf.c"
#endif
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
-#include <stdarg.h>
-
-int asprintf(char **string_ptr, const char *format, ...)
-{
- va_list arg;
- char *str;
- int size;
- int rv;
-
- va_start(arg, format);
- size = vsnprintf(NULL, 0, format, arg);
- size++;
- va_start(arg, format);
- str = malloc(size);
- if (str == NULL) {
- va_end(arg);
- /*
- * Strictly speaking, GNU asprintf doesn't do this,
- * but the caller isn't checking the return value.
- */
- fprintf(stderr, "failed to allocate memory\\n");
- exit(1);
- }
- rv = vsnprintf(str, size, format, arg);
- va_end(arg);
-
- *string_ptr = str;
- return (rv);
-}
-
-#endif
-
#if !defined(strndup)
char *strndup(const char *s, size_t n)
{
diff -Nuar a/logrotate.h b/logrotate.h
--- a/logrotate.h 2015-02-13 07:11:21.000000000 +0100
+++ b/logrotate.h 2015-03-01 11:04:55.739999936 +0100
@@ -80,8 +80,5 @@
extern int debug;
int readAllConfigPaths(const char **paths);
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
-int asprintf(char **string_ptr, const char *format, ...);
-#endif
#endif

View File

@ -0,0 +1,43 @@
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/files/logrotate.conf,v 1.6 2014/07/07 09:55:32 nimiux Exp $
#
# Default logrotate(8) configuration file for Gentoo Linux.
# See "man logrotate" for details.
# rotate log files weekly.
weekly
#daily
# keep 4 weeks worth of backlogs.
rotate 4
# create new (empty) log files after rotating old ones.
create
# use date as a suffix of the rotated file.
dateext
# compress rotated log files.
compress
notifempty
nomail
noolddir
# packages can drop log rotation information into this directory.
include /etc/logrotate.d
# no packages own wtmp and btmp -- we'll rotate them here.
/var/log/wtmp {
monthly
create 0664 root utmp
minsize 1M
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0600 root utmp
rotate 1
}
# system-specific logs may be also be configured here.

View File

@ -0,0 +1,72 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.7.ebuild,v 1.14 2014/11/02 07:47:21 swift Exp $
EAPI=5
inherit eutils toolchain-funcs flag-o-matic
DESCRIPTION="Rotates, compresses, and mails system logs"
HOMEPAGE="https://fedorahosted.org/logrotate/"
SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${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 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 )
"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-datehack.patch \
"${FILESDIR}"/${P}-ignore-hidden.patch \
"${FILESDIR}"/${P}-fbsd.patch \
"${FILESDIR}"/${P}-noasprintf.patch \
"${FILESDIR}"/${P}-atomic-create.patch
}
src_compile() {
local myconf
myconf="CC=$(tc-getCC)"
use selinux && myconf="${myconf} WITH_SELINUX=yes"
use acl && myconf="${myconf} WITH_ACL=yes"
emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
}
src_install() {
insinto /usr
dosbin logrotate
doman logrotate.8
dodoc CHANGES examples/logrotate*
exeinto /etc/cron.daily
newexe "${S}"/examples/logrotate.cron "${PN}"
insinto /etc
doins "${FILESDIR}"/logrotate.conf
keepdir /etc/logrotate.d
}
pkg_postinst() {
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
}

View File

@ -0,0 +1,74 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.8.ebuild,v 1.8 2015/03/02 09:30:47 ago Exp $
EAPI=5
inherit autotools eutils toolchain-funcs flag-o-matic
DESCRIPTION="Rotates, compresses, and mails system logs"
HOMEPAGE="https://fedorahosted.org/logrotate/"
SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${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 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 )
"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-ignore-hidden.patch \
"${FILESDIR}"/${P}-fbsd.patch \
"${FILESDIR}"/${P}-noasprintf.patch \
"${FILESDIR}"/${P}-atomic-create.patch \
"${FILESDIR}"/${P}-Werror.patch
eautoreconf
}
src_compile() {
local myconf
myconf="CC=$(tc-getCC)"
use selinux && myconf="${myconf} WITH_SELINUX=yes"
use acl && myconf="${myconf} WITH_ACL=yes"
emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
}
src_install() {
insinto /usr
dosbin logrotate
doman logrotate.8
dodoc CHANGES examples/logrotate*
exeinto /etc/cron.daily
newexe "${S}"/examples/logrotate.cron "${PN}"
insinto /etc
doins "${FILESDIR}"/logrotate.conf
keepdir /etc/logrotate.d
}
pkg_postinst() {
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
}

View File

@ -0,0 +1,82 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.9-r1.ebuild,v 1.10 2015/06/21 18:23:54 zlogene Exp $
EAPI=5
inherit autotools eutils toolchain-funcs flag-o-matic
DESCRIPTION="Rotates, compresses, and mails system logs"
HOMEPAGE="https://fedorahosted.org/logrotate/"
SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${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 )"
install_cron_file() {
exeinto /etc/cron.daily
newexe "${S}"/examples/logrotate.cron "${PN}"
}
src_prepare() {
epatch \
"${FILESDIR}"/${P}-ignore-hidden.patch \
"${FILESDIR}"/${P}-fbsd.patch \
"${FILESDIR}"/${P}-noasprintf.patch \
"${FILESDIR}"/${P}-atomic-create.patch \
"${FILESDIR}"/${P}-Werror.patch
eautoreconf
}
src_configure() {
econf $(use_with acl) $(use_with selinux)
}
src_compile() {
emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
}
src_test() {
emake test
}
src_install() {
insinto /usr
dosbin logrotate
doman logrotate.8
dodoc CHANGES examples/logrotate*
insinto /etc
doins "${FILESDIR}"/logrotate.conf
use cron && install_cron_file
keepdir /etc/logrotate.d
}
pkg_postinst() {
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
}

View File

@ -0,0 +1,78 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.9.ebuild,v 1.11 2015/05/13 06:36:13 jmorgan Exp $
EAPI=5
inherit autotools eutils toolchain-funcs flag-o-matic
DESCRIPTION="Rotates, compresses, and mails system logs"
HOMEPAGE="https://fedorahosted.org/logrotate/"
SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${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 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 )
virtual/cron"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-ignore-hidden.patch \
"${FILESDIR}"/${P}-fbsd.patch \
"${FILESDIR}"/${P}-noasprintf.patch \
"${FILESDIR}"/${P}-atomic-create.patch \
"${FILESDIR}"/${P}-Werror.patch
eautoreconf
}
src_compile() {
local myconf
myconf="CC=$(tc-getCC)"
use selinux && myconf="${myconf} WITH_SELINUX=yes"
use acl && myconf="${myconf} WITH_ACL=yes"
emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
}
src_test() {
emake test
}
src_install() {
insinto /usr
dosbin logrotate
doman logrotate.8
dodoc CHANGES examples/logrotate*
exeinto /etc/cron.daily
newexe "${S}"/examples/logrotate.cron "${PN}"
insinto /etc
doins "${FILESDIR}"/logrotate.conf
keepdir /etc/logrotate.d
}
pkg_postinst() {
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
}

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>nimiux@gentoo.org</email>
<name>Chema Alonso</name>
</maintainer>
<longdescription lang="en">
Logrotate allows for the automatic rotation compression, removal
and mailing of log files. Logrotate can be set to handle a log
file daily, weekly, monthly or when the log file gets to a certain
size.
</longdescription>
<longdescription lang="es">
Logrotate permite la rotación, compresión, eliminación y
notificación por correo electrónico de forma automática de ficheros
de registro (logs). Logrotate se puede configurar para gestionar
estos ficheros diariamente, semanalmente, mensualmente o cuando
su tamaño alcanza cierto valor.
</longdescription>
<use>
<flag name="acl">Installs acl support</flag>
<flag name="cron">Installs cron file</flag>
<flag name="selinux">Installs Security Enhanced Linux support</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile install postinst prepare
DEPEND=>=dev-libs/popt-1.5 selinux? ( sys-libs/libselinux ) acl? ( virtual/acl ) >=sys-apps/sed-4
DESCRIPTION=Rotates, compresses, and mails system logs
EAPI=5
HOMEPAGE=https://fedorahosted.org/logrotate/
IUSE=acl selinux
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd
LICENSE=GPL-2
RDEPEND=>=dev-libs/popt-1.5 selinux? ( sys-libs/libselinux ) acl? ( virtual/acl ) selinux? ( sec-policy/selinux-logrotate )
SLOT=0
SRC_URI=https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.8.7.tar.gz
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4
_md5_=8382c9e8ac4b8933a540cb180d473076

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile install postinst prepare
DEPEND=>=dev-libs/popt-1.5 selinux? ( sys-libs/libselinux ) acl? ( virtual/acl ) >=sys-apps/sed-4 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.14.1:1.14 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Rotates, compresses, and mails system logs
EAPI=5
HOMEPAGE=https://fedorahosted.org/logrotate/
IUSE=acl selinux
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ~ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd
LICENSE=GPL-2
RDEPEND=>=dev-libs/popt-1.5 selinux? ( sys-libs/libselinux ) acl? ( virtual/acl ) selinux? ( sec-policy/selinux-logrotate )
SLOT=0
SRC_URI=https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.8.8.tar.gz
_eclasses_=autotools a9597abac7226d89ad9d010abeef6cfb eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4
_md5_=fae8854d966720ea3ca9e0a78dffd5db

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile install postinst prepare test
DEPEND=>=dev-libs/popt-1.5 selinux? ( sys-libs/libselinux ) acl? ( virtual/acl ) >=sys-apps/sed-4 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.14.1:1.14 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Rotates, compresses, and mails system logs
EAPI=5
HOMEPAGE=https://fedorahosted.org/logrotate/
IUSE=acl selinux
KEYWORDS=alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd
LICENSE=GPL-2
RDEPEND=>=dev-libs/popt-1.5 selinux? ( sys-libs/libselinux ) acl? ( virtual/acl ) selinux? ( sec-policy/selinux-logrotate ) virtual/cron
SLOT=0
SRC_URI=https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.8.9.tar.gz
_eclasses_=autotools a9597abac7226d89ad9d010abeef6cfb eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4
_md5_=632db17c75ad96085d1fb56ef350df0a

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=compile configure install postinst prepare test
DEPEND=>=dev-libs/popt-1.5 selinux? ( sys-libs/libselinux ) acl? ( virtual/acl ) >=sys-apps/sed-4 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.14.1:1.14 >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
DESCRIPTION=Rotates, compresses, and mails system logs
EAPI=5
HOMEPAGE=https://fedorahosted.org/logrotate/
IUSE=acl +cron selinux
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd
LICENSE=GPL-2
RDEPEND=>=dev-libs/popt-1.5 selinux? ( sys-libs/libselinux ) acl? ( virtual/acl ) selinux? ( sec-policy/selinux-logrotate ) cron? ( virtual/cron )
SLOT=0
SRC_URI=https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.8.9.tar.gz
_eclasses_=autotools a9597abac7226d89ad9d010abeef6cfb eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic c9602887773166fe300444712fc7ff98 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4
_md5_=de8f0f37c9599d6448e314a7c5248f9a