exherbo-impulze/packages/sys-apps/metalog/metalog.exlib

36 lines
904 B
Bash
Raw Normal View History

2009-01-31 23:45:48 +01:00
# Copyright 2009 Daniel Mierswa <impulze@impulze.org>
# Distributed under the terms of the GNU General Public License v2
2010-02-26 00:05:46 +01:00
require sourceforge [ suffix=tar.lzma ]
2009-01-31 23:45:48 +01:00
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"
2009-01-31 23:45:48 +01:00
DEPENDENCIES="
build+run:
dev-libs/pcre
"
2010-02-26 00:05:46 +01:00
REMOTE_IDS+=" freshmeat:${PN}"
2009-01-31 23:45:48 +01:00
UPSTREAM_DOCUMENTATION="${HOMEPAGE}/README"
src_install() {
default
if option baselayout ; then
newinitd "${FILES}/metalog.initd" metalog
newconfd "${FILES}/metalog.confd" metalog
fi
}