policycoreutils patch
I have attached a small patch to policycoreutils. This fixes a bunch of minor warnings in setfiles (the sb_unused change is just to flag the parameter as one we know we aren't using), and makes some Makefile changes to assist in packaging.
Steve, I believe that this is worthy of including in the next release.
Signature · 4 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page
load_policy/Makefile renamed from tmp/policycoreutils-1.2/load_policy/Makefile +2 -1
@@ -3,7 +3,8 @@ PREFIX ?= ${DESTDIR}/usr SBINDIR ?= $(PREFIX)/sbin LOCALEDIR ?= /usr/share/locale -CFLAGS = -Wall -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" +CFLAGS = -Wall +override CFLAGS += -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" LDLIBS += -lselinux # Build static so that we can put it on an initrd.
newrole/Makefile renamed from tmp/policycoreutils-1.2/newrole/Makefile +2 -2
@@ -5,8 +5,8 @@ MANDIR ?= $(PREFIX)/share/man ETCDIR ?= $(DESTDIR)/etc LOCALEDIR = /usr/share/locale -CFLAGS = -Wall -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" -override CFLAGS += -DUSE_PAM +CFLAGS = -Wall +override CFLAGS += -DUSE_PAM -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" LDLIBS += -lselinux -lattr -ldl -lpam -lpam_misc TARGETS=$(patsubst %.c,%,$(wildcard *.c))
run_init/Makefile renamed from tmp/policycoreutils-1.2/run_init/Makefile +2 -2
@@ -6,8 +6,8 @@ MANDIR ?= $(PREFIX)/share/man ETCDIR ?= $(DESTDIR)/etc LOCALEDIR ?= /usr/share/locale -CFLAGS = -Wall -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" -override CFLAGS += -DUSE_PAM +CFLAGS = -Wall +override CFLAGS += -DUSE_PAM -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" LDLIBS += -lselinux -lattr -ldl -lpam -lpam_misc TARGETS=$(patsubst %.c,%,$(wildcard *.c))
setfiles/setfiles.c renamed from tmp/policycoreutils-1.2/setfiles/setfiles.c +69 -69
353 lines not on this page · raw message