123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355 |
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- Name: acl
- Summary: Access control list utilities
- Version: 2.2.53
- Release: 2%{?_dist_release}
- Group: system
- Vendor: Project Vine
- Distribution: Vine Linux
- License: GPLv2+
- URL: http://oss.sgi.com/projects/xfs/
- Source: http://download.savannah.nongnu.org/releases/acl/acl-%{version}.tar.gz
- # avoid permission denied problem with LD_PRELOAD in the test-suite
- Patch1: 0001-acl-2.2.53-test-runwrapper.patch
- # make __acl_create_entry_obj() work with LTO enabled (#1873975)
- Patch2: 0002-acl-2.2.53-setattr-segv.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: gawk
- BuildRequires: gettext
- BuildRequires: libattr-devel >= 2.4.1
- BuildRequires: libtool
- Requires: libacl = %{version}-%{release}
- %description
- This package contains the getfacl and setfacl utilities needed for
- manipulating access control lists.
- %package -n libacl
- Summary: Dynamic library for access control list support
- License: LGPLv2+
- Group: system
- Requires(post): /sbin/ldconfig
- Requires(postun): /sbin/ldconfig
- %description -n libacl
- This package contains the libacl.so dynamic library which contains
- the POSIX 1003.1e draft standard 17 functions for manipulating access
- control lists.
- %package -n libacl-devel
- Summary: Access control list static libraries and headers.
- License: LGPLv2+
- Group: programming
- Requires: libacl = %{version}-%{release}
- Requires: libattr-devel
- %description -n libacl-devel
- This package contains static libraries and header files needed to develop
- programs which make use of the access control list programming interface
- defined in POSIX 1003.1e draft standard 17.
- %if %build_compat32
- %package -n compat32-libacl
- Summary: Dynamic library for access control list support
- License: LGPLv2+
- Group: system,legacy
- Requires(post): /sbin/ldconfig
- Requires(postun): /sbin/ldconfig
- %description -n compat32-libacl
- This package contains the libacl.so dynamic library which contains
- the POSIX 1003.1e draft standard 17 functions for manipulating access
- control lists.
- %endif
- %debug_package
- %prep
- %setup -q
- %autopatch -p1
- %build
- touch .census
- # acl abuses libexecdir
- %configure --libdir=/%{_lib} --libexecdir=%{_libdir}
- %make_build
- %install
- rm -rf %{buildroot}
- %make_install
- mv -f %{buildroot}%{_datadir}/doc/acl ./doc-nover
- # get rid of libacl.a and libacl.la
- rm -f %{buildroot}/%{_lib}/libacl.{a,la}
- rm -f %{buildroot}%{_libdir}/libacl.{a,la}
- # fix links to shared libs and permissions
- rm -f %{buildroot}%{_libdir}/libacl.so
- mkdir -p %{buildroot}%{_libdir}
- ln -sf ../../%{_lib}/libacl.so %{buildroot}%{_libdir}/libacl.so
- chmod 0755 %{buildroot}/%{_lib}/libacl.so.*.*.*
- mv -f %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}/
- %find_lang %{name}
- %check
- if ./setfacl/setfacl -m u:`id -u`:rwx .; then
- make tests || exit $?
- if test 0 = `id -u`; then
- make root-tests || exit $?
- fi
- else
- echo '*** ACLs are probably not supported by the file system,' \
- 'the test-suite will NOT run ***'
- fi
- %clean
- rm -rf %{buildroot}
- %files -f %{name}.lang
- %defattr(-,root,root)
- %doc doc-nover/*
- %{_bindir}/chacl
- %{_bindir}/getfacl
- %{_bindir}/setfacl
- %{_mandir}/man1/chacl.1*
- %{_mandir}/man1/getfacl.1*
- %{_mandir}/man1/setfacl.1*
- %{_mandir}/man5/acl.5*
- %files -n libacl-devel
- %defattr(-,root,root)
- /%{_lib}/libacl.so
- %{_includedir}/acl
- %{_includedir}/sys/acl.h
- %{_libdir}/libacl.*
- %{_libdir}/pkgconfig/*.pc
- %{_mandir}/man3/acl_*
- %files -n libacl
- %defattr(-,root,root)
- /%{_lib}/libacl.so.*
- %if %build_compat32
- %files -n compat32-libacl
- %defattr(-,root,root,-)
- /%{_lib}/libacl.so.*
- %endif
- %changelog
- * Wed Mar 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.53-2
- - dropped scriptlets.
- * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.53-1
- - new upstream release.
- - dropped all patches: fixed in upstream.
- * Thu Apr 16 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.52-2
- - added compat32 package.
- * Fri Jul 4 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.52-1
- - new upstream release.
- - replaced patches to the newest rawhide's.
- * Sat Apr 09 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.49-1
- - updated to 2.2.49
- - added Patch2-7 from Fedora
- * Wed Apr 06 2011 Kamil Dudka <kdudka@redhat.com> 2.2.49-11
- - add function acl_extended_file_nofollow() (#692982)
- * Tue Mar 29 2011 Kamil Dudka <kdudka@redhat.com> 2.2.49-10
- - fix typos in setfacl(1) man page (#675451)
- * Thu Jul 08 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-8
- - remove dependency of libacl-devel on nfs-utils-lib and openldap
- * Tue May 25 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-7
- - let acl depend on the same version of libacl (#595674)
- * Wed Mar 24 2010 Kamil Dudka <kdudka@redhat.com> 2.2.49-6
- - prevent setfacl --restore from SIGSEGV on malformed restore file (#576550)
- * Mon Jun 30 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.2.47-2
- - initial build for Vine Linux
- * Tue Feb 12 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.47-1
- - new upstream version
- * Mon Jan 28 2008 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.45-3
- - Fixed segfault when using only "--" as parameter
- - Resolves: #430458
- * Wed Nov 7 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.45-2
- - Fixed setfacl exitcodes
- - Resolves: #368451
- * Wed Oct 31 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 2.2.45-1
- - New version
- - dropped walk patch
- * Thu Sep 20 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-10
- - Rewriten path_max patch to support long UTF8 names
- - Resolves #287701, #183181
- * Fri Aug 31 2007 Steve Dickson <steved@redhat.com> - 2.2.39-9
- - Removed NFS4 ACL patch since it was rejected by upstream.
- * Thu Aug 30 2007 Jeremy Katz <katzj@redhat.com> - 2.2.39-8
- - disable nfs patch; linking libacl against libs in /usr will lead to breakage
- * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.2.39-7
- - Build Require gawk
- * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.2.39-6
- - Rebuild for selinux ppc32 issue.
- * Mon Aug 27 2007 Steve Dickson <steved@redhat.com> 2.2.39-5
- - Added NFS v4 ACL support
- * Thu Jul 26 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-4.1
- - Updated man page for getfacl
- * Wed Jul 25 2007 Jiri Moskovcak <jmoskovc@redhat.com> 2.2.39-4
- - Added support fort short params to getfacl
- - Resolves: #204087
- * Wed Mar 21 2007 Thomas Woerner <twoerner@redhat.com> 2.2.39-3.1
- - new improved walk patch with fixed getfacl exit code (rhbz#232884)
- * Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 2.2.39-3
- - fix buildroot
- - remove trailing dot from summary
- - -devel requires same version of libacl
- - escape macro in changelog
- - make .so symlink relative
- * Thu Feb 22 2007 Steve Grubb <sgrubb@redhat.com> 2.2.39-2
- - Apply patch to make order consistent.
- * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.2.39-1.1
- - rebuild
- * Wed Jul 5 2006 Thomas Woerner <twoerner@redhat.com> 2.2.39-1
- - new version 2.2.39
- - fixed usage of long UTF-8 filenames (#183181)
- Thanks to Andrey for the initial patch.
- * Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 2.2.34-2
- - rebuild for -devel deps
- * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2.34-1.2
- - bump again for double-long bug on ppc(64)
- * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2.34-1.1
- - rebuilt for new gcc4.1 snapshot and glibc changes
- * Fri Feb 3 2006 Thomas Woerner <twoerner@redhat.com> 2.2.34-1
- - new version 2.2.34
- * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- - rebuilt
- * Tue Dec 6 2005 Thomas Woerner <twoerner@redhat.com> 2.2.32-2.1
- - fixed permissions of libacl
- * Tue Dec 6 2005 Thomas Woerner <twoerner@redhat.com> 2.2.32-2
- - spec file cleanup
- - mark po files as lang specific
- * Sun Nov 06 2005 Florian La Roche <laroche@redhat.com>
- - 2.2.32
- * Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.2.31-1
- - update to 2.2.31
- * Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.2.23-9
- - get rid of *.la files
- - remove duplicate doc files
- * Wed Feb 9 2005 Stephen C. Tweedie <sct@redhat.com> 2.2.23-6
- - Rebuild
- * Thu Sep 16 2004 Jeremy Katz <katzj@redhat.com> - 2.2.23-5
- - make the libs executable so that we find their dependencies (#132696)
- * Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.23-4
- - libacl-devel Requires: libattr-devel for libattr.la
- * Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.23-3
- - Requires libtool >= 1.5 for building
- * Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.2.23-2
- - Make libacl.so.* executable.
- * Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.2.23-1
- - Update to latest upstream version.
- * Sun Aug 8 2004 Alan Cox <alan@redhat.com> 2.2.7-7
- - Close bug #125300 (Steve Grubb: build requires libtool,gettext)
- * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- - rebuilt
- * Wed Mar 31 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.7-5
- - Add missing %%defattr
- * Tue Mar 30 2004 Stephen C. Tweedie <sct@redhat.com> 2.2.7-3
- - Add /usr/include/acl to files manifest
- - Fix location of doc files, add main doc dir to files manifest
- * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- - rebuilt
- * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- - rebuilt
- * Tue Aug 5 2003 Elliot Lee <sopwith@redhat.com> 2.2.7-2
- - Fix libtool invocation
- * Tue Jun 3 2003 Stephen C. Tweedie <sct@redhat.com> 2.2.7-1
- - Update to acl-2.2.7
- * Wed Mar 26 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.3-2
- - include patch from Jay Berkenbilt to print better error messages
- * Tue Jan 28 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.3-1
- - udpate/rebuild
- * Sat Jan 4 2003 Jeff Johnson <jbj@redhat.com> 2.0.11-7
- - set execute bits on library so that requires are generated.
- * Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.0.11-5
- - Correct patch in previous fix so that shared libraries go in /lib*
- instead of /usr/lib*
- * Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.0.11-4
- - Fix multilibbing
- * Wed Sep 11 2002 Than Ngo <than@redhat.com> 2.0.11-3
- - Added fix to install libs in correct directory on 64bit machine
- * Thu Aug 08 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.11-2
- - Made the package only own the one directory that is unique to it:
- /usr/include/acl
- * Mon Jun 24 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.11-1
- - Initial Red Hat package
- Made as few changes as possible relative to upstream packaging to
- make it easier to maintain long-term. This means that some of
- the techniques used here are definitely not standard Red Hat
- techniques. If you are looking for an example package to fit
- into Red Hat Linux transparently, this would not be the one to
- pick.
- - acl-devel -> libacl-devel
|