GithubHelp home page GithubHelp logo

tralston / logrotate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from logrotate/logrotate

0.0 1.0 0.0 621 KB

The logrotate utility is designed to simplify the administration of log files on a system which generates a lot of log files.

License: GNU General Public License v2.0

Makefile 0.62% Shell 37.30% C 61.15% M4 0.91% Groff 0.01%

logrotate's Introduction

logrotate

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 daily, weekly, monthly or when the log file gets to a certain size.

Download

The latest release is:

Previous releases:

Git checkout

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

Verify and unpack

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 succesful 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 <[email protected]>" [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

Compiling

Obtain source either by Downloading it or doing Git checkout.

Install dependencies for Debian systems:

apt-get update
apt-get install make autoconf libtool libpopt-dev xz-utils

Install dependencies for Fedora/CentOS systems:

yum install make autoconf automake libtool popt-devel xz

Compilation (autoreconf is optional if you obtained source from tarball):

cd logrotate-X.Y.Z
autoreconf -fiv
./configure
make

Patches and Questions

Open issues or pull requests on GitHub.

logrotate's People

Contributors

ahpnils avatar bjacquin avatar bugfinder avatar cromerc avatar derdakon avatar dimstar77 avatar douglaswth avatar dougsland avatar ewaldvangeffen avatar fishilico avatar glensc avatar inikolaev avatar jankaluza avatar kdudka avatar kerolasa avatar nomis avatar pprindeville avatar praiskup avatar sathieu avatar sergey-v avatar tpetazzoni avatar zimathias avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.