diff options
author | Richard Narron <richard@aaazen.com> | 2019-08-10 01:09:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-08-10 01:10:14 +0700 |
commit | 66062b50d0b8857cd66eb00a08cef9b543c1c756 (patch) | |
tree | c2aec997e42a2dc18284efd6a6b793ac3f2a0eb3 /network/opensmtpd/opensmtpd.SlackBuild | |
parent | 2ccb4f74c6e791736be0de1d355e6b5d405111aa (diff) |
network/opensmtpd: Apply OpenBSD 6.4 patch 20.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/opensmtpd/opensmtpd.SlackBuild')
-rw-r--r-- | network/opensmtpd/opensmtpd.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/network/opensmtpd/opensmtpd.SlackBuild b/network/opensmtpd/opensmtpd.SlackBuild index 453822f728fa4..b429cf360a795 100644 --- a/network/opensmtpd/opensmtpd.SlackBuild +++ b/network/opensmtpd/opensmtpd.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=opensmtpd VERSION=${VERSION:-6.0.3p1} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -92,6 +92,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# fix reply buffer overflow +cat $CWD/openbsd64-020-smtpd.patch | patch -p1 + CFLAGS="$SLKCFLAGS -D_DEFAULT_SOURCE" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |