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"
|
2010-10-09 22:13:09 +02:00
|
|
|
MYOPTIONS="baselayout"
|
2009-01-31 23:45:48 +01:00
|
|
|
|
|
|
|
DEPENDENCIES="
|
|
|
|
build+run:
|
|
|
|
dev-libs/pcre
|
|
|
|
"
|
|
|
|
|
2012-05-26 19:21:59 +02:00
|
|
|
REMOTE_IDS+=" freecode:${PN}"
|
2009-01-31 23:45:48 +01:00
|
|
|
|
|
|
|
UPSTREAM_DOCUMENTATION="${HOMEPAGE}/README"
|
|
|
|
|
2009-08-31 05:41:00 +02:00
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
|
2010-10-09 22:13:09 +02:00
|
|
|
if option baselayout ; then
|
|
|
|
newinitd "${FILES}/metalog.initd" metalog
|
|
|
|
newconfd "${FILES}/metalog.confd" metalog
|
|
|
|
fi
|
2009-08-31 05:41:00 +02:00
|
|
|
}
|
|
|
|
|