From baac6a99735c552c9d50121c587d175bcc79b952 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 6 Jul 2026 14:24:40 +0200 Subject: metasploit-framework: add i386 support --- metasploit-framework/metasploit-framework.SlackBuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'metasploit-framework/metasploit-framework.SlackBuild') diff --git a/metasploit-framework/metasploit-framework.SlackBuild b/metasploit-framework/metasploit-framework.SlackBuild index abd29ff..2fb4dc3 100644 --- a/metasploit-framework/metasploit-framework.SlackBuild +++ b/metasploit-framework/metasploit-framework.SlackBuild @@ -47,13 +47,15 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -# Upstream only has binary support for x86_64 at present. -if [ "$ARCH" = "x86_64" ]; then - DEBARCH="amd64" -else - echo "Sorry, the metasploit-framework binaries are currently available for x86_64 only." +# Upstream ships binaries for x86_64 and i386. +case "$ARCH" in + x86_64) DEBARCH="amd64" ;; + i?86) DEBARCH="i386" ;; + *) + echo "Sorry, the metasploit-framework binaries are currently available for x86_64 and i386 only." exit 1 -fi + ;; +esac set -e -- cgit v1.2.3