Skip to contentSkip to conversation

package/findutils: enable selinux support

PATCH Applied Adam Duskett 3 participants 3 messages Dec 9, 2021 – Jan 15, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/findutils: enable selinux support

---
 package/findutils/findutils.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/findutils/findutils.mk +7 -0
index 918591c53f..3237e5502a 100644
@@ -15,4 +15,11 @@ FINDUTILS_CONF_ENV = \
 	ac_cv_func_working_mktime=yes \
 	gl_cv_func_wcwidth_works=yes
 
+ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
+FINDUTILS_DEPENDENCIES += libselinux
+FINDUTILS_CONF_OPTS += --with-selinux
+else
+FINDUTILS_CONF_OPTS += --without-selinux
+endif
+
 $(eval $(autotools-package))
Signature · 6 lines
2.33.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 1 line · Adam Duskett

Applied to master, thanks.

Regards,
Arnout

Quoted 11 lines
---
  package/findutils/findutils.mk | 7 +++++++
  1 file changed, 7 insertions(+)
package/findutils/findutils.mk +0 -0
index 918591c53f..3237e5502a 100644
@@ -15,4 +15,11 @@ FINDUTILS_CONF_ENV = \
  	ac_cv_func_working_mktime=yes \

package/findutils/findutils.mk FINDUTILS_CONF_ENV = \ · line 25

Quoted 10 lines
package/findutils/findutils.mk +7 -0
  	gl_cv_func_wcwidth_works=yes
 
+ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
+FINDUTILS_DEPENDENCIES += libselinux
+FINDUTILS_CONF_OPTS += --with-selinux
+else
+FINDUTILS_CONF_OPTS += --without-selinux
+endif
+
  $(eval $(autotools-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot