- New upstream release
This commit is contained in:
parent
2273877e58
commit
d12dec3366
@ -1 +1,2 @@
|
|||||||
libcap-ng-0.4.1.tar.gz
|
libcap-ng-0.4.1.tar.gz
|
||||||
|
libcap-ng-0.4.2.tar.gz
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
diff -urp libcap-ng-0.4.1/src/cap-ng.c libcap-ng-0.4.2/src/cap-ng.c
|
|
||||||
--- libcap-ng-0.4.1/src/cap-ng.c 2009-06-09 17:44:05.000000000 -0400
|
|
||||||
+++ libcap-ng-0.4.2/src/cap-ng.c 2009-06-12 11:56:57.000000000 -0400
|
|
||||||
@@ -31,6 +31,8 @@
|
|
||||||
#include <grp.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#include <errno.h>
|
|
||||||
+#include <byteswap.h>
|
|
||||||
|
|
||||||
/* External syscall prototypes */
|
|
||||||
extern int capset(cap_user_header_t header, cap_user_data_t data);
|
|
||||||
@@ -785,8 +789,8 @@ char *capng_print_caps_numeric(capng_pri
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
- if (set & CAPNG_SELECT_BOUNDS)
|
|
||||||
#ifdef PR_CAPBSET_DROP
|
|
||||||
+ if (set & CAPNG_SELECT_BOUNDS)
|
|
||||||
printf("Bounding Set: %08X, %08X\n",
|
|
||||||
m.bounds[0], m.bounds[1]);
|
|
||||||
#endif
|
|
@ -1,12 +1,11 @@
|
|||||||
Summary: An alternate posix capabilities library
|
Summary: An alternate posix capabilities library
|
||||||
Name: libcap-ng
|
Name: libcap-ng
|
||||||
Version: 0.4.1
|
Version: 0.4.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://people.redhat.com/sgrubb/libcap-ng
|
URL: http://people.redhat.com/sgrubb/libcap-ng
|
||||||
Source0: http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
|
Source0: http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
|
||||||
Patch1: libcap-ng-0.4.2-bswap.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: kernel-headers >= 2.6.11
|
BuildRequires: kernel-headers >= 2.6.11
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
@ -37,7 +36,6 @@ lets you set the file system based capabilities.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --libdir=/%{_lib}
|
%configure --libdir=/%{_lib}
|
||||||
@ -84,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%attr(0644,root,root) %{_mandir}/man8/*
|
%attr(0644,root,root) %{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 12 2009 Steve Grubb <sgrubb@redhat.com> 0.4.2-1
|
||||||
|
- New upstream release
|
||||||
|
|
||||||
* Fri Jun 12 2009 Steve Grubb <sgrubb@redhat.com> 0.4.1-1
|
* Fri Jun 12 2009 Steve Grubb <sgrubb@redhat.com> 0.4.1-1
|
||||||
- Initial build.
|
- Initial build.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user