libsemanage/libsemanage-rhat.patch

44 lines
1.8 KiB
Diff
Raw Normal View History

--- libsemanage-1.1.4/src/semod.conf.rhat 2005-08-30 09:24:00.000000000 -0400
+++ libsemanage-1.1.4/src/semod.conf 2005-08-30 10:22:33.000000000 -0400
@@ -16,10 +16,10 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-# Specify how libsemod will interact with the module store. The three
+# Specify how libsemanage will interact with the module store. The three
# options are:
#
-# "direct" - libsemod will write directly to the store.
+# "direct" - libsemanage will write directly to the store.
# /foo/bar - Write by way of a policy server, whose named socket
# is at /foo/bar. The path must begin with a '/'.
# foo.com:4242 - Establish a TCP connection to a remote policy server
@@ -44,7 +44,7 @@
#args = -b $@
#[end]
-# In addition to loading a policy libsemod will validate file contexts
+# In addition to loading a policy libsemanage will validate file contexts
# by calling the setfiles utility. As above, "$@" will be replaced
# with the policy filename. In addition "$<" will be replaced with
# the file contexts filename.
--- libsemanage-1.1.4/src/Makefile.rhat 2005-08-30 09:24:00.000000000 -0400
+++ libsemanage-1.1.4/src/Makefile 2005-08-30 10:23:09.000000000 -0400
@@ -4,7 +4,7 @@
SHLIBDIR ?= $(DESTDIR)/lib
INCLUDEDIR ?= $(PREFIX)/include
-DEFAULT_SEMOD_CONF_LOCATION=$(PREFIX)/share/semod/semod.conf
+DEFAULT_SEMOD_CONF_LOCATION=/etc/selinux/semod.conf
LEX = flex
LFLAGS = -s
@@ -40,7 +40,6 @@
install: all
test -d $(LIBDIR) || install -m 755 -d $(LIBDIR)
install -m 644 $(LIBA) $(LIBDIR)
- install -m 644 -D semod.conf $(DEFAULT_SEMOD_CONF_LOCATION)
clean:
rm -f $(OBJS) $(LIBA) conf-scan.c conf-parse.c conf-parse.h