Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
Fedora Release Engineering
b6ccf2c9cd dist-git conversion 2010-07-28 20:46:18 +00:00
Bill Nottingham
a2c3ddd055 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:45:58 +00:00
Karsten Hopp
7984527c68 - update headerfix patch 2009-06-16 20:11:57 +00:00
Karsten Hopp
24a00c578b - make it build again on 32bit 2009-06-15 12:53:01 +00:00
Karsten Hopp
59beb49fda - disable headerfix patch (#503927) 2009-06-08 10:33:09 +00:00
Jesse Keating
061e321853 Initialize branch F-11 for libcap 2009-04-15 06:41:17 +00:00
4 changed files with 22 additions and 33 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: libcap
# $Id: Makefile,v 1.1 2004/09/09 07:21:20 cvsdist Exp $
NAME := libcap
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1,12 +1,13 @@
diff -up libcap-2.16/libcap/include/sys/capability.h.incfix libcap-2.16/libcap/include/sys/capability.h
--- libcap-2.16/libcap/include/sys/capability.h.incfix 2009-03-22 17:54:02.000000000 +0100
+++ libcap-2.16/libcap/include/sys/capability.h 2009-03-22 17:54:09.000000000 +0100
@@ -19,7 +19,7 @@ extern "C" {
* information for the user library.
*/
diff -up libcap-2.16/libcap/include/sys/capability.h.hfix libcap-2.16/libcap/include/sys/capability.h
--- libcap-2.16/libcap/include/sys/capability.h.hfix 2009-06-15 14:46:51.000000000 +0200
+++ libcap-2.16/libcap/include/sys/capability.h 2009-06-15 14:47:00.000000000 +0200
@@ -30,6 +30,9 @@ extern "C" {
#define _LINUX_FS_H
#define __LINUX_COMPILER_H
#define __user
+#define _ASM_X86_SIGCONTEXT_H
+#define _ASM_POWERPC_SIGCONTEXT_H
+#define _SPARC_SIGCONTEXT_H
-#include <sys/types.h>
+#include <linux/types.h>
#include <stdint.h>
/*
typedef unsigned int __u32;
typedef __u32 __le32;

View file

@ -1,6 +1,6 @@
Name: libcap
Version: 2.16
Release: 2%{?dist}
Release: 4%{?dist}.1
Summary: Library for getting and setting POSIX.1e capabilities
Source: http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/%{name}-%{version}.tar.gz
Patch0: libcap-2.16-headerfix.patch
@ -77,6 +77,15 @@ chmod +x ${RPM_BUILD_ROOT}/%{_lib}/*.so.*
rm -rf ${RPM_BUILD_ROOT}
%changelog
* Tue Jun 16 2009 Karsten Hopp <karsten@redhat.com> 2.16-4.1
- update headerfix patch
* Mon Jun 15 2009 Karsten Hopp <karsten@redhat.com> 2.16-4
- make it build again on 32bit
* Mon Jun 08 2009 Karsten Hopp <karsten@redhat.com> 2.16-3
- disable headerfix patch (#503927)
* Sun Mar 22 2009 Karsten Hopp <karsten@redhat.com> 2.16-1
- update, with a fix for rebuild problems