source: packages/admin/syslog-ng3/Makefile @ 20314

Last change on this file since 20314 was 20314, checked in by florian, 6 years ago

[package] updpate syslog-ng3 to 3.0.5, add support for logging kernel messages, patch from Edgar Soldin

  • Property copyright set to Copyright (C) 2006-2008 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1#
2# Copyright (C) 2006-2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=syslog-ng
11PKG_VERSION:=3.0.5
12PKG_RELEASE:=1
13PKG_MD5SUM:=28f0d9ff2243b330e8cd6311ef9b2f12
14
15PKG_SOURCE_URL:=http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/$(PKG_VERSION)/source/
16PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/syslog-ng3
21  SECTION:=admin
22  CATEGORY:=Administration
23  DEPENDS:=+libpcre +glib2 +libeventlog +libopenssl +libwrap
24  TITLE:=A powerful syslog daemon
25  URL:=http://www.balabit.com/network-security/syslog-ng/opensource-logging-system/
26endef
27
28define Package/syslog-ng3/description
29  syslog-ng reads and logs messages to the system console, log
30  files, other machines and/or users as specified by its
31  configuration file.
32endef
33
34define Package/syslog-ng3/conffiles
35/etc/syslog-ng.conf
36endef
37
38define Build/Configure
39        $(SED) 's,-I/usr/include,,' $(PKG_BUILD_DIR)/configure
40        $(Build/Configure/Default)
41endef
42
43CONFIGURE_ARGS +=  \
44        --disable-dependency-tracking \
45        --enable-tcp-wrapper \
46        --disable-glibtest \
47        --disable-spoof-source \
48        --disable-sql \
49        --enable-prce \
50        --disable-linux-caps \
51
52TARGET_CPPFLAGS += \
53        -I$(STAGING_DIR)/usr/include/eventlog
54
55TARGET_LDFLAGS += \
56        -L$(STAGING_DIR)/usr/lib/libintl/lib \
57        -L$(STAGING_DIR)/usr/lib/libiconv/lib
58
59CONFIGURE_VARS += \
60        LIBDBI_CFLAGS="-I$(STAGING_DIR)/usr/include"
61
62define Package/syslog-ng3/install
63        $(INSTALL_DIR) $(1)/usr/sbin
64        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/syslog-ng $(1)/usr/sbin/
65        $(INSTALL_DIR) $(1)/etc/init.d
66        $(INSTALL_BIN) ./files/syslog-ng.init $(1)/etc/init.d/syslog-ng
67        $(INSTALL_DIR) $(1)/etc
68        $(INSTALL_DATA) ./files/syslog-ng.conf $(1)/etc
69endef
70
71$(eval $(call BuildPackage,syslog-ng3))
Note: See TracBrowser for help on using the repository browser.