ports/88066: New port: devel/cmunge - compresses and encrypts C source code

Frerich Raabe frerich.raabe at gmx.de
Wed Oct 26 22:10:16 UTC 2005


>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 at 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 at 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 at 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 at 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 at gmx.de
END-of-devel/cmunge/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list