Karsten Hopp d9fd02
Summary: Access control list utilities
cvsdist 6acb65
Name: acl
Kamil Dudka d3a965
Version: 2.2.49
Kamil Dudka 048da0
Release: 3%{?dist}
Karsten Hopp d9fd02
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Steve Dickson 79867e
BuildRequires: libattr-devel >= 2.4.1
Steve Dickson 79867e
BuildRequires: autoconf, libtool >= 1.5, gettext, gawk
Kamil Dudka d3a965
Source: http://download.savannah.gnu.org/releases-noredirect/acl/acl-%{version}.src.tar.gz
cvsdist d2639a
Patch0: acl-2.2.3-multilib.patch
Thomas Woerner b6b9a6
Patch1: acl-2.2.39-build.patch
Kamil Dudka 3f974d
Patch2: acl-2.2.49-setfacl-walk.patch
Kamil Dudka 048da0
Patch3: acl-2.2.49-setfacl-restore.patch
Tom Callaway ec4b64
License: GPLv2+
cvsdist 6acb65
Group: System Environment/Base
Thomas Woerner 26a8b6
URL: http://oss.sgi.com/projects/xfs/
cvsdist 6acb65
cvsdist 6acb65
%description
cvsdist 6acb65
This package contains the getfacl and setfacl utilities needed for
cvsdist 6acb65
manipulating access control lists.
cvsdist 6acb65
cvsdist 6acb65
%package -n libacl
Karsten Hopp d9fd02
Summary: Dynamic library for access control list support
Tom Callaway ec4b64
License: LGPLv2+
cvsdist 6acb65
Group: System Environment/Libraries
Karsten Hopp d9fd02
Requires(post): /sbin/ldconfig
Karsten Hopp d9fd02
Requires(postun): /sbin/ldconfig
cvsdist 6acb65
cvsdist 6acb65
%description -n libacl
cvsdist 6acb65
This package contains the libacl.so dynamic library which contains
cvsdist 6acb65
the POSIX 1003.1e draft standard 17 functions for manipulating access
cvsdist 6acb65
control lists.
cvsdist 6acb65
cvsdist 6acb65
%package -n libacl-devel
cvsdist 6acb65
Summary: Access control list static libraries and headers.
Tom Callaway ec4b64
License: LGPLv2+
cvsdist 6acb65
Group: Development/Libraries
Karsten Hopp d9fd02
Requires: libacl = %{version}-%{release}, libattr-devel
Steve Dickson 38e5c7
Requires: nfs-utils-lib, openldap
cvsdist 6acb65
cvsdist 6acb65
%description -n libacl-devel
cvsdist 6acb65
This package contains static libraries and header files needed to develop
cvsdist 6acb65
programs which make use of the access control list programming interface
cvsdist 6acb65
defined in POSIX 1003.1e draft standard 17.
cvsdist 6acb65
cvsdist 6acb65
%prep
cvsdist 0d74a6
%setup -q
Kamil Dudka d3a965
%patch0 -p1
Kamil Dudka d3a965
%patch1 -p1
Kamil Dudka 3f974d
%patch2 -p1
Kamil Dudka 048da0
%patch3 -p1
cvsdist 0d74a6
autoconf
cvsdist 6acb65
cvsdist 6acb65
%build
cvsdist cae5d5
touch .census
cvsdist 0d74a6
# acl abuses libexecdir
cvsdist 0d74a6
%configure --libdir=/%{_lib} --libexecdir=%{_libdir}
Karsten Hopp d9fd02
make LIBTOOL="libtool --tag=CC"%{?_smp_mflags}
cvsdist 6acb65
cvsdist 6acb65
%install
cvsdist 0d74a6
rm -rf $RPM_BUILD_ROOT
Thomas Woerner 1074a7
make install DESTDIR=$RPM_BUILD_ROOT
Thomas Woerner 1074a7
make install-dev DESTDIR=$RPM_BUILD_ROOT
Thomas Woerner 1074a7
make install-lib DESTDIR=$RPM_BUILD_ROOT
Thomas Woerner 1074a7
Thomas Woerner 1074a7
# get rid of libacl.la
Thomas Woerner 1074a7
rm -f $RPM_BUILD_ROOT/%{_libdir}/libacl.la
Thomas Woerner 1074a7
Thomas Woerner 6ca827
# fix links to shared libs and permissions
Thomas Woerner 1074a7
rm -f $RPM_BUILD_ROOT/%{_libdir}/libacl.so
Karsten Hopp d9fd02
ln -sf ../../%{_lib}/libacl.so $RPM_BUILD_ROOT/%{_libdir}/libacl.so
Thomas Woerner 6ca827
chmod 0755 $RPM_BUILD_ROOT/%{_lib}/libacl.so.*.*.*
Thomas Woerner 1074a7
Thomas Woerner 1074a7
%find_lang %{name}
cvsdist 6acb65
cvsdist 6acb65
%clean
cvsdist 0d74a6
rm -rf $RPM_BUILD_ROOT
cvsdist 6acb65
cvsdist 6acb65
%post -n libacl -p /sbin/ldconfig
cvsdist 6acb65
cvsdist 6acb65
%postun -n libacl -p /sbin/ldconfig
cvsdist 6acb65
Thomas Woerner 1074a7
%files -f %{name}.lang
Kamil Dudka d3a965
%defattr(-,root,root,-)
Thomas Woerner 1074a7
%{_bindir}/chacl
Thomas Woerner 1074a7
%{_bindir}/getfacl
Thomas Woerner 1074a7
%{_bindir}/setfacl
Thomas Woerner 1074a7
%{_datadir}/doc/acl-%{version}
Thomas Woerner 1074a7
%{_mandir}/man1/chacl.1*
Thomas Woerner 1074a7
%{_mandir}/man1/getfacl.1*
Thomas Woerner 1074a7
%{_mandir}/man1/setfacl.1*
Thomas Woerner 1074a7
%{_mandir}/man5/acl.5*
Thomas Woerner 1074a7
Thomas Woerner 1074a7
%files -n libacl-devel
Kamil Dudka d3a965
%defattr(-,root,root,-)
Thomas Woerner 1074a7
/%{_lib}/libacl.so
Thomas Woerner 1074a7
%{_includedir}/acl
Thomas Woerner 1074a7
%{_includedir}/sys/acl.h
Thomas Woerner 1074a7
%{_libdir}/libacl.*
Thomas Woerner 1074a7
%{_mandir}/man3/acl_*
cvsdist 6acb65
Thomas Woerner 1074a7
%files -n libacl
Kamil Dudka d3a965
%defattr(-,root,root,-)
Thomas Woerner 1074a7
/%{_lib}/libacl.so.*
cvsdist 6acb65
cvsdist 6acb65
%changelog
Kamil Dudka 048da0
* Wed Mar 24 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-3
Kamil Dudka 048da0
- prevent setfacl --restore from SIGSEGV on malformed restore file (#576550)
Kamil Dudka 048da0
Kamil Dudka 3f974d
* Sat Dec 26 2009 Kamil Dudka <kdudka@redhat.com> 2.2.49-2
Kamil Dudka 3f974d
- tweaked setfacl tree walk flags (#488674), thanks to Markus Steinborn
Kamil Dudka 3f974d
Kamil Dudka d3a965
* Sun Dec 20 2009 Kamil Dudka <kdudka@redhat.com> 2.2.49-1
Kamil Dudka d3a965
- new upstream bugfix release
Kamil Dudka d3a965
- big cleanup in patches
Kamil Dudka d3a965
Jesse Keating 45c56c
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.47-5
Jesse Keating 45c56c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating 45c56c
Jesse Keating e1d591
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.47-4
Jesse Keating e1d591
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating e1d591
Jiří Moskovčák 425003
* Thu Jul 31 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.47-3
Jiří Moskovčák 425003
- little improvement to params patch
Jiří Moskovčák 425003
- Resolves: #457244
Jiří Moskovčák 425003
Tom Callaway ec4b64
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.47-2
Tom Callaway ec4b64
- rework params patch to apply with fuzz=0
Tom Callaway ec4b64
- fix license tag
Tom Callaway ec4b64
Jiří Moskovčák c2589e
* Tue Feb 12 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.47-1
Jiří Moskovčák c2589e
- new upstream version
Jiří Moskovčák c2589e
Jiří Moskovčák fb11c0
* Mon Jan 28 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.45-3
Jiří Moskovčák fb11c0
- Fixed segfault when using only "--" as parameter
Jiří Moskovčák fb11c0
- Resolves: #430458
Jiří Moskovčák fb11c0
Jiří Moskovčák 80816b
* Wed Nov  7 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.45-2
Jiří Moskovčák 80816b
- Fixed setfacl exitcodes
Jiří Moskovčák 80816b
- Resolves: #368451
Jiří Moskovčák 80816b
Jiří Moskovčák 0fb830
* Wed Oct 31 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 2.2.45-1
Jiří Moskovčák 0fb830
- New version
Jiří Moskovčák 0fb830
- dropped walk patch
Jiří Moskovčák 0fb830
Jiří Moskovčák 5c574b
* Thu Sep 20 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-10
Jiří Moskovčák 5c574b
- Rewriten path_max patch to support long UTF8 names
Jiří Moskovčák 5c574b
- Resolves #287701, #183181
Jiří Moskovčák 5c574b
Steve Dickson 79867e
* Fri Aug 31 2007 Steve Dickson <steved@redhat.com> - 2.2.39-9
Steve Dickson 79867e
- Removed NFS4 ACL patch since it was rejected by upstream.
Steve Dickson 79867e
Jeremy Katz c686a2
* Thu Aug 30 2007 Jeremy Katz <katzj@redhat.com> - 2.2.39-8
Jeremy Katz c686a2
- disable nfs patch; linking libacl against libs in /usr will lead to breakage
Jeremy Katz c686a2
Jesse Keating cd466a
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.2.39-7
Jesse Keating cd466a
- Build Require gawk
Jesse Keating cd466a
Jesse Keating 768986
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.2.39-6
Jesse Keating 768986
- Rebuild for selinux ppc32 issue.
Jesse Keating 768986
Steve Dickson 83ba30
* Mon Aug 27 2007 Steve Dickson <steved@redhat.com>  2.2.39-5
Steve Dickson 83ba30
- Added NFS v4 ACL support
Steve Dickson 83ba30
Jiří Moskovčák ddb21d
* Thu Jul 26 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-4.1
Jiří Moskovčák ddb21d
- Updated man page for getfacl
Jiří Moskovčák ddb21d
Jiří Moskovčák fd5714
* Wed Jul 25 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-4
Jiří Moskovčák e49204
- Added support fort short params to getfacl
Jiří Moskovčák e49204
- Resolves: #204087
Jiří Moskovčák e49204
Thomas Woerner 71326a
* Wed Mar 21 2007 Thomas Woerner <twoerner@redhat.com> 2.2.39-3.1
Thomas Woerner 71326a
- new improved walk patch with fixed getfacl exit code (rhbz#232884)
Thomas Woerner 71326a
Karsten Hopp d9fd02
* Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 2.2.39-3
Karsten Hopp d9fd02
- fix buildroot
Karsten Hopp d9fd02
- remove trailing dot from summary
Karsten Hopp d9fd02
- -devel requires same version of libacl
Karsten Hopp d9fd02
- escape macro in changelog
Karsten Hopp d9fd02
- make .so symlink relative
Karsten Hopp d9fd02
Steve Grubb d5ab53
* Thu Feb 22 2007 Steve Grubb <sgrubb@redhat.com> 2.2.39-2
Steve Grubb d5ab53
- Apply patch to make order consistent.
Steve Grubb d5ab53
Jesse Keating 0421c6
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.2.39-1.1
Jesse Keating 0421c6
- rebuild
Jesse Keating 0421c6
Thomas Woerner b6b9a6
* Wed Jul  5 2006 Thomas Woerner <twoerner@redhat.com> 2.2.39-1
Thomas Woerner b6b9a6
- new version 2.2.39
Thomas Woerner b6b9a6
- fixed usage of long UTF-8 filenames (#183181)
Thomas Woerner b6b9a6
  Thanks to Andrey for the initial patch.
Thomas Woerner b6b9a6
Jeremy Katz a6dffd
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 2.2.34-2
Jeremy Katz a6dffd
- rebuild for -devel deps
Jeremy Katz a6dffd
Jesse Keating 5d53e0
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2.34-1.2
Jesse Keating 5d53e0
- bump again for double-long bug on ppc(64)
Jesse Keating 5d53e0
Jesse Keating fd316f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2.34-1.1
Jesse Keating fd316f
- rebuilt for new gcc4.1 snapshot and glibc changes
Jesse Keating fd316f
Thomas Woerner 26a8b6
* Fri Feb  3 2006 Thomas Woerner <twoerner@redhat.com> 2.2.34-1
Thomas Woerner 26a8b6
- new version 2.2.34
Thomas Woerner 26a8b6
Jesse Keating 0afd4e
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
Jesse Keating 0afd4e
- rebuilt
Jesse Keating 0afd4e
Thomas Woerner 6ca827
* Tue Dec  6 2005 Thomas Woerner <twoerner@redhat.com> 2.2.32-2.1
Thomas Woerner 6ca827
- fixed permissions of libacl
Thomas Woerner 6ca827
Thomas Woerner 1074a7
* Tue Dec  6 2005 Thomas Woerner <twoerner@redhat.com> 2.2.32-2
Thomas Woerner 1074a7
- spec file cleanup
Thomas Woerner 1074a7
- mark po files as lang specific
Thomas Woerner 1074a7
Florian La Roche e420ee
* Sun Nov 06 2005 Florian La Roche <laroche@redhat.com>
Florian La Roche e420ee
- 2.2.32
Florian La Roche e420ee
Than Ngo 77b400
* Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.2.31-1
Than Ngo 77b400
- update to 2.2.31
Than Ngo 77b400
Than Ngo 6f6d6f
* Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.2.23-9
Than Ngo 6f6d6f
- get rid of *.la files
Than Ngo 6f6d6f
- remove duplicate doc files
Than Ngo 6f6d6f
Stephen Tweedie d3928a
* Wed Feb  9 2005 Stephen C. Tweedie <sct@redhat.com> 2.2.23-6
Stephen Tweedie d3928a
- Rebuild
Stephen Tweedie d3928a
Jeremy Katz c97ed3
* Thu Sep 16 2004 Jeremy Katz <katzj@redhat.com> - 2.2.23-5
Jeremy Katz c97ed3
- make the libs executable so that we find their dependencies (#132696)
Jeremy Katz c97ed3
Stephen Tweedie 327a3e
* Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.23-4
Stephen Tweedie 327a3e
- libacl-devel Requires: libattr-devel for libattr.la
Stephen Tweedie 327a3e
Stephen Tweedie e36a76
* Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.23-3
Stephen Tweedie e36a76
- Requires libtool >= 1.5 for building
Stephen Tweedie e36a76
cvsdist 2ea67e
* Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.2.23-2
cvsdist 2ea67e
- Make libacl.so.* executable.
cvsdist 2ea67e
cvsdist fd5da1
* Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.2.23-1
cvsdist fd5da1
- Update to latest upstream version.
cvsdist fd5da1
cvsdist fd5da1
* Sun Aug  8 2004 Alan Cox <alan@redhat.com> 2.2.7-7
cvsdist fd5da1
- Close bug #125300 (Steve Grubb: build requires libtool,gettext)
cvsdist fd5da1
cvsdist 7a1a7a
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 7a1a7a
- rebuilt
cvsdist 7a1a7a
cvsdist 422ff5
* Wed Mar 31 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.7-5
Karsten Hopp d9fd02
- Add missing %%defattr
cvsdist 422ff5
cvsdist 422ff5
* Tue Mar 30 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.7-3
cvsdist 422ff5
- Add /usr/include/acl to files manifest
cvsdist 422ff5
- Fix location of doc files, add main doc dir to files manifest
cvsdist 422ff5
cvsdist 658c73
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 658c73
- rebuilt
cvsdist 658c73
cvsdist 658c73
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 658c73
- rebuilt
cvsdist 658c73
cvsdist d2639a
* Tue Aug  5 2003 Elliot Lee <sopwith@redhat.com> 2.2.7-2
cvsdist d2639a
- Fix libtool invocation
cvsdist d2639a
cvsdist d2639a
* Tue Jun  3 2003 Stephen C. Tweedie <sct@redhat.com> 2.2.7-1
cvsdist d2639a
- Update to acl-2.2.7
cvsdist d2639a
cvsdist d2639a
* Wed Mar 26 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.3-2
cvsdist d2639a
- include patch from Jay Berkenbilt to print better error messages
cvsdist d2639a
cvsdist 0d74a6
* Tue Jan 28 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.3-1
cvsdist 0d74a6
- udpate/rebuild
cvsdist 0d74a6
cvsdist 0d74a6
* Sat Jan  4 2003 Jeff Johnson <jbj@redhat.com> 2.0.11-7
cvsdist 0d74a6
- set execute bits on library so that requires are generated.
cvsdist 0d74a6
cvsdist 0d74a6
* Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.0.11-5
cvsdist 0d74a6
- Correct patch in previous fix so that shared libraries go in /lib* 
cvsdist 0d74a6
  instead of /usr/lib*
cvsdist 0d74a6
cvsdist 0d74a6
* Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.0.11-4
cvsdist 0d74a6
- Fix multilibbing
cvsdist 0d74a6
cvsdist 0d74a6
* Wed Sep 11 2002 Than Ngo <than@redhat.com> 2.0.11-3
cvsdist 0d74a6
- Added fix to install libs in correct directory on 64bit machine
cvsdist 0d74a6
cvsdist cae5d5
* Thu Aug 08 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.11-2
cvsdist cae5d5
- Made the package only own the one directory that is unique to it:
cvsdist cae5d5
  /usr/include/acl
cvsdist cae5d5
cvsdist 6acb65
* Mon Jun 24 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.11-1
cvsdist 6acb65
- Initial Red Hat package
cvsdist 6acb65
  Made as few changes as possible relative to upstream packaging to
cvsdist 6acb65
  make it easier to maintain long-term.  This means that some of
cvsdist 6acb65
  the techniques used here are definitely not standard Red Hat
cvsdist 6acb65
  techniques.  If you are looking for an example package to fit
cvsdist 6acb65
  into Red Hat Linux transparently, this would not be the one to
cvsdist 6acb65
  pick.
cvsdist 6acb65
- acl-devel -> libacl-devel