Compare commits

..

52 Commits
f12 ... master

Author SHA1 Message Date
Igor Gnatenko c31e753f4b
%{python_sitearch} → %{python2_sitearch}
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-30 00:22:26 +02:00
Fedora Release Engineering 48e35c62a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:38:06 +00:00
Jason Tibbitts a826a4b1af Remove needless use of %defattr 2018-07-10 01:43:33 -05:00
Jiri Kucera 6d34f800c2 Update to volume_key-0.3.10
- resolves #1479349, #1517016
2018-05-21 11:54:29 +02:00
Iryna Shcherbina 91b20b097b Update Python 2 dependency declarations to new packaging standards 2018-02-14 17:25:32 +01:00
Igor Gnatenko 5dae3701ee
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 08:58:13 +01:00
Fedora Release Engineering b28d111460 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 20:38:29 +00:00
Igor Gnatenko 97c67a9548
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 13:13:26 +01:00
Miloslav Trmač 6fbd69e362 Update for libcryptsetup ABI change 2017-11-08 14:32:55 +01:00
Zbigniew Jędrzejewski-Szmek 2894bfabcd Python 2 binary package renamed to python2-volume_key 2017-08-19 09:44:24 -04:00
Fedora Release Engineering f2216ba485 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:07:14 +00:00
Fedora Release Engineering c5b69b3798 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:24:14 +00:00
Miloslav Trmač 2aaaf551a4 Point URL: and Source: to the new home at pagure.io 2017-05-29 17:02:59 +02:00
Miloslav Trmač 19de152f74 Ignore Eclipse metadata 2017-05-29 16:49:50 +02:00
Fedora Release Engineering 8f83183cd9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:09:56 +00:00
Igor Gnatenko d2f83644d5 Rebuild for gpgme 1.18
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-10 20:08:13 +01:00
Fedora Release Engineering 7b2adf2f44 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 13:07:49 +00:00
Fedora Release Engineering 78e5420049 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:48:54 +00:00
Dennis Gilmore c6eb606826 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:07:15 +00:00
Miloslav Trmač 6a7979d571 Don't #include <config.h> in libvolume_key.h 2015-01-13 23:15:48 +01:00
Peter Robinson 1ff6710715 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 08:04:28 +00:00
Dennis Gilmore 8fab58af59 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 22:56:11 -05:00
Dennis Gilmore 3d0316b6da - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 01:25:02 -05:00
Dennis Gilmore 545816c001 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 20:53:19 -06:00
Miloslav Trmač 48a54bccf9 Fix a crash when trying to use passphrase encryption in FIPS mode 2012-11-22 03:28:49 +01:00
Miloslav Trmač 6b0d58e6c2 Update to volume_key-0.3.9 2012-09-22 21:44:42 +02:00
Miloslav Trmač 85c6d0916a Use BuildRequires: /usr/bin/gpg instead of gnupg
This makes the spec file compatible with RHEL, which doesn't ship GnuPG
1, only a compat symlink.
2012-08-06 14:10:04 +02:00
Miloslav Trmač 56b0682c19 Add Requires: /usr/bin/gpg 2012-07-23 17:49:45 +02:00
Dennis Gilmore 538deeaf89 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 21:58:58 -05:00
Miloslav Trmač d367a1f5c6 Update to volume_key-0.3.8 2012-03-03 07:53:57 +01:00
Dennis Gilmore 60cc6e0e99 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 02:03:01 -06:00
Miloslav Trmač db21301720 Rebuild with newer libcryptsetup 2011-10-14 15:33:33 +02:00
Miloslav Trmač 91a56fa56e Update to volume_key-0.3.7 2011-08-24 21:59:42 +02:00
Miloslav Trmač 6de3b0c117 Fix a typo 2011-06-10 19:49:39 +02:00
Miloslav Trmač 020f1c3fa6 Update to volume_key-0.3.6 2011-03-31 23:50:17 +02:00
Dennis Gilmore 312c50a77b - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 19:47:12 -06:00
Miloslav Trmač 6c38de1557 Use %%{?_isa} in Requires:
* Fri Feb  4 2011 Miloslav Trmač <mitr@redhat.com> - 0.3.5-2
- Use %%{?_isa} in Requires:
2011-02-04 23:33:23 +01:00
Miloslav Trmač 82c3707961 Update to volume_key-0.3.5 2010-11-24 16:52:33 +01:00
Miloslav Trmač 4886de908b Two UI improvements
* Mon Oct 18 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.4-4
- Tell the user if asking for the same passphrase again
  Resolves: #641111
- Check certificate file before interacting with the user
  Resolves: #643897
2010-10-18 17:45:07 +02:00
Miloslav Trmač f93fc197bb Make it possible to interrupt password prompts
* Fri Oct  8 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.4-3
- Make it possible to interrupt password prompts
  Resolves: #641111
2010-10-08 19:30:21 +02:00
Miloslav Trmač 2e6d0e53e8 * Wed Sep 29 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.4-2
- Clarify which block device should be passed as an argument
  Resolves: #636541
- Recognize SSL error messages from NSS as well
  Resolves: #638732
2010-09-29 21:37:53 +02:00
Miloslav Trmač 62a674eb0b Update to volume_key-0.3.4 2010-08-27 00:42:46 +02:00
Fedora Release Engineering 3895626cc2 dist-git conversion 2010-07-29 15:07:48 +00:00
Miloslav Trmac 14d952f359 - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-26 13:29:23 +00:00
Miloslav Trmac b4b07aac45 - Fix build with new gpgme 2010-07-22 12:58:14 +00:00
dmalcolm 25078df2b2 - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 07:11:45 +00:00
Miloslav Trmac a710b21d0f - Update to volume_key-0.3.3 2010-03-26 15:48:36 +00:00
Miloslav Trmac 4128c34ecc - Update to volume_key-0.3.2
- Drop no longer necessary references to BuildRoot:
2010-03-04 21:27:11 +00:00
Miloslav Trmac a677246089 - Fix a crash when an empty passphrase is provided Resolves: #558410 2010-02-05 17:01:26 +00:00
Miloslav Trmac 2c2f8b1b47 - Update to volume_key-0.3.1. 2009-12-11 13:37:02 +00:00
Bill Nottingham bee7fb4fb1 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:43:23 +00:00
Miloslav Trmac 08740c7ca4 - Update to volume_key-0.3.
- Drop bundled libcryptsetup.
2009-09-30 15:47:30 +00:00
3 changed files with 182 additions and 29 deletions

10
.gitignore vendored
View File

@ -1 +1,9 @@
volume_key-0.3.1.tar.bz2 /.project
/volume_key-0.3.3.tar.xz
/volume_key-0.3.4.tar.xz
/volume_key-0.3.5.tar.xz
/volume_key-0.3.6.tar.xz
/volume_key-0.3.7.tar.xz
/volume_key-0.3.8.tar.xz
/volume_key-0.3.9.tar.xz
/volume_key-0.3.10.tar.xz

View File

@ -1 +1 @@
c5fc7956e691db0ca428a8686bfa47db volume_key-0.3.1.tar.bz2 SHA512 (volume_key-0.3.10.tar.xz) = b050d333e021bc3721f5e72c1d2498adea3265afe7f702e1b1e859546755745ac70dcffc194739a4833d4b0b77168506f7fe90fde382d8aab4df2af7b635932b

View File

@ -2,17 +2,19 @@
Summary: An utility for manipulating storage encryption keys and passphrases Summary: An utility for manipulating storage encryption keys and passphrases
Name: volume_key Name: volume_key
Version: 0.3.1 Version: 0.3.10
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 License: GPLv2
Group: Applications/System Group: Applications/System
URL: https://fedorahosted.org/volume_key/ URL: https://pagure.io/volume_key/
Requires: volume_key-libs = %{version}-%{release} Requires: volume_key-libs%{?_isa} = %{version}-%{release}
Source0: https://fedorahosted.org/releases/v/o/volume_key/volume_key-%{version}.tar.bz2 Source0: https://releases.pagure.org/volume_key/volume_key-%{version}.tar.xz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: gcc
BuildRequires: cryptsetup-luks-devel, gettext-devel, glib2-devel, gnupg BuildRequires: cryptsetup-luks-devel, gettext-devel, glib2-devel, /usr/bin/gpg2
BuildRequires: gpgme-devel, libblkid-devel, nss-devel, python-devel BuildRequires: gpgme-devel, libblkid-devel, nss-devel, python2-devel
# Needed by %%check:
BuildRequires: nss-tools
%description %description
This package provides a command-line tool for manipulating storage volume This package provides a command-line tool for manipulating storage volume
@ -27,7 +29,7 @@ company data after an employee leaves abruptly.
%package devel %package devel
Summary: A library for manipulating storage encryption keys and passphrases Summary: A library for manipulating storage encryption keys and passphrases
Group: Development/Libraries Group: Development/Libraries
Requires: volume_key-libs = %{version}-%{release} Requires: volume_key-libs%{?_isa} = %{version}-%{release}
%description devel %description devel
This package provides libvolume_key, a library for manipulating storage volume This package provides libvolume_key, a library for manipulating storage volume
@ -42,6 +44,7 @@ company data after an employee leaves abruptly.
%package libs %package libs
Summary: A library for manipulating storage encryption keys and passphrases Summary: A library for manipulating storage encryption keys and passphrases
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: /usr/bin/gpg2
%description libs %description libs
This package provides libvolume_key, a library for manipulating storage volume This package provides libvolume_key, a library for manipulating storage volume
@ -53,12 +56,13 @@ back up can also be useful for extracting data after a hardware or software
failure that corrupts the header of the encrypted volume, or to access the failure that corrupts the header of the encrypted volume, or to access the
company data after an employee leaves abruptly. company data after an employee leaves abruptly.
%package -n python-volume_key %package -n python2-volume_key
%{?python_provide:%python_provide python2-volume_key}
Summary: Python bindings for libvolume_key Summary: Python bindings for libvolume_key
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: volume_key-libs = %{version}-%{release} Requires: volume_key-libs%{?_isa} = %{version}-%{release}
%description -n python-volume_key %description -n python2-volume_key
This package provides Python bindings for libvolume_key, a library for This package provides Python bindings for libvolume_key, a library for
manipulating storage volume encryption keys and storing them separately from manipulating storage volume encryption keys and storing them separately from
volumes. volumes.
@ -80,42 +84,183 @@ for other formats is possible, some formats are planned for future releases.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
%check
make check
%find_lang volume_key %find_lang volume_key
%clean %ldconfig_scriptlets libs
rm -rf $RPM_BUILD_ROOT
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %doc README contrib
%doc README
%{_bindir}/volume_key %{_bindir}/volume_key
%{_mandir}/man8/volume_key.8* %{_mandir}/man8/volume_key.8*
%files devel %files devel
%defattr(-,root,root,-)
%{_includedir}/volume_key %{_includedir}/volume_key
%exclude %{_libdir}/libvolume_key.la %exclude %{_libdir}/libvolume_key.la
%{_libdir}/libvolume_key.so %{_libdir}/libvolume_key.so
%files libs -f volume_key.lang %files libs -f volume_key.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS %doc AUTHORS COPYING ChangeLog NEWS
%{_libdir}/libvolume_key.so.* %{_libdir}/libvolume_key.so.*
%files -n python-volume_key %files -n python2-volume_key
%defattr(-,root,root,-)
%exclude %{python_sitearch}/_volume_key.la %exclude %{python_sitearch}/_volume_key.la
%{python_sitearch}/_volume_key.so %{python2_sitearch}/_volume_key.so
%{python_sitearch}/volume_key.py* %{python2_sitearch}/volume_key.py*
%changelog %changelog
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed May 16 2018 Jiri Kucera <jkucera@redhat.com> - 0.3.10-1
- Update to volume_key-0.3.10
Resolves: #1479349, #1517016
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.3.9-20
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.9-18
- Switch to %%ldconfig_scriptlets
* Tue Nov 7 2017 Miloslav Trmač <mitr@redhat.com> - 0.3.9-17
- Update for libcryptsetup ABI change
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.9-16
- Python 2 binary package renamed to python2-volume_key
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon May 29 2017 Miloslav Trmač <mitr@redhat.com> - 0.3.9-13
- Point URL: and Source: to the new home at pagure.io
Resolves: 1456378
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sat Dec 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3.9-11
- Rebuild for gpgme 1.18
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-10
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Jan 13 2015 Miloslav Trmač <mitr@redhat.com> - 0.3.9-7
- Don't #include <config.h> in libvolume_key.h
Patch by Vratislav Podzimek <vpodzime@redhat.com>.
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Nov 22 2012 Miloslav Trmač <mitr@redhat.com> - 0.3.9-2
- Fix a crash when trying to use passphrase encryption in FIPS mode
* Sat Sep 22 2012 Miloslav Trmač <mitr@redhat.com> - 0.3.9-1
- Update to volume_key-0.3.9
* Mon Aug 6 2012 Miloslav Trmač <mitr@redhat.com> - 0.3.8-4
- Use BuildRequires: /usr/bin/gpg instead of gnupg, for compatibility with RHEL
* Mon Jul 23 2012 Miloslav Trmač <mitr@redhat.com> - 0.3.8-3
- Add Requires: /usr/bin/gpg
Resolves: #842074
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Mar 3 2012 Miloslav Trmač <mitr@redhat.com> - 0.3.8-1
- Update to volume_key-0.3.8
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Oct 14 2011 Miloslav Trmač <mitr@redhat.com> - 0.3.7-2
- Rebuild with newer libcryptsetup
* Wed Aug 24 2011 Miloslav Trmač <mitr@redhat.com> - 0.3.7-1
- Update to volume_key-0.3.7
* Fri Jun 10 2011 Miloslav Trmač <mitr@redhat.com> - 0.3.6-2
- Fix a typo
Resolves: #712256
* Thu Mar 31 2011 Miloslav Trmač <mitr@redhat.com> - 0.3.6-1
- Update to volume_key-0.3.6
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Feb 4 2011 Miloslav Trmač <mitr@redhat.com> - 0.3.5-2
- Use %%{?_isa} in Requires:
* Wed Nov 24 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.5-1
- Update to volume_key-0.3.5
* Mon Oct 18 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.4-4
- Tell the user if asking for the same passphrase again
Resolves: #641111
- Check certificate file before interacting with the user
Resolves: #643897
* Fri Oct 8 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.4-3
- Make it possible to interrupt password prompts
Resolves: #641111
* Wed Sep 29 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.4-2
- Clarify which block device should be passed as an argument
Resolves: #636541
- Recognize SSL error messages from NSS as well
Resolves: #638732
* Fri Aug 27 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.4-1
- Update to volume_key-0.3.4
* Mon Jul 26 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.3-4
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Thu Jul 22 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.3-3
- Fix build with new gpgme
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Fri Mar 26 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.3-1
- Update to volume_key-0.3.3
* Thu Mar 4 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.2-1
- Update to volume_key-0.3.2
- Drop no longer necessary references to BuildRoot:
* Fri Feb 5 2010 Miloslav Trmač <mitr@redhat.com> - 0.3.1-2
- Fix a crash when an empty passphrase is provided
Resolves: #558410
* Fri Dec 11 2009 Miloslav Trmač <mitr@redhat.com> - 0.3.1-1 * Fri Dec 11 2009 Miloslav Trmač <mitr@redhat.com> - 0.3.1-1
- Update to volume_key-0.3.1. - Update to volume_key-0.3.1.