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

Last change on this file since 29283 was 29283, checked in by nico, 4 years ago

packages/syslog-ng3: add dependency on librt (closes: #9435)

  • 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-2011 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:=5
13
14PKG_SOURCE_URL:=http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/$(PKG_VERSION)/source/
15PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
16PKG_MD5SUM:=28f0d9ff2243b330e8cd6311ef9b2f12
17
18PKG_CONFIG_DEPENDS:= \
19        CONFIG_IPV6 \
20
21include $(INCLUDE_DIR)/package.mk
22include $(INCLUDE_DIR)/nls.mk
23
24define Package/syslog-ng3
25  SECTION:=admin
26  CATEGORY:=Administration
27  DEPENDS:=+libpcre +glib2 +libeventlog +libopenssl +libwrap +libpthread +librt +zlib
28  TITLE:=A powerful syslog daemon
29  URL:=http://www.balabit.com/network-security/syslog-ng/opensource-logging-system/
30endef
31
32define Package/syslog-ng3/description
33  syslog-ng reads and logs messages to the system console, log
34  files, other machines and/or users as specified by its
35  configuration file.
36endef
37
38define Package/syslog-ng3/conffiles
39/etc/syslog-ng.conf
40endef
41
42define Build/Configure
43        $(SED) 's,-I/usr/include,,' $(PKG_BUILD_DIR)/configure
44        $(Build/Configure/Default)
45endef
46
47CONFIGURE_ARGS +=  \
48        $(call autoconf_bool,CONFIG_IPV6,ipv6) \
49        --disable-dependency-tracking \
50        --enable-tcp-wrapper \
51        --disable-glibtest \
52        --disable-spoof-source \
53        --disable-sql \
54        --enable-prce \
55        --disable-linux-caps \
56
57TARGET_CPPFLAGS += \
58        -I$(STAGING_DIR)/usr/include/eventlog
59
60CONFIGURE_VARS += \
61        LIBDBI_CFLAGS="-I$(STAGING_DIR)/usr/include"
62
63define Package/syslog-ng3/install
64        $(INSTALL_DIR) $(1)/usr/sbin
65        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/syslog-ng $(1)/usr/sbin/
66        $(INSTALL_DIR) $(1)/etc/init.d
67        $(INSTALL_BIN) ./files/syslog-ng.init $(1)/etc/init.d/syslog-ng
68        $(INSTALL_DIR) $(1)/etc
69        $(INSTALL_DATA) ./files/syslog-ng.conf $(1)/etc
70endef
71
72$(eval $(call BuildPackage,syslog-ng3))
Note: See TracBrowser for help on using the repository browser.