mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
development/shc: Updated for version 4.0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
5e635b5de1
commit
36017e3e7c
3 changed files with 16 additions and 17 deletions
|
@ -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.
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue