Hello community,

here is the log from the commit of package checkpolicy for openSUSE:Factory 
checked in at 2013-11-07 14:42:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/checkpolicy (Old)
 and      /work/SRC/openSUSE:Factory/.checkpolicy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "checkpolicy"

Changes:
--------
--- /work/SRC/openSUSE:Factory/checkpolicy/checkpolicy.changes  2013-07-02 
06:44:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.checkpolicy.new/checkpolicy.changes     
2013-11-07 14:42:14.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Oct 31 13:41:13 UTC 2013 - [email protected]
+
+- Update to version 2.2
+  * Fix hyphen usage in man pages
+  * handle-unknown / -U required argument fix
+  * Support overriding Makefile PATH and LIBDIR
+  * Support space and : in filenames
+- Remove checkpolicy-rhat.patch; fixed on upstream
+
+-------------------------------------------------------------------

Old:
----
  checkpolicy-2.1.12.tar.gz
  checkpolicy-rhat.patch

New:
----
  checkpolicy-2.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ checkpolicy.spec ++++++
--- /var/tmp/diff_new_pack.gfjSkI/_old  2013-11-07 14:42:15.000000000 +0100
+++ /var/tmp/diff_new_pack.gfjSkI/_new  2013-11-07 14:42:15.000000000 +0100
@@ -16,21 +16,20 @@
 #
 
 
-%define libsepol_ver 2.1.9
+%define libsepol_ver 2.2
 BuildRequires:  bison
 BuildRequires:  flex-old
 BuildRequires:  libselinux-devel
 BuildRequires:  libsepol-devel-static >= %{libsepol_ver}
 
 Name:           checkpolicy
-Version:        2.1.12
+Version:        2.2
 Release:        0
 Url:            http://userspace.selinuxproject.org/
 Summary:        SELinux policy compiler
 License:        GPL-2.0+
 Group:          Productivity/Security
-Source:         
http://userspace.selinuxproject.org/releases/20130423/%{name}-%{version}.tar.gz
-Patch0:         %{name}-rhat.patch
+Source:         
http://userspace.selinuxproject.org/releases/20131030/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -51,7 +50,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 make clean

++++++ checkpolicy-2.1.12.tar.gz -> checkpolicy-2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkpolicy-2.1.12/ChangeLog 
new/checkpolicy-2.2/ChangeLog
--- old/checkpolicy-2.1.12/ChangeLog    2013-02-06 02:43:22.000000000 +0100
+++ new/checkpolicy-2.2/ChangeLog       2013-10-30 17:51:19.000000000 +0100
@@ -1,3 +1,9 @@
+2.2 2013-10-30
+       * Fix hyphen usage in man pages from Laurent Bigonville.
+       * handle-unknown / -U required argument fix from Laurent Bigonville.
+       * Support overriding Makefile PATH and LIBDIR from Laurent Bigonville.
+       * Support space and : in filenames from Dan Walsh.
+
 2.1.12 2013-02-01
        * Fix errors found by coverity
        * implement default type policy syntax
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkpolicy-2.1.12/VERSION 
new/checkpolicy-2.2/VERSION
--- old/checkpolicy-2.1.12/VERSION      2013-02-06 02:43:22.000000000 +0100
+++ new/checkpolicy-2.2/VERSION 2013-10-30 17:51:19.000000000 +0100
@@ -1 +1 @@
-2.1.12
+2.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkpolicy-2.1.12/checkmodule.8 
new/checkpolicy-2.2/checkmodule.8
--- old/checkpolicy-2.1.12/checkmodule.8        2013-02-06 02:43:22.000000000 
+0100
+++ new/checkpolicy-2.2/checkmodule.8   2013-10-30 17:51:19.000000000 +0100
@@ -3,7 +3,7 @@
 checkmodule \- SELinux policy module compiler
 .SH SYNOPSIS
 .B checkmodule
-.I "[-h] [-b] [-m] [-M] [-U handle_unknown ] [-V] [-o output_file] 
[input_file]"
+.I "[\-h] [\-b] [\-m] [\-M] [\-U handle_unknown ] [\-V] [\-o output_file] 
[input_file]"
 .SH "DESCRIPTION"
 This manual page describes the
 .BR checkmodule
@@ -12,7 +12,7 @@
 .B checkmodule
 is a program that checks and compiles a SELinux security policy module
 into a binary representation.  It can generate either a base policy
-module (default) or a non-base policy module (-m option); typically,
+module (default) or a non-base policy module (\-m option); typically,
 you would build a non-base policy module to add to an existing module
 store that already has a base module provided by the base policy.  Use
 semodule_package to combine this module with its optional file
@@ -48,7 +48,7 @@
 .SH EXAMPLE
 .nf
 # Build a MLS/MCS-enabled non-base policy module.
-$ checkmodule -M -m httpd.te -o httpd.mod
+$ checkmodule \-M \-m httpd.te \-o httpd.mod
 .fi
 
 .SH "SEE ALSO"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkpolicy-2.1.12/checkmodule.c 
new/checkpolicy-2.2/checkmodule.c
--- old/checkpolicy-2.1.12/checkmodule.c        2013-02-06 02:43:22.000000000 
+0100
+++ new/checkpolicy-2.2/checkmodule.c   2013-10-30 17:51:19.000000000 +0100
@@ -171,7 +171,7 @@
                {"output", required_argument, NULL, 'o'},
                {"binary", no_argument, NULL, 'b'},
                {"version", no_argument, NULL, 'V'},
-               {"handle-unknown", optional_argument, NULL, 'U'},
+               {"handle-unknown", required_argument, NULL, 'U'},
                {"mls", no_argument, NULL, 'M'},
                {NULL, 0, NULL, 0}
        };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkpolicy-2.1.12/checkpolicy.8 
new/checkpolicy-2.2/checkpolicy.8
--- old/checkpolicy-2.1.12/checkpolicy.8        2013-02-06 02:43:22.000000000 
+0100
+++ new/checkpolicy-2.2/checkpolicy.8   2013-10-30 17:51:19.000000000 +0100
@@ -3,7 +3,7 @@
 checkpolicy \- SELinux policy compiler
 .SH SYNOPSIS
 .B checkpolicy
-.I "[-b] [-d] [-M] [-c policyvers] [-o output_file] [input_file]"
+.I "[\-b] [\-d] [\-M] [\-c policyvers] [\-o output_file] [input_file]"
 .br
 .SH "DESCRIPTION"
 This manual page describes the
@@ -14,7 +14,7 @@
 is a program that checks and compiles a SELinux security policy configuration
 into a binary representation that can be loaded into the kernel.  If no 
 input file name is specified, checkpolicy will attempt to read from
-policy.conf or policy, depending on whether the -b flag is specified.
+policy.conf or policy, depending on whether the \-b flag is specified.
 
 .SH OPTIONS
 .TP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkpolicy-2.1.12/checkpolicy.c 
new/checkpolicy-2.2/checkpolicy.c
--- old/checkpolicy-2.1.12/checkpolicy.c        2013-02-06 02:43:22.000000000 
+0100
+++ new/checkpolicy-2.2/checkpolicy.c   2013-10-30 17:51:19.000000000 +0100
@@ -402,7 +402,7 @@
                {"binary", no_argument, NULL, 'b'},
                {"debug", no_argument, NULL, 'd'},
                {"version", no_argument, NULL, 'V'},
-               {"handle-unknown", optional_argument, NULL, 'U'},
+               {"handle-unknown", required_argument, NULL, 'U'},
                {"mls", no_argument, NULL, 'M'},
                {"help", no_argument, NULL, 'h'},
                {NULL, 0, NULL, 0}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkpolicy-2.1.12/policy_scan.l 
new/checkpolicy-2.2/policy_scan.l
--- old/checkpolicy-2.1.12/policy_scan.l        2013-02-06 02:43:22.000000000 
+0100
+++ new/checkpolicy-2.2/policy_scan.l   2013-10-30 17:51:19.000000000 +0100
@@ -240,7 +240,7 @@
 low |
 LOW                            { return(LOW); }
 "/"({alnum}|[_\.\-/])*         { return(PATH); }
-\"({alnum}|[_\.\-\+\~])+\"     { return(FILENAME); }
+\"({alnum}|[_\.\-\+\~\: ])+\"  { return(FILENAME); }
 {letter}({alnum}|[_\-])*([\.]?({alnum}|[_\-]))*        { return(IDENTIFIER); }
 {alnum}*{letter}{alnum}*        { return(FILESYSTEM); }
 {digit}+|0x{hexval}+            { return(NUMBER); }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkpolicy-2.1.12/test/Makefile 
new/checkpolicy-2.2/test/Makefile
--- old/checkpolicy-2.1.12/test/Makefile        2013-02-06 02:43:22.000000000 
+0100
+++ new/checkpolicy-2.2/test/Makefile   2013-10-30 17:51:19.000000000 +0100
@@ -3,7 +3,7 @@
 #
 PREFIX ?= $(DESTDIR)/usr
 BINDIR=$(PREFIX)/bin
-LIBDIR=$(PREFIX)/lib
+LIBDIR ?= $(PREFIX)/lib
 INCLUDEDIR ?= $(PREFIX)/include
 
 CFLAGS ?= -g -Wall -W -Werror -O2 -pipe

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to