* Patch to install selinux python with correct permissions.
@ 2008-01-08 10:19 Daniel J Walsh
2008-01-23 13:51 ` Stephen Smalley
0 siblings, 1 reply; 3+ messages in thread
From: Daniel J Walsh @ 2008-01-08 10:19 UTC (permalink / raw)
To: Stephen Smalley, SE Linux
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 867 bytes --]
diff --exclude-from=exclude -N -u -r nsalibselinux/src/Makefile libselinux-2.0.46/src/Makefile
--- nsalibselinux/src/Makefile 2007-09-26 19:37:45.000000000 -0400
+++ libselinux-2.0.46/src/Makefile 2008-01-05 08:19:27.000000000 -0500
@@ -77,14 +77,14 @@
install: all
test -d $(LIBDIR) || install -m 755 -d $(LIBDIR)
- install -m 644 $(LIBA) $(LIBDIR)
test -d $(SHLIBDIR) || install -m 755 -d $(SHLIBDIR)
install -m 755 $(LIBSO) $(SHLIBDIR)
cd $(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET)
install-pywrap: pywrap
test -d $(PYTHONLIBDIR)/site-packages || install -m 755 -d $(PYTHONLIBDIR)/site-packages
- install -m 755 $(SWIGFILES) $(PYTHONLIBDIR)/site-packages
+ install -m 755 $(SWIGSO) $(PYTHONLIBDIR)/site-packages
+ install -m 644 selinux.py $(PYTHONLIBDIR)/site-packages
relabel:
/sbin/restorecon $(SHLIBDIR)/$(LIBSO)
[-- Attachment #3: diff.sig --]
[-- Type: application/octet-stream, Size: 72 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Patch to install selinux python with correct permissions.
2008-01-08 10:19 Patch to install selinux python with correct permissions Daniel J Walsh
@ 2008-01-23 13:51 ` Stephen Smalley
2008-01-23 20:04 ` Daniel J Walsh
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Smalley @ 2008-01-23 13:51 UTC (permalink / raw)
To: Daniel J Walsh; +Cc: SE Linux
On Tue, 2008-01-08 at 05:19 -0500, Daniel J Walsh wrote:
> plain text document attachment (diff)
> diff --exclude-from=exclude -N -u -r nsalibselinux/src/Makefile libselinux-2.0.46/src/Makefile
> --- nsalibselinux/src/Makefile 2007-09-26 19:37:45.000000000 -0400
> +++ libselinux-2.0.46/src/Makefile 2008-01-05 08:19:27.000000000 -0500
> @@ -77,14 +77,14 @@
>
> install: all
> test -d $(LIBDIR) || install -m 755 -d $(LIBDIR)
> - install -m 644 $(LIBA) $(LIBDIR)
Why remove the static library from the install target? We still want it
installable via some target.
> test -d $(SHLIBDIR) || install -m 755 -d $(SHLIBDIR)
> install -m 755 $(LIBSO) $(SHLIBDIR)
> cd $(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET)
>
> install-pywrap: pywrap
> test -d $(PYTHONLIBDIR)/site-packages || install -m 755 -d $(PYTHONLIBDIR)/site-packages
> - install -m 755 $(SWIGFILES) $(PYTHONLIBDIR)/site-packages
> + install -m 755 $(SWIGSO) $(PYTHONLIBDIR)/site-packages
> + install -m 644 selinux.py $(PYTHONLIBDIR)/site-packages
So is there much point in keeping SWIGFILES around then? Also used in
clean: at present, but that's the only remaining use. And presumably
the same change should happen to libsemanage?
> relabel:
> /sbin/restorecon $(SHLIBDIR)/$(LIBSO)
--
Stephen Smalley
National Security Agency
--
This message was distributed to subscribers of the selinux mailing 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Patch to install selinux python with correct permissions.
2008-01-23 13:51 ` Stephen Smalley
@ 2008-01-23 20:04 ` Daniel J Walsh
0 siblings, 0 replies; 3+ messages in thread
From: Daniel J Walsh @ 2008-01-23 20:04 UTC (permalink / raw)
To: Stephen Smalley; +Cc: SE Linux
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stephen Smalley wrote:
> On Tue, 2008-01-08 at 05:19 -0500, Daniel J Walsh wrote:
>> plain text document attachment (diff)
>> diff --exclude-from=exclude -N -u -r nsalibselinux/src/Makefile libselinux-2.0.46/src/Makefile
>> --- nsalibselinux/src/Makefile 2007-09-26 19:37:45.000000000 -0400
>> +++ libselinux-2.0.46/src/Makefile 2008-01-05 08:19:27.000000000 -0500
>> @@ -77,14 +77,14 @@
>>
>> install: all
>> test -d $(LIBDIR) || install -m 755 -d $(LIBDIR)
>> - install -m 644 $(LIBA) $(LIBDIR)
>
> Why remove the static library from the install target? We still want it
> installable via some target.
>
Yes we should not do this.
>> test -d $(SHLIBDIR) || install -m 755 -d $(SHLIBDIR)
>> install -m 755 $(LIBSO) $(SHLIBDIR)
>> cd $(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET)
>>
>> install-pywrap: pywrap
>> test -d $(PYTHONLIBDIR)/site-packages || install -m 755 -d $(PYTHONLIBDIR)/site-packages
>> - install -m 755 $(SWIGFILES) $(PYTHONLIBDIR)/site-packages
>> + install -m 755 $(SWIGSO) $(PYTHONLIBDIR)/site-packages
>> + install -m 644 selinux.py $(PYTHONLIBDIR)/site-packages
>
> So is there much point in keeping SWIGFILES around then? Also used in
> clean: at present, but that's the only remaining use. And presumably
> the same change should happen to libsemanage?
>
I don't think so. I would remove them and spell it out.
>> relabel:
>> /sbin/restorecon $(SHLIBDIR)/$(LIBSO)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkeXncsACgkQrlYvE4MpobOx1wCgrqcLDl4mtY7Yf6biBsbmuLEy
830An2LE/elmxj8/VBZhLV0UxJmmp2Q2
=Z3kZ
-----END PGP SIGNATURE-----
--
This message was distributed to subscribers of the selinux mailing 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-23 20:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-08 10:19 Patch to install selinux python with correct permissions Daniel J Walsh
2008-01-23 13:51 ` Stephen Smalley
2008-01-23 20:04 ` Daniel J Walsh
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.