2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE_URL
:=http
://www.balabit.com
/downloads
/files
/syslog-ng
/open-source-edition
/$(PKG_VERSION
)/source
/
15 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).
tar.gz
16 PKG_MD5SUM
:=28f0d9ff2243b330e8cd6311ef9b2f12
18 PKG_CONFIG_DEPENDS
:= \
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/syslog-ng3
25 CATEGORY
:=Administration
26 DEPENDS
:=+libpcre
+glib2
+libeventlog
+libopenssl
+libwrap
27 TITLE
:=A powerful syslog daemon
28 URL
:=http
://www.balabit.com
/network-security
/syslog-ng
/opensource-logging-system
/
31 define Package
/syslog-ng3
/description
32 syslog-ng reads and logs messages to the system console
, log
33 files
, other machines and
/or users
as specified by its
37 define Package
/syslog-ng3
/conffiles
41 define Build
/Configure
42 $(SED
) 's,-I/usr/include,,' $(PKG_BUILD_DIR
)/configure
43 $(Build
/Configure
/Default
)
47 $(call autoconf_bool
,CONFIG_IPV6
,ipv6
) \
48 --disable-dependency-tracking \
49 --enable-tcp-wrapper \
51 --disable-spoof-source \
54 --disable-linux-caps \
57 -I
$(STAGING_DIR
)/usr
/include/eventlog
60 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib \
61 -L
$(STAGING_DIR
)/usr
/lib
/libiconv
/lib
64 LIBDBI_CFLAGS
="-I$(STAGING_DIR)/usr/include"
66 define Package
/syslog-ng3
/install
67 $(INSTALL_DIR
) $(1)/usr
/sbin
68 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/syslog-ng
$(1)/usr
/sbin
/
69 $(INSTALL_DIR
) $(1)/etc
/init.d
70 $(INSTALL_BIN
) .
/files
/syslog-ng.init
$(1)/etc
/init.d
/syslog-ng
71 $(INSTALL_DIR
) $(1)/etc
72 $(INSTALL_DATA
) .
/files
/syslog-ng.conf
$(1)/etc
75 $(eval
$(call BuildPackage
,syslog-ng3
))