|
%!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.. | ||
.deps | %!s(int64=5) %!d(string=hai) anos | |
autom4te.cache | %!s(int64=5) %!d(string=hai) anos | |
build-aux | %!s(int64=5) %!d(string=hai) anos | |
examples | %!s(int64=5) %!d(string=hai) anos | |
release | %!s(int64=5) %!d(string=hai) anos | |
test | %!s(int64=5) %!d(string=hai) anos | |
.tarball-version | %!s(int64=5) %!d(string=hai) anos | |
.version | %!s(int64=5) %!d(string=hai) anos | |
COPYING | %!s(int64=5) %!d(string=hai) anos | |
ChangeLog.md | %!s(int64=5) %!d(string=hai) anos | |
INSTALL | %!s(int64=5) %!d(string=hai) anos | |
Makefile | %!s(int64=5) %!d(string=hai) anos | |
Makefile.am | %!s(int64=5) %!d(string=hai) anos | |
Makefile.in | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
aclocal.m4 | %!s(int64=5) %!d(string=hai) anos | |
autogen.sh | %!s(int64=5) %!d(string=hai) anos | |
compile | %!s(int64=5) %!d(string=hai) anos | |
config.c | %!s(int64=5) %!d(string=hai) anos | |
config.guess | %!s(int64=5) %!d(string=hai) anos | |
config.h | %!s(int64=5) %!d(string=hai) anos | |
config.h.in | %!s(int64=5) %!d(string=hai) anos | |
config.h.in~ | %!s(int64=5) %!d(string=hai) anos | |
config.log | %!s(int64=5) %!d(string=hai) anos | |
config.o | %!s(int64=5) %!d(string=hai) anos | |
config.status | %!s(int64=5) %!d(string=hai) anos | |
config.sub | %!s(int64=5) %!d(string=hai) anos | |
configure | %!s(int64=5) %!d(string=hai) anos | |
configure.ac | %!s(int64=5) %!d(string=hai) anos | |
depcomp | %!s(int64=5) %!d(string=hai) anos | |
install-sh | %!s(int64=5) %!d(string=hai) anos | |
log.c | %!s(int64=5) %!d(string=hai) anos | |
log.h | %!s(int64=5) %!d(string=hai) anos | |
log.o | %!s(int64=5) %!d(string=hai) anos | |
logrotate | %!s(int64=5) %!d(string=hai) anos | |
logrotate.8 | %!s(int64=5) %!d(string=hai) anos | |
logrotate.8.in | %!s(int64=5) %!d(string=hai) anos | |
logrotate.c | %!s(int64=5) %!d(string=hai) anos | |
logrotate.conf.5 | %!s(int64=5) %!d(string=hai) anos | |
logrotate.h | %!s(int64=5) %!d(string=hai) anos | |
logrotate.o | %!s(int64=5) %!d(string=hai) anos | |
logrotate.spec | %!s(int64=5) %!d(string=hai) anos | |
logrotate.spec.in | %!s(int64=5) %!d(string=hai) anos | |
missing | %!s(int64=5) %!d(string=hai) anos | |
queue.h | %!s(int64=5) %!d(string=hai) anos | |
stamp-h1 | %!s(int64=5) %!d(string=hai) anos | |
test-driver | %!s(int64=5) %!d(string=hai) anos |
The logrotate utility is designed to simplify the administration of log files on a system which generates a lot of log files. Logrotate allows for the automatic rotation compression, removal and mailing of log files. Logrotate can be set to handle a log file hourly, daily, weekly, monthly or when the log file gets to a certain size.
The latest release is:
Previous releases:
You can also obtain code by using git checkout:
git clone https://github.com/logrotate/logrotate.git -b master
Replace master
with branch or tag you intend to checkout
After downloading the tarball and .asc signature file, check the signature:
Get Kamil's PGP key rsa4096/72A37B36 (almost any keyserver will do if pgp.mit.edu is temporarily unavailable):
$ gpg --keyserver pgp.mit.edu --recv-key 992A96E075056E79CD8214F9873DB37572A37B36
and verify the PGP signature on the distribution tarball:
$ gpg --verify logrotate-3.11.0.tar.xz.asc logrotate-3.11.0.tar.xz
If successful your GPG output should look like this:
gpg: Signature made Fri 02 Dec 2016 08:30:39 AM EST
gpg: using RSA key 873DB37572A37B36
gpg: Good signature from "Kamil Dudka <kdudka@redhat.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 992A 96E0 7505 6E79 CD82 14F9 873D B375 72A3 7B36
You may then unpack the tarball:
$ tar -xJf logrotate-3.11.0.tar.xz
Notice that git tags are signed with same key:
$ git tag --verify 3.11.0
Obtain source either by Downloading it or doing Git checkout.
Install dependencies for Debian systems:
apt-get update
apt-get install autoconf automake libpopt-dev libtool make xz-utils
Install dependencies for Fedora/CentOS systems:
yum install autoconf automake libtool make popt-devel xz
Compilation (autoreconf
is optional if you obtained source from tarball):
cd logrotate-X.Y.Z
autoreconf -fiv
./configure
make
Open issues or pull requests on GitHub.