./sysutils/shc, Shell script to C compiler

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.8.9, Package name: shc-3.8.9, Maintainer: pkgsrc-users

shc creates a stripped binary executable version of a shell script.

shc itself is not a compiler such as cc, but rather it 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 shell -c option.


Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 20.357 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 13:20:30 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:58:44 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Remove SHA1 hashes for distfiles
   2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981)
Log message:
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
   2019-11-04 22:28:59 by Roland Illig | Files touched by this commit (174)
Log message:
sysutils: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

Manually excluded consolekit and dc-tools since pkglint didn't get the
formatting correct.
   2015-11-04 02:32:42 by Alistair G. Crooks | Files touched by this commit (499)
Log message:
Add SHA512 digests for distfiles for sysutils category

Problems found with existing digests:
	Package memconf distfile memconf-2.16/memconf.gz
	b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
	95748686a5ad8144232f4d4abc9bf052721a196f [calculated]

Problems found locating distfiles:
	Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
	Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
	Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
	Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
	Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-07-27 18:32:55 by Thomas Klausner | Files touched by this commit (3)
Log message:
Updated to 3.8.9, provided by Benedek Gergely oon pkgsrc-users:

        Fixed incorrect implementation on rc4.
        Hidden all the binary executable symbols but one.
        Expiration date and most strings are encrypted too.
        All the encrypted payload is now randomized.
	Group and others read permision is now removed by default as read
	permision of the script exposes it to disassembling.
	Fixed bug: "rlax" used after encryption.
	Fixed bug: "vfork" fails on multiprocessor systems.
	Fixed sma11 -d option bug.
	Fixed untraceable() problems on FreeBSD.
	License clarification about the rc4 implementation.
	Bug on 64bit systems with expiration dates.
	Fixing a long standing bug making the source not hidden.
   2012-10-23 21:51:39 by Aleksej Saushev | Files touched by this commit (447)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
   2010-01-27 21:01:36 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
DESTDIR support