openssl-1.1: add patches for CVE-2024-2511 and CVE-2024-4741
[oi-userland.git] / components / library / dbus-glib / Makefile
blobd0863769eb5397aaedad77c5ae166ca7d098f13e
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2015 Alexander Pyhalov
13 # Copyright 2019 Michal Nowak
16 # Make sure to build 32 bit first as we overwrite files in $(USRLIBEXECDIR)
17 BUILD_BITS= 32_and_64
18 PREFERRED_BITS= 64
19 USE_DEFAULT_TEST_TRANSFORMS= yes
20 include ../../../make-rules/shared-macros.mk
22 COMPONENT_NAME= dbus-glib
23 COMPONENT_VERSION= 0.112
24 COMPONENT_REVISION= 4
25 COMPONENT_PROJECT_URL= https://dbus.freedesktop.org/doc/dbus-glib/
26 COMPONENT_SUMMARY= D-Bus GLib bindings
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
29 COMPONENT_ARCHIVE_HASH= sha256:7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a
30 COMPONENT_ARCHIVE_URL= https://dbus.freedesktop.org/releases/dbus-glib/$(COMPONENT_ARCHIVE)
31 COMPONENT_FMRI= system/library/libdbus-glib
32 COMPONENT_CLASSIFICATION=System/Libraries
33 COMPONENT_LICENSE= GPLv2,AFLv2.1
34 COMPONENT_LICENSE_FILE= COPYING
36 include $(WS_MAKE_RULES)/common.mk
38 PATH= $(PATH.gnu)
40 CONFIGURE_OPTIONS += --sysconfdir=/etc
41 #CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
42 #CONFIGURE_OPTIONS += --libexecdir=$(USRLIBEXECDIR.$(BITS))
43 CONFIGURE_OPTIONS += --libexecdir=$(USRLIBEXECDIR)
44 CONFIGURE_OPTIONS += --localstatedir=/var
45 CONFIGURE_OPTIONS += --disable-static
46 CONFIGURE_OPTIONS += --enable-tests
48 # For tests to pass
49 unexport SHELLOPTS
51 COMPONENT_TEST_ARGS += -k
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES += library/expat
55 REQUIRED_PACKAGES += library/glib2
56 REQUIRED_PACKAGES += system/library
57 REQUIRED_PACKAGES += system/library/libdbus