diff options
author | B. Watson <yalhcru@gmail.com> | 2018-08-08 19:51:47 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-11 07:23:06 +0700 |
commit | a43148d764e6a2abf1c5f7fe336105379acb57de (patch) | |
tree | 1ee5adbacf1377c1c3f315728ffcc7cffb26168f /development | |
parent | adfaaae3f608e9a0d18ced8a5c55ffec21381aa9 (diff) |
development/hexinator: Added (proprietary graphical hex editor).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/hexinator/README | 20 | ||||
-rw-r--r-- | development/hexinator/doinst.sh | 9 | ||||
-rw-r--r-- | development/hexinator/hexinator.SlackBuild | 73 | ||||
-rw-r--r-- | development/hexinator/hexinator.info | 10 | ||||
-rw-r--r-- | development/hexinator/slack-desc | 19 |
5 files changed, 131 insertions, 0 deletions
diff --git a/development/hexinator/README b/development/hexinator/README new file mode 100644 index 000000000000..175df305e6db --- /dev/null +++ b/development/hexinator/README @@ -0,0 +1,20 @@ +hexinator (proprietary graphical hex editor with many features) + +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 +version will function as the full version for a 14-day evaluation period, +with an option to extend it for another 14 days. After that, only the +basic hex editing functions will work. To purchase the full version, +see the web site. + +Be aware that hexinator 'phones home' to www.synalysis.net. It uses an +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. diff --git a/development/hexinator/doinst.sh b/development/hexinator/doinst.sh new file mode 100644 index 000000000000..3e5691a052b5 --- /dev/null +++ b/development/hexinator/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/development/hexinator/hexinator.SlackBuild b/development/hexinator/hexinator.SlackBuild new file mode 100644 index 000000000000..7966c38c297a --- /dev/null +++ b/development/hexinator/hexinator.SlackBuild @@ -0,0 +1,73 @@ +#!/bin/sh + +# Slackware build script for hexinator + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +PRGNAM=hexinator +VERSION=${VERSION:-1.9_1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +RPMVER="$( echo $VERSION | sed 's/_/-/g' )" + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +case "$ARCH" in + i?86) RPMARCH=i386 ;; + x86_64) RPMARCH="$ARCH" ;; + *) echo "!!! Unsupported ARCH '$ARCH'. Only i586|i686|x86_64 allowed." 1>&2 + exit 1 ;; +esac + +set -e + +# No 'source' dir, extract directly to $PKG +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +mkdir -p $PKG +cd $PKG +rpm2cpio $CWD/$PRGNAM-$RPMVER.$RPMARCH.rpm | cpio -idmv +chown -R root:root . +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +# No docs in the RPM, include our own README. +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# The hexinator binary was built with rpath support, so it can find its +# own libraries. The libs need some attention before hexinator can find +# them (presumably rpm would automagically do this when the package gets +# installed). It's a qt5 app that ships with its own private set of qt5 +# libs. We *don't* want it using any other qt5 libs that may happen to +# exist (like the ones in /usr/lib64 from the qt5 SlackBuild). The +# ldconfig step here prevents that. +chmod 755 $PKG/opt/$PRGNAM/lib/* +ldconfig -n -N $PKG/opt/$PRGNAM/lib + +# Convenience symlink, for us command line freaks. +mkdir -p $PKG/usr/bin +ln -s /opt/$PRGNAM/bin/$PRGNAM $PKG/usr/bin/$PRGNAM + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/hexinator/hexinator.info b/development/hexinator/hexinator.info new file mode 100644 index 000000000000..efed4f495ddf --- /dev/null +++ b/development/hexinator/hexinator.info @@ -0,0 +1,10 @@ +PRGNAM="hexinator" +VERSION="1.9_1" +HOMEPAGE="https://hexinator.com/" +DOWNLOAD="https://hexinator.com/downloads/linux/hexinator-1.9-1.i386.rpm" +MD5SUM="e39533c034c9b4b668706ae91d278b25" +DOWNLOAD_x86_64="https://hexinator.com/downloads/linux/hexinator-1.9-1.x86_64.rpm" +MD5SUM_x86_64="593c0f3f62e8ca92aedeb2c67eca12c3" +REQUIRES="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/development/hexinator/slack-desc b/development/hexinator/slack-desc new file mode 100644 index 000000000000..767e173d4b7f --- /dev/null +++ b/development/hexinator/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +hexinator: hexinator (proprietary graphical hex editor with many features) +hexinator: +hexinator: This is the free/demo version of hexinator from: +hexinator: https://hexinator.com/ +hexinator: +hexinator: hexinator is a powerful hex editor with many advanced features. It's +hexinator: commercial software, closed source. The free version has many of +hexinator: the advanced features disabled. To purchase the full version, see +hexinator: the web site. +hexinator: +hexinator: |