1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Source: shc
Section: devel
Priority: optional
Maintainer: Tong Sun <suntong001@users.sourceforge.net>
Build-Depends: debhelper-compat (= 13), ash, ksh, rc, tcsh, zsh
Standards-Version: 4.5.0
Rules-Requires-Root: no
Homepage: https://neurobin.org/projects/softwares/unix/shc/
Vcs-Browser: https://salsa.debian.org/debian/shc
Vcs-Git: https://salsa.debian.org/debian/shc.git
Package: shc
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: 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.
.
The compiled binary will still be dependent on the shell specified in
the first line of the shell code, 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.
|