1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
32 PKG_GROUPS = System/Daemons
33 PKG_URL = http://www.rsyslog.com/
35 PKG_SUMMARY = Enhanced system logging and kernel message trapping daemon.
37 PKG_BUILD_DEPS+= gnutls-devel libgcrypt-devel libnet-devel zlib-devel
39 PKG_PROVIDES-rsyslog += syslog
40 PKG_REQUIRES-rsyslog += logrotate
42 define PKG_DESCRIPTION
43 Rsyslog is an enhanced, multi-threaded syslog daemon. It supports MySQL,
44 syslog/TCP, RFC 3195, permitted sender lists, filtering on any message part,
45 and fine grain output format control. It is compatible with stock sysklogd
46 and can be used as a drop-in replacement. Rsyslog is simple to set up, with
47 advanced features suitable for enterprise-class, encryption-protected syslog
51 PKG_TARBALL = $(THISAPP).tar.gz
53 CFLAGS += -DSYSLOGD_PIDNAME=\"syslogd.pid\"
55 CONFIGURE_OPTIONS += \
58 --with-systemdsystemunitdir=/lib/systemd/system \
62 --disable-gssapi-krb5 \
74 --enable-unlimited-select
76 define STAGE_INSTALL_CMDS
77 -mkdir -pv $(BUILDROOT)/etc/{logrotate.d,rsyslog.d,sysconfig}
79 cp -vf $(DIR_SOURCE)/rsyslog.conf $(BUILDROOT)/etc/rsyslog.conf
80 cp -vf $(DIR_SOURCE)/rsyslog.sysconfig $(BUILDROOT)/etc/sysconfig/rsyslog
81 cp -vf $(DIR_SOURCE)/rsyslog.log $(BUILDROOT)/etc/logrotate.d/syslog