summaryrefslogtreecommitdiff
path: root/network/opensmtpd/opensmtpd.SlackBuild
diff options
context:
space:
mode:
authorRichard Narron <richard@aaazen.com>2019-08-29 21:37:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-29 21:37:24 +0700
commitcae0cdfc48f4f6e5882823d848112c56d38a29b6 (patch)
tree1192a4c49faa6ca8931dfca91c799114e93cd96a /network/opensmtpd/opensmtpd.SlackBuild
parentfaf5b05f211ceb715b5698a3d7d270a569c9e856 (diff)
downloadslackbuilds-cae0cdfc48f4f6e5882823d848112c56d38a29b6.tar.gz
network/opensmtpd: Fix bug.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/opensmtpd/opensmtpd.SlackBuild')
-rw-r--r--network/opensmtpd/opensmtpd.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/opensmtpd/opensmtpd.SlackBuild b/network/opensmtpd/opensmtpd.SlackBuild
index b429cf360a..d2e54fba71 100644
--- a/network/opensmtpd/opensmtpd.SlackBuild
+++ b/network/opensmtpd/opensmtpd.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=opensmtpd
VERSION=${VERSION:-6.0.3p1}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -95,6 +95,9 @@ find -L . \
# fix reply buffer overflow
cat $CWD/openbsd64-020-smtpd.patch | patch -p1
+# check null from crypt function
+cat $CWD/fix-crash-on-authentication.patch | patch -p1
+
CFLAGS="$SLKCFLAGS -D_DEFAULT_SOURCE" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -165,7 +168,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL LICENSE README.md THANKS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.slackware
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install