python/rapidfuzz: update to 3.11.0
[oi-userland.git] / components / sysutils / rsyslog / Makefile
blob07788784c1925775b00316430af975f3b85b94f4
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2022 Niklas Poslovski
23 # Copyright (c) 2022 Friedrch Kink
26 OPENSSL_VERSION= 3.1
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= rsyslog
31 COMPONENT_VERSION= 8.2406.0
32 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
33 COMPONENT_PROJECT_URL= https://www.rsyslog.com/
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
35 COMPONENT_ARCHIVE_HASH= sha256:1343e0269dd32166ffde04d7ceebfa0e7146cf1dbc6962c56bf428c61f01a7df
36 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
37 COMPONENT_SUMMARY= reliable and extended syslogd
38 COMPONENT_FMRI= system/rsyslog
39 COMPONENT_LICENSE= GPLv3
40 COMPONENT_CLASSIFICATION= System/Administration and Configuration
42 include $(WS_TOP)/make-rules/common.mk
44 # to make REQUIRED_PACKAGES happy when evaluating ompgsql.so
45 LDFLAGS += -Wl,-R'$(PG_LIBDIR)'
47 # to make REQUIRED_PACKAGES happy when evaluating ommysql.so
48 LDFLAGS += -Wl,-R'$(MYSQL_LIBDIR)'
50 COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -f -i )
52 CONFIGURE_OPTIONS += --enable-imsolaris
53 CONFIGURE_OPTIONS += --enable-impstats
54 CONFIGURE_OPTIONS += --enable-imfile
55 CONFIGURE_OPTIONS += --enable-improg
56 CONFIGURE_OPTIONS += --enable-imptcp
57 CONFIGURE_OPTIONS += --enable-mail
58 CONFIGURE_OPTIONS += --enable-gssapi_krb5
59 CONFIGURE_OPTIONS += --enable-gnutls
60 CONFIGURE_OPTIONS += --enable-openssl
61 CONFIGURE_OPTIONS += --enable-usertools
62 CONFIGURE_OPTIONS += --enable-mysql
63 CONFIGURE_OPTIONS += --enable-pgsql
64 CONFIGURE_OPTIONS += --enable-snmp
65 CONFIGURE_OPTIONS += --enable-libzstd
66 CONFIGURE_OPTIONS += --enable-omhttp
67 CONFIGURE_OPTIONS += --enable-omruleset
68 CONFIGURE_OPTIONS += --enable-omuxsock
69 CONFIGURE_OPTIONS += --enable-omfile-hardened
70 CONFIGURE_OPTIONS += --enable-omprog
71 #CONFIGURE_OPTIONS += --enable-ommongodb
72 CONFIGURE_OPTIONS += --enable-omtcl
73 CONFIGURE_OPTIONS += --enable-omhttpfs
74 CONFIGURE_OPTIONS += --enable-mmsnmptrapd
75 CONFIGURE_OPTIONS += --enable-mmjsonparse
76 CONFIGURE_OPTIONS += --enable-mmanon
77 CONFIGURE_OPTIONS += --enable-mmutf8fix
78 CONFIGURE_OPTIONS += --enable-mmcount
79 CONFIGURE_OPTIONS += --enable-mmtaghostname
80 CONFIGURE_OPTIONS += --enable-pmlastmsg
81 CONFIGURE_OPTIONS += --disable-klog
82 CONFIGURE_OPTIONS += --sbindir=$(USRLIBDIR)/rsyslog
84 CONFIGURE_ENV += LD_OPTIONS="$(LD_OPTIONS)"
86 PKG_PROTO_DIRS += $(COMPONENT_DIR)/files
88 # manually added
89 REQUIRED_PACKAGES += library/libevent2
91 # Build dependencies
92 REQUIRED_PACKAGES += $(MYSQL_CLIENT_PKG)
93 REQUIRED_PACKAGES += $(PG_DEVELOPER_PKG)
95 # Auto-generated dependencies
96 REQUIRED_PACKAGES += $(MYSQL_LIBRARY_PKG)
97 REQUIRED_PACKAGES += $(OPENSSL_PKG)
98 REQUIRED_PACKAGES += $(PG_LIBRARY_PKG)
99 REQUIRED_PACKAGES += SUNWcs
100 REQUIRED_PACKAGES += compress/zstd
101 REQUIRED_PACKAGES += file/gnu-coreutils
102 REQUIRED_PACKAGES += library/gnutls-3
103 REQUIRED_PACKAGES += library/libestr
104 REQUIRED_PACKAGES += library/libfastjson
105 REQUIRED_PACKAGES += library/zlib
106 REQUIRED_PACKAGES += shell/ksh93
107 REQUIRED_PACKAGES += system/library
108 REQUIRED_PACKAGES += system/library/math
109 REQUIRED_PACKAGES += system/library/security/gss
110 REQUIRED_PACKAGES += system/library/security/libgcrypt
111 REQUIRED_PACKAGES += system/management/snmp/net-snmp
112 REQUIRED_PACKAGES += web/curl