All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joshua Brindle" <JBrindle@snu.edu>
To: <bam@snoopy.apana.org.au>, <selinux@tycho.nsa.gov>
Subject: Patch for selinux automake
Date: Mon, 25 Nov 2002 14:05:12 -0600	[thread overview]
Message-ID: <sde22e24.022@atlas.snu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

Here is the patch to add the include dir's for the Makefile.in for the
directories listed in my last post. 
this successfully compiles the entire package, here is what i did

./configure --with-lsm=/usr/src/linux-2.4.19-selinux/
make
make DESTDIR=/root/selinux-build install

and everything is in /root/selinux-build/usr  EXCELLENT..
the only problem i had is if i tried to do ../selinux-build install
complained and said it needed an absolute pathname and nothing got
installed, not a problem for me since my package installer will use
absolute paths but it may be a problem to someone manually installing,
Thanks a lot, this will help me tremendously..

Joshua Brindle
UNIX Administrator
Southern Nazarene University

[-- Attachment #2: selinux-automake-patch.diff --]
[-- Type: application/octet-stream, Size: 3690 bytes --]

diff -uNr selinux-small-2002102211-method/devfsd/Makefile.in selinux-small-2002102211/devfsd/Makefile.in
--- selinux-small-2002102211-method/devfsd/Makefile.in	2002-11-25 08:04:02.000000000 -0600
+++ selinux-small-2002102211/devfsd/Makefile.in	2002-11-19 19:45:41.000000000 -0600
@@ -84,7 +84,7 @@
 VERSION = @VERSION@
 YACC = @YACC@
 
-INCLUDES = -I$(top_srcdir)/libsecure/include -I$(MODDIR)/include
+INCLUDES = -I$(top_srcdir)/libsecure/include
 LIBS = $(top_builddir)/libsecure/src/libsecure.a
 
 pkglib_LTLIBRARIES = devfsd-se.la
diff -uNr selinux-small-2002102211-method/libsecure/test/Makefile.in selinux-small-2002102211/libsecure/test/Makefile.in
--- selinux-small-2002102211-method/libsecure/test/Makefile.in	2002-11-25 08:02:37.000000000 -0600
+++ selinux-small-2002102211/libsecure/test/Makefile.in	2002-11-19 19:45:37.000000000 -0600
@@ -84,7 +84,7 @@
 VERSION = @VERSION@
 YACC = @YACC@
 
-INCLUDES = -I$(top_srcdir)/libsecure/include -I$(MODDIR)/include
+INCLUDES = -I$(top_srcdir)/libsecure/include
 LIBS = $(top_builddir)/libsecure/src/libsecure.a 
 
 bin_PROGRAMS = avc_enforcing avc_toggle chsid chsidfs compute_av 	context_to_sid exec_s getsecsid get_user_sids ichsid lchsid 	list_sids load_policy lstat_s mkdir_s msgget_s msgrcv_s 	msgsid msgsnd_s popen_s security_mls semget_s semsid 	shmget_s shmsid sid_to_context statfs_s stat_s tcp_client 	tcp_server udp_client udp_server unix_dgram_client unix_dgram_server 	unix_stream_client unix_stream_server
diff -uNr selinux-small-2002102211-method/setfiles/Makefile.in selinux-small-2002102211/setfiles/Makefile.in
--- selinux-small-2002102211-method/setfiles/Makefile.in	2002-11-25 08:02:57.000000000 -0600
+++ selinux-small-2002102211/setfiles/Makefile.in	2002-11-19 19:45:38.000000000 -0600
@@ -84,7 +84,7 @@
 VERSION = @VERSION@
 YACC = @YACC@
 
-INCLUDES = -I$(top_srcdir)/libsecure/include -I$(MODDIR)/include
+INCLUDES = -I$(top_srcdir)/libsecure/include
 LIBS = $(top_builddir)/libsecure/src/libsecure.a
 
 bin_PROGRAMS = setfiles
diff -uNr selinux-small-2002102211-method/utils/newrole/Makefile.in selinux-small-2002102211/utils/newrole/Makefile.in
--- selinux-small-2002102211-method/utils/newrole/Makefile.in	2002-11-25 08:03:20.000000000 -0600
+++ selinux-small-2002102211/utils/newrole/Makefile.in	2002-11-19 19:45:39.000000000 -0600
@@ -84,7 +84,7 @@
 VERSION = @VERSION@
 YACC = @YACC@
 
-INCLUDES = -I$(top_srcdir)/libsecure/include -I$(MODDIR)/include
+INCLUDES = -I$(top_srcdir)/libsecure/include
 LIBS = $(top_builddir)/libsecure/src/libsecure.a -lcrypt
 
 bin_PROGRAMS = newrole
diff -uNr selinux-small-2002102211-method/utils/run_init/Makefile.in selinux-small-2002102211/utils/run_init/Makefile.in
--- selinux-small-2002102211-method/utils/run_init/Makefile.in	2002-11-25 08:03:36.000000000 -0600
+++ selinux-small-2002102211/utils/run_init/Makefile.in	2002-11-19 19:45:40.000000000 -0600
@@ -84,7 +84,7 @@
 VERSION = @VERSION@
 YACC = @YACC@
 
-INCLUDES = -I$(top_srcdir)/libsecure/include -I$(MODDIR)/include
+INCLUDES = -I$(top_srcdir)/libsecure/include
 LIBS = $(top_builddir)/libsecure/src/libsecure.a -lcrypt
 
 sbin_PROGRAMS = run_init
diff -uNr selinux-small-2002102211-method/utils/spasswd/Makefile.in selinux-small-2002102211/utils/spasswd/Makefile.in
--- selinux-small-2002102211-method/utils/spasswd/Makefile.in	2002-11-25 08:03:48.000000000 -0600
+++ selinux-small-2002102211/utils/spasswd/Makefile.in	2002-11-19 19:45:40.000000000 -0600
@@ -84,7 +84,7 @@
 VERSION = @VERSION@
 YACC = @YACC@
 
-INCLUDES = -I$(top_srcdir)/libsecure/include -I$(MODDIR)/include
+INCLUDES = -I$(top_srcdir)/libsecure/include
 LIBS = $(top_builddir)/libsecure/src/libsecure.a -lcrypt
 
 EXTRA_DIST = README

             reply	other threads:[~2002-11-25 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-25 20:05 Joshua Brindle [this message]
2002-11-26  1:01 ` Patch for selinux automake Brian May

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sde22e24.022@atlas.snu.edu \
    --to=jbrindle@snu.edu \
    --cc=bam@snoopy.apana.org.au \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.