packaging: Adjust to new upstream version v2.6.1 55/296155/2 accepted/tizen/unified/20230727.173043 accepted/tizen/unified/20230731.175257
authorStanislaw Wadas <s.wadas@samsung.com>
Thu, 20 Jul 2023 10:03:57 +0000 (12:03 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 20 Jul 2023 14:22:39 +0000 (16:22 +0200)
 - switch to openssl3 dependency in configure.ac
 - adjust .spec after autogen.sh changes
 - remove man pages due to lack of asciidoctor

Change-Id: I13d73aed86680c4ce2f4c8f02ed44b1794d5b813
Signed-off-by: Stanislaw Wadas <s.wadas@samsung.com>
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
configure.ac
packaging/cryptsetup.spec

index d7ba18b..6b1e83c 100644 (file)
@@ -310,7 +310,7 @@ AC_DEFUN([CONFIGURE_GCRYPT], [
 ])
 
 AC_DEFUN([CONFIGURE_OPENSSL], [
-       PKG_CHECK_MODULES([OPENSSL], [openssl1.1 >= 0.9.8],,
+       PKG_CHECK_MODULES([OPENSSL], [openssl3 >= 3.0.9],,
                AC_MSG_ERROR([You need openssl library.]))
        CRYPTO_CFLAGS=$OPENSSL_CFLAGS
        CRYPTO_LIBS=$OPENSSL_LIBS
index fe48bce..13881b5 100644 (file)
@@ -1,6 +1,6 @@
 Name:     cryptsetup
 Summary:  The cryptsetup
-Version:  2.3.7
+Version:  2.6.1
 Release:  1
 License:  GPL-2.0+, LGPL-2.1+
 Group:    Base/Device Management
@@ -18,7 +18,7 @@ BuildRequires: popt-devel
 BuildRequires: automake
 BuildRequires: gettext
 BuildRequires: pkgconfig(json-c)
-BuildRequires: pkgconfig(libssl1.1)
+BuildRequires: pkgconfig(openssl3)
 BuildRequires: pkgconfig(blkid)
 
 Requires:      libgpg-error
@@ -63,8 +63,12 @@ cp %{SOURCE1} ./%{name}.manifest
 cp %{SOURCE1} .
 
 chmod +x ./autogen.sh
-./autogen.sh --prefix=%{_prefix} -localedir=%{_datarootdir}/locale -libdir=%{_libdir} \
-             --disable-cryptsetup-reencrypt --disable-integritysetup
+./autogen.sh
+%configure \
+           --disable-cryptsetup-reencrypt \
+           --disable-integritysetup \
+           --disable-asciidoc \
+           --disable-ssh-token
 
 make %{?jobs:-j%jobs}
 
@@ -114,9 +118,9 @@ rm -rf %{buildroot}
 %{_datarootdir}/locale/uk/LC_MESSAGES/cryptsetup.mo
 %{_datarootdir}/locale/vi/LC_MESSAGES/cryptsetup.mo
 %{_datarootdir}/locale/zh_CN/LC_MESSAGES/cryptsetup.mo
+%{_datarootdir}/locale/ka/LC_MESSAGES/cryptsetup.mo
+%{_datarootdir}/locale/ro/LC_MESSAGES/cryptsetup.mo
 
 %files doc
 %manifest %{name}.manifest
 %license COPYING.GPL-2.0+
-%{_mandir}/man8/cryptsetup.8.gz
-%{_mandir}/man8/veritysetup.8.gz