Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libetpan for openSUSE:Factory checked in at 2026-05-31 18:29:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libetpan (Old) and /work/SRC/openSUSE:Factory/.libetpan.new.1937 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libetpan" Sun May 31 18:29:53 2026 rev:29 rq:1356075 version:1.10 Changes: -------- --- /work/SRC/openSUSE:Factory/libetpan/libetpan.changes 2020-08-17 12:06:11.314721288 +0200 +++ /work/SRC/openSUSE:Factory/.libetpan.new.1937/libetpan.changes 2026-05-31 18:29:58.364247786 +0200 @@ -1,0 +2,11 @@ +Fri May 22 22:22:22 UTC 2026 - [email protected] + +- update to 1.10 (1bac78a) via _service + add libetpan.patch + Added RFC 8438 IMAP STATUS=SIZE support + Added modified UTF-7 encode/decode + Various fixes +- build with gnutls because the only consumer uses gnutls +- enable --with-poll to remove filedescriptor limit + +------------------------------------------------------------------- Old: ---- 1.9.4.tar.gz New: ---- _service libetpan-1.10.tar.xz libetpan.patch ----------(New B)---------- New:- update to 1.10 (1bac78a) via _service add libetpan.patch Added RFC 8438 IMAP STATUS=SIZE support ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libetpan.spec ++++++ --- /var/tmp/diff_new_pack.QUcKnP/_old 2026-05-31 18:30:00.080318121 +0200 +++ /var/tmp/diff_new_pack.QUcKnP/_new 2026-05-31 18:30:00.080318121 +0200 @@ -1,7 +1,7 @@ # # spec file for package libetpan # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2026 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,25 @@ # +%bcond_with libetpan_fsanitize %define sover 20 Name: libetpan -Version: 1.9.4 +Version: 1.10 Release: 0 Summary: Mail Handling Library License: BSD-3-Clause -Group: Development/Libraries/C and C++ URL: https://www.etpan.org/libetpan.html -Source0: https://github.com/dinhviethoa/libetpan/archive/%{version}.tar.gz +Source0: %name-%version.tar.xz +Patch0: %name.patch BuildRequires: autoconf BuildRequires: automake -BuildRequires: cyrus-sasl-devel BuildRequires: db-devel -# Stupid dependency. Compiles with gcc but tries to link with g++. -BuildRequires: gcc-c++ BuildRequires: libtool -BuildRequires: openssl-devel +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(gpg-error) +BuildRequires: pkgconfig(libgcrypt) +BuildRequires: pkgconfig(libsasl2) +BuildRequires: pkgconfig(zlib) %description libEtPan is a mail purpose library. It will be used for low-level mail @@ -42,9 +44,8 @@ %package -n libetpan%{sover} Summary: Mail handling library -Group: System/Libraries -Provides: %{name} = %{version} -Obsoletes: %{name} < %{version} +Provides: %name = %version-%release +Obsoletes: %name < %version-%release %description -n libetpan%{sover} libEtPan is a mail purpose library. It will be used for low-level mail @@ -54,11 +55,13 @@ %package -n libetpan-devel Summary: Development files for libetpan, a mail handling library -Group: Development/Libraries/C and C++ -Requires: cyrus-sasl-devel Requires: db-devel -Requires: libetpan%{sover} = %{version} -Requires: openssl-devel +Requires: libetpan%{sover} = %version-%release +Requires: pkgconfig(gnutls) +Requires: pkgconfig(gpg-error) +Requires: pkgconfig(libgcrypt) +Requires: pkgconfig(libsasl2) +Requires: pkgconfig(zlib) %description -n libetpan-devel libEtPan is a mail purpose library. It will be used for low-level mail @@ -67,12 +70,29 @@ and message / MIME parsing. %prep -%setup -q +%autosetup -p1 %build touch README INSTALL COPYING -autoreconf -fi -%configure --disable-static +env NOCONFIGURE=1 ./autogen.sh +%if %{with libetpan_fsanitize} +CFLAGS='%optflags -Wno-unused-function -Wno-unused-parameter -std=gnu11 -fsanitize=address,undefined' +sed -i~ 's|^Cflags:|Cflags: -fsanitize=address,undefined|' libetpan.pc.in +diff -u "$_"~ "$_" && exit 123 +%else +CFLAGS='%optflags -Wno-unused-function -Wno-unused-parameter -std=gnu11' +%endif +%configure \ + --without-curl \ + --without-expat \ + --with-gnutls \ + --enable-ipv6 \ + --without-openssl \ + --with-poll \ + --with-sasl \ + --disable-static \ + --with-zlib \ + %nil %make_build %install ++++++ _service ++++++ <services> <service mode="manual" name="tar_scm"> <param name="exclude">.git*</param> <param name="exclude">.travis.yml</param> <param name="exclude">build-android</param> <param name="exclude">build-mac</param> <param name="exclude">build-windows</param> <param name="exclude">src/dummy.cpp</param> <param name="exclude">src/versioninfo.rc.in</param> <param name="exclude">src/windows</param> <param name="exclude">tests</param> <param name="exclude">travis</param> <param name="exclude">unittest</param> <param name="filename">libetpan</param> <param name="revision">1bac78abe207f078c918e9e86faaed13035f4b1f</param> <param name="scm">git</param> <param name="submodules">disable</param> <param name="url">https://github.com/dinhvh/libetpan</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param> <param name="versionrewrite-replacement">\1</param> </service> <service mode="manual" name="recompress"> <param name="compression">xz</param> <param name="file">*.tar</param> </service> <service mode="manual" name="set_version"/> </services> ++++++ libetpan.patch ++++++ --- Makefile.am | 2 +- configure.ac | 7 ------- src/Makefile.am | 6 ------ 3 files changed, 1 insertion(+), 14 deletions(-) --- a/Makefile.am +++ b/Makefile.am @@ -39,7 +39,7 @@ CLEANFILES = stamp-prepare libetpan-conf DISTCLEANFILES = libetpan.pc -SUBDIRS = build-windows include src tests doc +SUBDIRS = include src doc BUILT_SOURCES += libetpan-config.h --- a/configure.ac +++ b/configure.ac @@ -759,11 +759,9 @@ AC_SUBST(VERSION) # Further checks. AC_CONFIG_FILES(Makefile - build-windows/Makefile include/Makefile src/Makefile src/bsd/Makefile - src/windows/Makefile src/data-types/Makefile src/low-level/Makefile src/low-level/feed/Makefile @@ -794,9 +792,7 @@ AC_CONFIG_FILES(Makefile src/main/Makefile src/main/libetpan_version.h src/engine/Makefile - src/versioninfo.rc doc/Makefile - tests/Makefile libetpan.pc) # We collect all files which could potentially install public header @@ -813,6 +809,3 @@ done AC_SUBST(cfg_files) AC_OUTPUT - -cp -f ${crd}/src/main/libetpan_version.h ${crd}/build-windows -cd build-windows ; ./gen-public-headers.sh > build_headers.list ; cd .. --- a/src/Makefile.am +++ b/src/Makefile.am @@ -57,15 +57,9 @@ libetpan_deps = endif -if HAVE_MINGW32_SYSTEM - arch_sources = dummy.cpp - arch_dir = windows - arch_lib = windows/libarch.la -else arch_sources = arch_dir = arch_lib = -endif SUBDIRS = bsd $(arch_dir) data-types low-level driver main engine
