From 4b4751dcd1fefef53e9a8c5989ebb5fd9368304b48eb63fa91d2dfe2737b5935 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 14 Mar 2013 09:28:40 +0000 Subject: [PATCH 1/2] Accepting request 159246 from home:elvigia:branches:security OBS-URL: https://build.opensuse.org/request/show/159246 OBS-URL: https://build.opensuse.org/package/show/security/libcap-ng?expand=0&rev=19 --- libcap-ng-0.6.6.tar.bz2 | 3 --- libcap-ng-0.7.3.tar.gz | 3 +++ libcap-ng-python.changes | 16 +++++++++++++++- libcap-ng-python.spec | 8 ++++---- libcap-ng.changes | 14 ++++++++++++++ libcap-ng.spec | 4 ++-- 6 files changed, 38 insertions(+), 10 deletions(-) delete mode 100644 libcap-ng-0.6.6.tar.bz2 create mode 100644 libcap-ng-0.7.3.tar.gz diff --git a/libcap-ng-0.6.6.tar.bz2 b/libcap-ng-0.6.6.tar.bz2 deleted file mode 100644 index 5c7a23d..0000000 --- a/libcap-ng-0.6.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a1d91d57481d2bac97b86be3f7baa654ce474d410cd188dfe2cd92ea0afabc07 -size 280169 diff --git a/libcap-ng-0.7.3.tar.gz b/libcap-ng-0.7.3.tar.gz new file mode 100644 index 0000000..cbdf7b3 --- /dev/null +++ b/libcap-ng-0.7.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ca441c8d3a1e4cfe8a8151907977662679457311ccaa7eaac91447c33a35bb1 +size 392613 diff --git a/libcap-ng-python.changes b/libcap-ng-python.changes index 7f80f78..e24badb 100644 --- a/libcap-ng-python.changes +++ b/libcap-ng-python.changes @@ -1,5 +1,19 @@ ------------------------------------------------------------------- -Sun Feb 12 17:25:23 UTC 2012 - crrodriguez@opensuse.org +Wed Mar 13 22:44:29 UTC 2013 - crrodriguez@opensuse.org + +- version 0.7.3 +- Make file opens use the cloexec flag (Cristian Rodríguez) +- Add CAP_BLOCK_SUSPEND +- Fix possible segfaults when CAP_LAST_CAP is larger than the lookup table +- In pscap, don't drop capabilities when running with capabilities +- Add CAP_COMPROMISE_KERNEL +- Define FTW_CONTINUE in case its not defined in libc +- Use glibc for xattr.h if available +- Make sure stderr is used consistently in utils +- Fix logic causing file based capabilities to not be supported when it should + +------------------------------------------------------------------- +Sun Feb 12 17:24:55 UTC 2012 - crrodriguez@opensuse.org - Move libraries back to %{_libdir}, /usr merge project diff --git a/libcap-ng-python.spec b/libcap-ng-python.spec index e1eb1fa..7d308fc 100644 --- a/libcap-ng-python.spec +++ b/libcap-ng-python.spec @@ -1,5 +1,5 @@ # -# spec file for package libcap-ng-python +# spec file for package libcap-ng # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -23,14 +23,14 @@ Summary: An alternate POSIX capabilities library License: LGPL-2.1+ Group: System/Libraries -Name: libcap-ng-python -Version: 0.6.6 +Name: libcap-ng-python +Version: 0.7.3 Release: 0 %define soname 0 %define rname libcap-ng 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 +Source0: libcap-ng-%{version}.tar.gz Source1: pre_checkin.sh Source2: baselibs.conf Source99: libcap-ng.rpmlintrc diff --git a/libcap-ng.changes b/libcap-ng.changes index 163f4b3..e24badb 100644 --- a/libcap-ng.changes +++ b/libcap-ng.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Mar 13 22:44:29 UTC 2013 - crrodriguez@opensuse.org + +- version 0.7.3 +- Make file opens use the cloexec flag (Cristian Rodríguez) +- Add CAP_BLOCK_SUSPEND +- Fix possible segfaults when CAP_LAST_CAP is larger than the lookup table +- In pscap, don't drop capabilities when running with capabilities +- Add CAP_COMPROMISE_KERNEL +- Define FTW_CONTINUE in case its not defined in libc +- Use glibc for xattr.h if available +- Make sure stderr is used consistently in utils +- Fix logic causing file based capabilities to not be supported when it should + ------------------------------------------------------------------- Sun Feb 12 17:24:55 UTC 2012 - crrodriguez@opensuse.org diff --git a/libcap-ng.spec b/libcap-ng.spec index 68ebea4..e9c18db 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -24,13 +24,13 @@ License: LGPL-2.1+ Group: System/Libraries Name: libcap-ng -Version: 0.6.6 +Version: 0.7.3 Release: 0 %define soname 0 %define rname libcap-ng 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 +Source0: libcap-ng-%{version}.tar.gz Source1: pre_checkin.sh Source2: baselibs.conf Source99: libcap-ng.rpmlintrc From 4ce2a19c83b57f55e8bf5edcd883804d387b0f9653eb61f97a7cde23d74a98f1 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 14 Mar 2013 09:30:37 +0000 Subject: [PATCH 2/2] - use source url - use source url OBS-URL: https://build.opensuse.org/package/show/security/libcap-ng?expand=0&rev=20 --- libcap-ng-python.changes | 5 +++++ libcap-ng-python.spec | 11 +++++------ libcap-ng.changes | 5 +++++ libcap-ng.spec | 7 +++---- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/libcap-ng-python.changes b/libcap-ng-python.changes index e24badb..f4c293c 100644 --- a/libcap-ng-python.changes +++ b/libcap-ng-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 14 09:30:13 UTC 2013 - meissner@suse.com + +- use source url + ------------------------------------------------------------------- Wed Mar 13 22:44:29 UTC 2013 - crrodriguez@opensuse.org diff --git a/libcap-ng-python.spec b/libcap-ng-python.spec index 7d308fc..3eb0c6f 100644 --- a/libcap-ng-python.spec +++ b/libcap-ng-python.spec @@ -1,7 +1,7 @@ # -# spec file for package libcap-ng +# spec file for package libcap-ng-python # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -23,14 +23,13 @@ Summary: An alternate POSIX capabilities library License: LGPL-2.1+ Group: System/Libraries -Name: libcap-ng-python +Name: libcap-ng-python Version: 0.7.3 Release: 0 %define soname 0 %define rname libcap-ng 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.gz +Source0: http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz Source1: pre_checkin.sh Source2: baselibs.conf Source99: libcap-ng.rpmlintrc @@ -59,8 +58,8 @@ Libcap-ng is a library that makes using posix capabilities easier Summary: Header files for libcap-ng library License: LGPL-2.1+ Group: Development/Libraries/C and C++ -Requires: kernel-headers >= 2.6.11 Requires: %{name}%{soname} = %{version} +Requires: kernel-headers >= 2.6.11 Requires: pkgconfig %description devel diff --git a/libcap-ng.changes b/libcap-ng.changes index e24badb..8fb8c70 100644 --- a/libcap-ng.changes +++ b/libcap-ng.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 14 09:30:04 UTC 2013 - meissner@suse.com + +- use source url + ------------------------------------------------------------------- Wed Mar 13 22:44:29 UTC 2013 - crrodriguez@opensuse.org diff --git a/libcap-ng.spec b/libcap-ng.spec index e9c18db..539e70f 100644 --- a/libcap-ng.spec +++ b/libcap-ng.spec @@ -1,7 +1,7 @@ # # spec file for package libcap-ng # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -29,8 +29,7 @@ Release: 0 %define soname 0 %define rname libcap-ng 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.gz +Source0: http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz Source1: pre_checkin.sh Source2: baselibs.conf Source99: libcap-ng.rpmlintrc @@ -59,8 +58,8 @@ Libcap-ng is a library that makes using posix capabilities easier Summary: Header files for libcap-ng library License: LGPL-2.1+ Group: Development/Libraries/C and C++ -Requires: kernel-headers >= 2.6.11 Requires: %{name}%{soname} = %{version} +Requires: kernel-headers >= 2.6.11 Requires: pkgconfig %description devel