]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - pkgs/rsyslog/rsyslog.nm
rsyslog: New package.
[people/arne_f/ipfire-3.x.git] / pkgs / rsyslog / rsyslog.nm
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5 # #
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. #
10 # #
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. #
15 # #
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/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include $(PKGROOT)/Include
26
27 PKG_NAME = rsyslog
28 PKG_VER = 5.7.9
29 PKG_REL = 1
30
31 PKG_MAINTAINER =
32 PKG_GROUPS = System/Daemons
33 PKG_URL = http://www.rsyslog.com/
34 PKG_LICENSE = GPLv3+
35 PKG_SUMMARY = Enhanced system logging and kernel message trapping daemon.
36
37 PKG_BUILD_DEPS+= gnutls-devel libgcrypt-devel libnet-devel zlib-devel
38
39 PKG_PROVIDES-rsyslog += syslog
40 PKG_REQUIRES-rsyslog += logrotate
41
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
48 relay chains.
49 endef
50
51 PKG_TARBALL = $(THISAPP).tar.gz
52
53 CFLAGS += -DSYSLOGD_PIDNAME=\"syslogd.pid\"
54
55 CONFIGURE_OPTIONS += \
56 --exec-prefix= \
57 --libdir=/lib \
58 --with-systemdsystemunitdir=/lib/systemd/system \
59 --disable-static \
60 --disable-testbench \
61 --enable-gnutls \
62 --disable-gssapi-krb5 \
63 --enable-imfile \
64 --disable-libdbi \
65 --enable-mail \
66 --disable-mysql \
67 --enable-omprog \
68 --enable-omudpspoof \
69 --enable-omuxsock \
70 --disable-pgsql \
71 --enable-pmlastmsg \
72 --disable-relp \
73 --disable-snmp \
74 --enable-unlimited-select
75
76 define STAGE_INSTALL_CMDS
77 -mkdir -pv $(BUILDROOT)/etc/{logrotate.d,rsyslog.d,sysconfig}
78
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
82 endef