bluez/SOURCES/0001-build-Always-define-confdir-and-statedir.patch
CentOS Sources 08d7f189ee import bluez-5.52-1.el8
# Conflicts:
#	.bluez.metadata
#	.gitignore
#	SOURCES/0001-build-Always-define-confdir-and-statedir.patch
#	SOURCES/0002-systemd-Add-PrivateTmp-and-NoNewPrivileges-options.patch
#	SOURCES/0003-systemd-Add-more-filesystem-lockdown.patch
#	SOURCES/0004-systemd-More-lockdown.patch
#	SPECS/bluez.spec
2021-08-31 14:58:34 +00:00

42 lines
1.1 KiB
Diff

From 5a62336f4da3a2d1a1ab38d03980d57844bce147 Mon Sep 17 00:00:00 2001
From: Gopal Tiwari <gtiwari@redhat.com>
Date: Mon, 8 Jun 2020 20:56:46 +0530
Subject: [PATCH BlueZ 1/4] build: Always define confdir and statedir
From 69d2e7bebb79f500179298c6c51fafbc217df6c8 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 20 Sep 2017 12:49:10 +0200
build: Always define confdir and statedir
As we will need those paths to lock down on them.
---
Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 84c9712c9..6e77ed91e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,14 +31,15 @@ pkginclude_HEADERS =
AM_CFLAGS = $(WARNING_CFLAGS) $(MISC_CFLAGS) $(UDEV_CFLAGS) $(ell_cflags)
AM_LDFLAGS = $(MISC_LDFLAGS)
+confdir = $(sysconfdir)/bluetooth
+statedir = $(localstatedir)/lib/bluetooth
+
if DATAFILES
dbusdir = $(DBUS_CONFDIR)/dbus-1/system.d
dbus_DATA = src/bluetooth.conf
-confdir = $(sysconfdir)/bluetooth
conf_DATA =
-statedir = $(localstatedir)/lib/bluetooth
state_DATA =
endif
--
2.21.1