diff --git a/.gitignore b/.gitignore index b095fe0..851604e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/cryptsetup-2.4.0-rc1.tar.xz +/cryptsetup-2.4.0.tar.xz diff --git a/cryptsetup-2.4.0-rc1.tar.sign b/cryptsetup-2.4.0-rc1.tar.sign deleted file mode 100644 index 4348f3b..0000000 --- a/cryptsetup-2.4.0-rc1.tar.sign +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEEKikYJD/eRmSNBob52bBXe9k+mPwFAmEDH9gACgkQ2bBXe9k+ -mPwgSw//cRgUyjZ0bjPSQo1S6dVbNPTh2bMjcAgZ7Y+MJWBLFmS7ltHOw+7JxpZM -KXvo5MDXqCtl1WC5tfqsfCEEbEW/MjeC94hjc3Yl/9yFJVlFh75OcuKzp6vpNcXr -5LAo4nHAp92W+pw9xLsDDc4N3CkaKxmxO0JUwkiHFFv9oic4BwYOCRmG0r0OPkuf -wzFsUBfn+7POQ34qdkpJmaJFo35ellTVbC5tYW1PdHOmB70i4bqFeQ1r3KNfVZa0 -ZHD5ulWBagxfn2bnAaGvoCYofa4V12ZcJz+U4o744R0lqS2rbjKGqa0mpd4w/bxa -5zjT7eJqe6rLqjMbo//jTLB3G47828s3M6U0uBquJZ8sJk5MkdJK2M7Jprwq4eK4 -+wZdRRpXtYiprR24DeE3lR7/83UcMH12IDQRwFPaihOmQxESw3c+qn37X0P6rXtJ -NpX4ux+TT/YJiO8L/u7f6OkC0Zn6p4icEGfo684VNHEhqIUvMueKGYLwsWjHEnHY -/WWTYz5TJcqrWoxxTnD/0/Fpgawa1Dquv7gda0gibYhVpCy9Ti8QBI+0IvnyZ4iW -K2rs3bavygh1GEpVjbOxbgt2cRIhEz1+hyM8RlZnQrHkSGMI/moL5FlFeL28WUkD -DLCWjpXU0jNyrBev4IWuc+fuDaWOElu3AB8vjcoSCA7tTbHGfuE= -=YNRk ------END PGP SIGNATURE----- diff --git a/cryptsetup-2.4.0.tar.sign b/cryptsetup-2.4.0.tar.sign new file mode 100644 index 0000000..9034627 --- /dev/null +++ b/cryptsetup-2.4.0.tar.sign @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEKikYJD/eRmSNBob52bBXe9k+mPwFAmEdJXMACgkQ2bBXe9k+ +mPwJSg/+OW43g7S4Q/K+vBi8S+RN3Pzqi8ao2K+OmGWK/7FhKWxrXSN7J8gJigxd +uD+NukmQublFtYdfKXj2unF/Fd28YGHCqSfVrFvn2jmcMnlwxSz5220Bic1eai8a +hq0Hve425n5RpTzNtpkBBZQbiLmY25J1wUkygcoEwT+spyFA0d6oZUhTWcAcqa2b +IP9XkVFEociSWpjZfuhJGN5+jSG91JwYKbuNJFZvH1uez6zTLdNDj9+zoxfsrLW4 +BZYh8FQbZq54pUJnX4tafuRm7L/3LjK0DWWq60P3dvzTyj5b/qzORThNMpvCoolN +I7Yfl7PD8j3B2WpgLQ+62jBVSOBjZGOpvj6PbQVizk2ELznF1LkTyneQ1rIwzxRw +xWqHZfFU0Frj16yiNfRDrBKq4QsrYBOGov7q3OP3Xsw3H/C5lNxEOzx9NkC97LlA +ryMiFSOXFHfCvTCXWQi90N311S4Usg/+n4qevwM4MxXmHJ6HfIqOLYMFftrWoiqC +c+86lgZnNFtmFQnD+/Jvfu7AlAE0aLQodDz3w9otF4QfztDwnvnWsrjAntff4u1U +WqL3EK7NGPJELDRvOpLq77l5eCJ1x5Qgma1RN2ag5APgs5IrmKBGz3H0WxEArz4K +IWQ9FAHMMVIcJfblW96mE/zIoTc6dc0quUlpmROTFWKleijMk0I= +=nfsi +-----END PGP SIGNATURE----- diff --git a/cryptsetup-add-system-library-paths.patch b/cryptsetup-add-system-library-paths.patch deleted file mode 100644 index 0a5d753..0000000 --- a/cryptsetup-add-system-library-paths.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -rupN cryptsetup-2.2.0.old/configure cryptsetup-2.2.0/configure ---- cryptsetup-2.2.0.old/configure 2019-08-14 20:45:07.000000000 +0200 -+++ cryptsetup-2.2.0/configure 2019-08-15 09:11:14.775184005 +0200 -@@ -12294,6 +12294,9 @@ fi - # before this can be enabled. - hardcode_into_libs=yes - -+ # Add ABI-specific directories to the system library path. -+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" -+ - # Ideally, we could use ldconfig to report *all* directores which are - # searched for libraries, however this is still not possible. Aside from not - # being certain /sbin/ldconfig is available, command -@@ -12302,7 +12305,7 @@ fi - # appending ld.so.conf contents (and includes) to the search path. - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` -- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" -+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on diff --git a/cryptsetup.spec b/cryptsetup.spec index 7775670..f5fe40b 100644 --- a/cryptsetup.spec +++ b/cryptsetup.spec @@ -1,9 +1,10 @@ Summary: Utility for setting up encrypted disks Name: cryptsetup -Version: 2.4.0~rc1 +Version: 2.4.0 Release: 1%{?dist} License: GPLv2+ and LGPLv2+ URL: https://gitlab.com/cryptsetup/cryptsetup +BuildRequires: autoconf, automake, libtool, gettext-devel, BuildRequires: openssl-devel, popt-devel, device-mapper-devel BuildRequires: libuuid-devel, gcc, json-c-devel, libargon2-devel BuildRequires: libpwquality-devel, libblkid-devel @@ -13,8 +14,6 @@ Requires: libpwquality >= 1.2.0 %global upstream_version %{version_no_tilde} Source0: https://www.kernel.org/pub/linux/utils/cryptsetup/v2.4/cryptsetup-%{upstream_version}.tar.xz -# Following patch has to applied last -Patch9999: %{name}-add-system-library-paths.patch %description The cryptsetup package contains a utility for setting up @@ -70,12 +69,12 @@ can be used for offline reencryption of disk in situ. %autosetup -n cryptsetup-%{upstream_version} -p 1 %build +./autogen.sh %configure --enable-fips --enable-pwquality --enable-libargon2 %make_build %install %make_install -mkdir -p -m 0755 $RPM_BUILD_ROOT%{_libdir}/%{name}/ rm -rf %{buildroot}%{_libdir}/*.la rm -rf %{buildroot}%{_libdir}/%{name}/*.la @@ -124,6 +123,9 @@ rm -rf %{buildroot}%{_libdir}/%{name}/*.la %{_sbindir}/cryptsetup-ssh %changelog +* Wed Aug 18 2021 Ondrej Kozina - 2.4.0-1 +- Update to cryptsetup 2.4.0. + * Fri Jul 30 2021 Milan Broz - 2.4.0~rc1-1 - Update to cryptsetup 2.4.0-rc1. diff --git a/sources b/sources index 77076f3..2651be0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cryptsetup-2.4.0-rc1.tar.xz) = 73f07e7963624111d916f9791617af52bdf614be04da8462603aa17e0b10f28f681eca2bc991c74c9c3804a4ffc9714f7d075242631f5b77a86462bc57bade93 +SHA512 (cryptsetup-2.4.0.tar.xz) = 9c868b1dee7145f91092160cf977d3ada57a14634b5312d54477e111250975b6f077a92c417373bb7de07244b01ab19553bcce5030ee456ca2c38030e3067186