From 4ac678e6acc692f08ef514737a03a889801de5d43ae8fcbd3cb550e14f077947 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 7 Nov 2013 10:20:19 +0000 Subject: [PATCH] Accepting request 205369 from home:posophe:branches:security:SELinux - Update to version 2.2 * Avoid duplicate list entries * Add audit support to libsemanage * Remove policy.kern and replace with symlink * Apply a MAX_UID check for genhomedircon * Fix man pages - Add audit-devel BuildRequires; new dependency - Add fdupes BuildRequires and use it to symlink duplicate manpages OBS-URL: https://build.opensuse.org/request/show/205369 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsemanage?expand=0&rev=47 --- libsemanage-2.1.10.tar.gz | 3 --- libsemanage-2.2.tar.gz | 3 +++ libsemanage.changes | 12 ++++++++++++ libsemanage.spec | 8 ++++++-- python-semanage.changes | 12 ++++++++++++ python-semanage.spec | 5 +++-- 6 files changed, 36 insertions(+), 7 deletions(-) delete mode 100644 libsemanage-2.1.10.tar.gz create mode 100644 libsemanage-2.2.tar.gz diff --git a/libsemanage-2.1.10.tar.gz b/libsemanage-2.1.10.tar.gz deleted file mode 100644 index 7a24d6d..0000000 --- a/libsemanage-2.1.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de2e8077245581e94576276f54e80a53c23c28d6961d2dfbe2f004eaba452e91 -size 136757 diff --git a/libsemanage-2.2.tar.gz b/libsemanage-2.2.tar.gz new file mode 100644 index 0000000..59f1f97 --- /dev/null +++ b/libsemanage-2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11f60bfa0f1c6063cd9bd99ce0cb4acc9d6d9e9b8d7743d39e847bcd7803bd75 +size 138208 diff --git a/libsemanage.changes b/libsemanage.changes index 569fe68..19d46a4 100644 --- a/libsemanage.changes +++ b/libsemanage.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Oct 31 13:55:06 UTC 2013 - p.drouand@gmail.com + +- Update to version 2.2 + * Avoid duplicate list entries + * Add audit support to libsemanage + * Remove policy.kern and replace with symlink + * Apply a MAX_UID check for genhomedircon + * Fix man pages +- Add audit-devel BuildRequires; new dependency +- Add fdupes BuildRequires and use it to symlink duplicate manpages + ------------------------------------------------------------------- Thu Jun 27 14:56:37 UTC 2013 - vcizek@suse.com diff --git a/libsemanage.spec b/libsemanage.spec index fbb1be8..21c6997 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -16,7 +16,9 @@ # +BuildRequires: audit-devel BuildRequires: bison +BuildRequires: fdupes BuildRequires: flex BuildRequires: libbz2-devel BuildRequires: libselinux-devel @@ -24,13 +26,13 @@ BuildRequires: libsepol-devel BuildRequires: libustr-devel Name: libsemanage -Version: 2.1.10 +Version: 2.2 Release: 0 Summary: SELinux binary policy manipulation library License: LGPL-2.1+ Group: System/Libraries Url: http://userspace.selinuxproject.org/ -Source: http://userspace.selinuxproject.org/releases/20130423/%{name}-%{version}.tar.gz +Source: http://userspace.selinuxproject.org/releases/20131030/%{name}-%{version}.tar.gz Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -104,6 +106,8 @@ mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_includedir} make DESTDIR=%{buildroot} LIBDIR="%{buildroot}%{_libdir}" SHLIBDIR="%{buildroot}/%{_lib}" install ln -sf /%{_lib}/libsemanage.so.1 %{buildroot}/%{_libdir}/libsemanage.so +# Remove duplicate files +%fdupes -s %{buildroot}%{_mandir} %post -n libsemanage1 -p /sbin/ldconfig diff --git a/python-semanage.changes b/python-semanage.changes index e85599d..175aa7e 100644 --- a/python-semanage.changes +++ b/python-semanage.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Oct 31 13:55:06 UTC 2013 - p.drouand@gmail.com + +- Update to version 2.2 + * Avoid duplicate list entries + * Add audit support to libsemanage + * Remove policy.kern and replace with symlink + * Apply a MAX_UID check for genhomedircon + * Fix man pages +- Add audit-devel BuildRequires; new dependency +- Add fdupes BuildRequires and use it to symlink duplicate manpages + ------------------------------------------------------------------- Thu Jun 27 14:57:01 UTC 2013 - vcizek@suse.com diff --git a/python-semanage.spec b/python-semanage.spec index 22a313d..1954b79 100644 --- a/python-semanage.spec +++ b/python-semanage.spec @@ -16,6 +16,7 @@ # +BuildRequires: audit-devel BuildRequires: bison BuildRequires: flex BuildRequires: libbz2-devel @@ -26,13 +27,13 @@ BuildRequires: python-devel BuildRequires: swig Name: python-semanage -Version: 2.1.10 +Version: 2.2 Release: 0 Summary: Python bindings for libsemanage License: LGPL-2.1 Group: Development/Languages/Python Url: http://www.nsa.gov/selinux/ -Source: http://userspace.selinuxproject.org/releases/20130423/libsemanage-%{version}.tar.gz +Source: http://userspace.selinuxproject.org/releases/20131030/libsemanage-%{version}.tar.gz Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: libsemanage1 = %{version}