| Deutsch English Français Italiano |
|
<0858c10dab7cc0f47c27dd6040a06049@www.novabbs.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.quux.org!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: hquest@hquest.pro.br (HQuest)
Newsgroups: comp.mail.sendmail
Subject: Re: sendmail snapshot 8.18.1.9
Date: Sun, 9 Feb 2025 13:48:48 +0000
Organization: novaBBS
Message-ID: <0858c10dab7cc0f47c27dd6040a06049@www.novabbs.com>
References: <vo760r$l5r$1@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3429069"; mail-complaints-to="usenet@i2pn2.org";
posting-account="gSdnz2tQQMpN18WMM4rt2FtJBW7lWv7DL3bXcApLdlA";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: 1932cd5cdfc4939182d2446462275a239b9d79e0
X-Rslight-Site: $2y$10$pdB8JWjUIB4QAWBoUsloKuBPsJoKlSfRcgVFI3yt.uVegUjqG2w9y
Bytes: 15191
Lines: 268
Thank you, Claus, for the Sunday update. A few warnings during build
time (some external to sendmail). Compiled against OpenSSL 3.4.0 on a
Slackware -current (current as of Feb 9, 2025). Apologies if the line
wrapping makes it harder to read.
$ more site.config.m4
APPENDDEF(`confMAPDEF', `-DNEWDB')
APPENDDEF(`confLIBS', `-lnsl -lssl -lcrypto -lsasl2 -lwrap -lm -ldb
-lresolv -licuuc -licui18n -licudata')
APPENDDEF(`conf_libmilter_ENVDEF', `-DMILTER')
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
APPENDDEF(`confENVDEF', `-DNETINET6 -DIPV6_FULL -DNEWDB -DSTARTTLS
-DDANE -DSASL=2 -DTCPWRAPPERS -DNIS -DMAP_REGEX -DSOCKETMAP -DTLS_EC
-DUSE_EAI -DDNSSEC_TEST -D_FFR_TLS_ALTNAMES -D_FFR_MTA_STS -DOPENSSL_NO_
ENGINE -DHAVE_ERR_get_error_all')dnl
cc -O2 -fPIC -fhardened -DDANE -I. -I../../include -DNEWDB -DNETINET6
-DIPV6_FULL -DNEWDB -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS
-DMAP_REGEX -DSOCKETMAP -DTLS_EC -DUSE_EAI -DDNSSEC_TEST
-D_FFR_TLS_ALTNAMES -D_FFR_MTA_STS -DOPENSSL_NO_ENGINE
-DHAVE_ERR_get_error_all -DMILTER -c -o main.o main.c
main.c: In function ‘stop_sendmail’:
main.c:3055:16: warning: ignoring return value of ‘setuid’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
3055 | (void) setuid(RealUid);
| ^~~~~~~~~~~~~~~
main.c: In function ‘finis’:
main.c:3199:24: warning: ignoring return value of ‘setuid’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
3199 | (void) setuid(RealUid);
| ^~~~~~~~~~~~~~~
cc -O2 -fPIC -fhardened -DDANE -I. -I../../include -DNEWDB -DNETINET6
-DIPV6_FULL -DNEWDB -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS
-DMAP_REGEX -DSOCKETMAP -DTLS_EC -DUSE_EAI -DDNSSEC_TEST
-D_FFR_TLS_ALTNAMES -D_FFR_MTA_STS -DOPENSSL_NO_ENGINE
-DHAVE_ERR_get_error_all -DMILTER -c -o deliver.o deliver.c
deliver.c: In function ‘deliver’:
deliver.c:3172:40: warning: ignoring return value of ‘nice’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
3172 | (void) nice(m->m_nice);
| ^~~~~~~~~~~~~~~
deliver.c: In function ‘mailfile’:
deliver.c:6884:32: warning: ignoring return value of ‘ftruncate’
declared with attribute ‘warn_unused_result’ [-Wunused-result]
6884 | (void) ftruncate(sm_io_getinfo(f,
SM_IO_WHAT_FD, NULL),
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6885 | curoff);
| ~~~~~~~
deliver.c:6899:24: warning: ignoring return value of ‘setuid’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
6899 | (void) setuid(RealUid);
| ^~~~~~~~~~~~~~~
cc -O2 -fPIC -fhardened -DDANE -I. -I../../include -DNEWDB -DNETINET6
-DIPV6_FULL -DNEWDB -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS
-DMAP_REGEX -DSOCKETMAP -DTLS_EC -DUSE_EAI -DDNSSEC_TEST
-D_FFR_TLS_ALTNAMES -D_FFR_MTA_STS -DOPENSSL_NO_ENGINE
-DHAVE_ERR_get_error_all -DMILTER -c -o mci.o mci.c
mci.c: In function ‘mci_store_persistent’:
mci.c:1130:16: warning: ignoring return value of ‘ftruncate’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
1130 | (void) ftruncate(sm_io_getinfo(mci->mci_statfile,
SM_IO_WHAT_FD, NULL),
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1131 | (off_t) 0);
| ~~~~~~~~~~
cc -O2 -fPIC -fhardened -DDANE -I. -I../../include -DNEWDB -DNETINET6
-DIPV6_FULL -DNEWDB -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS
-DMAP_REGEX -DSOCKETMAP -DTLS_EC -DUSE_EAI -DDNSSEC_TEST
-D_FFR_TLS_ALTNAMES -D_FFR_MTA_STS -DOPENSSL_NO_ENGINE
-DHAVE_ERR_get_error_all -DMILTER -c -o queue.o queue.c
queue.c: In function ‘run_work_group’:
queue.c:2185:24: warning: ignoring return value of ‘nice’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
2185 | (void) nice(Queue[qgrp]->qg_nice);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc -O2 -fPIC -fhardened -DDANE -I. -I../../include -DNEWDB -DNETINET6
-DIPV6_FULL -DNEWDB -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS
-DMAP_REGEX -DSOCKETMAP -DTLS_EC -DUSE_EAI -DDNSSEC_TEST
-D_FFR_TLS_ALTNAMES -D_FFR_MTA_STS -DOPENSSL_NO_ENGINE
-DHAVE_ERR_get_error_all -DMILTER -c -o readcf.o readcf.c
readcf.c:2821:24: warning: RES_AAONLY is deprecated
2821 | { "aaonly", RES_AAONLY },
| ^~~~~~~~~~~~~~~~~~~~~~~
readcf.c:2823:20: warning: RES_PRIMARY is deprecated
2823 | { "primary", RES_PRIMARY },
| ^~~~~~~~~~~~~~~~~~~~~~~
cc -O2 -fPIC -fhardened -DDANE -I. -I../../include -DNEWDB -DNETINET6
-DIPV6_FULL -DNEWDB -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS
-DMAP_REGEX -DSOCKETMAP -DTLS_EC -DUSE_EAI -DDNSSEC_TEST
-D_FFR_TLS_ALTNAMES -D_FFR_MTA_STS -DOPENSSL_NO_ENGINE
-DHAVE_ERR_get_error_all -DMILTER -c -o stats.o stats.c
stats.c: In function ‘poststats’:
stats.c:192:16: warning: ignoring return value of ‘write’ declared with
attribute ‘warn_unused_result’ [-Wunused-result]
192 | (void) write(fd, (char *) &stats, sizeof(stats));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -O2 -fPIC -fhardened -DDANE -I. -I../../include -DNEWDB -DNETINET6
-DIPV6_FULL -DNEWDB -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS
-DMAP_REGEX -DSOCKETMAP -DTLS_EC -DUSE_EAI -DDNSSEC_TEST
-D_FFR_TLS_ALTNAMES -D_FFR_MTA_STS -DOPENSSL_NO_ENGINE
-DHAVE_ERR_get_error_all -DMILTER -c -o tls.o tls.c
tls.c: In function ‘get_dh512’:
tls.c:118:9: warning: ‘DH_new’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
118 | if ((dh = DH_new()) == NULL)
| ^~
In file included from /usr/include/openssl/dsa.h:31,
from /usr/include/openssl/x509.h:37,
from /usr/include/openssl/ssl.h:32,
from ./sendmail.h:43,
from tls.c:11:
/usr/include/openssl/dh.h:210:27: note: declared here
210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
| ^~~~~~
tls.c:123:9: warning: ‘DH_set0_pqg’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
123 | if (dhp_bn == NULL || dhg_bn == NULL || !DH_set0_pqg(dh,
dhp_bn, NULL, dhg_bn)) {
| ^~
/usr/include/openssl/dh.h:266:27: note: declared here
266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM
*q, BIGNUM *g);
| ^~~~~~~~~~~
tls.c:124:17: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
124 | DH_free(dh);
| ^~~~~~~
/usr/include/openssl/dh.h:211:28: note: declared here
211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| ^~~~~~~
tls.c: In function ‘get_dh2048’:
tls.c:188:9: warning: ‘DH_new’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
188 | if ((dh=DH_new()) == NULL)
| ^~
/usr/include/openssl/dh.h:210:27: note: declared here
210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
| ^~~~~~
tls.c:193:9: warning: ‘DH_set0_pqg’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
193 | if (dhp_bn == NULL || dhg_bn == NULL || !DH_set0_pqg(dh,
dhp_bn, NULL, dhg_bn)) {
| ^~
/usr/include/openssl/dh.h:266:27: note: declared here
266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM
*q, BIGNUM *g);
| ^~~~~~~~~~~
tls.c:194:17: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
194 | DH_free(dh);
| ^~~~~~~
/usr/include/openssl/dh.h:211:28: note: declared here
211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| ^~~~~~~
tls.c: In function ‘inittls’:
tls.c:1418:33: warning: ‘PEM_read_bio_DHparams’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
1418 | dh = PEM_read_bio_DHparams(bio,
NULL, NULL, NULL);
| ^~
In file included from /usr/include/openssl/ssl.h:37:
/usr/include/openssl/pem.h:474:1: note: declared here
474 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
| ^~~~~~~~~~~~~~~~~~~
tls.c:1459:25: warning: ‘DSA_new’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
1459 | dsa = DSA_new();
| ^~~
/usr/include/openssl/dsa.h:130:28: note: declared here
130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
| ^~~~~~~
tls.c:1462:33: warning: ‘DSA_generate_parameters_ex’ is deprecated:
Since OpenSSL 3.0 [-Wdeprecated-declarations]
1462 | r =
DSA_generate_parameters_ex(dsa, bits, NULL,
| ^
========== REMAINDER OF ARTICLE TRUNCATED ==========