From: Jan Nieuwenhuizen <janneke@gnu.org>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add rottlog.
Date: Fri, 17 Jun 2016 16:41:44 +0200 [thread overview]
Message-ID: <87lh23andj.fsf@gnu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 159 bytes --]
It `builds' and installs...now to figure out how to configure and hook
it up with mcron and how to run mcron.
Also, its bash scripts. Well, if it works...
[-- Attachment #2: 0001-gnu-Add-rottlog.patch --]
[-- Type: text/x-patch, Size: 2533 bytes --]
From 93bdc5b5bf615d4641897c2058b303554c081062 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Fri, 17 Jun 2016 16:33:16 +0200
Subject: [PATCH] gnu: Add rottlog.
* gnu/packages/logging.scm (rottlog): New variable.
---
gnu/packages/logging.scm | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 68af09e..61fe85d 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,7 +23,9 @@
#:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix build-system gnu)
- #:use-module (gnu packages))
+ #:use-module (gnu packages)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages texinfo))
(define-public log4cpp
(package
@@ -45,3 +48,31 @@ IDSA and other destinations. It is modeled after the Log4j Java library,
staying as close to their API as is reasonable.")
(home-page "http://log4cpp.sourceforge.net/")
(license license:lgpl2.1+)))
+
+(define-public rottlog
+ (package
+ (name "rottlog")
+ (version "0.72.2")
+ (inputs `(("util-linux" ,util-linux) ; cal
+ ("texinfo" ,texinfo)))
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/rottlog/rottlog-" version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0751mb9l2f0jrk3vj6q8ilanifd121dliwk0c34g8k0dlzsv3kd7"))
+ (patches (search-patches "rottlog.patch"))))
+ (arguments
+ '(#:configure-flags
+ (list (string-append "ROTT_ETCDIR=" %output "/etc/rottlog"))))
+ (build-system gnu-build-system)
+ (synopsis "The GNU log management facility")
+ (description
+ "GNU Rot[t]log is designed to simplify administration of systems that
+generate large numbers of log files. It allows automatic rotation,
+compression, and archiving of logs. It also mails reports to the system
+administrator. Each log file may be handled daily, weekly, monthly, in
+user-defined days, or when it becomes too large.")
+ (home-page "https://www.gnu.org/software/rottlog/")
+ (license license:gpl3+)))
--
2.8.4
[-- Attachment #3: Type: text/plain, Size: 154 bytes --]
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
next reply other threads:[~2016-06-17 14:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 14:41 Jan Nieuwenhuizen [this message]
2016-06-17 18:39 ` [PATCH] gnu: Add rottlog Leo Famulari
2016-06-17 18:51 ` Jan Nieuwenhuizen
2016-06-18 1:50 ` Leo Famulari
2016-06-18 10:05 ` Jan Nieuwenhuizen
2016-06-19 13:51 ` Ludovic Courtès
2016-06-19 14:04 ` Jan Nieuwenhuizen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lh23andj.fsf@gnu.org \
--to=janneke@gnu.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.