development/shc: Updated for version 4.0.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Giuseppe Di Terlizzi 2021-04-02 11:19:10 +07:00 committed by Willy Sudiarto Raharjo
parent 5e635b5de1
commit 36017e3e7c
3 changed files with 16 additions and 17 deletions

View file

@ -1,16 +1,15 @@
shc - Shell script compiler
SHC is a generic shell script compiler. It takes a script, which is
specified on the command line and produces C source code. The generated
source code is then compiled and linked to produce a stripped binary.
SHC is a generic shell script compiler. It takes a script, which is specified on
the command line and produces C source code. The generated source code is then
compiled and linked to produce a stripped binary.
The compiled binary will still be dependent on the shell specified in
the first line of the shell code (i.e shebang: #!/bin/sh or such), thus
shc does not create completely independent binaries.
The compiled binary will still be dependent on the shell specified in the first
line of the shell code (i.e shebang: #!/bin/sh or such), thus shc does not
create completely independent binaries.
shc itself is not a compiler such as cc, it rather encodes and encrypts
a shell script and generates C source code with the added expiration
capability. It then uses the system compiler to compile a stripped
binary which behaves exactly like the original script. Upon execution,
the compiled binary will decrypt and execute the code with the shells'
-c option.
shc itself is not a compiler such as cc, it rather encodes and encrypts a shell
script and generates C source code with the added expiration capability. It then
uses the system compiler to compile a stripped binary which behaves exactly like
the original script. Upon execution, the compiled binary will decrypt and
execute the code with the shells' -c option.

View file

@ -3,7 +3,7 @@
# Slackware build script for shc
# Previously maintained by Roberto Metere <roberto <at> metere <dot> it>
# Copyright 2017 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
# Copyright 2017-2021 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=shc
VERSION=${VERSION:-3.9.6}
VERSION=${VERSION:-4.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

View file

@ -1,8 +1,8 @@
PRGNAM="shc"
VERSION="3.9.6"
VERSION="4.0.3"
HOMEPAGE="http://neurobin.github.io/shc"
DOWNLOAD="https://github.com/neurobin/shc/archive/3.9.6/shc-3.9.6.tar.gz"
MD5SUM="da777637594be58caf33509d2ca0fbea"
DOWNLOAD="https://github.com/neurobin/shc/archive/4.0.3/shc-4.0.3.tar.gz"
MD5SUM="c3f7aef42f12bccd0a54db92e3946f4e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""