diff options
author B. Watson2020-03-26 20:23:57 +0100
committer Willy Sudiarto Raharjo2020-03-28 07:20:35 +0100
commit923fe17dcece465caf9387a3fd74a8a3acd8c1d9 (patch)
parentbc795c9bc2f624fe5477fb8955712d0dc269e0c0 (diff)
development/hexinator: Updated for version 1.12.
Signed-off-by: B. Watson <> Signed-off-by: Willy Sudiarto Raharjo <>
3 files changed, 38 insertions, 10 deletions
diff --git a/development/hexinator/README b/development/hexinator/README
index 175df305e6..b4682e0472 100644
--- a/development/hexinator/README
+++ b/development/hexinator/README
@@ -1,6 +1,6 @@
hexinator (proprietary graphical hex editor with many features)
-This is the free/demo version of hexinator from "".
+This is the free/demo version of hexinator from
hexinator is a powerful hex editor and reverse-engineering tool with
many advanced features. It's commercial, closed source software. The demo
@@ -14,7 +14,21 @@ encrypted connection, so it's uncertain exactly what data it's sending to
the server. If this seems like a major security/privacy concern to you,
you should not install this software.
-The SlackBuild author has not tested the 32-bit version of hexinator,
-other than to verify that it creates a valid Slackware package. If it
-doesn't work correctly, please contact the maintainer using the email
-address in the file.
+Notes for 32-bit users:
+1. Starting with 1.11, upstream has dropped 32-bit support. On 32-bit
+ systems, this script will build a package of hexinator 1.10. If
+ necessary, you can build older versions (1.08 and 1.09) by setting
+ VERSION in the environment, but you won't be able to build anything
+ newer than 1.10.
+2. Automated tools such as sbopkg and sbotools may get confused by the
+ fact that the .info file says VERSION=1.12, but the package version
+ will be 1.10. One result is that sbopkg will probably keep saying
+ there's an upgrade available. If this is a problem for you, simply
+ blacklist hexinator in sbopkg's config.
+3. The SlackBuild author has not tested the 32-bit version of hexinator,
+ other than to verify that it creates a valid Slackware package. If it
+ doesn't work correctly, please contact the maintainer using the email
+ address in the file.
diff --git a/development/hexinator/hexinator.SlackBuild b/development/hexinator/hexinator.SlackBuild
index 96a64af668..e84ffd4ee1 100644
--- a/development/hexinator/hexinator.SlackBuild
+++ b/development/hexinator/hexinator.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See for details.
+# 20200326 bkw: update for v1.12 for 64-bit, stay at 1.10 for 32-bit.
# 20200317 bkw: update for v1.10, switched from RPM to .deb. Yes, there
# is a v1.11 available, but there are good reasons for not packaging it,
# from our POV:
@@ -15,7 +17,7 @@
# upstream, possibly will be fixed soon.
@@ -33,7 +35,7 @@ PKG=$TMP/package-$PRGNAM
case "$ARCH" in
- i?86) DEBARCH=i386 ;;
+ i?86) DEBARCH=i386 ;;
x86_64) DEBARCH=amd64 ;;
*) echo "!!! Unsupported ARCH '$ARCH'. Only i586|i686|x86_64 allowed." 1>&2
exit 1 ;;
@@ -41,6 +43,18 @@ esac
set -e
+# 1.10 is the last version with 32-bit support. Doing it this way
+# allows 32-bit users to set VERSION in the environment, if they
+# want to build 1.08 or 1.09.
+if [ "$DEBARCH" = "i386" ]; then
+ VERMINOR="$( echo $VERSION | cut -d. -f2 )"
+ if [ "$VERMINOR" -gt 9 ]; then
+ NEWVER=1.10
+ echo "*** Packaging $NEWVER as $VERSION lacks 32-bit support"
+ fi
# No 'source' dir, extract directly to $PKG
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/development/hexinator/ b/development/hexinator/
index 552bb018c3..89be995081 100644
--- a/development/hexinator/
+++ b/development/hexinator/
@@ -1,10 +1,10 @@