Version 1.5.9
- Add manpages for get_persistent. - Fix memory leaks in keyctl_describe/read/get_security_alloc(). - Use keyctl_describe_alloc in dump_key_tree_aux rather than open coding it. - Exit rather than returning from act_xxx() functions. - Fix memory leak in dump_key_tree_aux. - Only get the groups list if we need it. - Don't trust sscanf's %n argument. - Use the correct path macros in the specfile. - Avoid use realloc when the memory has no content. - Fix a bunch of issues in key.dns_resolver. - Fix command table searching in keyctl utility. - Fix a typo in the permissions mask constants. - Improve the keyctl_read manpage. - Add man7 pages describing various keyrings concepts.
This commit is contained in:
parent
0a77729569
commit
5af01842c8
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/keyutils-1.5.8.tar.bz2
|
/keyutils-1.5.9.tar.bz2
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
%define vermajor 1
|
%define vermajor 1
|
||||||
%define verminor 5.8
|
%define verminor 5.9
|
||||||
%define version %{vermajor}.%{verminor}
|
%define version %{vermajor}.%{verminor}
|
||||||
%define libdir /%{_lib}
|
|
||||||
%define usrlibdir %{_prefix}/%{_lib}
|
|
||||||
%define libapivermajor 1
|
%define libapivermajor 1
|
||||||
%define libapiversion %{libapivermajor}.5
|
%define libapiversion %{libapivermajor}.5
|
||||||
|
|
||||||
@ -47,11 +45,19 @@ This package provides headers and libraries for building key utilities.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
%define datadir %{_datarootdir}/keyutils
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make \
|
make \
|
||||||
NO_ARLIB=1 \
|
NO_ARLIB=1 \
|
||||||
LIBDIR=%{libdir} \
|
ETCDIR=%{_sysconfdir} \
|
||||||
USRLIBDIR=%{usrlibdir} \
|
LIBDIR=%{_libdir} \
|
||||||
|
USRLIBDIR=%{_libdir} \
|
||||||
|
BINDIR=%{_bindir} \
|
||||||
|
SBINDIR=%{_sbindir} \
|
||||||
|
MANDIR=%{_mandir} \
|
||||||
|
INCLUDEDIR=%{_includedir} \
|
||||||
|
SHAREDIR=%{datadir} \
|
||||||
RELEASE=.%{release} \
|
RELEASE=.%{release} \
|
||||||
NO_GLIBC_KEYERR=1 \
|
NO_GLIBC_KEYERR=1 \
|
||||||
CFLAGS="-Wall $RPM_OPT_FLAGS -Werror"
|
CFLAGS="-Wall $RPM_OPT_FLAGS -Werror"
|
||||||
@ -61,8 +67,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
make \
|
make \
|
||||||
NO_ARLIB=1 \
|
NO_ARLIB=1 \
|
||||||
DESTDIR=$RPM_BUILD_ROOT \
|
DESTDIR=$RPM_BUILD_ROOT \
|
||||||
LIBDIR=%{libdir} \
|
ETCDIR=%{_sysconfdir} \
|
||||||
USRLIBDIR=%{usrlibdir} \
|
LIBDIR=%{_libdir} \
|
||||||
|
USRLIBDIR=%{_libdir} \
|
||||||
|
BINDIR=%{_bindir} \
|
||||||
|
SBINDIR=%{_sbindir} \
|
||||||
|
MANDIR=%{_mandir} \
|
||||||
|
INCLUDEDIR=%{_includedir} \
|
||||||
|
SHAREDIR=%{datadir} \
|
||||||
install
|
install
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -74,27 +86,44 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README LICENCE.GPL
|
%doc README LICENCE.GPL
|
||||||
/sbin/*
|
%{_sbindir}/*
|
||||||
/bin/*
|
%{_bindir}/*
|
||||||
/usr/share/keyutils
|
%{datadir}
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%config(noreplace) /etc/*
|
%config(noreplace) %{_sysconfdir}/*
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENCE.LGPL
|
%doc LICENCE.LGPL
|
||||||
%{libdir}/libkeyutils.so.%{libapiversion}
|
%{_mandir}/man7/*
|
||||||
%{libdir}/libkeyutils.so.%{libapivermajor}
|
%{_libdir}/libkeyutils.so.%{libapiversion}
|
||||||
|
%{_libdir}/libkeyutils.so.%{libapivermajor}
|
||||||
|
|
||||||
%files libs-devel
|
%files libs-devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{usrlibdir}/libkeyutils.so
|
%{_libdir}/libkeyutils.so
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 21 2014 David Howells <dhowells@redhat.com> - 1.5.9-1
|
||||||
|
- Add manpages for get_persistent.
|
||||||
|
- Fix memory leaks in keyctl_describe/read/get_security_alloc().
|
||||||
|
- Use keyctl_describe_alloc in dump_key_tree_aux rather than open coding it.
|
||||||
|
- Exit rather than returning from act_xxx() functions.
|
||||||
|
- Fix memory leak in dump_key_tree_aux.
|
||||||
|
- Only get the groups list if we need it.
|
||||||
|
- Don't trust sscanf's %n argument.
|
||||||
|
- Use the correct path macros in the specfile.
|
||||||
|
- Avoid use realloc when the memory has no content.
|
||||||
|
- Fix a bunch of issues in key.dns_resolver.
|
||||||
|
- Fix command table searching in keyctl utility.
|
||||||
|
- Fix a typo in the permissions mask constants.
|
||||||
|
- Improve the keyctl_read manpage.
|
||||||
|
- Add man7 pages describing various keyrings concepts.
|
||||||
|
|
||||||
* Fri Oct 4 2013 David Howells <dhowells@redhat.com> - 1.5.8-1
|
* Fri Oct 4 2013 David Howells <dhowells@redhat.com> - 1.5.8-1
|
||||||
- New lib symbols should go in a new library minor version.
|
- New lib symbols should go in a new library minor version.
|
||||||
|
|
||||||
@ -147,7 +176,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- Add recursive scan utility function.
|
- Add recursive scan utility function.
|
||||||
- Add bad key reap command to keyctl.
|
- Add bad key reap command to keyctl.
|
||||||
- Add multi-unlink variant to keyctl unlink command.
|
- Add multi-unlink variant to keyctl unlink command.
|
||||||
- Add multi key purger command to keyctl.
|
- Add multi key purge command to keyctl.
|
||||||
- Handle multi-line commands in keyctl command table.
|
- Handle multi-line commands in keyctl command table.
|
||||||
- Move the package to version to 1.5.
|
- Move the package to version to 1.5.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user