exherbo-impulze/packages/sys-apps/metalog/metalog.exlib
2010-10-10 12:50:06 +02:00

36 lines
904 B
Bash

# Copyright 2009 Daniel Mierswa <impulze@impulze.org>
# Distributed under the terms of the GNU General Public License v2
require sourceforge [ suffix=tar.lzma ]
SUMMARY="Feature-rich syslog daemon."
DESCRIPTION="
A modern replacement for syslogd and klogd. The logged messages
can be dispatched according to their facility, urgency, program name and/or
Perl-compatible regular expressions. Log files can be automatically rotated
when they exceed a certain size or age. External shell scripts (e.g., mail)
can be launched when specific patterns are found.
"
LICENCES="GPL-2"
MYOPTIONS="baselayout"
DEPENDENCIES="
build+run:
dev-libs/pcre
"
REMOTE_IDS+=" freshmeat:${PN}"
UPSTREAM_DOCUMENTATION="${HOMEPAGE}/README"
src_install() {
default
if option baselayout ; then
newinitd "${FILES}/metalog.initd" metalog
newconfd "${FILES}/metalog.confd" metalog
fi
}