Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
dd0b62fe8d | ||
|
32e0950a0a | ||
|
d4fb3d28d2 | ||
|
95420551e8 |
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
|||||||
# Makefile for source rpm: acl
|
|
||||||
# $Id: Makefile,v 1.2 2007/10/15 18:35:20 notting Exp $
|
|
||||||
NAME := acl
|
|
||||||
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 $$d/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)
|
|
27
acl-2.2.49-setfacl-restore.patch
Normal file
27
acl-2.2.49-setfacl-restore.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
diff --git a/setfacl/setfacl.c b/setfacl/setfacl.c
|
||||||
|
index 7142af0..23784a7 100644
|
||||||
|
--- a/setfacl/setfacl.c
|
||||||
|
+++ b/setfacl/setfacl.c
|
||||||
|
@@ -125,7 +125,7 @@ restore(
|
||||||
|
uid_t uid;
|
||||||
|
gid_t gid;
|
||||||
|
mode_t mask, flags;
|
||||||
|
- struct do_set_args args;
|
||||||
|
+ struct do_set_args args = { 0 };
|
||||||
|
int line = 0, backup_line;
|
||||||
|
int error, status = 0;
|
||||||
|
int chmod_required = 0;
|
||||||
|
diff --git a/test/misc.test b/test/misc.test
|
||||||
|
index e6140da..a910bd0 100644
|
||||||
|
--- a/test/misc.test
|
||||||
|
+++ b/test/misc.test
|
||||||
|
@@ -424,3 +424,9 @@ Now, chmod should change the group_obj entry
|
||||||
|
>
|
||||||
|
|
||||||
|
$ rmdir d
|
||||||
|
+
|
||||||
|
+Malformed restore file
|
||||||
|
+
|
||||||
|
+ $ echo "# owner: root" > f
|
||||||
|
+ $ setfacl --restore=f 2>&1
|
||||||
|
+ >setfacl: f: No filename found in line 0, aborting
|
21
acl.spec
21
acl.spec
@ -1,16 +1,24 @@
|
|||||||
Summary: Access control list utilities
|
Summary: Access control list utilities
|
||||||
Name: acl
|
Name: acl
|
||||||
Version: 2.2.49
|
Version: 2.2.49
|
||||||
Release: 4%{?dist}
|
Release: 6%{?dist}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
Requires: libacl = %{version}-%{release}
|
||||||
Source: http://download.savannah.gnu.org/releases-noredirect/acl/acl-%{version}.src.tar.gz
|
Source: http://download.savannah.gnu.org/releases-noredirect/acl/acl-%{version}.src.tar.gz
|
||||||
Patch1: acl-2.2.39-build.patch
|
Patch1: acl-2.2.39-build.patch
|
||||||
|
|
||||||
|
# bz #488674
|
||||||
Patch2: acl-2.2.49-setfacl-walk.patch
|
Patch2: acl-2.2.49-setfacl-walk.patch
|
||||||
|
|
||||||
|
# bz #467936
|
||||||
Patch3: acl-2.2.49-bz467936.patch
|
Patch3: acl-2.2.49-bz467936.patch
|
||||||
|
|
||||||
|
# bz #576550
|
||||||
|
Patch4: acl-2.2.49-setfacl-restore.patch
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://oss.sgi.com/projects/xfs/
|
URL: http://oss.sgi.com/projects/xfs/
|
||||||
@ -32,11 +40,10 @@ the POSIX 1003.1e draft standard 17 functions for manipulating access
|
|||||||
control lists.
|
control lists.
|
||||||
|
|
||||||
%package -n libacl-devel
|
%package -n libacl-devel
|
||||||
Summary: Access control list static libraries and headers.
|
Summary: Access control list static libraries and headers
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: libacl = %{version}-%{release}, libattr-devel
|
Requires: libacl = %{version}-%{release}, libattr-devel
|
||||||
Requires: nfs-utils-lib, openldap
|
|
||||||
|
|
||||||
%description -n libacl-devel
|
%description -n libacl-devel
|
||||||
This package contains static libraries and header files needed to develop
|
This package contains static libraries and header files needed to develop
|
||||||
@ -48,6 +55,7 @@ defined in POSIX 1003.1e draft standard 17.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
touch .census
|
touch .census
|
||||||
@ -105,6 +113,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/%{_lib}/libacl.so.*
|
/%{_lib}/libacl.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 04 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-6
|
||||||
|
- let acl depend on the same version of libacl (#595674)
|
||||||
|
- remove dependency of libacl-devel on nfs-utils-lib and openldap (#613336)
|
||||||
|
|
||||||
|
* Wed Mar 24 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-5
|
||||||
|
- prevent setfacl --restore from SIGSEGV on malformed restore file (#576550)
|
||||||
|
|
||||||
* Tue Jan 19 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-4
|
* Tue Jan 19 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-4
|
||||||
- do not package a static library (#556036)
|
- do not package a static library (#556036)
|
||||||
- remove multilib patch no longer useful
|
- remove multilib patch no longer useful
|
||||||
|
Loading…
Reference in New Issue
Block a user