- New upstream release

This commit is contained in:
Steve Grubb 2009-06-12 20:17:41 +00:00
parent 2273877e58
commit d12dec3366
4 changed files with 6 additions and 26 deletions

View File

@ -1 +1,2 @@
libcap-ng-0.4.1.tar.gz
libcap-ng-0.4.2.tar.gz

View File

@ -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

View File

@ -1,12 +1,11 @@
Summary: An alternate posix capabilities library
Name: libcap-ng
Version: 0.4.1
Version: 0.4.2
Release: 1%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://people.redhat.com/sgrubb/libcap-ng
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)
BuildRequires: kernel-headers >= 2.6.11
BuildRequires: libattr-devel
@ -37,7 +36,6 @@ lets you set the file system based capabilities.
%prep
%setup -q
%patch1 -p1
%build
%configure --libdir=/%{_lib}
@ -84,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_mandir}/man8/*
%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
- Initial build.

View File

@ -1 +1 @@
ecbae8ee97e45156777c535cc4e7552c libcap-ng-0.4.1.tar.gz
60d06bb82fd349d6482efc421c70b7ed libcap-ng-0.4.2.tar.gz