Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package encfs for openSUSE:Leap:16.0 checked in at 2025-05-16 08:30:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:16.0/encfs (Old) and /work/SRC/openSUSE:Leap:16.0/.encfs.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "encfs" Fri May 16 08:30:32 2025 rev:2 rq:1277878 version:1.9.5 Changes: -------- --- /work/SRC/openSUSE:Leap:16.0/encfs/encfs.changes 2025-03-19 11:42:15.186458990 +0100 +++ /work/SRC/openSUSE:Leap:16.0/.encfs.new.30101/encfs.changes 2025-05-16 08:32:33.981770663 +0200 @@ -1,0 +2,11 @@ +Mon May 12 16:34:02 UTC 2025 - Andreas Stieger <andreas.stie...@gmx.de> + +- add README.openSUSE for boo#1221085, boo#1243036 + +------------------------------------------------------------------- +Fri Apr 25 18:42:13 UTC 2025 - Andreas Stieger <andreas.stie...@gmx.de> + +- fix build and simplify spec file +- use system easylogging + +------------------------------------------------------------------- New: ---- README.openSUSE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ encfs.spec ++++++ --- /var/tmp/diff_new_pack.0XlvRy/_old 2025-05-16 08:32:34.369786897 +0200 +++ /var/tmp/diff_new_pack.0XlvRy/_new 2025-05-16 08:32:34.369786897 +0200 @@ -2,6 +2,7 @@ # spec file for package encfs # # Copyright (c) 2020 SUSE LLC +# Copyright (c) 2025 Andreas Stieger <andreas.stie...@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,35 +17,6 @@ # -# Perl-Test-More >= 0.31 is requires by checks but yet not present in SuSE repos -%define do_checks 0 - -# The cmake macro for distros with cmake 3.3 cannot build encfs -%define use_cmake_macro 1 -%if 0%{?suse_version} == 1315 && 0%{?sle_version} == 120100 -# Leap 42.1 -%define use_cmake_macro 0 -%endif -%if 0%{?suse_version} > 1320 -%ifarch ppc -%define use_cmake_macro 0 -%endif -%endif - -# Leap 42.2 and Tumbleweed have tinyxml2-3. For other distribution use the -# tinyxml2-3 that is shipped with encfs. -%define os_has_tinyxml2 0 -%if 0%{?leap_version} >= 420200 -%ifarch x86_64 -%define os_has_tinyxml2 1 -%endif -%endif -%if 0%{?suse_version} > 1320 -%ifnarch ppc -%define os_has_tinyxml2 1 -%endif -%endif - Name: encfs Version: 1.9.5 Release: 0 @@ -53,39 +25,19 @@ Group: System/Filesystems URL: https://vgough.github.io/encfs/ Source: https://github.com/vgough/encfs/releases/download/v%{version}/encfs-%{version}.tar.gz -BuildRequires: cmake >= 3.0.2 -BuildRequires: fuse-devel -BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: openssl-devel +Source2: README.openSUSE +BuildRequires: c++_compiler +BuildRequires: cmake +BuildRequires: fuse BuildRequires: pkgconfig -BuildRequires: zlib-devel -%if %{os_has_tinyxml2} -BuildRequires: tinyxml2-devel -%endif +BuildRequires: pkgconfig(easyloggingpp) +BuildRequires: pkgconfig(fuse) +BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(libssl) +BuildRequires: pkgconfig(tinyxml2) Requires: fuse -BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: %{name}-lang = %{version} -# requirements for check -%if %{do_checks} -BuildRequires: fuse -BuildRequires: perl(Digest::MD5) -BuildRequires: perl(File::Copy) -BuildRequires: perl(File::Path) -BuildRequires: perl(File::Temp) -BuildRequires: perl(IO::Handle) -BuildRequires: perl(Test::Harness) -BuildRequires: perl(Test::More) => 31 -BuildRequires: perl(Time::HiRes) -%if %{os_has_tinyxml2} -BuildRequires: libtinyxml2-3 -%endif -BuildRequires: expect -BuildRequires: openssl -BuildRequires: zlib -%endif - %description EncFS provides an encrypted file system, layered on top of a normal directory tree and encrypts individual files which are stored in the @@ -104,91 +56,35 @@ EncFS is implemented as a userspace filesystem in an unprivileged application using fuse (FUSE (Filesystem in USErspace)). - %lang_package %prep -%setup +%autosetup -p1 +cp %{SOURCE2} . %build -%if %{use_cmake_macro} -%cmake -DCMAKE_SKIP_RPATH:BOOL=ON \ -%if %{os_has_tinyxml2} - -DUSE_INTERNAL_TINYXML:BOOL=OFF -%else - -DUSE_INTERNAL_TINYXML:BOOL=ON -%endif -%else -mkdir build -cd build -/usr/bin/cmake .. -G"Unix Makefiles" \ - -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ - -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \ - -DLIB_INSTALL_DIR:PATH=%{_libdir} \ - -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ - -DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \ - -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_C_FLAGS="${CFLAGS:-%optflags} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags} -DNDEBUG" \ - -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ - -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \ - -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \ -%if "%{?_lib}" == "lib64" - -DLIB_SUFFIX=64 \ -%endif +%cmake \ -DCMAKE_SKIP_RPATH:BOOL=ON \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ - -DBUILD_SHARED_LIBS:BOOL=ON \ - -DBUILD_STATIC_LIBS:BOOL=OFF \ - -DCMAKE_COLOR_MAKEFILE:BOOL=OFF \ - -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \ - -DCMAKE_MODULES_INSTALL_DIR=%{_datadir}/cmake/Modules \ -%if %{os_has_tinyxml2} - -DUSE_INTERNAL_TINYXML:BOOL=OFF -%else - -DUSE_INTERNAL_TINYXML:BOOL=ON -%endif -%endif - -%if %{use_cmake_macro} + -DUSE_INTERNAL_TINYXML:BOOL=OFF \ + -DINSTALL_LIBENCFS:BOOL=ON \ + -DBUILD_UNIT_TESTS:BOOL=OFF \ + %{nil} %cmake_build -%else -make %{?_smp_mflags} VERBOSE=1 -%endif %install %cmake_install -%__install -d -D -m 0755 %{buildroot}%{_libdir} -cp -a build/libencfs.so.* %{buildroot}%{_libdir} -%if %{os_has_tinyxml2}==0 -cp -a build/internal/tinyxml2-3.0.0/libtinyxml2.so.* %{buildroot}%{_libdir} -%endif -chmod 755 "%{buildroot}%{_bindir}/encfssh" - %find_lang %{name} -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%check -%if %{do_checks} -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/build: -./test.sh -%endif +%ldconfig_scriptlets %files -%defattr(-,root,root) %license COPYING* %doc AUTHORS ChangeLog DESIGN.md PERFORMANCE.md README* -%{_mandir}/man?/* +%doc README.openSUSE %{_bindir}/encfs* -%{_libdir}/libencfs.so.* -%if %{os_has_tinyxml2}==0 -%{_libdir}/libtinyxml2.so.* -%endif +%{_mandir}/man1/*.1%{?ext_man} +%{_libdir}/libencfs.so* %files lang -f %{name}.lang -%defattr(-,root,root) +%license COPYING* ++++++ README.openSUSE ++++++ # Information for Encfs on openSUSE ## Encfs is deprecated Encfs is no longer maintained upstream. A number of inherrent security issues may remain unresolved forever. The package is on a deprecation path in openSUSE. Users are advised to move to alternatives, such as LUKS, crypfs, gocryptfs, or file based encryption (GnuPG). See https://bugzilla.opensuse.org/show_bug.cgi?id=1243036 ## encfs on Leap 15.6 or later may fail to decrypt old directories encfs, when built against OpenSSL 3, may fail to decrypt data created with versions built against OpenSSL 1. This applies when when transitioing from openSUSE Leap 15.5 to 15.6, or to openSUSE Tumbleweed. As a workaround, the following configuration may be added to /etc/ssl/openssl.cnf : ```` [provider_sect] legacy = legacy_sect [legacy_sect] activate = 1 ```` See https://bugzilla.opensuse.org/show_bug.cgi?id=1221085