From f991fab43a0636a950d683aa504204bc0f942e15 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 07:45:16 +0000 Subject: auto-import libselinux-1.17.3-1 from libselinux-1.17.3-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index 6e336fb..fd16cb8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -libselinux-1.17.2.tgz +libselinux-1.17.3.tgz diff --git a/libselinux-rhat.patch b/libselinux-rhat.patch deleted file mode 100644 index 3d8c5bf..0000000 --- a/libselinux-rhat.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- libselinux-1.17.2/man/man3/matchpathcon.3.rhat 2004-08-26 08:37:17.533537517 -0400 -+++ libselinux-1.17.2/man/man3/matchpathcon.3 2004-08-26 08:36:21.061471154 -0400 -@@ -0,0 +1,26 @@ -+.TH "matchpathcon" "3" "1 August 2004" "dwalsh@redhat.com" "SE Linux API documentation" -+.SH "NAME" -+matchpathcon \- get the default security context for the specified file from the policy. -+ -+.SH "SYNOPSIS" -+.B #include -+.sp -+.BI "int matchpathcon(const char *" path ", mode_t " mode ", security_context_t *" con);" -+.br -+ -+.SH "DESCRIPTION" -+.br -+.B matchpathcon -+matches the specified pathname and mode against the file contexts configuration and set the security context "con" to refer to the resulting context. "mode" can be 0 to disable mode matching. -+.sp -+.br -+.B Note: -+ Caller must free returned security context "con" using freecon. -+.SH "RETURN VALUE" -+On error -1 is returned. -+ -+On success matchpathcon returns the length of the context (not including -+the trailing zero byte). -+ -+.SH "SEE ALSO" -+.BR freecon "(3), " setfilecon "(3), " setfscreatecon "(3)" diff --git a/libselinux.spec b/libselinux.spec index 66998b7..25b1001 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -1,11 +1,11 @@ Summary: SELinux library and simple utilities Name: libselinux -Version: 1.17.2 +Version: 1.17.3 Release: 1 License: Public domain (uncopyrighted) Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz -Patch: libselinux-rhat.patch +#Patch: libselinux-rhat.patch Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-buildroot Provides: libselinux.so @@ -36,7 +36,7 @@ needed for developing SELinux applications. %prep %setup -q -%patch -p1 -b .rhat +#%patch -p1 -b .rhat %build make @@ -70,6 +70,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man8/* %changelog +* Fri Aug 26 2004 Dan Walsh 1.17.3-1 +- Update from NSA + * Thu Aug 26 2004 Dan Walsh 1.17.2-1 - Add matchpathcon man page - Latest from NSA diff --git a/sources b/sources index 1ee0c78..2716c4c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c72818585fd04d8edb27948167827869 libselinux-1.17.2.tgz +aaac123872e26e336caf630439edb517 libselinux-1.17.3.tgz