2005-11-03 21:53:20 +00:00
|
|
|
--- setools-2.2/seaudit/Makefile.rhat 2005-10-28 18:12:32.000000000 -0400
|
2005-12-14 14:47:13 +00:00
|
|
|
+++ setools-2.2/seaudit/Makefile 2005-12-14 09:34:28.000000000 -0500
|
2005-11-03 21:53:20 +00:00
|
|
|
@@ -60,8 +60,8 @@
|
|
|
|
$(CC) $(CFLAGS) $(GTK_CFLAGS) $(LIBXML_FLAGS) $(INCLUDE) -c $<
|
2005-05-12 16:48:56 +00:00
|
|
|
|
2005-11-03 21:53:20 +00:00
|
|
|
install: seaudit seaudit-report
|
|
|
|
- install -m 755 seaudit $(BINDIR)
|
|
|
|
- install -m 755 seaudit-report $(BINDIR)
|
|
|
|
+ install -m 755 seaudit $(SBINDIR)
|
|
|
|
+ install -m 755 seaudit-report $(SBINDIR)
|
2005-05-06 12:26:00 +00:00
|
|
|
install -m 644 $(GLADE_FILES) $(INSTALL_LIBDIR)
|
2005-11-03 21:53:20 +00:00
|
|
|
install -m 644 seaudit_help.txt $(INSTALL_LIBDIR)
|
|
|
|
install -m 444 dot_seaudit $(INSTALL_LIBDIR)
|
|
|
|
--- setools-2.2/apol/Makefile.rhat 2005-10-28 18:12:32.000000000 -0400
|
2005-12-14 14:47:13 +00:00
|
|
|
+++ setools-2.2/apol/Makefile 2005-12-14 09:34:28.000000000 -0500
|
2005-11-03 21:53:20 +00:00
|
|
|
@@ -80,7 +80,7 @@
|
|
|
|
$(MAKE) -C .. libsefs
|
2004-09-27 20:01:22 +00:00
|
|
|
|
2005-03-02 21:01:21 +00:00
|
|
|
install: apol apol.tcl
|
|
|
|
- install -m 755 apol $(BINDIR)
|
|
|
|
+ install -m 755 apol $(SBINDIR)
|
|
|
|
@if [ -n $(INSTALL_LIBDIR) ]; then \
|
|
|
|
for file in $(TCL-FILES); do \
|
|
|
|
if [ -f $(INSTALL_LIBDIR)/$$file ]; then \
|
2005-11-03 21:53:20 +00:00
|
|
|
@@ -89,6 +89,7 @@
|
2005-03-02 21:01:21 +00:00
|
|
|
done \
|
|
|
|
fi
|
|
|
|
install -m 644 apol.tcl $(APOL_HELP_FILES) $(APOL_PERM_MAPS) $(INSTALL_LIBDIR)
|
|
|
|
+ install -m 644 $(APOL_HELP_FILES) $(APOL_PERM_MAPS) ${INSTALL_HELPDIR}
|
|
|
|
cd $(INSTALL_LIBDIR); ln -sf $(APOL_DFLT_PMAP) apol_perm_mapping
|
2004-09-27 20:01:22 +00:00
|
|
|
|
2005-03-02 21:01:21 +00:00
|
|
|
clean:
|
2005-11-03 22:57:49 +00:00
|
|
|
--- setools-2.2/Makefile.rhat 2005-10-28 18:12:32.000000000 -0400
|
2005-12-14 14:47:13 +00:00
|
|
|
+++ setools-2.2/Makefile 2005-12-14 09:34:28.000000000 -0500
|
2005-11-03 21:53:20 +00:00
|
|
|
@@ -10,7 +10,7 @@
|
|
|
|
LIBS = -lfl -lm
|
|
|
|
|
|
|
|
INCLUDE_DIR = $(DESTDIR)/usr/include
|
|
|
|
-SHARED_LIB_INSTALL_DIR = $(DESTDIR)/usr/lib
|
|
|
|
+SHARED_LIB_INSTALL_DIR = $(DESTDIR)$(LIBDIR)
|
|
|
|
STATIC_LIB_INSTALL_DIR = $(SHARED_LIB_INSTALL_DIR)
|
|
|
|
SETOOLS_INCLUDE = $(INCLUDE_DIR)/setools
|
|
|
|
TCLVER = $(shell env tclsh tcl_vars)
|
2005-11-03 22:57:49 +00:00
|
|
|
@@ -28,6 +28,7 @@
|
|
|
|
# Install directories
|
|
|
|
# Binaries go here
|
|
|
|
BINDIR = $(DESTDIR)/usr/bin
|
|
|
|
+SBINDIR = $(DESTDIR)/usr/sbin
|
|
|
|
# The code uses the specified path below. If you change this, DO NOT add
|
|
|
|
# a trailing path seperator ("/"). For example, use "/usr/share/setools"
|
|
|
|
# instead of "/usr/share/setools/". This probably needs to become more
|
2005-11-03 23:12:13 +00:00
|
|
|
@@ -111,7 +112,7 @@
|
|
|
|
export SHARED_LIB_INSTALL_DIR STATIC_LIB_INSTALL_DIR
|
|
|
|
export SELINUX_DIR POLICY_INSTALL_DIR POLICY_SRC_DIR DEFAULT_LOG_FILE
|
|
|
|
export POLICY_SRC_DIR POLICY_SRC_FILE
|
|
|
|
-export BINDIR INSTALL_LIBDIR INSTALL_HELPDIR POLICYINSTALLDIR
|
|
|
|
+export SBINDIR BINDIR INSTALL_LIBDIR INSTALL_HELPDIR POLICYINSTALLDIR
|
|
|
|
|
|
|
|
# Top Level Targets
|
|
|
|
all: all-libs all-nogui all-gui
|
2005-11-03 21:53:20 +00:00
|
|
|
--- setools-2.2/sediff/Makefile.rhat 2005-10-28 18:12:32.000000000 -0400
|
2005-12-14 14:47:13 +00:00
|
|
|
+++ setools-2.2/sediff/Makefile 2005-12-14 09:34:28.000000000 -0500
|
2005-11-03 21:53:20 +00:00
|
|
|
@@ -24,7 +24,8 @@
|
|
|
|
install -m 755 sediff $(BINDIR);
|
|
|
|
|
|
|
|
install: all
|
|
|
|
- install -m 755 sediff sediffx $(BINDIR);
|
|
|
|
+ install -m 755 sediff $(BINDIR);
|
|
|
|
+ install -m 755 sediffx $(SBINDIR);
|
2004-11-01 16:00:13 +00:00
|
|
|
install -m 644 $(GLADE_FILES) $(INSTALL_LIBDIR)
|
2005-11-03 21:53:20 +00:00
|
|
|
install -m 644 sediff_help.txt $(INSTALL_LIBDIR)
|
2005-05-23 18:59:57 +00:00
|
|
|
|