summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--packaging/cryptsetup.spec16
2 files changed, 11 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index d7ba18b..6b1e83c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/packaging/cryptsetup.spec b/packaging/cryptsetup.spec
index fe48bce..13881b5 100644
--- a/packaging/cryptsetup.spec
+++ b/packaging/cryptsetup.spec
@@ -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