- Add mcstransd man page

This commit is contained in:
Daniel J Walsh 2009-10-16 13:52:08 +00:00
parent 3c4870785a
commit 79dad5d65c
2 changed files with 37 additions and 2 deletions

29
mcstrans-0.3.1-man.patch Normal file
View File

@ -0,0 +1,29 @@
diff -up mcstrans-0.3.1/man/man8/mcstransd.8.man mcstrans-0.3.1/man/man8/mcstransd.8
--- mcstrans-0.3.1/man/man8/mcstransd.8.man 2009-10-16 09:50:45.000000000 -0400
+++ mcstrans-0.3.1/man/man8/mcstransd.8 2009-10-16 09:48:28.000000000 -0400
@@ -0,0 +1,25 @@
+.TH "mcstransd" "8" "16 Oct 2009" "dwalsh@redhat.com" "mcs documentation"
+.SH "NAME"
+mcstransd \- MCS (Multiple Category System) daemon. Translates SELinux MCS/MLS labels to human readable form.
+
+.SH "SYNOPSIS"
+.B mcstransd
+.P
+
+.SH "DESCRIPTION"
+This manual page describes the
+.BR mcstransd
+program.
+.P
+This daemon reads /etc/selinux/{SELINUXTYPE}/setrans.conf configuration file, and communicates with libselinux via a socket in /var/run/setrans.
+
+.SH "AUTHOR"
+This man page was written by Dan Walsh <dwalsh@redhat.com>.
+The program was originally written by Dan Walsh <dwalsh@redhat.com>.
+The program was enhanced/rwwritten by Joe Nall <joe@nall.com>.
+
+.SH "FILES"
+/etc/selinux/{SELINUXTYPE}/setrans.conf
+
+.SH "SEE ALSO"
+.BR mcs (8),

View File

@ -1,7 +1,7 @@
Summary: SELinux Translation Daemon
Name: mcstrans
Version: 0.3.1
Release: 3%{?dist}
Release: 4%{?dist}
License: GPL+
Group: System Environment/Daemons
Source: http://fedora.redhat.com/projects/%{name}-%{version}.tgz
@ -14,6 +14,7 @@ Requires(post):/sbin/chkconfig /sbin/service
Provides: setransd
Provides: libsetrans
Patch: mcstrans-0.3.1-init.patch
Patch1: mcstrans-0.3.1-man.patch
Obsoletes: libsetrans
%description
@ -32,7 +33,8 @@ from internal representations to user defined representation.
%prep
%setup -q
%patch -p1
%patch -p1 -b .init
%patch1 -p1 -b .man
%build
make clean
@ -73,6 +75,7 @@ fi
%files
%defattr(-,root,root,0755)
%{_mandir}/man8/mcs.8.gz
%{_mandir}/man8/mcstransd.8.gz
/sbin/mcstransd
%{_sysconfdir}/rc.d/init.d/mcstrans
%dir %{_sysconfdir}/selinux/mls/setrans.d
@ -88,6 +91,9 @@ fi
%{_usr}/share/mcstrans/util/*
%changelog
* Thu Oct 16 2009 Dan Walsh <dwalsh@redhat.com> 0.3.1-4
- Add mcstransd man page
* Thu Sep 17 2009 Miroslav Grepl <mgrepl@redhat.com> 0.3.1-3
- Fix init script