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
:=1b48da9ef620cf06e55e481b5abb677a
12 PKG_HASH
:=5678856a550ae790618fabde9d1447f932ce7a9080d55dca8fc5df1202c70a17
16 include $(INCLUDE_DIR
)/package.mk
17 include $(INCLUDE_DIR
)/nls.mk
19 define Package
/syslog-ng
21 CATEGORY
:=Administration
22 DEPENDS
:=+libpcre
+glib2
+libeventlog
+libopenssl
+libuuid
+libcurl
23 TITLE
:=A powerful syslog daemon
24 URL
:=http
://www.balabit.com
/network-security
/syslog-ng
/opensource-logging-system
/
27 define Package
/syslog-ng
/description
28 syslog-ng reads and logs messages to the system console
, log
29 files
, other machines and
/or users
as specified by its
33 define Package
/syslog-ng
/conffiles
37 define Build
/Configure
38 $(SED
) 's,-I/usr/include,,' $(PKG_BUILD_DIR
)/configure
39 $(Build
/Configure
/Default
)
43 $(call autoconf_bool
,CONFIG_IPV6
,ipv6
) \
44 --disable-dependency-tracking \
46 --disable-tcp-wrapper \
52 --disable-spoof-source \
54 --disable-linux-caps \
60 -I
$(STAGING_DIR
)/usr
/include/eventlog
63 LIBDBI_CFLAGS
="-I$(STAGING_DIR)/usr/include"
65 define Package
/syslog-ng
/install
66 $(INSTALL_DIR
) $(1)/usr
/lib
67 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
68 install-sbinPROGRAMS install-libLTLIBRARIES \
69 install-moduleLTLIBRARIES DESTDIR
="$(1)"
70 $(INSTALL_DIR
) $(1)/etc
/init.d
71 $(INSTALL_BIN
) .
/files
/syslog-ng.init
$(1)/etc
/init.d
/syslog-ng
72 $(INSTALL_DIR
) $(1)/etc
73 $(INSTALL_DATA
) .
/files
/syslog-ng.conf
$(1)/etc
74 $(call libtool_remove_files
,$(1))
77 $(eval
$(call BuildPackage
,syslog-ng
))