mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
- Fix runtime crash when using SMTPEXTFORK option due to
calling strtok(3) without string.h included. Not reported "upstream" as the last update was 2009 and the site is dead. Reported by: Christopher Weimann <christopher@weimann.us>
This commit is contained in:
parent
cc483cb5b0
commit
7b01d09ebb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311743
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= qmail
|
||||
PORTVERSION= ${QMAIL_VERSION}.${SPAMCONTROL_VERSION}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES+= http://www.fehcom.de/qmail/spamcontrol/:spamcontrol \
|
||||
${MASTER_SITE_LOCAL:S/$/:spamcontrol/}
|
||||
|
@ -703,6 +703,7 @@ post-patch:
|
||||
. endif
|
||||
. if ${PORT_OPTIONS:MSMTPEXTFORK}
|
||||
@${PATCH} -d ${WRKSRC} < ${DISTDIR}/${DIST_SUBDIR}/${SMTPEXTFORK_PATCH}
|
||||
@${PATCH} -d ${WRKSRC} < ${FILESDIR}/extra-patch-smtpextfork-qmail-smtpd.c
|
||||
. if ${PORT_OPTIONS:MXF_QUITASAP}
|
||||
@${REINPLACE_CMD} 's!//#define XF_QUITASAP!#define XF_QUITASAP!g' \
|
||||
${WRKSRC}/qmail-smtpd.c
|
||||
|
7
mail/qmail/files/extra-patch-smtpextfork-qmail-smtpd.c
Normal file
7
mail/qmail/files/extra-patch-smtpextfork-qmail-smtpd.c
Normal file
@ -0,0 +1,7 @@
|
||||
--- qmail-smtpd.c.orig 2013-02-05 21:28:49.477460299 -0600
|
||||
+++ qmail-smtpd.c 2013-02-05 21:29:23.512455333 -0600
|
||||
@@ -1,3 +1,4 @@
|
||||
+#include <string.h>
|
||||
#include "readwrite.h"
|
||||
#include "stralloc.h"
|
||||
#include "substdio.h"
|
Loading…
Reference in New Issue
Block a user