Blame SPECS/acl.spec

f607c0
Summary: Access control list utilities
f607c0
Name: acl
f607c0
Version: 2.2.53
f607c0
Release: 1%{?dist}
f607c0
BuildRequires: gawk
f607c0
BuildRequires: gettext
f607c0
BuildRequires: libattr-devel
f607c0
BuildRequires: libtool
f607c0
Requires: libacl = %{version}-%{release}
f607c0
Source: https://download-mirror.savannah.gnu.org/releases/acl/acl-%{version}.tar.gz
f607c0
f607c0
License: GPLv2+
f607c0
URL: https://savannah.nongnu.org/projects/acl
f607c0
f607c0
%description
f607c0
This package contains the getfacl and setfacl utilities needed for
f607c0
manipulating access control lists.
f607c0
f607c0
%package -n libacl
f607c0
Summary: Dynamic library for access control list support
f607c0
License: LGPLv2+
f607c0
Group: System Environment/Libraries
f607c0
Conflicts: filesystem < 3
f607c0
f607c0
%description -n libacl
f607c0
This package contains the libacl.so dynamic library which contains
f607c0
the POSIX 1003.1e draft standard 17 functions for manipulating access
f607c0
control lists.
f607c0
f607c0
%package -n libacl-devel
f607c0
Summary: Files needed for building programs with libacl
f607c0
License: LGPLv2+
f607c0
Group: Development/Libraries
f607c0
Requires: libacl = %{version}-%{release}, libattr-devel
f607c0
f607c0
%description -n libacl-devel
f607c0
This package contains header files and documentation needed to develop
f607c0
programs which make use of the access control list programming interface
f607c0
defined in POSIX 1003.1e draft standard 17.
f607c0
f607c0
%prep
f607c0
%autosetup -p1
f607c0
f607c0
%build
f607c0
%configure
f607c0
f607c0
# uncomment to turn on optimizations
f607c0
# sed -i 's/-O2/-O0/' libtool include/builddefs
f607c0
# unset CFLAGS
f607c0
f607c0
make %{?_smp_mflags}
f607c0
f607c0
%check
f607c0
if ./setfacl -m "u:$(id -u):rwx" .; then
f607c0
    if test 0 = "$(id -u)"; then
f607c0
        # test/root/permissions.test requires the 'daemon' user to be a member
f607c0
        # of the 'bin' group in order not to fail.  Prevent the test from
f607c0
        # running if we detect that its requirements are not met (#1085389).
f607c0
        if id -nG daemon | { ! grep bin >/dev/null; }; then
f607c0
	    sed -e 's|test/root/permissions.test||' \
f607c0
	        -i test/Makemodule.am Makefile.in Makefile
f607c0
	fi
f607c0
f607c0
	# test/root/setfacl.test fails if 'bin' user cannot access build dir
f607c0
	if ! runuser -u bin -- "${PWD}/setfacl" --version; then
f607c0
	    sed -e 's|test/root/setfacl.test||' \
f607c0
	        -i test/Makemodule.am Makefile.in Makefile
f607c0
	fi
f607c0
    fi
f607c0
f607c0
    # run the upstream test-suite
f607c0
    make check || exit $?
f607c0
else
f607c0
    echo '*** ACLs are probably not supported by the file system,' \
f607c0
         'the test-suite will NOT run ***'
f607c0
fi
f607c0
f607c0
%install
f607c0
make install DESTDIR=$RPM_BUILD_ROOT
f607c0
f607c0
# get rid of libacl.a and libacl.la
f607c0
rm -f $RPM_BUILD_ROOT%{_libdir}/libacl.a
f607c0
rm -f $RPM_BUILD_ROOT%{_libdir}/libacl.la
f607c0
f607c0
chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/libacl.so.*.*.*
f607c0
f607c0
# drop already installed documentation, we will use an RPM macro to install it
f607c0
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
f607c0
f607c0
%find_lang %{name}
f607c0
f607c0
%ldconfig_scriptlets -n libacl
f607c0
f607c0
%files -f %{name}.lang
f607c0
%{!?_licensedir:%global license %%doc}
f607c0
%license doc/COPYING*
f607c0
%{_bindir}/chacl
f607c0
%{_bindir}/getfacl
f607c0
%{_bindir}/setfacl
f607c0
%{_mandir}/man1/chacl.1*
f607c0
%{_mandir}/man1/getfacl.1*
f607c0
%{_mandir}/man1/setfacl.1*
f607c0
%{_mandir}/man5/acl.5*
f607c0
f607c0
%files -n libacl-devel
f607c0
%{_libdir}/libacl.so
f607c0
%{_libdir}/pkgconfig/*.pc
f607c0
%{_includedir}/acl
f607c0
%{_includedir}/sys/acl.h
f607c0
%{_mandir}/man3/acl_*
f607c0
f607c0
%files -n libacl
f607c0
%{_libdir}/libacl.so.*
f607c0
f607c0
%changelog
f607c0
* Mon Jul 02 2018 Kamil Dudka <kdudka@redhat.com> 2.2.53-1
f607c0
- new upstream release
f607c0
f607c0
* Tue Mar 13 2018 Kamil Dudka <kdudka@redhat.com> 2.2.52-21
f607c0
- update link to POSIX.1e draft in acl(5) man page (#1510527)
f607c0
f607c0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.52-20
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f607c0
f607c0
* Sun Feb 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.2.52-19
f607c0
- Switch to %%ldconfig_scriptlets
f607c0
f607c0
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.52-18
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f607c0
f607c0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.52-17
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f607c0
f607c0
* Mon Jul 24 2017 Kamil Dudka <kdudka@redhat.com> 2.2.52-16
f607c0
- fix test-suite failure with perl-5.26.0 (#1473845)
f607c0
- update URL of the upstream source tarball
f607c0
f607c0
* Thu May 18 2017 Kamil Dudka <kdudka@redhat.com> 2.2.52-15
f607c0
- setfacl.1: document the meaning of '-' in perms (#1337039)
f607c0
- avoid failure of %%check when building as root (#1085389)
f607c0
- apply patches automatically to ease maintenance
f607c0
f607c0
* Wed May 17 2017 Kamil Dudka <kdudka@redhat.com> 2.2.52-14
f607c0
- drop obsolete BuildRoot and Group tags
f607c0
- fix spurious acl_check() failure on setfacl --restore (#1451826)
f607c0
f607c0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.52-13
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f607c0
f607c0
* Fri Feb 03 2017 Kamil Dudka <kdudka@redhat.com> 2.2.52-12
f607c0
- update project URL (#1418474)
f607c0
f607c0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.52-11
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f607c0
f607c0
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 2.2.52-10
f607c0
- Remove bizarre 12 year old libtool invocation workaround that prevented
f607c0
  hardened cflags working
f607c0
f607c0
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.52-9
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f607c0
f607c0
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.2.52-8
f607c0
- Rebuilt for
f607c0
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
f607c0
f607c0
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.52-7
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f607c0
f607c0
* Fri Jul 11 2014 Tom Callaway <spot@fedoraproject.org> - 2.2.52-6
f607c0
- tag licenses properly
f607c0
f607c0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.52-5
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f607c0
f607c0
* Fri Nov 01 2013 Kamil Dudka <kdudka@redhat.com> 2.2.52-4
f607c0
- fix SIGSEGV of getfacl -e on overly long group name
f607c0
f607c0
* Fri Aug 09 2013 Kamil Dudka <kdudka@redhat.com> 2.2.52-3
f607c0
- drop a docdir-related patch to fix a packaging failure (#993659)
f607c0
f607c0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.52-2
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f607c0
f607c0
* Mon May 20 2013 Kamil Dudka <kdudka@redhat.com> 2.2.52-1
f607c0
- new upstream release, drop applied patches
f607c0
- drop workarounds that are no longer necessary
f607c0
f607c0
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.51-9
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f607c0
f607c0
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> 2.2.51-8
f607c0
- fix specfile issues reported by the fedora-review script
f607c0
f607c0
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.51-7
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f607c0
f607c0
* Wed May 02 2012 Kamil Dudka <kdudka@redhat.com> 2.2.51-6
f607c0
- do not mention static libraries in the summary of libacl{,-devel} (#817952)
f607c0
f607c0
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2.2.51-5
f607c0
- add filesystem guard
f607c0
f607c0
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2.2.51-4
f607c0
- install everything in /usr
f607c0
  https://fedoraproject.org/wiki/Features/UsrMove
f607c0
f607c0
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.51-3
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f607c0
f607c0
* Fri May 06 2011 Kamil Dudka <kdudka@redhat.com> 2.2.51-2
f607c0
- update project URL (#699058)
f607c0
f607c0
* Thu Apr 21 2011 Kamil Dudka <kdudka@redhat.com> 2.2.51-1
f607c0
- new upstream release
f607c0
f607c0
* Tue Apr 19 2011 Kamil Dudka <kdudka@redhat.com> 2.2.50-1
f607c0
- new upstream release
f607c0
f607c0
* Wed Apr 06 2011 Kamil Dudka <kdudka@redhat.com> 2.2.49-11
f607c0
- add function acl_extended_file_nofollow() (#692982)
f607c0
f607c0
* Tue Mar 29 2011 Kamil Dudka <kdudka@redhat.com> 2.2.49-10
f607c0
- fix typos in setfacl(1) man page (#675451)
f607c0
f607c0
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.49-9
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f607c0
f607c0
* Thu Jul 08 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-8
f607c0
- remove dependency of libacl-devel on nfs-utils-lib and openldap
f607c0
f607c0
* Tue May 25 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-7
f607c0
- let acl depend on the same version of libacl (#595674)
f607c0
f607c0
* Wed Mar 24 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-6
f607c0
- prevent setfacl --restore from SIGSEGV on malformed restore file (#576550)
f607c0
f607c0
* Wed Mar 10 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-5
f607c0
- run the test-suite if possible
f607c0
f607c0
* Tue Jan 19 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-4
f607c0
- do not package a static library (#556036)
f607c0
- remove multilib patch no longer useful
f607c0
- cleanup in BuildRequires
f607c0
f607c0
* Tue Jan 05 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-3
f607c0
- upstream patch for setfacl --restore SUID/SGID bits handling (#467936)
f607c0
f607c0
* Sat Dec 26 2009 Kamil Dudka <kdudka@redhat.com> 2.2.49-2
f607c0
- tweaked setfacl tree walk flags (#488674), thanks to Markus Steinborn
f607c0
f607c0
* Sun Dec 20 2009 Kamil Dudka <kdudka@redhat.com> 2.2.49-1
f607c0
- new upstream bugfix release
f607c0
- big cleanup in patches
f607c0
f607c0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.47-5
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f607c0
f607c0
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.47-4
f607c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f607c0
f607c0
* Thu Jul 31 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.47-3
f607c0
- little improvement to params patch
f607c0
- Resolves: #457244
f607c0
f607c0
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.47-2
f607c0
- rework params patch to apply with fuzz=0
f607c0
- fix license tag
f607c0
f607c0
* Tue Feb 12 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.47-1
f607c0
- new upstream version
f607c0
f607c0
* Mon Jan 28 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.45-3
f607c0
- Fixed segfault when using only "--" as parameter
f607c0
- Resolves: #430458
f607c0
f607c0
* Wed Nov  7 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.45-2
f607c0
- Fixed setfacl exitcodes
f607c0
- Resolves: #368451
f607c0
f607c0
* Wed Oct 31 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 2.2.45-1
f607c0
- New version
f607c0
- dropped walk patch
f607c0
f607c0
* Thu Sep 20 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-10
f607c0
- Rewriten path_max patch to support long UTF8 names
f607c0
- Resolves #287701, #183181
f607c0
f607c0
* Fri Aug 31 2007 Steve Dickson <steved@redhat.com> - 2.2.39-9
f607c0
- Removed NFS4 ACL patch since it was rejected by upstream.
f607c0
f607c0
* Thu Aug 30 2007 Jeremy Katz <katzj@redhat.com> - 2.2.39-8
f607c0
- disable nfs patch; linking libacl against libs in /usr will lead to breakage
f607c0
f607c0
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.2.39-7
f607c0
- Build Require gawk
f607c0
f607c0
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.2.39-6
f607c0
- Rebuild for selinux ppc32 issue.
f607c0
f607c0
* Mon Aug 27 2007 Steve Dickson <steved@redhat.com>  2.2.39-5
f607c0
- Added NFS v4 ACL support
f607c0
f607c0
* Thu Jul 26 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-4.1
f607c0
- Updated man page for getfacl
f607c0
f607c0
* Wed Jul 25 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-4
f607c0
- Added support fort short params to getfacl
f607c0
- Resolves: #204087
f607c0
f607c0
* Wed Mar 21 2007 Thomas Woerner <twoerner@redhat.com> 2.2.39-3.1
f607c0
- new improved walk patch with fixed getfacl exit code (rhbz#232884)
f607c0
f607c0
* Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 2.2.39-3
f607c0
- fix buildroot
f607c0
- remove trailing dot from summary
f607c0
- -devel requires same version of libacl
f607c0
- escape macro in changelog
f607c0
- make .so symlink relative
f607c0
f607c0
* Thu Feb 22 2007 Steve Grubb <sgrubb@redhat.com> 2.2.39-2
f607c0
- Apply patch to make order consistent.
f607c0
f607c0
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.2.39-1.1
f607c0
- rebuild
f607c0
f607c0
* Wed Jul  5 2006 Thomas Woerner <twoerner@redhat.com> 2.2.39-1
f607c0
- new version 2.2.39
f607c0
- fixed usage of long UTF-8 filenames (#183181)
f607c0
  Thanks to Andrey for the initial patch.
f607c0
f607c0
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 2.2.34-2
f607c0
- rebuild for -devel deps
f607c0
f607c0
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2.34-1.2
f607c0
- bump again for double-long bug on ppc(64)
f607c0
f607c0
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2.34-1.1
f607c0
- rebuilt for new gcc4.1 snapshot and glibc changes
f607c0
f607c0
* Fri Feb  3 2006 Thomas Woerner <twoerner@redhat.com> 2.2.34-1
f607c0
- new version 2.2.34
f607c0
f607c0
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
f607c0
- rebuilt
f607c0
f607c0
* Tue Dec  6 2005 Thomas Woerner <twoerner@redhat.com> 2.2.32-2.1
f607c0
- fixed permissions of libacl
f607c0
f607c0
* Tue Dec  6 2005 Thomas Woerner <twoerner@redhat.com> 2.2.32-2
f607c0
- spec file cleanup
f607c0
- mark po files as lang specific
f607c0
f607c0
* Sun Nov 06 2005 Florian La Roche <laroche@redhat.com>
f607c0
- 2.2.32
f607c0
f607c0
* Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.2.31-1
f607c0
- update to 2.2.31
f607c0
f607c0
* Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.2.23-9
f607c0
- get rid of *.la files
f607c0
- remove duplicate doc files
f607c0
f607c0
* Wed Feb  9 2005 Stephen C. Tweedie <sct@redhat.com> 2.2.23-6
f607c0
- Rebuild
f607c0
f607c0
* Thu Sep 16 2004 Jeremy Katz <katzj@redhat.com> - 2.2.23-5
f607c0
- make the libs executable so that we find their dependencies (#132696)
f607c0
f607c0
* Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.23-4
f607c0
- libacl-devel Requires: libattr-devel for libattr.la
f607c0
f607c0
* Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.23-3
f607c0
- Requires libtool >= 1.5 for building
f607c0
f607c0
* Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.2.23-2
f607c0
- Make libacl.so.* executable.
f607c0
f607c0
* Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.2.23-1
f607c0
- Update to latest upstream version.
f607c0
f607c0
* Sun Aug  8 2004 Alan Cox <alan@redhat.com> 2.2.7-7
f607c0
- Close bug #125300 (Steve Grubb: build requires libtool,gettext)
f607c0
f607c0
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
f607c0
- rebuilt
f607c0
f607c0
* Wed Mar 31 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.7-5
f607c0
- Add missing %%defattr
f607c0
f607c0
* Tue Mar 30 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.7-3
f607c0
- Add /usr/include/acl to files manifest
f607c0
- Fix location of doc files, add main doc dir to files manifest
f607c0
f607c0
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
f607c0
- rebuilt
f607c0
f607c0
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
f607c0
- rebuilt
f607c0
f607c0
* Tue Aug  5 2003 Elliot Lee <sopwith@redhat.com> 2.2.7-2
f607c0
- Fix libtool invocation
f607c0
f607c0
* Tue Jun  3 2003 Stephen C. Tweedie <sct@redhat.com> 2.2.7-1
f607c0
- Update to acl-2.2.7
f607c0
f607c0
* Wed Mar 26 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.3-2
f607c0
- include patch from Jay Berkenbilt to print better error messages
f607c0
f607c0
* Tue Jan 28 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.3-1
f607c0
- udpate/rebuild
f607c0
f607c0
* Sat Jan  4 2003 Jeff Johnson <jbj@redhat.com> 2.0.11-7
f607c0
- set execute bits on library so that requires are generated.
f607c0
f607c0
* Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.0.11-5
f607c0
- Correct patch in previous fix so that shared libraries go in /lib* 
f607c0
  instead of /usr/lib*
f607c0
f607c0
* Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.0.11-4
f607c0
- Fix multilibbing
f607c0
f607c0
* Wed Sep 11 2002 Than Ngo <than@redhat.com> 2.0.11-3
f607c0
- Added fix to install libs in correct directory on 64bit machine
f607c0
f607c0
* Thu Aug 08 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.11-2
f607c0
- Made the package only own the one directory that is unique to it:
f607c0
  /usr/include/acl
f607c0
f607c0
* Mon Jun 24 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.11-1
f607c0
- Initial Red Hat package
f607c0
  Made as few changes as possible relative to upstream packaging to
f607c0
  make it easier to maintain long-term.  This means that some of
f607c0
  the techniques used here are definitely not standard Red Hat
f607c0
  techniques.  If you are looking for an example package to fit
f607c0
  into Red Hat Linux transparently, this would not be the one to
f607c0
  pick.
f607c0
- acl-devel -> libacl-devel