From ea56feab06943bf60ba5291f86687a3ee9b83f06 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Sun, 29 Jun 2008 12:31:00 +0000 Subject: [PATCH] - Add Karel Zak patch for freecon man page --- libselinux-rhat.patch | 27 +++++++++++++++++++++------ libselinux.spec | 5 ++++- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/libselinux-rhat.patch b/libselinux-rhat.patch index e96c8fb..c3a1481 100644 --- a/libselinux-rhat.patch +++ b/libselinux-rhat.patch @@ -1,6 +1,21 @@ -diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/selinuxconlist.8 libselinux-2.0.65/man/man8/selinuxconlist.8 +diff --exclude-from=exclude -N -u -r nsalibselinux/man/man3/freecon.3 libselinux-2.0.67/man/man3/freecon.3 +--- nsalibselinux/man/man3/freecon.3 2008-06-12 23:25:12.000000000 -0400 ++++ libselinux-2.0.67/man/man3/freecon.3 2008-06-29 08:28:37.000000000 -0400 +@@ -15,6 +15,11 @@ + .B freeconary + frees the memory allocated for a context array. + ++If ++.I con ++is NULL, no operation is performed. ++ ++ + .SH "SEE ALSO" + .BR selinux "(8)" + +diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/selinuxconlist.8 libselinux-2.0.67/man/man8/selinuxconlist.8 --- nsalibselinux/man/man8/selinuxconlist.8 1969-12-31 19:00:00.000000000 -0500 -+++ libselinux-2.0.65/man/man8/selinuxconlist.8 2008-06-22 09:46:55.000000000 -0400 ++++ libselinux-2.0.67/man/man8/selinuxconlist.8 2008-06-29 08:27:30.000000000 -0400 @@ -0,0 +1,18 @@ +.TH "selinuxconlist" "1" "7 May 2008" "dwalsh@redhat.com" "SELinux Command Line documentation" +.SH "NAME" @@ -20,9 +35,9 @@ diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/selinuxconlist.8 lib + +.SH "SEE ALSO" +secon(8), selinuxdefcon(8) -diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/selinuxdefcon.8 libselinux-2.0.65/man/man8/selinuxdefcon.8 +diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/selinuxdefcon.8 libselinux-2.0.67/man/man8/selinuxdefcon.8 --- nsalibselinux/man/man8/selinuxdefcon.8 1969-12-31 19:00:00.000000000 -0500 -+++ libselinux-2.0.65/man/man8/selinuxdefcon.8 2008-06-22 09:46:55.000000000 -0400 ++++ libselinux-2.0.67/man/man8/selinuxdefcon.8 2008-06-29 08:27:30.000000000 -0400 @@ -0,0 +1,19 @@ +.TH "selinuxdefcon" "1" "7 May 2008" "dwalsh@redhat.com" "SELinux Command Line documentation" +.SH "NAME" @@ -43,9 +58,9 @@ diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/selinuxdefcon.8 libs + +.SH "SEE ALSO" +secon(8), selinuxconlist(8) -diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.65/src/matchpathcon.c +diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.67/src/matchpathcon.c --- nsalibselinux/src/matchpathcon.c 2008-06-12 23:25:14.000000000 -0400 -+++ libselinux-2.0.65/src/matchpathcon.c 2008-06-22 09:46:55.000000000 -0400 ++++ libselinux-2.0.67/src/matchpathcon.c 2008-06-29 08:27:30.000000000 -0400 @@ -2,6 +2,7 @@ #include #include diff --git a/libselinux.spec b/libselinux.spec index 31fe6b4..a6f7840 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -4,7 +4,7 @@ Summary: SELinux library and simple utilities Name: libselinux Version: 2.0.67 -Release: 1%{?dist} +Release: 2%{?dist} License: Public Domain Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz @@ -136,6 +136,9 @@ exit 0 %{python_sitearch}/selinux/* %changelog +* Sun Jun 29 2008 Dan Walsh - 2.0.67-2 +- Add Karel Zak patch for freecon man page + * Sun Jun 22 2008 Dan Walsh - 2.0.67-1 - Update to Upstream * New and revised AVC, label, and mapping man pages from Eamon Walsh.