Skip to contentSkip to conversation

patch to install libsecure man pages

PATCH Carsten Grohmann 3 participants 4 messages Oct 24, 2002 – Oct 28, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

The attached patch help you to install the man pages from libsecure/man to /usr/local/selinux/man.

Carsten

libsecure/Makefile +1 -0
diff -ur --new-file old/libsecure/Makefile selinux/libsecure/Makefile
@@ -6,6 +6,7 @@
 	$(MAKE) -C include install
 	$(MAKE) -C src install
 	$(MAKE) -C test install
+	$(MAKE) -C man install
 
 relabel:
 	$(MAKE) -C test relabel
libsecure/man/Makefile +7 -0
diff -ur --new-file old/libsecure/man/Makefile selinux/libsecure/man/Makefile
@@ -0,0 +1,7 @@
+MANDIR=/usr/local/selinux/man
+
+install : 
+	install -m 755  -o root -g root -d $(MANDIR)/man1/
+	install -m 755  -o root -g root -d $(MANDIR)/man2/
+	install -m 644 -o root -g root man1/*.1 $(MANDIR)/man1/
+	install -m 644 -o root -g root man2/*.2 $(MANDIR)/man2/
#1 lore raw
Quoted 2 lines · Carsten Grohmann

The attached patch help you to install the man pages from libsecure/man to /usr/local/selinux/man.

This may do for Slackware. But for RPM distributions like SUSE you should probably do something similar to what I did for Debian.

I diverted the original man pages for open(2) etc from open.2.gz to open.2.gz.non-se and then installed the SE Linux man pages into the regular places.

So "man 2 open" gives you the documentation on the open_secure() system call.

Otherwise people won't find them...

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw

Am Donnerstag, 24. Oktober 2002 11:54 schrieb Russell Coker:

Quoted 6 lines · Carsten Grohmann
Quoted 2 lines

The attached patch help you to install the man pages from libsecure/man to /usr/local/selinux/man.

This may do for Slackware. But for RPM distributions like SUSE you should probably do something similar to what I did for Debian.

This time I don't use the RPMs, I build my SELinux from the NSA-sources resp. from the CVS.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#3 lore raw
In reply to Carsten Grohmann
Quoted 2 lines · Carsten Grohmann

The attached patch help you to install the man pages from libsecure/man to /usr/local/selinux/man.

Thanks, merged.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.