1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup github 1.0 |
---|
5 | |
---|
6 | github.setup neurobin shc 3.9.3 |
---|
7 | |
---|
8 | categories shells |
---|
9 | platforms darwin |
---|
10 | license GPL-3 |
---|
11 | maintainers nomaintainer |
---|
12 | |
---|
13 | description Shell Script Compiler |
---|
14 | long_description SHC is a generic shell script compiler. It takes a script, \ |
---|
15 | which is specified on the command line and produces C source code. \ |
---|
16 | The generated source code is then compiled and linked to produce a stripped binary. \ |
---|
17 | The compiled binary will still be dependent on the shell specified \ |
---|
18 | in the first line of the shell code (i.e shebang: #!/bin/sh or such), \ |
---|
19 | thus shc does not create completely independent binaries. \ |
---|
20 | shc itself is not a compiler such as cc, it rather encodes and encrypts \ |
---|
21 | a shell script and generates C source code with the added expiration capability. \ |
---|
22 | It then uses the system compiler to compile a stripped binary which behaves \ |
---|
23 | exactly like the original script. Upon execution, the compiled binary will \ |
---|
24 | decrypt and execute the code with the shells' -c option. |
---|
25 | |
---|
26 | homepage http://neurobin.github.io/shc |
---|
27 | |
---|
28 | checksums rmd160 9390a387be6d3ebd6e6a62981bbb23296372b74e \ |
---|
29 | sha256 b0c5fd28e734bfaf3bcc320ef78d5857a4a2d4bfc19b9530698a1e134431eb8f |
---|