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
This commit is contained in:
parent
5a20fd5cee
commit
5388069bf3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ed1693e344054a398e68a7cc840892e3d1a880562743bdf28fd918649aa5a4ce
|
||||
size 53099
|
3
libcap-2.22.tar.bz2
Normal file
3
libcap-2.22.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:73ebbd4877b5f69dd28b72098e510c5b318bc480f8201c4061ac98b78c04050f
|
||||
size 60051
|
@ -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
|
||||
|
||||
|
24
libcap.spec
24
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
|
||||
|
Loading…
Reference in New Issue
Block a user