commit imapfilter for openSUSE:Factory
Hello community, here is the log from the commit of package imapfilter for openSUSE:Factory checked in at 2020-12-21 10:24:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/imapfilter (Old) and /work/SRC/openSUSE:Factory/.imapfilter.new.5145 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "imapfilter" Mon Dec 21 10:24:42 2020 rev:47 rq:857149 version:2.7.5 Changes: -------- --- /work/SRC/openSUSE:Factory/imapfilter/imapfilter.changes 2020-11-29 12:29:20.558057666 +0100 +++ /work/SRC/openSUSE:Factory/.imapfilter.new.5145/imapfilter.changes 2020-12-21 10:27:11.780236941 +0100 @@ -1,0 +2,7 @@ +Sun Dec 20 12:51:29 UTC 2020 - Dirk Müller <dmueller@suse.com> + +- update to 2.7.5: + * New "hostnames" option can be used to disable hostname validation. + * Bug fix; "certificates" option incorrectly controlled hostname validation. + +------------------------------------------------------------------- Old: ---- imapfilter-2.7.4.tar.gz New: ---- imapfilter-2.7.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ imapfilter.spec ++++++ --- /var/tmp/diff_new_pack.C1A3ir/_old 2020-12-21 10:27:12.356237594 +0100 +++ /var/tmp/diff_new_pack.C1A3ir/_new 2020-12-21 10:27:12.360237598 +0100 @@ -17,13 +17,13 @@ Name: imapfilter -Version: 2.7.4 +Version: 2.7.5 Release: 0 Summary: A mail filtering utility License: MIT Group: Productivity/Networking/Email/Utilities URL: https://github.com/lefcha/imapfilter -Source: %{name}-%{version}.tar.gz +Source: https://github.com/lefcha/imapfilter/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: lua-devel >= 5.1 BuildRequires: openssl-devel BuildRequires: pcre2-devel @@ -44,7 +44,7 @@ %setup -q %build -make PREFIX="%{_prefix}" MANDIR="%{_mandir}" MYCFLAGS="%{optflags} -I%{lua_incdir}" %{?_smp_mflags} +%make_build PREFIX="%{_prefix}" MANDIR="%{_mandir}" MYCFLAGS="%{optflags} -I%{lua_incdir}" %install %make_install PREFIX="%{_prefix}" MANDIR="%{_mandir}" ++++++ imapfilter-2.7.4.tar.gz -> imapfilter-2.7.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/imapfilter-2.7.4/NEWS new/imapfilter-2.7.5/NEWS --- old/imapfilter-2.7.4/NEWS 2020-11-18 22:30:58.000000000 +0100 +++ new/imapfilter-2.7.5/NEWS 2020-12-05 22:35:02.000000000 +0100 @@ -1,3 +1,7 @@ +IMAPFilter 2.7.5 - 5 Dec 2020 + - New "hostnames" option can be used to disable hostname validation. + - Bug fix; "certificates" option incorrectly controlled hostname validation. + IMAPFilter 2.7.4 - 18 Nov 2020 - Bug fix; incorrect argument to regular expression compile function. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/imapfilter-2.7.4/doc/imapfilter_config.5 new/imapfilter-2.7.5/doc/imapfilter_config.5 --- old/imapfilter-2.7.4/doc/imapfilter_config.5 2020-11-18 22:30:58.000000000 +0100 +++ new/imapfilter-2.7.5/doc/imapfilter_config.5 2020-12-05 22:35:02.000000000 +0100 @@ -1,4 +1,4 @@ -.Dd Aug 26, 2018 +.Dd Dec 5, 2020 .Dt IMAPFILTER_CONFIG 5 .Os .Sh NAME @@ -126,6 +126,13 @@ .Vt boolean as a value. Default is .Dq true . +.It Va hostnames +When this option is enabled, the server hostname is validated, in +order to verify the client is talking to the correct server. This variable +takes a +.Vt boolean +as a value. Default is +.Dq true . .It Va info When this options is enabled, a summary of the program's actions is printed, while processing mailboxes. This variable takes a diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/imapfilter-2.7.4/src/lua.c new/imapfilter-2.7.5/src/lua.c --- old/imapfilter-2.7.4/src/lua.c 2020-11-18 22:30:58.000000000 +0100 +++ new/imapfilter-2.7.5/src/lua.c 2020-12-05 22:35:02.000000000 +0100 @@ -136,6 +136,7 @@ set_table_boolean("crammd5", 1); set_table_boolean("create", 0); set_table_boolean("expunge", 1); + set_table_boolean("hostnames", 1); set_table_number("keepalive", 29); set_table_boolean("namespace", 1); set_table_boolean("persist", 0); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/imapfilter-2.7.4/src/socket.c new/imapfilter-2.7.5/src/socket.c --- old/imapfilter-2.7.4/src/socket.c 2020-11-18 22:30:58.000000000 +0100 +++ new/imapfilter-2.7.5/src/socket.c 2020-12-05 22:35:02.000000000 +0100 @@ -142,7 +142,7 @@ if (!(ssn->sslconn = SSL_new(ctx))) goto fail; - if (get_option_boolean("certificates")) { + if (get_option_boolean("hostnames")) { #if OPENSSL_VERSION_NUMBER >= 0x10100000L SSL_set_hostflags(ssn->sslconn, X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/imapfilter-2.7.4/src/version.h new/imapfilter-2.7.5/src/version.h --- old/imapfilter-2.7.4/src/version.h 2020-11-18 22:30:58.000000000 +0100 +++ new/imapfilter-2.7.5/src/version.h 2020-12-05 22:35:02.000000000 +0100 @@ -3,7 +3,7 @@ /* Program's version number. */ -#define VERSION "2.7.4" +#define VERSION "2.7.5" /* Program's copyright. */ #define COPYRIGHT "Copyright (c) 2001-2020 Eleftherios Chatzimparmpas"
participants (1)
-
User for buildservice source handling