From 5145be61a00bc5e69d45c4fa98dc98b6fdcf51a9 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Oct 16 2009 13:53:08 +0000 Subject: - Add mcstransd man page --- diff --git a/mcstrans-0.3.1-man.patch b/mcstrans-0.3.1-man.patch new file mode 100644 index 0000000..498a728 --- /dev/null +++ b/mcstrans-0.3.1-man.patch @@ -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 . ++The program was originally written by Dan Walsh . ++The program was enhanced/rwwritten by Joe Nall . ++ ++.SH "FILES" ++/etc/selinux/{SELINUXTYPE}/setrans.conf ++ ++.SH "SEE ALSO" ++.BR mcs (8), diff --git a/mcstrans.spec b/mcstrans.spec index 226f575..25c25a0 100644 --- a/mcstrans.spec +++ b/mcstrans.spec @@ -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 0.3.1-4 +- Add mcstransd man page + * Thu Sep 17 2009 Miroslav Grepl 0.3.1-3 - Fix init script