2024-01-06 04:02:43 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: libcryptsetup
|
2024-01-06 04:02:43 +01:00
|
|
|
Epoch: 1
|
2024-01-06 04:02:44 +01:00
|
|
|
Version: 2.3.4
|
2024-01-06 04:02:44 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 04:02:43 +01:00
|
|
|
Summary: A library for setting up encrypted filesystems
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://code.google.com/p/cryptsetup/
|
2024-01-06 04:02:43 +01:00
|
|
|
Source: https://www.kernel.org/pub/linux/utils/cryptsetup/v%{majver}/cryptsetup-%{version}.tar.xz
|
2024-01-06 04:02:43 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 04:02:44 +01:00
|
|
|
BuildRequires: libblkid-devel
|
2024-01-06 04:02:43 +01:00
|
|
|
BuildRequires: libdevmapper-devel
|
2024-01-06 04:02:44 +01:00
|
|
|
BuildRequires: libjson-c-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-06 04:02:43 +01:00
|
|
|
BuildRequires: libpopt-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libsepol-devel
|
|
|
|
Provides: %{name}-luks
|
2024-01-06 04:02:44 +01:00
|
|
|
Obsoletes: %{name}-luks < 1:2.3.4-2mamba
|
|
|
|
Obsoletes: libcryptsetup4 < 1:2.3.4
|
2024-01-06 04:02:43 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the cryptsetup shared library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: libdevmapper-devel
|
|
|
|
Requires: libgcrypt-devel
|
|
|
|
Requires: libuuid-devel
|
|
|
|
Provides: %{name}-luks-devel
|
2024-01-06 04:02:44 +01:00
|
|
|
Obsoletes: %{name}-luks-devel < 1:2.3.4-2mamba
|
|
|
|
Obsoletes: libcryptsetup4-devel < 1:2.3.4
|
2024-01-06 04:02:43 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contain libraries and header files used for writing code that makes use of encrypted filesystems.
|
|
|
|
|
|
|
|
%package -n cryptsetup
|
|
|
|
Group: System/Tools
|
|
|
|
Summary: A utility for setting up encrypted filesystems
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 04:02:44 +01:00
|
|
|
Obsoletes: cryptsetup4 < 1:2.3.4
|
2024-01-06 04:02:43 +01:00
|
|
|
|
|
|
|
%description -n cryptsetup
|
|
|
|
This package contains cryptsetup, a utility for setting up encrypted filesystems using Device Mapper and the dm-crypt target.
|
|
|
|
|
2024-01-06 04:02:44 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n cryptsetup-%{version}
|
|
|
|
|
|
|
|
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.new
|
|
|
|
mv -f ChangeLog.new ChangeLog
|
|
|
|
|
|
|
|
%build
|
2024-01-06 04:02:44 +01:00
|
|
|
%configure
|
2024-01-06 04:02:43 +01:00
|
|
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 04:02:44 +01:00
|
|
|
rm -rf %{buildroot}%{_libdir}/*.la
|
|
|
|
#%{buildroot}/%{_lib}/cryptsetup
|
2024-01-06 04:02:43 +01:00
|
|
|
|
|
|
|
%find_lang cryptsetup
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:02:44 +01:00
|
|
|
%{_libdir}/libcryptsetup.so.*
|
2024-01-06 04:02:43 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libcryptsetup.h
|
|
|
|
%{_libdir}/libcryptsetup.so
|
|
|
|
%{_libdir}/pkgconfig/libcryptsetup.pc
|
|
|
|
%doc ChangeLog FAQ TODO
|
|
|
|
|
|
|
|
%files -n cryptsetup -f cryptsetup.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:02:44 +01:00
|
|
|
%{_sbindir}/cryptsetup
|
|
|
|
%{_sbindir}/veritysetup
|
|
|
|
%{_sbindir}/cryptsetup-reencrypt
|
|
|
|
%{_sbindir}/integritysetup
|
|
|
|
%{_tmpfilesdir}/cryptsetup.conf
|
2024-01-06 04:02:43 +01:00
|
|
|
%{_mandir}/man8/cryptsetup.8*
|
|
|
|
%{_mandir}/man8/cryptsetup-reencrypt.8*
|
|
|
|
%{_mandir}/man8/veritysetup.8*
|
|
|
|
%{_mandir}/man8/integritysetup.8*
|
2024-01-06 04:02:43 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:02:44 +01:00
|
|
|
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4-3mamba
|
|
|
|
- obsolete cryptsetup4 legacy packages
|
|
|
|
|
|
|
|
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4-2mamba
|
|
|
|
- rebuilt in /usr
|
|
|
|
|
2024-01-06 04:02:44 +01:00
|
|
|
* Sat Sep 05 2020 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:44 +01:00
|
|
|
* Sat May 30 2020 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:44 +01:00
|
|
|
* Fri May 01 2020 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:44 +01:00
|
|
|
* Fri Mar 13 2020 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Mon Feb 03 2020 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Sun Nov 03 2019 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Tue Sep 10 2019 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Tue Aug 20 2019 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Tue Apr 02 2019 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Wed Feb 13 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.6-2mamba
|
|
|
|
- bump epoch to fix serious boot problem with 2.1.0 and systemd 240
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Thu Dec 06 2018 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Tue Oct 30 2018 Automatic Build System <autodist@mambasoft.it> 2.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Mon Aug 06 2018 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Mon May 07 2018 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Tue Mar 13 2018 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Tue Jan 23 2018 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Mon Jan 08 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
|
|
|
|
- fix libcryptsetup.so symlink
|
|
|
|
|
|
|
|
* Sat Jan 06 2018 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Sat Jun 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.5-1mamba
|
|
|
|
- update to 1.7.5
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Sun Nov 06 2016 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Wed Jun 22 2016 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Mon Mar 07 2016 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Wed Nov 11 2015 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Sun Oct 25 2015 Automatic Build System <autodist@mambasoft.it> 1.6.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Mon Apr 06 2015 Automatic Build System <autodist@mambasoft.it> 1.6.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Fri Aug 22 2014 Automatic Build System <autodist@mambasoft.it> 1.6.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Mon Jul 07 2014 Automatic Build System <autodist@mambasoft.it> 1.6.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Sat Mar 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.4-1mamba
|
|
|
|
- update to 1.6.4
|
|
|
|
|
|
|
|
* Sun Dec 22 2013 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 19 2013 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat May 04 2013 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Feb 10 2013 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Sep 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1mamba
|
|
|
|
- update to 1.5.0
|
|
|
|
|
|
|
|
* Wed Nov 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- update to 1.4.1
|
|
|
|
|
|
|
|
* Thu Dec 09 2010 gil <puntogil@libero.it> 1.2.0-1mamba
|
|
|
|
- package created by autospec
|