From fdf3bd896a90ae41aa9648edb5cd91dabd8e9cdc Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Wed, 2 Dec 2020 20:38:49 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/sendmail.git#79073ed54370fd70db774f9eea4ff7329ed5f942 --- sendmail.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sendmail.spec b/sendmail.spec index 8ef6bc1..478a857 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -19,7 +19,7 @@ Summary: A widely used Mail Transport Agent (MTA) Name: sendmail Version: 8.16.1 -Release: 2%{?dist} +Release: 3%{?dist} License: Sendmail URL: http://www.sendmail.org/ @@ -87,6 +87,7 @@ Patch26: sendmail-8.16.1-libmilter-socket-activation.patch BuildRequires: libdb-devel BuildRequires: libnsl2-devel +BuildRequires: tinycdb-devel BuildRequires: groff BuildRequires: ghostscript BuildRequires: m4 @@ -201,11 +202,11 @@ sed -i 's|/usr/local/bin/perl|%{_bindir}/perl|' contrib/*.pl %build # generate redhat config file cat > redhat.config.m4 << EOF -define(\`confMAPDEF', \`-DNEWDB -DNIS -DMAP_REGEX -DSOCKETMAP -DNAMED_BIND=1') +define(\`confMAPDEF', \`-DNEWDB -DCDB -DNIS -DMAP_REGEX -DSOCKETMAP -DNAMED_BIND=1') define(\`confOPTIMIZE', \`\`\`\`${RPM_OPT_FLAGS}'''') define(\`confENVDEF', \`-I%{_includedir}/libdb -I%{_prefix}/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DHAS_GETHOSTBYNAME2') define(\`confLIBDIRS', \`-L%{_prefix}/kerberos/%{_lib}') -define(\`confLIBS', \`-lnsl -lcrypt -ldb -lresolv') +define(\`confLIBS', \`-lnsl -lcrypt -ldb -lcdb -lresolv') %{?_hardened_build:define(\`confLDOPTS', \`-Xlinker -z -Xlinker relro -Xlinker -z -Xlinker now')} define(\`confMANOWN', \`root') define(\`confMANGRP', \`root') @@ -693,6 +694,10 @@ exit 0 %changelog +* Wed Dec 2 2020 Jaroslav Škarvada - 8.16.1-3 +- Enabled CDB map support + Related: rhbz#1781181 + * Wed Jul 29 2020 Fedora Release Engineering - 8.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild