From 6cfd46ae37f0b09825a41b61100e7c03c6a995b8b0534a3e97bb6c9edb2be203 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Wed, 3 Nov 2010 22:01:40 +0000 Subject: [PATCH 1/3] 0.6.5 OBS-URL: https://build.opensuse.org/package/show/security/libcap-ng?expand=0&rev=8 --- libcap-ng-0.6.4.tar.bz2 | 3 -- libcap-ng-0.6.5.tar.bz2 | 3 ++ libcap-ng-python.changes | 7 ++++ libcap-ng-python.spec | 86 +++++++++++++++------------------------- libcap-ng.changes | 7 ++++ libcap-ng.spec | 86 +++++++++++++++------------------------- 6 files changed, 79 insertions(+), 113 deletions(-) delete mode 100644 libcap-ng-0.6.4.tar.bz2 create mode 100644 libcap-ng-0.6.5.tar.bz2 diff --git a/libcap-ng-0.6.4.tar.bz2 b/libcap-ng-0.6.4.tar.bz2 deleted file mode 100644 index 46a6303..0000000 --- a/libcap-ng-0.6.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a830e9e5117febb00de2b6bf6fb9eb88f61dba8df3f761239423a2fad561f16 -size 274844 diff --git a/libcap-ng-0.6.5.tar.bz2 b/libcap-ng-0.6.5.tar.bz2 new file mode 100644 index 0000000..bac9727 --- /dev/null +++ b/libcap-ng-0.6.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8644f2a3fbb27b379ddd2f2a2e3476f18556bbae15377cc8dbb0fb6039a11131 +size 271833 diff --git a/libcap-ng-python.changes b/libcap-ng-python.changes index eba25d6..1d76345 100644 --- a/libcap-ng-python.changes +++ b/libcap-ng-python.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Nov 3 21:56:17 UTC 2010 - pascal.bleser@opensuse.org + +- update to 0.6.5: + * works around a problem in the Linux 2.6.36 kernel headers + * fixes a segfault when using filecap on a specific file + ------------------------------------------------------------------- Thu Oct 14 11:18:28 UTC 2010 - coolo@novell.com diff --git a/libcap-ng-python.spec b/libcap-ng-python.spec index 2b136a5..46a7ed7 100644 --- a/libcap-ng-python.spec +++ b/libcap-ng-python.spec @@ -1,73 +1,52 @@ -# -# spec file for package libcap-ng-python (Version 0.6.4) -# -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -Summary: An alternate POSIX capabilities library - -Name: libcap-ng-python -Version: 0.6.4 -Release: 1 +Summary: An alternate POSIX capabilities library +Name: libcap-ng-python +Version: 0.6.5 %define soname 0 %define rname libcap-ng -License: LGPLv2+ -Group: System/Libraries -Url: http://people.redhat.com/sgrubb/libcap-ng +Release: 0 +License: LGPLv2+ +Group: System/Libraries +URL: http://people.redhat.com/sgrubb/libcap-ng # http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz -Source0: libcap-ng-%{version}.tar.bz2 -Source1: pre_checkin.sh -Source2: baselibs.conf -Source99: libcap-ng.rpmlintrc -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: kernel-headers >= 2.6.11 -BuildRequires: libattr-devel pkg-config python-base +Source0: libcap-ng-%{version}.tar.bz2 +Source1: pre_checkin.sh +Source2: baselibs.conf +Source99: libcap-ng.rpmlintrc +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: kernel-headers >= 2.6.11 +BuildRequires: libattr-devel pkg-config %description Libcap-ng is a library that makes using posix capabilities easier %if "%{name}" == "%{rname}" - %package -n %{name}%{soname} - -Summary: An alternate POSIX capabilities library -License: LGPLv2+ -Group: System/Libraries +Summary: An alternate POSIX capabilities library +License: LGPLv2+ +Group: System/Libraries %description -n %{name}%{soname} Libcap-ng is a library that makes using posix capabilities easier %package devel -Summary: Header files for libcap-ng library -License: LGPLv2+ -Group: Development/Libraries/C and C++ -Requires: kernel-headers >= 2.6.11 -Requires: %{name}%{soname} = %{version} -Requires: pkgconfig +Summary: Header files for libcap-ng library +License: LGPLv2+ +Group: Development/Libraries/C and C++ +Requires: kernel-headers >= 2.6.11 +Requires: %{name}%{soname} = %{version} +Requires: pkgconfig %description devel The libcap-ng-devel package contains the files needed for developing applications that need to use the libcap-ng library. %package utils -Summary: Utilities for analysing and setting file capabilities -License: GPLv2+ -Group: System/Base +Summary: Utilities for analysing and setting file capabilities +License: GPLv2+ +Group: System/Base %description utils The libcap-ng-utils package contains applications to analyse the @@ -75,13 +54,12 @@ posix capabilities of all the program running on a system. It also lets you set the file system based capabilities. %else - %package -n python-capng -Summary: Python bindings for libcap-ng library -License: LGPLv2+ -Group: Development/Libraries/Python -BuildRequires: python-devel swig -Requires: %{name}%{soname} = %{version} +Summary: Python bindings for libcap-ng library +License: LGPLv2+ +Group: Development/Libraries/Python +BuildRequires: python-devel swig +Requires: %{name}%{soname} = %{version} %py_requires %description -n python-capng @@ -130,7 +108,6 @@ LIBNAME=$(basename "$VLIBNAME") %{?buildroot:%__rm -rf "%{buildroot}"} %if "%{name}" == "%{rname}" - %post -n %{name}%{soname} -p /sbin/ldconfig %postun -n %{name}%{soname} -p /sbin/ldconfig @@ -159,7 +136,6 @@ LIBNAME=$(basename "$VLIBNAME") %attr(0644,root,root) %{_mandir}/man8/*.8%{ext_man} %else - %files -n python-capng %defattr(-,root,root,-) %attr(755,root,root) %{python_sitearch}/_capng.so diff --git a/libcap-ng.changes b/libcap-ng.changes index eba25d6..1d76345 100644 --- a/libcap-ng.changes +++ b/libcap-ng.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Nov 3 21:56:17 UTC 2010 - pascal.bleser@opensuse.org + +- update to 0.6.5: + * works around a problem in the Linux 2.6.36 kernel headers + * fixes a segfault when using filecap on a specific file + ------------------------------------------------------------------- Thu Oct 14 11:18:28 UTC 2010 - coolo@novell.com diff --git a/libcap-ng.spec b/libcap-ng.spec index 6390d12..8001985 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -1,73 +1,52 @@ -# -# spec file for package libcap-ng (Version 0.6.4) -# -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -Summary: An alternate POSIX capabilities library - -Name: libcap-ng -Version: 0.6.4 -Release: 2 +Summary: An alternate POSIX capabilities library +Name: libcap-ng +Version: 0.6.5 %define soname 0 %define rname libcap-ng -License: LGPLv2+ -Group: System/Libraries -Url: http://people.redhat.com/sgrubb/libcap-ng +Release: 0 +License: LGPLv2+ +Group: System/Libraries +URL: http://people.redhat.com/sgrubb/libcap-ng # http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz -Source0: libcap-ng-%{version}.tar.bz2 -Source1: pre_checkin.sh -Source2: baselibs.conf -Source99: libcap-ng.rpmlintrc -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: kernel-headers >= 2.6.11 -BuildRequires: libattr-devel pkg-config python-base +Source0: libcap-ng-%{version}.tar.bz2 +Source1: pre_checkin.sh +Source2: baselibs.conf +Source99: libcap-ng.rpmlintrc +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: kernel-headers >= 2.6.11 +BuildRequires: libattr-devel pkg-config python-base %description Libcap-ng is a library that makes using posix capabilities easier %if "%{name}" == "%{rname}" - %package -n %{name}%{soname} - -Summary: An alternate POSIX capabilities library -License: LGPLv2+ -Group: System/Libraries +Summary: An alternate POSIX capabilities library +License: LGPLv2+ +Group: System/Libraries %description -n %{name}%{soname} Libcap-ng is a library that makes using posix capabilities easier %package devel -Summary: Header files for libcap-ng library -License: LGPLv2+ -Group: Development/Libraries/C and C++ -Requires: kernel-headers >= 2.6.11 -Requires: %{name}%{soname} = %{version} -Requires: pkgconfig +Summary: Header files for libcap-ng library +License: LGPLv2+ +Group: Development/Libraries/C and C++ +Requires: kernel-headers >= 2.6.11 +Requires: %{name}%{soname} = %{version} +Requires: pkgconfig %description devel The libcap-ng-devel package contains the files needed for developing applications that need to use the libcap-ng library. %package utils -Summary: Utilities for analysing and setting file capabilities -License: GPLv2+ -Group: System/Base +Summary: Utilities for analysing and setting file capabilities +License: GPLv2+ +Group: System/Base %description utils The libcap-ng-utils package contains applications to analyse the @@ -75,13 +54,12 @@ posix capabilities of all the program running on a system. It also lets you set the file system based capabilities. %else - %package -n python-capng -Summary: Python bindings for libcap-ng library -License: LGPLv2+ -Group: Development/Libraries/Python -BuildRequires: python-devel swig -Requires: %{name}%{soname} = %{version} +Summary: Python bindings for libcap-ng library +License: LGPLv2+ +Group: Development/Libraries/Python +BuildRequires: python-devel swig +Requires: %{name}%{soname} = %{version} %py_requires %description -n python-capng @@ -130,7 +108,6 @@ LIBNAME=$(basename "$VLIBNAME") %{?buildroot:%__rm -rf "%{buildroot}"} %if "%{name}" == "%{rname}" - %post -n %{name}%{soname} -p /sbin/ldconfig %postun -n %{name}%{soname} -p /sbin/ldconfig @@ -159,7 +136,6 @@ LIBNAME=$(basename "$VLIBNAME") %attr(0644,root,root) %{_mandir}/man8/*.8%{ext_man} %else - %files -n python-capng %defattr(-,root,root,-) %attr(755,root,root) %{python_sitearch}/_capng.so From 915bd9d3e77b7c5a875d192bda83030d2800737d498ae78e23d835c1ffbf1cb8 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 8 Nov 2010 15:03:36 +0000 Subject: [PATCH 2/3] Accepting request 52403 from home:coolo:branches:openSUSE:Factory OBS-URL: https://build.opensuse.org/request/show/52403 OBS-URL: https://build.opensuse.org/package/show/security/libcap-ng?expand=0&rev=9 --- libcap-ng-python.changes | 5 +++++ libcap-ng-python.spec | 4 ++-- libcap-ng.changes | 5 +++++ libcap-ng.spec | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/libcap-ng-python.changes b/libcap-ng-python.changes index 1d76345..06abd19 100644 --- a/libcap-ng-python.changes +++ b/libcap-ng-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 8 14:06:01 UTC 2010 - coolo@novell.com + +- fix requires + ------------------------------------------------------------------- Wed Nov 3 21:56:17 UTC 2010 - pascal.bleser@opensuse.org diff --git a/libcap-ng-python.spec b/libcap-ng-python.spec index 46a7ed7..2704543 100644 --- a/libcap-ng-python.spec +++ b/libcap-ng-python.spec @@ -17,7 +17,7 @@ Source2: baselibs.conf Source99: libcap-ng.rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kernel-headers >= 2.6.11 -BuildRequires: libattr-devel pkg-config +BuildRequires: libattr-devel pkg-config python-base %description Libcap-ng is a library that makes using posix capabilities easier @@ -59,7 +59,7 @@ Summary: Python bindings for libcap-ng library License: LGPLv2+ Group: Development/Libraries/Python BuildRequires: python-devel swig -Requires: %{name}%{soname} = %{version} +Requires: %{rname}%{soname} = %{version} %py_requires %description -n python-capng diff --git a/libcap-ng.changes b/libcap-ng.changes index 1d76345..06abd19 100644 --- a/libcap-ng.changes +++ b/libcap-ng.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 8 14:06:01 UTC 2010 - coolo@novell.com + +- fix requires + ------------------------------------------------------------------- Wed Nov 3 21:56:17 UTC 2010 - pascal.bleser@opensuse.org diff --git a/libcap-ng.spec b/libcap-ng.spec index 8001985..4a16621 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -59,7 +59,7 @@ Summary: Python bindings for libcap-ng library License: LGPLv2+ Group: Development/Libraries/Python BuildRequires: python-devel swig -Requires: %{name}%{soname} = %{version} +Requires: %{rname}%{soname} = %{version} %py_requires %description -n python-capng From 82a3f800cfce94f41c28f88f9c582db7a75233f01ea64db91d288954e3c82635 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 19 Nov 2010 18:08:15 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/security/libcap-ng?expand=0&rev=10 --- libcap-ng-0.6.4.tar.bz2 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 libcap-ng-0.6.4.tar.bz2 diff --git a/libcap-ng-0.6.4.tar.bz2 b/libcap-ng-0.6.4.tar.bz2 new file mode 100644 index 0000000..46a6303 --- /dev/null +++ b/libcap-ng-0.6.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a830e9e5117febb00de2b6bf6fb9eb88f61dba8df3f761239423a2fad561f16 +size 274844