summaryrefslogtreecommitdiff
path: root/misc/samdump2/samdump2.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-03 17:00:36 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 17:53:37 +0700
commitd5f236fa91808b2ac724693baefe74c93b02e87f (patch)
tree224bd315147c5530850a7c6bd29799bf2df473a0 /misc/samdump2/samdump2.SlackBuild
parent67856558c52a7e7bcf948fb7f40b7cd8aad63e51 (diff)
downloadslackbuilds-d5f236fa91808b2ac724693baefe74c93b02e87f.tar.gz
misc/samdump2: Patch for openssl-1.1.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/samdump2/samdump2.SlackBuild')
-rw-r--r--misc/samdump2/samdump2.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/samdump2/samdump2.SlackBuild b/misc/samdump2/samdump2.SlackBuild
index f158026a3b..356ca875da 100644
--- a/misc/samdump2/samdump2.SlackBuild
+++ b/misc/samdump2/samdump2.SlackBuild
@@ -79,6 +79,8 @@ 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 {} \;
+patch -p1 < $CWD/openssl_compat.patch
+
make LIBS="-lcrypto" CFLAGS="$SLKCFLAGS"
install -d -m 755 $PKG/usr/bin
install samdump2 -m 755 $PKG/usr/bin