diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-02-25 17:14:57 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-02-25 17:23:15 +0100 |
commit | a4b64eb5514f90ce18ccca7d0f27d715299c4876 (patch) | |
tree | f27d061f7b9b47dc6a1cb93f63605cf7ef52987d /package/libesmtp/patches | |
parent | 04e70c8849d231b9701ec3c84ba03aedd05b0335 (diff) |
libesmtp: update to 1.1.0
Diffstat (limited to 'package/libesmtp/patches')
-rw-r--r-- | package/libesmtp/patches/patch-Makefile_am | 12 | ||||
-rw-r--r-- | package/libesmtp/patches/patch-crammd5_Makefile_am | 12 | ||||
-rw-r--r-- | package/libesmtp/patches/patch-login_Makefile_am | 12 | ||||
-rw-r--r-- | package/libesmtp/patches/patch-meson_build | 42 | ||||
-rw-r--r-- | package/libesmtp/patches/patch-meson_options_txt | 7 | ||||
-rw-r--r-- | package/libesmtp/patches/patch-ntlm_Makefile_am | 12 | ||||
-rw-r--r-- | package/libesmtp/patches/patch-ntlm_meson_build | 11 | ||||
-rw-r--r-- | package/libesmtp/patches/patch-plain_Makefile_am | 12 |
8 files changed, 60 insertions, 60 deletions
diff --git a/package/libesmtp/patches/patch-Makefile_am b/package/libesmtp/patches/patch-Makefile_am deleted file mode 100644 index f2f3d9dac..000000000 --- a/package/libesmtp/patches/patch-Makefile_am +++ /dev/null @@ -1,12 +0,0 @@ - prevent doubly passing our CFLAGS ---- libesmtp-1.0.6.orig/Makefile.am 2010-08-09 22:25:24.000000000 +0200 -+++ libesmtp-1.0.6/Makefile.am 2014-06-05 22:29:30.049704289 +0200 -@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = gnu dist-bzip2 - INCLUDES = -I$(srcdir) $(VERSION_FLAGS) - SUBDIRS = @subdirs@ @SASL_PLUGINS@ - DIST_SUBDIRS = @subdirs@ @DIST_PLUGINS@ --AM_CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ -+AM_CFLAGS = @EXTRA_CFLAGS@ - ACLOCAL_AMFLAGS = -I m4 - - lib_LTLIBRARIES = libesmtp.la diff --git a/package/libesmtp/patches/patch-crammd5_Makefile_am b/package/libesmtp/patches/patch-crammd5_Makefile_am deleted file mode 100644 index c640852b7..000000000 --- a/package/libesmtp/patches/patch-crammd5_Makefile_am +++ /dev/null @@ -1,12 +0,0 @@ - prevent doubly passing our CFLAGS ---- libesmtp-1.0.6.orig/crammd5/Makefile.am 2010-08-08 17:45:57.000000000 +0200 -+++ libesmtp-1.0.6/crammd5/Makefile.am 2014-06-05 22:29:43.615693205 +0200 -@@ -3,7 +3,7 @@ - libdir = @plugindir@ - - INCLUDES = -I@srcdir@ --AM_CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ -+AM_CFLAGS = @EXTRA_CFLAGS@ - - lib_LTLIBRARIES = sasl-cram-md5.la - diff --git a/package/libesmtp/patches/patch-login_Makefile_am b/package/libesmtp/patches/patch-login_Makefile_am deleted file mode 100644 index 4ba39571a..000000000 --- a/package/libesmtp/patches/patch-login_Makefile_am +++ /dev/null @@ -1,12 +0,0 @@ - prevent doubly passing our CFLAGS ---- libesmtp-1.0.6.orig/login/Makefile.am 2010-08-08 17:45:56.000000000 +0200 -+++ libesmtp-1.0.6/login/Makefile.am 2014-06-05 22:29:47.310690185 +0200 -@@ -5,7 +5,7 @@ libdir = @plugindir@ - INCLUDES = -I@srcdir@ - - lib_LTLIBRARIES = sasl-login.la --AM_CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ -+AM_CFLAGS = @EXTRA_CFLAGS@ - - sasl_login_la_SOURCES = client-login.c - sasl_login_la_LDFLAGS = -module -avoid-version diff --git a/package/libesmtp/patches/patch-meson_build b/package/libesmtp/patches/patch-meson_build new file mode 100644 index 000000000..461311751 --- /dev/null +++ b/package/libesmtp/patches/patch-meson_build @@ -0,0 +1,42 @@ +--- libESMTP-1.1.0.orig/meson.build 2021-06-04 18:18:50.000000000 +0200 ++++ libESMTP-1.1.0/meson.build 2024-02-24 14:07:23.535476167 +0100 +@@ -63,6 +63,7 @@ add_project_arguments(cc.get_supported_a + ################################################################################ + dldep = cc.find_library('dl') + ssldep = dependency('openssl', version : '>=1.1.0', required : get_option('tls')) ++ntlmdep = dependency('openssl', version : '>=1.1.0', required : get_option('ntlm')) + threaddep = dependency('threads', required : get_option('pthreads')) + + #XXX add test for libbind9.so +@@ -71,6 +72,7 @@ lwresdep = cc.find_library('lwres', requ + deps = [ + dldep, + ssldep, ++ ntlmdep, + threaddep, + lwresdep, + ] +@@ -220,8 +222,13 @@ include_dir = include_directories('.') + subdir('login') + subdir('plain') + subdir('crammd5') +-if ssldep.found() +- subdir('ntlm') ++ ++if ntlmdep.found() ++ if cc.has_header('openssl/md4.h') and cc.has_function('MD4_Init', dependencies : ntlmdep) ++ subdir('ntlm') ++ else ++ error('MD4 is not supported in current openssl, unable to build NTLM plugin') ++ endif + endif + + ################################################################################ +@@ -247,4 +254,6 @@ summary({'current:revision:age': libesmt + 'STARTTLS': ssldep.found(), + 'CHUNKING': get_option('bdat'), + 'ETRN': get_option('etrn'), +- 'XUSR': get_option('xusr')}) ++ 'XUSR': get_option('xusr'), ++ 'NTLM': ntlmdep.found()}) ++ diff --git a/package/libesmtp/patches/patch-meson_options_txt b/package/libesmtp/patches/patch-meson_options_txt new file mode 100644 index 000000000..6f4e81431 --- /dev/null +++ b/package/libesmtp/patches/patch-meson_options_txt @@ -0,0 +1,7 @@ +--- libESMTP-1.1.0.orig/meson_options.txt 2021-06-04 18:18:50.000000000 +0200 ++++ libESMTP-1.1.0/meson_options.txt 2024-02-24 13:55:42.283485679 +0100 +@@ -5,3 +5,4 @@ option('lwres', type : 'feature', value + option('bdat', type : 'boolean', value : 'true', description : 'enable SMTP BDAT extension') + option('etrn', type : 'boolean', value : 'true', description : 'enable SMTP ETRN extension') + option('xusr', type : 'boolean', value : 'true', description : 'enable sendmail XUSR extension') ++option('ntlm', type : 'feature', value : 'disabled', description : 'build with support for NTLM authentication') diff --git a/package/libesmtp/patches/patch-ntlm_Makefile_am b/package/libesmtp/patches/patch-ntlm_Makefile_am deleted file mode 100644 index 94928b0a3..000000000 --- a/package/libesmtp/patches/patch-ntlm_Makefile_am +++ /dev/null @@ -1,12 +0,0 @@ - prevent doubly passing our CFLAGS ---- libesmtp-1.0.6.orig/ntlm/Makefile.am 2010-08-08 17:45:56.000000000 +0200 -+++ libesmtp-1.0.6/ntlm/Makefile.am 2014-06-05 22:29:51.995686387 +0200 -@@ -3,7 +3,7 @@ - libdir = @plugindir@ - - INCLUDES = -I@srcdir@ --AM_CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ -+AM_CFLAGS = @EXTRA_CFLAGS@ - - lib_LTLIBRARIES = sasl-ntlm.la - diff --git a/package/libesmtp/patches/patch-ntlm_meson_build b/package/libesmtp/patches/patch-ntlm_meson_build new file mode 100644 index 000000000..72dbdaccf --- /dev/null +++ b/package/libesmtp/patches/patch-ntlm_meson_build @@ -0,0 +1,11 @@ +--- libESMTP-1.1.0.orig/ntlm/meson.build 2021-06-04 18:18:50.000000000 +0200 ++++ libESMTP-1.1.0/ntlm/meson.build 2024-02-24 14:03:10.243479603 +0100 +@@ -5,7 +5,7 @@ sasl_ntlm_sources = [ + 'ntlmstruct.c', + ] + +-ntlm_deps = [ ssldep, ] ++ntlm_deps = [ ntlmdep, ] + + sasl_ntlm = shared_module('ntlm', sasl_ntlm_sources, + name_prefix : 'sasl-', diff --git a/package/libesmtp/patches/patch-plain_Makefile_am b/package/libesmtp/patches/patch-plain_Makefile_am deleted file mode 100644 index a22054804..000000000 --- a/package/libesmtp/patches/patch-plain_Makefile_am +++ /dev/null @@ -1,12 +0,0 @@ - prevent doubly passing our CFLAGS ---- libesmtp-1.0.6.orig/plain/Makefile.am 2010-08-08 17:45:54.000000000 +0200 -+++ libesmtp-1.0.6/plain/Makefile.am 2014-06-05 22:29:56.668682572 +0200 -@@ -3,7 +3,7 @@ - libdir = @plugindir@ - - INCLUDES = -I@srcdir@ --AM_CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ -+AM_CFLAGS = @EXTRA_CFLAGS@ - - lib_LTLIBRARIES = sasl-plain.la - |