diff options
author | B. Watson <yalhcru@gmail.com> | 2020-03-26 15:23:57 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-03-28 13:20:35 +0700 |
commit | 923fe17dcece465caf9387a3fd74a8a3acd8c1d9 (patch) | |
tree | 2ec50e121e98e507ad06a0f9140c1f1759f2cad0 /development | |
parent | bc795c9bc2f624fe5477fb8955712d0dc269e0c0 (diff) |
development/hexinator: Updated for version 1.12.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/hexinator/README | 24 | ||||
-rw-r--r-- | development/hexinator/hexinator.SlackBuild | 18 | ||||
-rw-r--r-- | development/hexinator/hexinator.info | 6 |
3 files changed, 38 insertions, 10 deletions
diff --git a/development/hexinator/README b/development/hexinator/README index 175df305e6db7..b4682e0472c18 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 "https://hexinator.com/". +This is the free/demo version of hexinator from https://hexinator.com/. 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 hexinator.info 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 hexinator.info file. diff --git a/development/hexinator/hexinator.SlackBuild b/development/hexinator/hexinator.SlackBuild index 96a64af668ede..e84ffd4ee1f11 100644 --- a/development/hexinator/hexinator.SlackBuild +++ b/development/hexinator/hexinator.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ 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. PRGNAM=hexinator -VERSION=${VERSION:-1.10} +VERSION=${VERSION:-1.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,7 +35,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} 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" + VERSION=$NEWVER + fi +fi + # No 'source' dir, extract directly to $PKG rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/development/hexinator/hexinator.info b/development/hexinator/hexinator.info index 552bb018c3573..89be995081497 100644 --- a/development/hexinator/hexinator.info +++ b/development/hexinator/hexinator.info @@ -1,10 +1,10 @@ PRGNAM="hexinator" -VERSION="1.10" +VERSION="1.12" HOMEPAGE="https://hexinator.com/" DOWNLOAD="https://hexinator.com/downloads/dists/synalysis/non-free/binary-i386/hexinator-1.10_i386.deb" MD5SUM="7d056fcd3f45519873adf453caa9a5dc" -DOWNLOAD_x86_64="https://hexinator.com/downloads/dists/synalysis/non-free/binary-amd64/hexinator-1.10_amd64.deb" -MD5SUM_x86_64="9eba3224688d41edb515ffbe2e0155c1" +DOWNLOAD_x86_64="https://hexinator.com/downloads/dists/synalysis/non-free/binary-amd64/hexinator-1.12_amd64.deb" +MD5SUM_x86_64="1dd4bb1ac5a312c0fe86cdc2d946130b" REQUIRES="" MAINTAINER="B. Watson" EMAIL="yalhcru@gmail.com" |