Skip top menus
National Security Agency and Central Security Service with agency logos.NSA/CSS Memorial Wall
Home    About NSA    Research    Business    Careers    Public Info    History
Introduction to Research    Security-Enhanced Linux    Information Assurance Research    Technology Transfer    Publications    Related Links

>>SELinux Mailing List: by thread

Search
What's new?
Contents
Overview
What's New
Frequently Asked Questions
Background
Documentation
License
Download
Participating
Mail List
Archive Summary
Archive by Thread
Archive by Author
Archive by Date
Archive by Subject
Remaining Work
Contributors
Related Work
Press Releases
  • Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]
From: Dale Amon <amon_at_vnl.com>
subject: No consistancy in Make variable names
Date: Sun, 16 Dec 2001 03:24:08 +0000
  • This message: [ Message body ]
  • Next message: Shaun Savage: "iptables.te errors"
  • Previous message: Hans Reiser: "Re: persistent labelling on afs, jfs, xfs?"
  • Next in thread: Dale Amon: "Re: No consistancy in Make variable names"
  • Reply: Dale Amon: "Re: No consistancy in Make variable names"
  • Reply: Stephen Smalley: "Re: No consistancy in Make variable names"


I'm trying to modify the Makefile's for building to a target build directory and/or an install time selected destination, ie /usr vs /usr/local.

The biggest difficulty I'm having is a lack of consistancy in labeling. DESTDIR means one thing in one of the makefiles and something entirely different in another.

It really would be a good idea to clean up this nomenclature.

I was going to use DESTDIR for the target root and BASEDIR for the location of selinux; I've just run into other uses of DESTDIR that will force me to start over with a less standard labelling.

util is the biggest hassle to modify needless to say.

--


    Nuke bin Laden:           Dale Amon, CEO/MD
  improve the global          Islandone Society
     gene pool.               www.islandone.org

------------------------------------------------------

--

You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.

From: Dale Amon <amon_at_vnl.com>
subject: Re: No consistancy in Make variable names
Date: Mon, 17 Dec 2001 03:15:31 +0000
  • This message: [ Message body ]
  • Next message: Shaun Savage: "Re: iptables.te errors"
  • Previous message: Paul Krumviede: "Re: iptables.te errors"
  • In reply to: Dale Amon: "No consistancy in Make variable names"
  • Next in thread: Stephen Smalley: "Re: No consistancy in Make variable names"


On Sun, Dec 16, 2001 at 03:24:08AM +0000, Dale Amon wrote:
> I was going to use DESTDIR for the target root
> and BASEDIR for the location of selinux; I've just
> run into other uses of DESTDIR that will force me
> to start over with a less standard labelling.
>
> util is the biggest hassle to modify needless to
> say.

I might add that I'm getting close. I've a patch that sets all of the makefiles to allow use of

        BUILDDIR
and/or

        SBASEDIR
which default to

	BUILDDIR=
	SBASEDIR=$(BUILDDIR)/usr/local 

I'll have to run down loads of probs yet I'm sure, but I'm close to getting everything installed relative to a buildroot rather than /.

I just know there will be a few compiled in paths to sort out and I'm already suspicious of the USRSBINDIR setting in MCONFIG but haven't checked what it is doing yet.

-- 
------------------------------------------------------
    Nuke bin Laden:           Dale Amon, CEO/MD
  improve the global          Islandone Society
     gene pool.               www.islandone.org
------------------------------------------------------

--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
From: Stephen Smalley <sds_at_tislabs.com>
subject: Re: No consistancy in Make variable names
Date: Mon, 17 Dec 2001 07:36:37 -0500 (EST)
  • This message: [ Message body ]
  • Next message: Stephen Smalley: "Re: iptables.te errors"
  • Previous message: Stephen Smalley: "Re: iptables.te errors"
  • In reply to: Dale Amon: "No consistancy in Make variable names"

On Sun, 16 Dec 2001, Dale Amon wrote:

> The biggest difficulty I'm having is a lack of
> consistancy in labeling. DESTDIR means one thing
> in one of the makefiles and something entirely
> different in another.
>
> It really would be a good idea to clean up this
> nomenclature.

This isn't a priority for us, but we'll gratefully accept patches to make the Makefiles consistent. While you can freely modify the Makefiles that are completely "new" in SELinux, you should seek to minimize changes to the Makefiles for the modified daemons and utilities, since we would like to keep the patches against these packages small and to the point.

--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com




--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
  • Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:54 EDT

Information Assurance | Signals & Intelligence        Links | Accessibility | Privacy & Security