1 include $(TOPDIR
)/rules.mk
7 PKG_MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
9 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
10 PKG_SOURCE_URL
:=https
://github.com
/balabit
/syslog-ng
/releases
/download
/$(PKG_NAME
)-$(PKG_VERSION
)/
11 PKG_MD5SUM
:=acf14563cf5ce435db8db35486ce66af
15 include $(INCLUDE_DIR
)/package.mk
16 include $(INCLUDE_DIR
)/nls.mk
18 define Package
/syslog-ng
20 CATEGORY
:=Administration
21 DEPENDS
:=+libpcre
+glib2
+libeventlog
+libopenssl
+libuuid
+libcurl
22 TITLE
:=A powerful syslog daemon
23 URL
:=http
://www.balabit.com
/network-security
/syslog-ng
/opensource-logging-system
/
26 define Package
/syslog-ng
/description
27 syslog-ng reads and logs messages to the system console
, log
28 files
, other machines and
/or users
as specified by its
32 define Package
/syslog-ng
/conffiles
36 define Build
/Configure
37 $(SED
) 's,-I/usr/include,,' $(PKG_BUILD_DIR
)/configure
38 $(Build
/Configure
/Default
)
42 $(call autoconf_bool
,CONFIG_IPV6
,ipv6
) \
43 --disable-dependency-tracking \
45 --disable-tcp-wrapper \
51 --disable-spoof-source \
53 --disable-linux-caps \
59 -I
$(STAGING_DIR
)/usr
/include/eventlog
62 LIBDBI_CFLAGS
="-I$(STAGING_DIR)/usr/include"
64 define Package
/syslog-ng
/install
65 $(INSTALL_DIR
) $(1)/usr
/lib
66 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
67 install-sbinPROGRAMS install-libLTLIBRARIES \
68 install-moduleLTLIBRARIES DESTDIR
="$(1)"
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
73 $(call libtool_remove_files
,$(1))
76 $(eval
$(call BuildPackage
,syslog-ng
))