From 5388069bf31cc5a0253334e65e5c2e366ae83640d130451c76219b4e0620e808 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 21 Sep 2011 08:46:46 +0000 Subject: [PATCH] Accepting request 84056 from home:a_jaeger:branches:openSUSE:Factory Update license. OBS-URL: https://build.opensuse.org/request/show/84056 OBS-URL: https://build.opensuse.org/package/show/Base:System/libcap?expand=0&rev=14 --- libcap-2.19.tar.bz2 | 3 --- libcap-2.22.tar.bz2 | 3 +++ libcap.changes | 21 +++++++++++++++++++++ libcap.spec | 24 +++++++++++------------- 4 files changed, 35 insertions(+), 16 deletions(-) delete mode 100644 libcap-2.19.tar.bz2 create mode 100644 libcap-2.22.tar.bz2 diff --git a/libcap-2.19.tar.bz2 b/libcap-2.19.tar.bz2 deleted file mode 100644 index d8acfae..0000000 --- a/libcap-2.19.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ed1693e344054a398e68a7cc840892e3d1a880562743bdf28fd918649aa5a4ce -size 53099 diff --git a/libcap-2.22.tar.bz2 b/libcap-2.22.tar.bz2 new file mode 100644 index 0000000..08065f7 --- /dev/null +++ b/libcap-2.22.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73ebbd4877b5f69dd28b72098e510c5b318bc480f8201c4061ac98b78c04050f +size 60051 diff --git a/libcap.changes b/libcap.changes index 5611b02..807dadb 100644 --- a/libcap.changes +++ b/libcap.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Tue Sep 20 07:48:12 UTC 2011 - aj@suse.de + +- Cleanup specfile a bit: Remove old tags. + +------------------------------------------------------------------- +Tue Sep 20 07:29:05 UTC 2011 - aj@suse.de + +- Update to libcap 2.22 +- libcap 2.22 includes: + * Clarified License file (with version 2 of the GPL) + * Support getting/setting capabilities on large files + * After --chroot command, change working directory to "/". +- libcap 2.21 includes: + * Introduce cap_get_bound() and cap_drop_bound() functions. + also include a macro CAP_IS_SUPPORTED(cap) for capabilities +- libcap 2.20 includes: + * Latest kernel capabilites supported: now includes CAP_SYSLOG + * $(CFLAGS) Makefile fixes + * Default to installing setcap with an inheritable capability. + ------------------------------------------------------------------- Thu Dec 2 15:44:59 CET 2010 - meissner@suse.de diff --git a/libcap.spec b/libcap.spec index 7334e61..1f64ae7 100644 --- a/libcap.spec +++ b/libcap.spec @@ -1,7 +1,7 @@ # -# spec file for package libcap (Version 2.16) +# spec file for package libcap # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -15,19 +15,17 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: libcap -License: BSD3c +License: BSD3c;GPLv2 Group: System/Libraries -AutoReqProv: on Summary: Library for Capabilities (linux-privs) Support -Version: 2.19 -Release: 6 +Version: 2.22 +Release: 1 Source: ftp://ftp.de.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.bz2 Source2: baselibs.conf -#URL: http://www.kernel.org/ +Url: https://sites.google.com/site/fullycapable/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libattr-devel %if 0%{?suse_version} > 1030 @@ -46,7 +44,7 @@ done automatically by the kernel. %package -n libcap2 -License: BSD3c +License: BSD3c;GPLv2 Summary: Library for Capabilities (linux-privs) Support Group: System/Libraries @@ -61,7 +59,7 @@ done automatically by the kernel. %package devel -License: BSD3c +License: BSD3c;GPLv2 Summary: Development files for libcap Group: Development/Libraries/C and C++ Requires: glibc-devel libcap2 = %{version} @@ -79,7 +77,7 @@ using libcap. %package progs -License: BSD3c +License: BSD3c;GPLv2 Summary: Libcap utility programs Group: System/Filesystems @@ -97,8 +95,8 @@ libcap. lib=%{_lib} make %{?_smp_mflags} DEBUG="-g $RPM_OPT_FLAGS" %install -make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=$RPM_BUILD_ROOT/%{_lib} MANDIR=$RPM_BUILD_ROOT%{_mandir} -# remove unneeded fi +make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=$RPM_BUILD_ROOT/%{_lib} MANDIR=$RPM_BUILD_ROOT%{_mandir} RAISE_SETFCAP=no +# remove unneeded files rm -f $RPM_BUILD_ROOT/%{_lib}/*.*a # move *.so file to libdir and relink rm -f $RPM_BUILD_ROOT/%{_lib}/*.so