Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4aaf452
commit 8b21edc
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# -*- 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 | ||
|
||
PortSystem 1.0 | ||
PortGroup github 1.0 | ||
|
||
github.setup neurobin shc 3.9.3 | ||
|
||
categories devel | ||
platforms darwin | ||
license GPL-3 | ||
maintainers {khindenburg @kurthindenburg} openmaintainer | ||
|
||
description Shell Script Compiler | ||
long_description 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. \ | ||
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. | ||
|
||
checksums rmd160 9390a387be6d3ebd6e6a62981bbb23296372b74e \ | ||
sha256 b0c5fd28e734bfaf3bcc320ef78d5857a4a2d4bfc19b9530698a1e134431eb8f | ||
|
||
# Do not grab alpha releases | ||
livecheck.regex (\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)${extract.suffix} |