diff --git a/_service b/_service index e750154..a61dd56 100644 --- a/_service +++ b/_service @@ -1,17 +1,18 @@ - + git https://github.com/openfheorg/openfhe-development.git @PARENT_TAG@ - v1.2.3 + v1.3.0 v(.*) openfhe-development - + + *.tar gz openfhe-development - \ No newline at end of file + diff --git a/openfhe-development-1.2.3.tar.gz b/openfhe-development-1.2.3.tar.gz deleted file mode 100644 index 0a8f82f..0000000 Binary files a/openfhe-development-1.2.3.tar.gz and /dev/null differ diff --git a/openfhe-development-1.3.0.tar.gz b/openfhe-development-1.3.0.tar.gz new file mode 100644 index 0000000..445aed0 Binary files /dev/null and b/openfhe-development-1.3.0.tar.gz differ diff --git a/openfhe-disable-bundled-cereal-install.patch b/openfhe-disable-bundled-cereal-install.patch new file mode 100644 index 0000000..2cbd217 --- /dev/null +++ b/openfhe-disable-bundled-cereal-install.patch @@ -0,0 +1,14 @@ +diff -PpuriN openfhe-development-1.3.0-old/CMakeLists.txt openfhe-development-1.3.0-new/CMakeLists.txt +--- openfhe-development-1.3.0-old/CMakeLists.txt 2025-05-21 18:28:48.000000000 +0200 ++++ openfhe-development-1.3.0-new/CMakeLists.txt 2025-06-20 12:25:04.467472837 +0200 +@@ -547,8 +547,8 @@ set(THIRDPARTYDIR ${CMAKE_CURRENT_SOURCE + include_directories(${THIRDPARTYDIR}/include) + + ### Handle third-party CEREAL +-include_directories(${THIRDPARTYDIR}/cereal/include) +-install(DIRECTORY ${THIRDPARTYDIR}/cereal/include/ DESTINATION include/openfhe) ++# include_directories(${THIRDPARTYDIR}/cereal/include) ++# install(DIRECTORY ${THIRDPARTYDIR}/cereal/include/ DESTINATION include/openfhe) + + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third-party/google-test/googletest) + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third-party/google-test/googletest/include) diff --git a/openfhe.changes b/openfhe.changes index e9fd417..0c7185c 100644 --- a/openfhe.changes +++ b/openfhe.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Fri Jun 20 12:06:13 UTC 2025 - Pedro Monreal + +- Disable the installation of bundled cereal headers since they are + already provided by cereal-devel as a build requirement. + * Add openfhe-disable-bundled-cereal-install.patch + +------------------------------------------------------------------- +Fri Jun 20 07:49:07 UTC 2025 - Pedro Monreal + +- Update to 1.3.0: + * Adds the composite scaling modes to CKKS based on + https://eprint.iacr.org/2023/1462 (see COMPOSITE_SCALING.md + for more details). + * Adds two-party interactive CKKS bootstrapping from + https://eprint.iacr.org/2023/1203 (see INTERACTIVE_BOOTSTRAPPING.md + for more details). + * Enables the complex-number arithmetic in CKKS (#964) + * Makes OpenFHE compatible with Emscripten 3.x and 4.x (see + https://github.com/openfheorg/openfhe-wasm for more details) + * Adds a cleartext version of EvalChebyshevFunction (#959) + * Optimizes the hybrid key switching (#237) + * Fixes several bugs + +------------------------------------------------------------------- +Fri Jun 20 07:48:37 UTC 2025 - Pedro Monreal + +- Update to 1.2.4: + * Improves the support for STL threads (when OMP is disabled) + * Fixes the bugs identified in CVE-2024-56430 + ------------------------------------------------------------------- Fri Jan 17 11:08:33 UTC 2025 - Angel Yankov diff --git a/openfhe.spec b/openfhe.spec index 9b768b7..fb1f345 100644 --- a/openfhe.spec +++ b/openfhe.spec @@ -15,16 +15,20 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define libsover 1 %define libsoname lib%{name}%{libsover} Name: openfhe -Version: 1.2.3 +Version: 1.3.0 Release: 0 Summary: Fully Homomorphic Encryption Library License: BSD-2-Clause Group: Development/Libraries/C and C++ URL: https://openfhe.org/ Source0: https://github.com/openfheorg/openfhe-development/archive/refs/tags/v%{version}.tar.gz#/%{name}-development-%{version}.tar.gz +# PATCH-FIX-OPENSUSE Disable installation of bundled cereal headers +Patch0: openfhe-disable-bundled-cereal-install.patch +BuildRequires: cereal-devel BuildRequires: cmake >= 3.10 BuildRequires: gcc-c++ @@ -66,33 +70,41 @@ the secret key. This subpackage contains the headers for the C API. %prep -%setup -n openfhe-development-%{version} +%autosetup -p1 -n %{name}-development-%{version} %build -export CXXFLAGS+="-DGIT_SUBMOD_AUTO=OFF -DBUILD_BENCHMARKS=OFF" -%cmake -%cmake_build +%cmake \ + -DBENCHMARK_ENABLE_GTEST_TESTS=OFF \ + -DBUILD_BENCHMARKS=OFF \ + -DBUILD_EXTRAS=OFF \ + -DBUILD_SHARED=ON \ + -DBUILD_UNITTESTS=OFF + +%cmake_build %install %cmake_install -%check -cd build -%make_build testall - -%post -n %{libsoname} -p /sbin/ldconfig -%postun -n %{libsoname} -p /sbin/ldconfig +#%check +#pushd build +#%make_build testall +#popd +# +%ldconfig_scriptlets -n %{libsoname} %files -n %{libsoname} -%license LICENSE +%license LICENSE %doc README.md /usr/lib/libOPENFHEpke.so.%{version} /usr/lib/libOPENFHEbinfhe.so.%{version} /usr/lib/libOPENFHEcore.so.%{version} %files devel +%license LICENSE %dir %{_includedir}/%{name}/ %{_includedir}/%{name}/* +# Exclude the zero-length README.md file +%exclude %{_includedir}/openfhe/pke/scheme/README.md %dir /usr/lib/OpenFHE /usr/lib/OpenFHE/*.cmake /usr/lib/libOPENFHEpke.so @@ -102,3 +114,4 @@ cd build /usr/lib/libOPENFHEbinfhe.so.1 /usr/lib/libOPENFHEcore.so.1 +%changelog