|
|
691f98 |
%define libapivermajor 1
|
|
|
5b3bda |
%define libapiversion %{libapivermajor}.10
|
|
|
691f98 |
|
|
|
691f98 |
# % define buildid .local
|
|
|
691f98 |
|
|
|
691f98 |
Name: keyutils
|
|
|
5b3bda |
Version: 1.6.3
|
|
|
5b3bda |
Release: 1%{?buildid}%{?dist}
|
|
|
691f98 |
Summary: Linux Key Management Utilities
|
|
|
691f98 |
License: GPLv2+ and LGPLv2+
|
|
|
5b3bda |
Url: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git
|
|
|
691f98 |
|
|
|
5b3bda |
Source0: %{url}/snapshot/keyutils-%{version}.tar.gz
|
|
|
691f98 |
|
|
|
691f98 |
BuildRequires: gcc
|
|
|
691f98 |
BuildRequires: glibc-kernheaders >= 2.4-9.1.92
|
|
|
691f98 |
BuildRequires: make
|
|
|
5b3bda |
BuildRequires: g++
|
|
|
691f98 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
691f98 |
|
|
|
691f98 |
%description
|
|
|
691f98 |
Utilities to control the kernel key management facility and to provide
|
|
|
691f98 |
a mechanism by which the kernel call back to user space to get a key
|
|
|
691f98 |
instantiated.
|
|
|
691f98 |
|
|
|
691f98 |
%package libs
|
|
|
691f98 |
Summary: Key utilities library
|
|
|
691f98 |
|
|
|
691f98 |
%description libs
|
|
|
691f98 |
This package provides a wrapper library for the key management facility system
|
|
|
691f98 |
calls.
|
|
|
691f98 |
|
|
|
691f98 |
%package libs-devel
|
|
|
691f98 |
Summary: Development package for building Linux key management utilities
|
|
|
691f98 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
691f98 |
|
|
|
691f98 |
%description libs-devel
|
|
|
691f98 |
This package provides headers and libraries for building key utilities.
|
|
|
691f98 |
|
|
|
691f98 |
%prep
|
|
|
691f98 |
%setup -q
|
|
|
691f98 |
|
|
|
691f98 |
%build
|
|
|
691f98 |
make \
|
|
|
691f98 |
NO_ARLIB=1 \
|
|
|
691f98 |
ETCDIR=%{_sysconfdir} \
|
|
|
691f98 |
LIBDIR=%{_libdir} \
|
|
|
691f98 |
USRLIBDIR=%{_libdir} \
|
|
|
691f98 |
BINDIR=%{_bindir} \
|
|
|
691f98 |
SBINDIR=%{_sbindir} \
|
|
|
691f98 |
MANDIR=%{_mandir} \
|
|
|
691f98 |
INCLUDEDIR=%{_includedir} \
|
|
|
691f98 |
SHAREDIR=%{_datadir}/%{name} \
|
|
|
691f98 |
RELEASE=.%{release} \
|
|
|
691f98 |
NO_GLIBC_KEYERR=1 \
|
|
|
691f98 |
CFLAGS="-Wall $RPM_OPT_FLAGS" \
|
|
|
691f98 |
LDFLAGS="%{?__global_ldflags}"
|
|
|
691f98 |
|
|
|
691f98 |
%install
|
|
|
691f98 |
make \
|
|
|
691f98 |
NO_ARLIB=1 \
|
|
|
691f98 |
DESTDIR=$RPM_BUILD_ROOT \
|
|
|
691f98 |
ETCDIR=%{_sysconfdir} \
|
|
|
691f98 |
LIBDIR=%{_libdir} \
|
|
|
691f98 |
USRLIBDIR=%{_libdir} \
|
|
|
691f98 |
BINDIR=%{_bindir} \
|
|
|
691f98 |
SBINDIR=%{_sbindir} \
|
|
|
691f98 |
MANDIR=%{_mandir} \
|
|
|
691f98 |
INCLUDEDIR=%{_includedir} \
|
|
|
691f98 |
SHAREDIR=%{_datadir}/%{name} \
|
|
|
691f98 |
install
|
|
|
691f98 |
|
|
|
691f98 |
%ldconfig_scriptlets libs
|
|
|
691f98 |
|
|
|
691f98 |
%files
|
|
|
691f98 |
%doc README
|
|
|
691f98 |
%license LICENCE.GPL
|
|
|
691f98 |
%config(noreplace) %{_sysconfdir}/*
|
|
|
691f98 |
%{_bindir}/keyctl
|
|
|
691f98 |
%{_sbindir}/key.dns_resolver
|
|
|
691f98 |
%{_sbindir}/request-key
|
|
|
691f98 |
%{_datadir}/%{name}
|
|
|
691f98 |
%{_mandir}/man1/*
|
|
|
691f98 |
%{_mandir}/man5/*
|
|
|
691f98 |
%{_mandir}/man8/*
|
|
|
691f98 |
|
|
|
691f98 |
%files libs
|
|
|
691f98 |
%license LICENCE.LGPL
|
|
|
691f98 |
%{_libdir}/libkeyutils.so.%{libapiversion}
|
|
|
691f98 |
%{_libdir}/libkeyutils.so.%{libapivermajor}
|
|
|
691f98 |
%{_mandir}/man7/*
|
|
|
691f98 |
|
|
|
691f98 |
%files libs-devel
|
|
|
691f98 |
%{_libdir}/libkeyutils.so
|
|
|
691f98 |
%{_includedir}/keyutils.h
|
|
|
691f98 |
%{_libdir}/pkgconfig/libkeyutils.pc
|
|
|
691f98 |
%{_mandir}/man3/*
|
|
|
691f98 |
|
|
|
691f98 |
%changelog
|
|
|
5b3bda |
* Fri Oct 14 2022 Pavel Reichl <preichl@redhat.com> - 1.6.3-1
|
|
|
5b3bda |
- Update to upstream version 1.6.3
|
|
|
5b3bda |
Related: rhbz#2119105
|
|
|
5b3bda |
|
|
|
691f98 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.1-4
|
|
|
691f98 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
691f98 |
Related: rhbz#1991688
|
|
|
691f98 |
|
|
|
691f98 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.1-3
|
|
|
691f98 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-2
|
|
|
691f98 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Jan 5 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 1.6.1-1
|
|
|
691f98 |
- Update to 1.6.1
|
|
|
691f98 |
- Spec cleanups
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-5
|
|
|
691f98 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
691f98 |
|
|
|
691f98 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
|
|
|
691f98 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
691f98 |
|
|
|
691f98 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-3
|
|
|
691f98 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
691f98 |
|
|
|
691f98 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
|
|
|
691f98 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Nov 13 2018 David Howells <dhowells@redhat.com> - 1.6-1
|
|
|
691f98 |
- Apply various specfile cleanups from Fedora.
|
|
|
691f98 |
- request-key: Provide a command line option to suppress helper execution.
|
|
|
691f98 |
- request-key: Find least-wildcard match rather than first match.
|
|
|
691f98 |
- Remove the dependency on MIT Kerberos.
|
|
|
691f98 |
- Fix some error messages
|
|
|
691f98 |
- keyctl_dh_compute.3: Suggest /proc/crypto for list of available hashes.
|
|
|
691f98 |
- Fix doc and comment typos.
|
|
|
691f98 |
- Add public key ops for encrypt, decrypt, sign and verify (needs linux-4.20).
|
|
|
691f98 |
- Add pkg-config support for finding libkeyutils.
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Aug 28 2018 David Howells <dhowells@redhat.com> 1.5.11-1
|
|
|
691f98 |
- Add keyring restriction support.
|
|
|
691f98 |
- Add KDF support to the Diffie-Helman function.
|
|
|
691f98 |
- DNS: Add support for AFS config files and SRV records
|
|
|
691f98 |
|
|
|
691f98 |
* Sat Jul 21 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.5.10-8
|
|
|
691f98 |
- Spec cleanups, add gcc build requires
|
|
|
691f98 |
|
|
|
691f98 |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.10-6
|
|
|
691f98 |
- Escape macros in %%changelog
|
|
|
691f98 |
|
|
|
691f98 |
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.10-4
|
|
|
691f98 |
- Switch to %%ldconfig_scriptlets
|
|
|
691f98 |
|
|
|
691f98 |
* Wed Mar 15 2017 David Howells <dhowells@redhat.com> - 1.5.10-1
|
|
|
691f98 |
- Include sys/types.h in keyutils.h.
|
|
|
691f98 |
- The dns resolver needs limits.h.
|
|
|
691f98 |
- Overhaul of all manual pages.
|
|
|
691f98 |
- Some manual pages moved to Linux man-pages project.
|
|
|
691f98 |
- Add Diffie-Helman keyctl function.
|
|
|
691f98 |
|
|
|
691f98 |
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 1.5.9-7
|
|
|
691f98 |
- Pass ldflags into the build so hardening works
|
|
|
691f98 |
|
|
|
691f98 |
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 1.5.9-3
|
|
|
691f98 |
- Fix license handling
|
|
|
691f98 |
|
|
|
691f98 |
* Fri Feb 21 2014 David Howells <dhowells@redhat.com> - 1.5.9-1
|
|
|
691f98 |
- Add manpages for get_persistent.
|
|
|
691f98 |
- Fix memory leaks in keyctl_describe/read/get_security_alloc().
|
|
|
691f98 |
- Use keyctl_describe_alloc in dump_key_tree_aux rather than open coding it.
|
|
|
691f98 |
- Exit rather than returning from act_xxx() functions.
|
|
|
691f98 |
- Fix memory leak in dump_key_tree_aux.
|
|
|
691f98 |
- Only get the groups list if we need it.
|
|
|
691f98 |
- Don't trust sscanf's %%n argument.
|
|
|
691f98 |
- Use the correct path macros in the specfile.
|
|
|
691f98 |
- Avoid use realloc when the memory has no content.
|
|
|
691f98 |
- Fix a bunch of issues in key.dns_resolver.
|
|
|
691f98 |
- Fix command table searching in keyctl utility.
|
|
|
691f98 |
- Fix a typo in the permissions mask constants.
|
|
|
691f98 |
- Improve the keyctl_read manpage.
|
|
|
691f98 |
- Add man7 pages describing various keyrings concepts.
|
|
|
691f98 |
|
|
|
691f98 |
* Fri Oct 4 2013 David Howells <dhowells@redhat.com> - 1.5.8-1
|
|
|
691f98 |
- New lib symbols should go in a new library minor version.
|
|
|
691f98 |
|
|
|
691f98 |
* Wed Oct 2 2013 David Howells <dhowells@redhat.com> - 1.5.7-1
|
|
|
691f98 |
- Provide a utility function to find a key by type and name.
|
|
|
691f98 |
- Allow keyctl commands to take a type+name arg instead of a key-id arg.
|
|
|
691f98 |
- Add per-UID get_persistent keyring function.
|
|
|
691f98 |
|
|
|
691f98 |
* Thu Aug 29 2013 David Howells <dhowells@redhat.com> - 1.5.6-1
|
|
|
691f98 |
- Fix the request-key.conf.5 manpage.
|
|
|
691f98 |
- Fix the max depth of key tree dump (keyctl show).
|
|
|
691f98 |
- The input buffer size for keyctl padd and pinstantiate should be larger.
|
|
|
691f98 |
- Add keyctl_invalidate.3 manpage.
|
|
|
691f98 |
|
|
|
691f98 |
* Wed Nov 30 2011 David Howells <dhowells@redhat.com> - 1.5.5-1
|
|
|
691f98 |
- Fix a Makefile error.
|
|
|
691f98 |
|
|
|
691f98 |
* Wed Nov 30 2011 David Howells <dhowells@redhat.com> - 1.5.4-1
|
|
|
691f98 |
- Fix the keyctl padd command and similar to handle binary input.
|
|
|
691f98 |
- Make keyctl show able to take a keyring to dump.
|
|
|
691f98 |
- Make keyctl show able to take a flag to request hex key IDs.
|
|
|
691f98 |
- Make keyctl show print the real ID of the root keyring.
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Nov 15 2011 David Howells <dhowells@redhat.com>
|
|
|
691f98 |
- Allow /sbin/request-key to have multiple config files.
|
|
|
691f98 |
|
|
|
691f98 |
* Wed Aug 31 2011 David Howells <dhowells@redhat.com>
|
|
|
691f98 |
- Adjust the manual page for 'keyctl unlink' to show keyring is optional.
|
|
|
691f98 |
- Add --version support for the keyutils version and build date.
|
|
|
691f98 |
|
|
|
691f98 |
* Thu Aug 11 2011 David Howells <dhowells@redhat.com> - 1.5.3-1
|
|
|
691f98 |
- Make the keyutils rpm depend on the same keyutils-libs rpm version.
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Jul 26 2011 David Howells <dhowells@redhat.com> - 1.5.2-1
|
|
|
691f98 |
- Use correct format spec for printing pointer subtraction results.
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Jul 19 2011 David Howells <dhowells@redhat.com> - 1.5.1-1
|
|
|
691f98 |
- Fix unread variables.
|
|
|
691f98 |
- Licence file update.
|
|
|
691f98 |
|
|
|
691f98 |
* Thu Mar 10 2011 David Howells <dhowells@redhat.com> - 1.5-1
|
|
|
691f98 |
- Disable RPATH setting in Makefile.
|
|
|
691f98 |
- Add -I. to build to get this keyutils.h.
|
|
|
691f98 |
- Make CFLAGS override on make command line work right.
|
|
|
691f98 |
- Make specfile UTF-8.
|
|
|
691f98 |
- Support KEYCTL_REJECT.
|
|
|
691f98 |
- Support KEYCTL_INSTANTIATE_IOV.
|
|
|
691f98 |
- Add AFSDB DNS lookup program from Wang Lei.
|
|
|
691f98 |
- Generalise DNS lookup program.
|
|
|
691f98 |
- Add recursive scan utility function.
|
|
|
691f98 |
- Add bad key reap command to keyctl.
|
|
|
691f98 |
- Add multi-unlink variant to keyctl unlink command.
|
|
|
691f98 |
- Add multi key purge command to keyctl.
|
|
|
691f98 |
- Handle multi-line commands in keyctl command table.
|
|
|
691f98 |
- Move the package to version to 1.5.
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Mar 1 2011 David Howells <dhowells@redhat.com> - 1.4-4
|
|
|
691f98 |
- Make build guess at default libdirs and word size.
|
|
|
691f98 |
- Make program build depend on library in Makefile.
|
|
|
691f98 |
- Don't include $(DESTDIR) in MAN* macros.
|
|
|
691f98 |
- Remove NO_GLIBC_KEYSYS as it is obsolete.
|
|
|
691f98 |
- Have Makefile extract version info from specfile and version script.
|
|
|
691f98 |
- Provide RPM build rule in Makefile.
|
|
|
691f98 |
- Provide distclean rule in Makefile.
|
|
|
691f98 |
|
|
|
691f98 |
* Fri Dec 17 2010 Diego Elio Pettenò <flameeyes@hosting.flameeyes.eu> - 1.4-3
|
|
|
691f98 |
- Fix local linking and RPATH.
|
|
|
691f98 |
|
|
|
691f98 |
* Thu Jun 10 2010 David Howells <dhowells@redhat.com> - 1.4-2
|
|
|
691f98 |
- Fix prototypes in manual pages (some char* should be void*).
|
|
|
691f98 |
- Rename the keyctl_security.3 manpage to keyctl_get_security.3.
|
|
|
691f98 |
|
|
|
691f98 |
* Fri Mar 19 2010 David Howells <dhowells@redhat.com> - 1.4-1
|
|
|
691f98 |
- Fix the library naming wrt the version.
|
|
|
691f98 |
- Move the package to version to 1.4.
|
|
|
691f98 |
|
|
|
691f98 |
* Fri Mar 19 2010 David Howells <dhowells@redhat.com> - 1.3-3
|
|
|
691f98 |
- Fix spelling mistakes in manpages.
|
|
|
691f98 |
- Add an index manpage for all the keyctl functions.
|
|
|
691f98 |
|
|
|
691f98 |
* Thu Mar 11 2010 David Howells <dhowells@redhat.com> - 1.3-2
|
|
|
691f98 |
- Fix rpmlint warnings.
|
|
|
691f98 |
|
|
|
691f98 |
* Fri Feb 26 2010 David Howells <dhowells@redhat.com> - 1.3-1
|
|
|
691f98 |
- Fix compiler warnings in request-key.
|
|
|
691f98 |
- Expose the kernel function to get a key's security context.
|
|
|
691f98 |
- Expose the kernel function to set a processes keyring onto its parent.
|
|
|
691f98 |
- Move libkeyutils library version to 1.3.
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Aug 22 2006 David Howells <dhowells@redhat.com> - 1.2-1
|
|
|
691f98 |
- Remove syscall manual pages (section 2) to man-pages package [BZ 203582]
|
|
|
691f98 |
- Don't write to serial port in debugging script
|
|
|
691f98 |
|
|
|
691f98 |
* Mon Jun 5 2006 David Howells <dhowells@redhat.com> - 1.1-4
|
|
|
691f98 |
- Call ldconfig during (un)installation.
|
|
|
691f98 |
|
|
|
691f98 |
* Fri May 5 2006 David Howells <dhowells@redhat.com> - 1.1-3
|
|
|
691f98 |
- Don't include the release number in the shared library filename
|
|
|
691f98 |
- Don't build static library
|
|
|
691f98 |
|
|
|
691f98 |
* Fri May 5 2006 David Howells <dhowells@redhat.com> - 1.1-2
|
|
|
691f98 |
- More bug fixes from Fedora reviewer.
|
|
|
691f98 |
|
|
|
691f98 |
* Thu May 4 2006 David Howells <dhowells@redhat.com> - 1.1-1
|
|
|
691f98 |
- Fix rpmlint errors
|
|
|
691f98 |
|
|
|
691f98 |
* Mon Dec 5 2005 David Howells <dhowells@redhat.com> - 1.0-2
|
|
|
691f98 |
- Add build dependency on glibc-kernheaders with key management syscall numbers
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Nov 29 2005 David Howells <dhowells@redhat.com> - 1.0-1
|
|
|
691f98 |
- Add data pipe-in facility for keyctl request2
|
|
|
691f98 |
|
|
|
691f98 |
* Mon Nov 28 2005 David Howells <dhowells@redhat.com> - 1.0-1
|
|
|
691f98 |
- Rename library and header file "keyutil" -> "keyutils" for consistency
|
|
|
691f98 |
- Fix shared library version naming to same way as glibc.
|
|
|
691f98 |
- Add versioning for shared library symbols
|
|
|
691f98 |
- Create new keyutils-libs package and install library and main symlink there
|
|
|
691f98 |
- Install base library symlink in /usr/lib and place in devel package
|
|
|
691f98 |
- Added a keyutils archive library
|
|
|
691f98 |
- Shorten displayed key permissions list to just those we actually have
|
|
|
691f98 |
|
|
|
691f98 |
* Thu Nov 24 2005 David Howells <dhowells@redhat.com> - 0.3-4
|
|
|
691f98 |
- Add data pipe-in facilities for keyctl add, update and instantiate
|
|
|
691f98 |
|
|
|
691f98 |
* Fri Nov 18 2005 David Howells <dhowells@redhat.com> - 0.3-3
|
|
|
691f98 |
- Added stdint.h inclusion in keyutils.h
|
|
|
691f98 |
- Made request-key.c use request_key() rather than keyctl_search()
|
|
|
691f98 |
- Added piping facility to request-key
|
|
|
691f98 |
|
|
|
691f98 |
* Thu Nov 17 2005 David Howells <dhowells@redhat.com> - 0.3-2
|
|
|
691f98 |
- Added timeout keyctl option
|
|
|
691f98 |
- request_key auth keys must now be assumed
|
|
|
691f98 |
- Fix keyctl argument ordering for debug negate line in request-key.conf
|
|
|
691f98 |
|
|
|
691f98 |
* Thu Jul 28 2005 David Howells <dhowells@redhat.com> - 0.3-1
|
|
|
691f98 |
- Must invoke initialisation from perror() override in libkeyutils
|
|
|
691f98 |
- Minor UI changes
|
|
|
691f98 |
|
|
|
691f98 |
* Wed Jul 20 2005 David Howells <dhowells@redhat.com> - 0.2-2
|
|
|
691f98 |
- Bump version to permit building in main repositories.
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Jul 12 2005 David Howells <dhowells@redhat.com> - 0.2-1
|
|
|
691f98 |
- Don't attempt to define the error codes in the header file.
|
|
|
691f98 |
- Pass the release ID through to the makefile to affect the shared library name.
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Jul 12 2005 David Howells <dhowells@redhat.com> - 0.1-3
|
|
|
691f98 |
- Build in the perror() override to get the key error strings displayed.
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Jul 12 2005 David Howells <dhowells@redhat.com> - 0.1-2
|
|
|
691f98 |
- Need a defattr directive after each files directive.
|
|
|
691f98 |
|
|
|
691f98 |
* Tue Jul 12 2005 David Howells <dhowells@redhat.com> - 0.1-1
|
|
|
691f98 |
- Package creation.
|