Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package proftpd for openSUSE:Factory checked in at 2026-12-03 13:57:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/proftpd (Old) and /work/SRC/openSUSE:Factory/.proftpd.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "proftpd" Thu Dec 3 13:57:38 2026 rev:64 rq:1402556 version:1.3.9e Changes: -------- --- /work/SRC/openSUSE:Factory/proftpd/proftpd.changes 2026-11-10 14:45:42.090840033 +0100 +++ /work/SRC/openSUSE:Factory/.proftpd.new.1340718/proftpd.changes 2026-12-03 14:00:14.385684979 +0100 @@ -1,0 +2,11 @@ +Fri Nov 27 13:41:47 UTC 2026 - Zoltan Balogh <[email protected]> + +- Run the upstream C API tests in %check on Tumbleweed and newer + (suse_version > 1500): build with --enable-tests=nonetwork and + add the check and netcfg build requirements. +- Do not run the redis suite (68 checks, needs a server) or the + Perl integration suite (needs Test::Unit, not packaged). +- Use the upstream CI=1 switch for 8 host name and reverse DNS + assertions in the netaddr and netacl suites. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ proftpd.spec ++++++ --- /var/tmp/diff_new_pack.oBQ995/_old 2026-12-03 14:00:15.588736040 +0100 +++ /var/tmp/diff_new_pack.oBQ995/_new 2026-12-03 14:00:15.590736125 +0100 @@ -71,6 +71,9 @@ BuildRequires: libmysqld-devel BuildRequires: libsodium-devel BuildRequires: ncurses-devel +%if 0%{?suse_version} > 1500 +BuildRequires: netcfg +%endif BuildRequires: openldap2-devel BuildRequires: pam-devel BuildRequires: pcre2-devel @@ -78,6 +81,9 @@ BuildRequires: postgresql-devel BuildRequires: sqlite3-devel BuildRequires: unixODBC-devel +%if 0%{?suse_version} > 1500 +BuildRequires: pkgconfig(check) +%endif BuildRequires: pkgconfig(libssl) # BuildRequires: systemd-rpm-macros @@ -181,6 +187,9 @@ --enable-redis \ %endif --enable-shadow \ +%if 0%{?suse_version} > 1500 + --enable-tests=nonetwork \ +%endif --with-lastlog \ --with-includes="%{_includedir}/mysql:%{_includedir}/pgsql" \ --with-shared="${PROFTPD_SHARED_MODS}" \ @@ -222,6 +231,33 @@ %find_lang %{name} +%if 0%{?suse_version} > 1500 +%check +# Run the C API tests. The Perl integration suite is not maintained +# upstream and needs Test::Unit, so it is not run here. +# The redis suite needs a running Redis server, which the build +# environment does not provide; run every other suite. +# CI=1 is the upstream switch for the host name and reverse DNS +# checks in the netaddr and netacl suites. +suites=$(sed -n 's/^[[:space:]]*{ "\([a-z0-9_]*\)",[[:space:]]*tests_get_.*/\1/p' tests/api/tests.c | grep -v '^redis$') +[ -n "$suites" ] || { echo "tests/api/tests.c: suite list not found"; exit 1; } +set -- $suites +first=$1 +shift +PR_TEST_SUITE="$first" make -C tests api-tests +cd tests +for suite in "$@"; do + case "$suite" in + netaddr|netacl) + CI=1 PR_TEST_SUITE="$suite" ./api-tests + ;; + *) + PR_TEST_SUITE="$suite" ./api-tests + ;; + esac +done +%endif + %pre %service_add_pre %{name}.service %if 0%{?suse_version} > 1500
