From 45715922348dc7b0f1208373271e369cc66ca5e5 Mon Sep 17 00:00:00 2001 From: David Howells Date: Tue, 19 Jul 2011 16:30:44 +0100 Subject: [PATCH] * Thu Mar 10 2011 David Howells - 1.5-1 - Disable RPATH setting in Makefile. - Add -I. to build to get this keyutils.h. - Make CFLAGS override on make command line work right. - Make specfile UTF-8. - Support KEYCTL_REJECT. - Support KEYCTL_INSTANTIATE_IOV. - Add AFSDB DNS lookup program from Wang Lei. - Generalise DNS lookup program. - Add recursive scan utility function. - Add bad key reap command to keyctl. - Add multi-unlink variant to keyctl unlink command. - Add multi key purger command to keyctl. - Handle multi-line commands in keyctl command table. - Move the package to version to 1.5. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Tue Mar 1 2011 David Howells - 1.4-4 - Make build guess at default libdirs and word size. - Make program build depend on library in Makefile. - Don't include $(DESTDIR) in MAN* macros. - Remove NO_GLIBC_KEYSYS as it is obsolete. - Have Makefile extract version info from specfile and version script. - Provide RPM build rule in Makefile. - Provide distclean rule in Makefile. * Fri Dec 17 2010 Diego Elio Pettenò - 1.4-3 - Fix local linking and RPATH. * Thu Jun 10 2010 David Howells - 1.4-2 - Fix prototypes in manual pages (some char* should be void*). - Rename the keyctl_security.3 manpage to keyctl_get_security.3. * Fri Mar 19 2010 David Howells - 1.4-1 - Fix the library naming wrt the version. - Move the package to version to 1.4. * Fri Mar 19 2010 David Howells - 1.3-3 - Fix spelling mistakes in manpages. - Add an index manpage for all the keyctl functions. * Thu Mar 11 2010 David Howells - 1.3-2 - Fix rpmlint warnings. * Fri Feb 26 2010 David Howells - 1.3-1 - Fix compiler warnings in request-key. - Expose the kernel function to get a key's security context. - Expose the kernel function to set a processes keyring onto its parent. - Move libkeyutils library version to 1.3. --- .gitignore | 1 + keyutils.spec | 72 ++++++++++++++++++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 56 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index f4326f4..11c4557 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ keyutils-1.1.tar.bz2 keyutils-1.2.tar.bz2 +keyutils-1.5.tar.bz2 diff --git a/keyutils.spec b/keyutils.spec index 13554db..abc00f2 100644 --- a/keyutils.spec +++ b/keyutils.spec @@ -1,13 +1,15 @@ %define vermajor 1 -%define version %{vermajor}.2 +%define verminor 5 +%define version %{vermajor}.%{verminor} %define libdir /%{_lib} %define usrlibdir %{_prefix}/%{_lib} +%define libapivermajor 1 +%define libapiversion %{libapivermajor}.4 Summary: Linux Key Management Utilities Name: keyutils Version: %{version} -Release: 7%{?dist} -# The main package is GPLv2+ and -libs/-libs-devel are LGPLv2+ +Release: 1%{?dist} License: GPLv2+ and LGPLv2+ Group: System Environment/Base ExclusiveOS: Linux @@ -20,7 +22,7 @@ BuildRequires: glibc-kernheaders >= 2.4-9.1.92 %description Utilities to control the kernel key management facility and to provide -a mechanism by which the kernel call back to userspace to get a key +a mechanism by which the kernel call back to user space to get a key instantiated. %package libs @@ -32,7 +34,7 @@ This package provides a wrapper library for the key management facility system calls. %package libs-devel -Summary: Development package for building linux key management utilities +Summary: Development package for building Linux key management utilities Group: System Environment/Base Requires: keyutils-libs == %{version}-%{release} @@ -49,7 +51,7 @@ make \ USRLIBDIR=%{usrlibdir} \ RELEASE=.%{release} \ NO_GLIBC_KEYERR=1 \ - CFLAGS="-Wall $RPM_OPT_FLAGS" + CFLAGS="-Wall $RPM_OPT_FLAGS -Werror" %install rm -rf $RPM_BUILD_ROOT @@ -80,8 +82,8 @@ rm -rf $RPM_BUILD_ROOT %files libs %defattr(-,root,root,-) %doc LICENCE.LGPL -%{libdir}/libkeyutils-%{version}.so -%{libdir}/libkeyutils.so.%{vermajor} +%{libdir}/libkeyutils.so.%{libapiversion} +%{libdir}/libkeyutils.so.%{libapivermajor} %files libs-devel %defattr(-,root,root,-) @@ -90,20 +92,54 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog -* Mon Feb 07 2011 Fedora Release Engineering - 1.2-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild +* Thu Mar 10 2011 David Howells - 1.5-1 +- Disable RPATH setting in Makefile. +- Add -I. to build to get this keyutils.h. +- Make CFLAGS override on make command line work right. +- Make specfile UTF-8. +- Support KEYCTL_REJECT. +- Support KEYCTL_INSTANTIATE_IOV. +- Add AFSDB DNS lookup program from Wang Lei. +- Generalise DNS lookup program. +- Add recursive scan utility function. +- Add bad key reap command to keyctl. +- Add multi-unlink variant to keyctl unlink command. +- Add multi key purger command to keyctl. +- Handle multi-line commands in keyctl command table. +- Move the package to version to 1.5. -* Fri Jul 24 2009 Fedora Release Engineering - 1.2-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild +* Tue Mar 1 2011 David Howells - 1.4-4 +- Make build guess at default libdirs and word size. +- Make program build depend on library in Makefile. +- Don't include $(DESTDIR) in MAN* macros. +- Remove NO_GLIBC_KEYSYS as it is obsolete. +- Have Makefile extract version info from specfile and version script. +- Provide RPM build rule in Makefile. +- Provide distclean rule in Makefile. -* Wed Feb 25 2009 Fedora Release Engineering - 1.2-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild +* Fri Dec 17 2010 Diego Elio Pettenò - 1.4-3 +- Fix local linking and RPATH. -* Thu May 22 2008 Todd Zullinger - 1.2-4 -- fix license tag +* Thu Jun 10 2010 David Howells - 1.4-2 +- Fix prototypes in manual pages (some char* should be void*). +- Rename the keyctl_security.3 manpage to keyctl_get_security.3. -* Mon Feb 18 2008 Fedora Release Engineering - 1.2-3 -- Autorebuild for GCC 4.3 +* Fri Mar 19 2010 David Howells - 1.4-1 +- Fix the library naming wrt the version. +- Move the package to version to 1.4. + +* Fri Mar 19 2010 David Howells - 1.3-3 +- Fix spelling mistakes in manpages. +- Add an index manpage for all the keyctl functions. + +* Thu Mar 11 2010 David Howells - 1.3-2 +- Fix rpmlint warnings. + +* Fri Feb 26 2010 David Howells - 1.3-1 +- Fix compiler warnings in request-key. +- Expose the kernel function to get a key's security context. +- Expose the kernel function to set a processes keyring onto its parent. +- Move libkeyutils library version to 1.3. * Tue Aug 22 2006 David Howells - 1.2-1 - Remove syscall manual pages (section 2) to man-pages package [BZ 203582] diff --git a/sources b/sources index 07aa94e..edddb90 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -227086776abccc3ee34599591db563f0 keyutils-1.2.tar.bz2 +fa0c37f97ba13055dd58655cdc909fc3 keyutils-1.5.tar.bz2