[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-ports-bugs
Subject: ports/88066: New port: devel/cmunge - compresses and encrypts C
From: Frerich Raabe <frerich.raabe () gmx ! de>
Date: 2005-10-26 22:04:48
Message-ID: 200510262204.j9QM4mT4097613 () hex ! athame ! co ! uk
[Download RAW message or body]
> Number: 88066
> Category: ports
> Synopsis: New port: devel/cmunge - compresses and encrypts C source code
> Confidential: no
> Severity: non-critical
> Priority: low
> Responsible: freebsd-ports-bugs
> State: open
> Quarter:
> Keywords:
> Date-Required:
> Class: change-request
> Submitter-Id: current-users
> Arrival-Date: Wed Oct 26 22:10:14 GMT 2005
> Closed-Date:
> Last-Modified:
> Originator: Frerich Raabe
> Release: FreeBSD 5.4-STABLE i386
> Organization:
> Environment:
System: FreeBSD icarus.lan 5.4-STABLE FreeBSD 5.4-STABLE #6: Mon Oct 10 14:47:27 UTC 2005 \
frerich@icarus.lan:/usr/obj/usr/src/sys/IBMTPR51 i386
> Description:
The accompanying port adds a cmunge to the ports collection - a small tool
useful for encrypting and compressing C sourcecode.
> How-To-Repeat:
> Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# devel/cmunge
# devel/cmunge/Makefile
# devel/cmunge/distinfo
# devel/cmunge/pkg-plist
# devel/cmunge/pkg-descr
#
echo c - devel/cmunge
mkdir -p devel/cmunge > /dev/null 2>&1
echo x - devel/cmunge/Makefile
sed 's/^X//' >devel/cmunge/Makefile << 'END-of-devel/cmunge/Makefile'
X# New ports collection makefile for: cmunge
X# Date created: October 26th 2005
X# Whom: Frerich Raabe <frerich.raabe@gmx.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME= cmunge
XPORTVERSION= 1.0
XCATEGORIES= devel
XMASTER_SITES= ftp://ftp.vcpc.univie.ac.at/vcpc/jhm/code/
XDISTNAME= ${PORTNAME}
X
XMAINTAINER= frerich.raabe@gmx.de
XCOMMENT= A tool for encrypting and compacting C source code
X
XWRKSRC= ${WRKDIR}/cmunger
X
Xdo-build:
X @cd ${WRKSRC}; ${MAKE}
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/bin/ctran ${PREFIX}/bin
X ${INSTALL_PROGRAM} ${WRKSRC}/bin/proc-incl ${PREFIX}/bin
X ${INSTALL_SCRIPT} ${WRKSRC}/cmunge ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-devel/cmunge/Makefile
echo x - devel/cmunge/distinfo
sed 's/^X//' >devel/cmunge/distinfo << 'END-of-devel/cmunge/distinfo'
XMD5 (cmunge.tar.gz) = 1ba149c619cacdfbbaf7ec59281b8cc2
XSIZE (cmunge.tar.gz) = 27591
END-of-devel/cmunge/distinfo
echo x - devel/cmunge/pkg-plist
sed 's/^X//' >devel/cmunge/pkg-plist << 'END-of-devel/cmunge/pkg-plist'
X@comment $Id$
Xbin/cmunge
Xbin/proc-incl
Xbin/ctran
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-devel/cmunge/pkg-plist
echo x - devel/cmunge/pkg-descr
sed 's/^X//' >devel/cmunge/pkg-descr << 'END-of-devel/cmunge/pkg-descr'
XCMUNGE is a simple tool for encrypting and compacting C source code, while
Xleaving it syntactically and semantically unchanged. It does this by:
X
X* Recursively in-lining `user-defined' #include files.
X* Renaming C identifiers, except those in the C Standard Library, with names
X like l1 (i.e. letter-l one), l2, l3, etc.
X* Removing comments and blank lines, converting multiple consecutive whitespace
X characters (including `\n') into single blanks, removing all unnecessary
X whitespace between tokens.
X* Outputting the transformed code in lines of least N characters long, where N
X is a user-specified minimum line length.
X
XIt accepts ANSI and K & R C as its input language.
X
XWWW: http://www.vcpc.univie.ac.at/~jhm/cmunge/
X
X- Frerich Raabe
Xfrerich.raabe@gmx.de
END-of-devel/cmunge/pkg-descr
exit
> Release-Note:
> Audit-Trail:
> Unformatted:
_______________________________________________
freebsd-ports-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic