SHA256
1
0
forked from pool/libcap
OBS User unknown 2009-01-12 17:13:10 +00:00 committed by Git OBS Bridge
parent 7445be1ce4
commit 4b74bf7efd
6 changed files with 45 additions and 38 deletions

View File

@ -1,11 +0,0 @@
--- libcap/Makefile-dist 2008-08-06 14:56:15.000000000 +0200
+++ libcap/Makefile 2008-08-06 14:56:46.000000000 +0200
@@ -27,7 +27,7 @@
endif
_makenames: _makenames.c cap_names.sed
- $(BUILD_CC) $(BUILD_CFLAGS) $< -o $@
+ $(BUILD_CC) $(BUILD_CFLAGS) -Iinclude $< -o $@
cap_names.h: _makenames
./_makenames > cap_names.h

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a39882189f1921008eb18acc3f5517697ab13ad5eed1762ce67e31ff53805889
size 47321

3
libcap-2.16.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9c5a41a5577d6f702fe4d29e92f91f1d586a2ef272f6b7fa137bae3f0e76cc2f
size 48451

View File

@ -1,11 +0,0 @@
--- progs/Makefile-dist 2008-08-06 14:45:01.000000000 +0200
+++ progs/Makefile 2008-08-06 14:45:06.000000000 +0200
@@ -6,7 +6,7 @@
#
PROGS=getpcaps getcap setcap capsh
-LDFLAGS += --static
+# LDFLAGS += --static
LDLIBS += -lcap
all: $(PROGS)

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Jan 7 16:52:19 CET 2009 - tiwai@suse.de
- updated to libcap-2.15:
* Makefile fixes
- updated to libcap-2.16:
* stop using sed for parsing capability.h
-------------------------------------------------------------------
Mon Oct 27 09:49:31 CET 2008 - tiwai@suse.de
- updated to libcap-2.14:
* add -v mode to setcap
- updated to libcap-2.13:
* fix a corner case of cap_to_text()
- updated to libcap-2.12:
* man page fixes
* remove never used codes for sysfs check
-------------------------------------------------------------------
Wed Oct 22 16:17:15 CEST 2008 - mrueckert@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libcap (Version 2.11)
# spec file for package libcap (Version 2.16)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 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
@ -19,16 +19,15 @@
Name: libcap
BuildRequires: fdupes libattr-devel
BuildRequires: libattr-devel
BuildRequires: fdupes
License: BSD 3-Clause
Group: System/Libraries
AutoReqProv: on
Summary: Library for Capabilities (linux-privs) Support
Version: 2.11
Release: 2
Version: 2.16
Release: 1
Source: ftp://ftp.de.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.bz2
Patch: libcap-dynamic-link.diff
Patch1: libcap-2.11-build-fix.diff
#URL: http://www.kernel.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libcap2 = %{version}-%{release}
@ -89,8 +88,6 @@ libcap.
%prep
%setup -q
%patch
%patch1
%build
# lib=%{_lib} make %{?jobs:-j %jobs} COPTFLAG="$RPM_OPT_FLAGS"
@ -127,6 +124,19 @@ ln -s /%{_lib}/libcap.so.2 $RPM_BUILD_ROOT%{_libdir}/libcap.so
%{_mandir}/man3/*
%changelog
* Wed Jan 07 2009 tiwai@suse.de
- updated to libcap-2.15:
* Makefile fixes
- updated to libcap-2.16:
* stop using sed for parsing capability.h
* Mon Oct 27 2008 tiwai@suse.de
- updated to libcap-2.14:
* add -v mode to setcap
- updated to libcap-2.13:
* fix a corner case of cap_to_text()
- updated to libcap-2.12:
* man page fixes
* remove never used codes for sysfs check
* Wed Oct 22 2008 mrueckert@suse.de
- fix debug_packages_requires define
* Wed Aug 06 2008 tiwai@suse.de
@ -135,7 +145,7 @@ ln -s /%{_lib}/libcap.so.2 $RPM_BUILD_ROOT%{_libdir}/libcap.so
* fix cap_copy_int(), new cap_get_pid() and cap_compare()
* fix cap_copy_ext()
- fix build with libcap-2.11.
* Mon Aug 04 2008 ro@suse.de
* Sun Aug 03 2008 ro@suse.de
- fix requires for debuginfo package
* Wed Jun 11 2008 tiwai@suse.de
- updated to libcap-2.10:
@ -188,7 +198,7 @@ ln -s /%{_lib}/libcap.so.2 $RPM_BUILD_ROOT%{_libdir}/libcap.so
- removed bogus self-provides
* Wed Sep 04 2002 sf@suse.de
- fix biarch error (added patch to Make.Rules)
* Mon Aug 12 2002 kukuk@suse.de
* Sun Aug 11 2002 kukuk@suse.de
- Remove kernel-source from neededforbuild
* Sat Apr 20 2002 garloff@suse.de
- Include capfaq-0.2.txt
@ -200,8 +210,8 @@ ln -s /%{_lib}/libcap.so.2 $RPM_BUILD_ROOT%{_libdir}/libcap.so
* Mon Mar 25 2002 stepan@suse.de
- remove -ansi, as it forbids inline. (gcc3)
- use -fpic for building libraries (gcc3)
* Thu Sep 06 2001 ro@suse.de
* Wed Sep 05 2001 ro@suse.de
- updated neededforbuild and updated specfile (man and doc relocation)
* Wed Sep 29 1999 garloff@suse.de
* Tue Sep 28 1999 garloff@suse.de
- Initial check in of libcap.
- Kernel patches are provided within the docdir.