1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/cmunge/pkg-descr
Jean-Yves Lefort 2c42ab7d99 Add cmunge.
CMUNGE is a simple tool for encrypting and compacting C source code, while
leaving it syntactically and semantically unchanged. It does this by:

* Recursively in-lining `user-defined' #include files.
* Renaming C identifiers, except those in the C Standard Library, with names
  like l1 (i.e. letter-l one), l2, l3, etc.
* Removing comments and blank lines, converting multiple consecutive whitespace
  characters (including `\n') into single blanks, removing all unnecessary
  whitespace between tokens.
* Outputting the transformed code in lines of least N characters long, where N
  is a user-specified minimum line length.

It accepts ANSI and K & R C as its input language.

WWW: http://www.vcpc.univie.ac.at/~jhm/cmunge/

PR:		ports/88066
Submitted by:	Frerich Raabe <frerich.raabe@gmx.de>
2005-10-27 14:09:19 +00:00

19 lines
766 B
Plaintext

CMUNGE is a simple tool for encrypting and compacting C source code, while
leaving it syntactically and semantically unchanged. It does this by:
* Recursively in-lining `user-defined' #include files.
* Renaming C identifiers, except those in the C Standard Library, with names
like l1 (i.e. letter-l one), l2, l3, etc.
* Removing comments and blank lines, converting multiple consecutive whitespace
characters (including `\n') into single blanks, removing all unnecessary
whitespace between tokens.
* Outputting the transformed code in lines of least N characters long, where N
is a user-specified minimum line length.
It accepts ANSI and K & R C as its input language.
WWW: http://www.vcpc.univie.ac.at/~jhm/cmunge/
- Frerich Raabe
frerich.raabe@gmx.de