1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/policycoreutils/0001-drop-some-binaries-from-policycoreutils.patch
Tycho Andersen ec37205a09 testing/policycoreutils: initial import
Two things to note here:

* we drop restorecond because it has quite a few
  additional dependencies and it's unneeded at this time

* The 0002 patch is obviously incorrect, but without it things don't
  compile, and there's no quick equivalent in musl libc. This will at least
  let people use some features.

Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-03-17 20:34:35 +00:00

30 lines
1.1 KiB
Diff

From a72fed555a3d2698b3aebc7a429c9f038139308d Mon Sep 17 00:00:00 2001
From: Tycho Andersen <tycho@docker.com>
Date: Thu, 16 Mar 2017 11:48:08 -0700
Subject: [PATCH] drop some binaries from policycoreutils
Signed-off-by: Tycho Andersen <tycho@docker.com>
---
policycoreutils/Makefile | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 962ac12..817fe36 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,7 @@
-SUBDIRS = sepolicy setfiles semanage load_policy newrole run_init sandbox secon audit2allow sestatus semodule_package semodule semodule_link semodule_expand semodule_deps sepolgen-ifgen setsebool scripts po man gui hll
+SUBDIRS = sepolicy setfiles semanage load_policy newrole run_init sandbox secon audit2allow sestatus semodule_package semodule semodule_link semodule_expand semodule_deps sepolgen-ifgen setsebool scripts po man gui hll
INOTIFYH = $(shell ls /usr/include/sys/inotify.h 2>/dev/null)
-ifeq (${INOTIFYH}, /usr/include/sys/inotify.h)
- SUBDIRS += restorecond
-endif
-
all install relabel clean indent:
@for subdir in $(SUBDIRS); do \
(cd $$subdir && $(MAKE) $@) || exit 1; \
--
2.11.1