Commit 80b81ed7 authored by Tobias Frost's avatar Tobias Frost

New upstream version 3.14.0

parent 1e4d46c8
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
......@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
......@@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
......@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
......@@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
......@@ -225,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
......@@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
......@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
......@@ -291,7 +291,7 @@ convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -303,16 +303,16 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
......@@ -335,5 +335,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
......@@ -4,6 +4,79 @@ All notable changes to this project will be documented in this file.
## [UNRELEASED]
[UNRELEASED]: https://github.com/logrotate/logrotate/compare/3.14.0...master
## [3.14.0] - 2018-03-09
- make ```configure``` show support status for SELinux and ACL at the end (#179)
- make logrotate build again on FreeBSD (#178)
- move ```wtmp``` and ```btmp``` definitions from ```logrotate.conf``` to
separate configuration files in ```logrotate.d``` (#168)
- print a warning about logrotate doing nothing when ```-d``` is used (#165)
- do not reject executable config files (#166)
- add hardening options to ```logrotate.service``` in examples (#143)
- fix spurious compressor failure when using ```su``` and ```compress``` (#169)
- keep logrotate version in .tarball-version in release tarballs (#156)
- introduce the ```hourago``` configuration directive (#159)
- ignore empty patterns in ```tabooext``` to avoid exclusion of everything (#160)
- properly report skipped test cases instead of pretending success
[3.14.0]: https://github.com/logrotate/logrotate/compare/3.13.0...3.14.0
## [3.13.0] - 2017-10-13
- make distribution tarballs report logrotate version properly
[RHBZ#1500264](https://bugzilla.redhat.com/1500264)
- make ```(un)compress work``` even if stdin and/or stdout are closed (#154)
- remove ```-s``` from ```DEFAULT_MAIL_COMMAND``` and improve its documentation (#152)
- uncompress logs before mailing them even if ```delaycompress``` is enabled (#151)
- handle unlink of a non-existing log file as a warning only (#144)
- include compile-time options in the output of ```logrotate --version``` (#145)
- make ```logrotate --version``` print to stdout instead of stderr (#145)
- flush write buffers before syncing state file (#148)
- specify (un)compress utility explicitly in tests (#137)
- enable running tests in parallel (#132)
- explicitly map root UID/GID to 0 on Cygwin (#133)
- add ```.dpkg-bak``` and ```.dpkg-del``` to default tabooext list (#134)
[3.13.0]: https://github.com/logrotate/logrotate/compare/3.12.3...3.13.0
## [3.12.3] - 2017-06-30
- ```copy``` and ```copytruncate``` directives now work together again
- ```unlink()``` is no longer preceded by ```open()``` unless shred is enabled (#124)
- ```compress``` and ```uncompress``` now take commands from ```$PATH```, too (#122)
[3.12.3]: https://github.com/logrotate/logrotate/compare/3.12.2...3.12.3
## [3.12.2] - 2017-05-02
- build fixes related to ```-Werror``` (#119) and ```-Werror=format=``` (#108)
- ```configure --enable-werror``` now controls use of the -Werror flag (#123)
[3.12.2]: https://github.com/logrotate/logrotate/compare/3.12.1...3.12.2
## [3.12.1] - 2017-04-21
- Included forgotten ```build-aux``` directory in release tarballs.
[3.12.1]: https://github.com/logrotate/logrotate/compare/3.12.0...3.12.1
## [3.12.0] - 2017-04-21
- Fixed accident removal of rotated files with dateext. (#118)
- Line comments inside globs in config files are now skipped. (#109)
- logrotate now recovers from a corrupted state file. (#45)
- ```Makefile.legacy``` has been removed. (#103)
- ```config.h``` is now generated by autotools. (#102 and #103)
- ```createolddir``` now creates old directory as unprivileged user. (#114)
- ```weekly``` rotations are now predictable and configurable. (#93)
- Errors in config files are no longer treated as fatal errors. (#81)
- ```configure --with-default-mail-command``` specifies default mail command. (#100)
- Fixed heap buffer overflow when parsing crafted config file. (#33)
[3.12.0]: https://github.com/logrotate/logrotate/compare/3.11.0...3.12.0
## [3.11.0] - 2016-12-02
- Add 'taboopat' configuration directive to exclude configuration files
......@@ -26,6 +99,8 @@ All notable changes to this project will be documented in this file.
symbols.
- Make sure that 64-bit file offsets are used on 32-bit systems.
[3.11.0]: https://github.com/logrotate/logrotate/compare/3.10.0...3.11.0
## [3.10.0] - 2016-08-03
- Legacy Makefile renamed to Makefile.legacy, will be removed eventually.
......@@ -35,7 +110,10 @@ All notable changes to this project will be documented in this file.
- Remove half-rotated files when rotation of particular log file is skipped
because of an error during copy or compression.
[3.10.0]: https://github.com/logrotate/logrotate/compare/3.9.2...3.10.0
## [3.9.2] - 2016-01-20
- Upstream moved to GitHub: <https://github.com/logrotate/logrotate>.
- Add support for %M, %S and %V in "dateext" directive.
- Fix bad filename in subject of email when "compress" and "maillast" is
......@@ -53,10 +131,16 @@ All notable changes to this project will be documented in this file.
- Support logging to syslog by using '-l syslog'.
- Allow running test-suite using dash.
[3.9.2]: https://github.com/logrotate/logrotate/compare/r3-9-1...3.9.2
## [3.9.1] - 2015-04-03
- Fix off-by-one error which can lead to crash when copytruncate is used.
[3.9.1]: https://github.com/logrotate/logrotate/compare/r3-9-0...r3-9-1
## [3.9.0] - 2015-04-03
- Fix crash when using long dateformat. [nmerdan]
- Add support for %H dateformat. [czchen]
- Fix regression introduced in 3.8.9 when when rotating multiple
......@@ -68,7 +152,10 @@ All notable changes to this project will be documented in this file.
on every logrotate execution.
- Allow rotation of sparse files with copytruncate.
[3.9.0]: https://github.com/logrotate/logrotate/compare/r3-8-9...r3-9-0
## [3.8.9] - 2015-02-13
- Add new directive "createolddir" and "nocreateolddir". These directives
can be used to create the directory specified by olddir with particular
"mode", "owner" and "group".
......@@ -81,7 +168,10 @@ All notable changes to this project will be documented in this file.
- Add experimental 'renamecopy' directive to allow 'olddir' on different
physical device. See the "man logrotate" for more information.
[3.8.9]: https://github.com/logrotate/logrotate/compare/r3-8-8...r3-8-9
## [3.8.8] - 2014-10-16
- Add support for building using autotools/automake. Using "./autogen.sh",
"./configure" and "make" is now preferred way how to build logrotate.
Old Makefile remains available, but it is deprecated and will be removed
......@@ -99,17 +189,26 @@ All notable changes to this project will be documented in this file.
- Prepend error printed by compression program with the log name even when
the compression program exits with zero exit code.
[3.8.8]: https://github.com/logrotate/logrotate/compare/r3-8-7...r3-8-8
## [3.8.7] - 2013-10-10
- Fixed --force/-f option handling together with "size" directive
(3.8.5 regression).
- Use "logrotate_tmp_t" context for SELinux tests and if this context does
not exist, skip SELinux related tests.
[3.8.7]: https://github.com/logrotate/logrotate/compare/r3-8-6...r3-8-7
## [3.8.6] - 2013-07-31
- Fixed memory corruption caused by rotation directory which does not
exist with "sharedscripts" together with "prerotate" script.
[3.8.6]: https://github.com/logrotate/logrotate/compare/r3-8-5...r3-8-6
## [3.8.5] - 2013-06-10
- Improved rotation during daylight saving time and between timezone
changes.
- Fixed ACL setting problem caused by ext3 erroneously reporting ENOSYS
......@@ -122,7 +221,10 @@ All notable changes to this project will be documented in this file.
- Improved manpage consistency and formatting.
- Fix race condition between acl_set_fd() and fchmod().
[3.8.5]: https://github.com/logrotate/logrotate/compare/r3-8-4...r3-8-5
## [3.8.4] - 2013-04-30
- Added --version command line option
- Disable ACL tests if logrotate is not compiled WITH_ACL support or if
ACLs are not supported by the system running tests
......@@ -141,7 +243,10 @@ All notable changes to this project will be documented in this file.
- Call prerotate/postrotate script only for really rotated files in
nosharedscripts mode (as stated in man page).
[3.8.4]: https://github.com/logrotate/logrotate/compare/r3-8-3...r3-8-4
## [3.8.3] - 2012-10-04
- Fixed setting "size" bigger than 4GB on 32bit architectures
- Do not overwrite mode set by "create" option when using ACL. "create"
directive is now not mixed up with ACLs. If you use "create" in config
......@@ -150,7 +255,10 @@ All notable changes to this project will be documented in this file.
- Mode argument in "create" directive can be omitted. Only owner and group
is set in this case. Check man page for more info.
[3.8.3]: https://github.com/logrotate/logrotate/compare/r3.8.2...r3-8-3
## [3.8.2] - 2012-08-01
- show error and ignore config if '{' is not present after log files
declaration
- support whitespaces in compressoptions directive
......@@ -169,7 +277,10 @@ All notable changes to this project will be documented in this file.
stdlib.h there
- 13 new tests added
[3.8.2]: https://github.com/logrotate/logrotate/compare/r3-8-1...r3.8.2
## [3.8.1] - 2011-08-31
- fixed 1 memory leak in prerotateSingleLog
- another fixes for Solaris
- fixed HP-UX compilation and default config
......@@ -178,7 +289,10 @@ All notable changes to this project will be documented in this file.
- handle situation when acl_get_fd is supported, but acl_set_fd is not
- added "maxsize" directive (see man page)
[3.8.1]: https://github.com/logrotate/logrotate/compare/r3-8-0...r3-8-1
## [3.8.0] - 2011-06-21
- added "dateyesterday" option (see man page)
- fixed crash when config file had exactly 4096*N bytes
- added WITH_ACL make option to link against -lacl and preserve ACLs
......@@ -194,7 +308,10 @@ All notable changes to this project will be documented in this file.
- NetBSD/FreeBSD compilation fixes
- Solaris compilation fixes
[3.8.0]: https://github.com/logrotate/logrotate/compare/r3-7-9...r3-8-0
## [3.7.9] - 2010-06-28
- fix building on Solaris (patch by András Szilárd)
- don't copy config files on the stack -- mmap them instead
(fixes segfaults with too large/invalid config files)
......@@ -219,7 +336,10 @@ All notable changes to this project will be documented in this file.
- Better *rotate scripts parser. (taken from the Debian patches)
- Allow 'include' directive in log file definitions
[3.7.9]: https://github.com/logrotate/logrotate/compare/r3-7-8...r3-7-9
## [3.7.8] - 2009-01-28
- do not exit on status file errors
- limit config file inclusion nesting
- use hashes for status file handling (patch by Petr Tesarik
......@@ -229,33 +349,48 @@ All notable changes to this project will be documented in this file.
- manual page corrections (taken from the Debian patches by
Paul Martin <pm@debian.org>)
[3.7.8]: https://github.com/logrotate/logrotate/compare/r3-7-7...r3-7-8
## [3.7.7] - 2008-05-19
- dateformat
- fix possible buffer overflows in strings handling
- various minor bugfixes
- change logInfo handling (patches by Leonardo Chiquitto)
[3.7.7]: https://github.com/logrotate/logrotate/compare/r3-7-6...r3-7-7
## [3.7.6] - 2008-05-14
- patches from Leonardo Chiquitto that fix compile warnings
- examples/logrotate-default: add btmp rotation, dateext
- update man page
- tabooext honor wildcards
- fix selinux support with dateext
[3.7.6]: https://github.com/logrotate/logrotate/compare/r3-7-5...r3-7-6
## [3.7.5] - 2007-03-01
- import Fedora patches
- add option to use shred for deleting files, patch by
Peter Eckersley <pde@eff.org>
- ignore .cfsaved files
- bugfixes
[3.7.5]: https://github.com/logrotate/logrotate/compare/r3-7-1...r3-7-5
## [3.7.1] - 2004-10-20
- Fix sending mails and running scripts after the
system() -> execve() changes
- Preserve file attributes when compressing files (original patch
by Daniel Himler)
[3.7.1]: https://github.com/logrotate/logrotate/compare/r3-7...r3-7-1
## [3.7] - 2004-01-26
- always use compressext for the extension for compressed
files; before compresscmd and compressext had to agree
- moved all compression to one code block
......@@ -265,27 +400,48 @@ All notable changes to this project will be documented in this file.
- don't use system() for mailing (or uncompressing) logs anymore
- use "-s" for speciying the subjected of mailed logs
[3.7]: https://github.com/logrotate/logrotate/compare/r3-6...r3-7
## [3.6] - 2001-11-28
- See .spec file for changes
[3.6]: https://github.com/logrotate/logrotate/compare/r3-5-4...r3-6
## [3.5.4] - 2001-01-05
- %defattr(-,root,root) in specfile
- `%defattr(-,root,root)` in specfile
[3.5.4]: https://github.com/logrotate/logrotate/compare/r3-5-3...r3-5-4
## [3.5.3] - 2001-01-03
- patch /tmp file race condition problem, use mkstemp;
Thanks go to Solar Designer <solar@openwall.com>
[3.5.3]: https://github.com/logrotate/logrotate/compare/r3-5-2...r3-5-3
## [3.5.2] - 2000-09-29
- added .swp and .rpmnew to default taboo list
[3.5.2]: https://github.com/logrotate/logrotate/compare/r3-5-1...r3-5-2
## [3.5.1] - 2000-08-11
- handle state dates in the future a bit more sanely
[3.5.1]: https://github.com/logrotate/logrotate/compare/r3-5...r3-5-1
## [3.5] - 2000-07-23
- multiple file names/patterns may be given for a single entry
- fixed mistake in when logs were uncompressed before mailing
[3.5]: https://github.com/logrotate/logrotate/compare/r3-4...r3-5
## [3.4] - 2000-07-13
- added sharedscripts/nosharedscripts
- added simple testbed
- quote filenames in state file to allow proper rotation of files
......@@ -293,46 +449,76 @@ All notable changes to this project will be documented in this file.
the state file!
- ignore white space at end of line
[3.4]: https://github.com/logrotate/logrotate/compare/r3-3-2...r3-4
## [3.3.2] - 2000-06-19
- don't rotate lastlog
[3.3.2]: https://github.com/logrotate/logrotate/compare/r3-3-1...r3-3-2
## [3.3.1] - 2000-02-03
- support gzipped man pages
[3.3.1]: https://github.com/logrotate/logrotate/compare/r3-3...r3-3-1
## [3.3] - 1999-06-16
- added "mailfirst" and "maillast" flags (based on Tim Wall's patch)
- documented "extension" flag
- "rotate 0" gives proper script and mail behavior
[3.3]: https://github.com/logrotate/logrotate/compare/r3-2...r3-3
## [3.2] - 1999-04-07
- create wtmp with correct perms
[3.2]: https://github.com/logrotate/logrotate/compare/r3-1...r3-2
## [3.1] - 1999-04-01
- fixed small alloca()
- added missingok flag
- use popt to display usage message
- handle /some/file { } in config file
[3.1]: https://github.com/logrotate/logrotate/compare/r3-0...r3-1
## [3.0] - 1999-03-18
- updates for glibc 2.1
[3.0]: https://github.com/logrotate/logrotate/compare/r2-9...r3-0
## [2.9] - 1999-03-05
- fixed a bug parsing lines where { immediately follows the filename
- allow log file patterns to be placed in double quotes, which
- allow log file patterns to be placed in double quotes, which
allows spaces in names
- complain about missing log files (John Van Essen)
[2.9]: https://github.com/logrotate/logrotate/compare/r2-8...r2-9
## [2.8] - 1999-01-13
- changes for glibc 2.1 (Cristian Gafton)
[2.8]: https://github.com/logrotate/logrotate/compare/r2-7...r2-8
## [2.7] - 1998-12-29
- updated man page to include --force (Simon Mudd)
- invoke scripts via /bin/sh rather then relying on /tmp execute
semantics (Philip Guenther)
- added "extension" option for forcing a file extension after rotation
(Rob Hagopian)
[2.7]: https://github.com/logrotate/logrotate/compare/r2-6...r2-7
## [2.6] - 1998-05-05
- added nodelaycompress flag (from Jos Vos)
- added copytruncate, nocopytruncate flag (from Jos Vos)
- removed umask handling; explicitly use fchmod() insteadmoved umask
......@@ -341,7 +527,10 @@ All notable changes to this project will be documented in this file.
- fixed segv caused by overly long filenames
- switched from getopt_long to popt
[2.6]: https://github.com/logrotate/logrotate/compare/r2-5...r2-6
## [2.5] - 1997-09-01
- set the umask of the process to 0, letting open() create processes
with the proper permissions
- added delaycompress flag (from Jos Vos)
......@@ -352,20 +541,29 @@ All notable changes to this project will be documented in this file.
- added the tabooext directive
- fixed problem in globbing
[2.5]: https://github.com/logrotate/logrotate/compare/r2-4...r2-5
## [2.4] - 1997-08-11
- glob log names in config file
- added ,v to taboo list
- fixed bug w/ create parsing
- use an int rather then a mode_t when parsing create entries as
sscanf requires it
[2.4]: https://github.com/logrotate/logrotate/compare/2-3...r2-4
## [2.3] - 1997-03-18
- fill in all of last rotated structure (this probable isn't
really necessary but it's a bit cleaner and will avoid future
problems);
- fixed .spec file
[2.3]: https://github.com/logrotate/logrotate/compare/2-2...2-3
## [2.2] - 1997-02-27
- If a file is rotated and we have no state information for it,
right out the current time.
- Weekly rotation happens when the current weekday is less then
......@@ -384,64 +582,28 @@ All notable changes to this project will be documented in this file.
- made "make install" accept PREFIX argument
- added .spec file to tarball
[2.2]: https://github.com/logrotate/logrotate/compare/2-1...2-2
## [2.1] - 1997-01-13
- Don't output state information for logs that have never been
rotated (better then 1900-1-0)
- Accept 1900-1-0 as time 0
[2.1]: https://github.com/logrotate/logrotate/compare/2-0-2...2-1
## [2.0.2] - 1996-12-10
- I have no idea :-(
[2.0.2]: https://github.com/logrotate/logrotate/compare/2-0-1...2-0-2
## [2.0.1] - 1996-12-09
- ignore files in included directories which end with ~, .rpmorig, or
.rpmsave
[UNRELEASED]: https://github.com/logrotate/logrotate/compare/3.10.0...master
[3.10.0]: https://github.com/logrotate/logrotate/compare/3.9.2...3.10.0
[3.9.2]: https://github.com/logrotate/logrotate/compare/r3-9-1...3.9.2
[3.9.1]: https://github.com/logrotate/logrotate/compare/r3-9-0...r3-9-1
[3.9.0]: https://github.com/logrotate/logrotate/compare/r3-8-9...r3-9-0
[3.8.9]: https://github.com/logrotate/logrotate/compare/r3-8-8...r3-8-9
[3.8.8]: https://github.com/logrotate/logrotate/compare/r3-8-7...r3-8-8
[3.8.7]: https://github.com/logrotate/logrotate/compare/r3-8-6...r3-8-7
[3.8.6]: https://github.com/logrotate/logrotate/compare/r3-8-5...r3-8-6
[3.8.5]: https://github.com/logrotate/logrotate/compare/r3-8-4...r3-8-5
[3.8.4]: https://github.com/logrotate/logrotate/compare/r3-8-3...r3-8-4
[3.8.3]: https://github.com/logrotate/logrotate/compare/r3.8.2...r3-8-3
[3.8.2]: https://github.com/logrotate/logrotate/compare/r3-8-1...r3.8.2
[3.8.1]: https://github.com/logrotate/logrotate/compare/r3-8-0...r3-8-1
[3.8.0]: https://github.com/logrotate/logrotate/compare/r3-7-9...r3-8-0
[3.7.9]: https://github.com/logrotate/logrotate/compare/r3-7-8...r3-7-9
[3.7.8]: https://github.com/logrotate/logrotate/compare/r3-7-7...r3-7-8
[3.7.7]: https://github.com/logrotate/logrotate/compare/r3-7-6...r3-7-7
[3.7.6]: https://github.com/logrotate/logrotate/compare/r3-7-5...r3-7-6
[3.7.5]: https://github.com/logrotate/logrotate/compare/r3-7-1...r3-7-5
[3.7.1]: https://github.com/logrotate/logrotate/compare/r3-7...r3-7-1
[3.7]: https://github.com/logrotate/logrotate/compare/r3-6...r3-7
[3.6]: https://github.com/logrotate/logrotate/compare/r3-5-4...r3-6
[3.5.4]: https://github.com/logrotate/logrotate/compare/r3-5-3...r3-5-4
[3.5.3]: https://github.com/logrotate/logrotate/compare/r3-5-2...r3-5-3
[3.5.2]: https://github.com/logrotate/logrotate/compare/r3-5-1...r3-5-2
[3.5.1]: https://github.com/logrotate/logrotate/compare/r3-5...r3-5-1
[3.5]: https://github.com/logrotate/logrotate/compare/r3-4...r3-5
[3.4]: https://github.com/logrotate/logrotate/compare/r3-3-2...r3-4
[3.3.2]: https://github.com/logrotate/logrotate/compare/r3-3-1...r3-3-2
[3.3.1]: https://github.com/logrotate/logrotate/compare/r3-3...r3-3-1
[3.3]: https://github.com/logrotate/logrotate/compare/r3-2...r3-3
[3.2]: https://github.com/logrotate/logrotate/compare/r3-1...r3-2
[3.1]: https://github.com/logrotate/logrotate/compare/r3-0...r3-1
[3.0]: https://github.com/logrotate/logrotate/compare/r2-9...r3-0
[2.9]: https://github.com/logrotate/logrotate/compare/r2-8...r2-9
[2.8]: https://github.com/logrotate/logrotate/compare/r2-7...r2-8
[2.7]: https://github.com/logrotate/logrotate/compare/r2-6...r2-7
[2.6]: https://github.com/logrotate/logrotate/compare/r2-5...r2-6
[2.5]: https://github.com/logrotate/logrotate/compare/r2-4...r2-5
[2.4]: https://github.com/logrotate/logrotate/compare/2-3...r2-4
[2.3]: https://github.com/logrotate/logrotate/compare/2-2...2-3
[2.2]: https://github.com/logrotate/logrotate/compare/2-1...2-2
[2.1]: https://github.com/logrotate/logrotate/compare/2-0-2...2-1
[2.0.2]: https://github.com/logrotate/logrotate/compare/2-0-1...2-0-2
[2.0.1]: https://github.com/logrotate/logrotate/commits/2-0-1
[2.0.1]: https://github.com/logrotate/logrotate/commits/2-0-1
<!--
vim:et:sw=2:ts=2
......
......@@ -8,19 +8,16 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
AM_CFLAGS = -Wall -Werror
AM_CPPFLAGS = -include config.h
sbin_PROGRAMS = logrotate
logrotate_SOURCES = basenames.c config.c log.c logrotate.c \
basenames.h config.h log.h logrotate.h queue.h
logrotate_SOURCES = config.c log.c logrotate.c \
log.h logrotate.h queue.h
dist_man_MANS = logrotate.8 logrotate.conf.5
dist_noinst_DATA = logrotate.spec
EXTRA_DIST = ChangeLog.md README.md autogen.sh examples
# deprecated hard-wired Makefile, will be removed eventually
EXTRA_DIST += Makefile.legacy
EXTRA_DIST = ChangeLog.md README.md autogen.sh build-aux examples
# the dot ensures that logrotate is built before it is tested
SUBDIRS = . test
......@@ -34,3 +31,11 @@ rpm: srpm
rpmbuild $(RPM_FLAGS) -ta $(distdir).tar.gz
srpm: dist
rpmbuild $(RPM_FLAGS) -ts $(distdir).tar.gz
# taken from build-aux/git-version-gen
EXTRA_DIST += $(top_srcdir)/.version
BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@
dist-hook:
echo $(VERSION) > $(distdir)/.tarball-version
# Makefile.in generated by automake 1.15 from Makefile.am.
# Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
# Copyright (C) 1994-2017 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
......@@ -87,6 +87,8 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
sbin_PROGRAMS = logrotate$(EXEEXT)
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
......@@ -98,13 +100,14 @@ DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = logrotate.8 logrotate.spec
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man5dir)" \
"$(DESTDIR)$(man8dir)"
PROGRAMS = $(sbin_PROGRAMS)
am_logrotate_OBJECTS = basenames.$(OBJEXT) config.$(OBJEXT) \
log.$(OBJEXT) logrotate.$(OBJEXT)
am_logrotate_OBJECTS = config.$(OBJEXT) log.$(OBJEXT) \
logrotate.$(OBJEXT)
logrotate_OBJECTS = $(am_logrotate_OBJECTS)
logrotate_LDADD = $(LDADD)
AM_V_P = $(am__v_P_@AM_V@)
......@@ -190,8 +193,8 @@ am__recursive_targets = \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
am__extra_recursive_targets = test-recursive
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) <