diff options
Diffstat (limited to 'main/opensmtpd')
-rw-r--r-- | main/opensmtpd/6.6.1p1-mail.lmtp.patch | 12 | ||||
-rw-r--r-- | main/opensmtpd/APKBUILD | 6 |
2 files changed, 16 insertions, 2 deletions
diff --git a/main/opensmtpd/6.6.1p1-mail.lmtp.patch b/main/opensmtpd/6.6.1p1-mail.lmtp.patch new file mode 100644 index 0000000000..3eb19be4a6 --- /dev/null +++ b/main/opensmtpd/6.6.1p1-mail.lmtp.patch @@ -0,0 +1,12 @@ +diff --git a/smtpd/mail.lmtp.c b/smtpd/mail.lmtp.c +index f24549ad..e3487963 100644 +--- a/smtpd/mail.lmtp.c ++++ b/smtpd/mail.lmtp.c +@@ -217,7 +217,6 @@ lmtp_engine(FILE *conn, struct session *session) + enum phase phase = PHASE_BANNER; + + do { +- fflush(conn); + if ((linelen = getline(&line, &linesize, conn)) == -1) { + if (ferror(conn)) + err(EX_TEMPFAIL, "getline"); diff --git a/main/opensmtpd/APKBUILD b/main/opensmtpd/APKBUILD index e69bfedd99..860f17d9c5 100644 --- a/main/opensmtpd/APKBUILD +++ b/main/opensmtpd/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=opensmtpd pkgver=6.6.1p1 -pkgrel=1 +pkgrel=2 pkgdesc="Secure, reliable, lean, and easy-to configure SMTP server" url="http://www.opensmtpd.org" arch="all" @@ -19,6 +19,7 @@ source="https://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz aliases autoconf-decl-checks.patch smtpd.conf.patch + 6.6.1p1-mail.lmtp.patch " options="suid !check" @@ -59,4 +60,5 @@ sha512sums="8861c2b3d8560217750482694b007e43226033f31c13efa3e705e8d70a172ee30784 a53c9854f71e55011566d3c96ce6321e11d00706c4180eb8ec4358b38c97d63cb7fcf3bb3c0b69365a8568a385bdb3ec1bc700d5f4463f8d6695a3d46b283c1d smtpd.initd 51d47b34eb3d728daa45f29d6434cc75db28dfa69b6fb3ecd873121df85b296a2d2c81016d765a07778aa26a496e4b29c09a30b82678cf42596a536734b5deca aliases 37104cc605569f142ceffa902f200e8a7e9e1114ebe5394ed1eac0ed6ce25454e1610270921c45246de8396eee04b7c8ab5a112a231036a6ef14e7e229b264e3 autoconf-decl-checks.patch -14ff3d4f56aee3a31551ea535c4a5bf9b760f0f11bc269225d7b176d5031294716133cbf4555a92e76cc6e33de89454435562672ddaf1ab365e61085eb1e4d53 smtpd.conf.patch" +14ff3d4f56aee3a31551ea535c4a5bf9b760f0f11bc269225d7b176d5031294716133cbf4555a92e76cc6e33de89454435562672ddaf1ab365e61085eb1e4d53 smtpd.conf.patch +ae5c58974fac4c496a347081aba0ed9c3c0839d82b66bbe3594cd19bbff93ae56b11e8afc5e43d886b2fc40b198460ba6753b3a177950d167154cd10187a7672 6.6.1p1-mail.lmtp.patch" |