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