mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
As qmail ports' maintainer, I recieved a lot of emails reporting a "problem". If
you have a good client using an IP listed on a RBL, this person cannot have a chance to auth on qmail server if server uses rblsmtpd because connection is dropped before call qmail-smtpd. This patch fix this problem, changing rblsmtpd to doesn't drop the connection, just set a var, that will be checked by patched qmail-smtpd, and if person is authenticated, it ignores rbl check. PR: ports/98390 Approved by: maintainer
This commit is contained in:
parent
1cab02aecd
commit
f2934b4859
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164859
@ -17,7 +17,8 @@ COMMENT= Command-line tools for building TCP client-server applications
|
||||
|
||||
OPTIONS= MAN "Install man(1) pages" on \
|
||||
RSS_DIFF "Patch rblsmtpd for qmail users" off \
|
||||
SSL "Adds support for SSL (Secure Socket Layer)" off
|
||||
SSL "Adds support for SSL (Secure Socket Layer)" off \
|
||||
RBL2SMTPD "Don't drop connection, pass envvar to smtpd" off
|
||||
|
||||
NO_PACKAGE= Unsure of djb's license
|
||||
|
||||
@ -49,6 +50,12 @@ PATCH_SITES+= http://www.nrg4u.com/qmail/
|
||||
PATCHFILES+= ucspi-tcp-ssl-20050405.patch.gz
|
||||
PATCH_DIST_STRIP= -p1
|
||||
|
||||
.if defined(WITH_RBL2SMTPD)
|
||||
PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/garga\/ucspi-tcp\/:rbl2smtpd/}
|
||||
PATCHFILES+= ucspi-tcp_rbl2smtpd.diff:rbl2smtpd
|
||||
PATCH_DIST_STRIP= -p1
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|#INCS=-I/usr/local/include|INCS=-I${OPENSSLBASE}/include|g; \
|
||||
s|-lcrypto|-L${OPENSSLBASE}/lib |g' ${WRKSRC}/Makefile
|
||||
|
@ -10,3 +10,6 @@ SIZE (ucspi-rss.diff) = 1828
|
||||
MD5 (ucspi-tcp-ssl-20050405.patch.gz) = cbe2443539d5289ffb5ae2a036e0ba3d
|
||||
SHA256 (ucspi-tcp-ssl-20050405.patch.gz) = 931ebeb9ca3ceb9394464aca0c4585048d04fc194fc5a9d4bb49bdd8ac249467
|
||||
SIZE (ucspi-tcp-ssl-20050405.patch.gz) = 13173
|
||||
MD5 (ucspi-tcp_rbl2smtpd.diff) = 3515b80cb3c50ad9990785704798020f
|
||||
SHA256 (ucspi-tcp_rbl2smtpd.diff) = b31092bad79912c4cdaebf65863e249f0f8136d64d9cf486fafeb5561dbc2b88
|
||||
SIZE (ucspi-tcp_rbl2smtpd.diff) = 570
|
||||
|
Loading…
Reference in New Issue
Block a user