ports/67196: New port: www/p5-Compress-LeadingBlankSpaces

Bill Swingle unfurl at FreeBSD.org
Tue May 25 23:01:08 UTC 2004


>Number:         67196
>Category:       ports
>Synopsis:       New port: www/p5-Compress-LeadingBlankSpaces
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 25 16:00:29 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Bill Swingle
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Nextrials, Inc.
>Environment:
System: FreeBSD shiva 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Feb  5 15:44:43 PDT 2004 root at shiva:/local0/world/obj/local0/world/src/sys/SHIVA i386

>Description:
	New port for Compress::LeadingBlankSpaces perl module	
>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:
#
#	p5-Compress-LeadingBlankSpaces
#	p5-Compress-LeadingBlankSpaces/Makefile
#	p5-Compress-LeadingBlankSpaces/distinfo
#	p5-Compress-LeadingBlankSpaces/pkg-descr
#	p5-Compress-LeadingBlankSpaces/pkg-plist
#
echo c - p5-Compress-LeadingBlankSpaces
mkdir -p p5-Compress-LeadingBlankSpaces > /dev/null 2>&1
echo x - p5-Compress-LeadingBlankSpaces/Makefile
sed 's/^X//' >p5-Compress-LeadingBlankSpaces/Makefile << 'END-of-p5-Compress-LeadingBlankSpaces/Makefile'
X# New ports collection makefile for:	Compress::LeadingBlankSpaces
X# Date created:				25 May 2004
X# Whom:					Bill Swingle <unfurl at freebsd.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Compress-LeadingBlankSpaces
XPORTVERSION=	0.04
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Compress
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	unfurl at FreeBSD.org
XCOMMENT=	Perl class to compress leading blank spaces in web content.	
X
XPERL_CONFIGURE=	yes
X
XMAN3= 		Compress::LeadingBlankSpaces.3	
X
X.include <bsd.port.mk>
END-of-p5-Compress-LeadingBlankSpaces/Makefile
echo x - p5-Compress-LeadingBlankSpaces/distinfo
sed 's/^X//' >p5-Compress-LeadingBlankSpaces/distinfo << 'END-of-p5-Compress-LeadingBlankSpaces/distinfo'
XMD5 (Compress-LeadingBlankSpaces-0.04.tar.gz) = ecb282cbd223510bc990fff02b2ff079
XSIZE (Compress-LeadingBlankSpaces-0.04.tar.gz) = 3720
END-of-p5-Compress-LeadingBlankSpaces/distinfo
echo x - p5-Compress-LeadingBlankSpaces/pkg-descr
sed 's/^X//' >p5-Compress-LeadingBlankSpaces/pkg-descr << 'END-of-p5-Compress-LeadingBlankSpaces/pkg-descr'
XCompress::LeadingBlankSpaces - Perl class to compress leading blank
Xspaces in (HTML, JavaScript, etc.) web content.
X
XThis class provides the functionality for the most simple web content
Xcompression.
X
XBasically, the outgoing web content (HTML, JavaScript, etc.) contains
Xa lot of leading blank spaces, because of being structured on
Xdevelopment stage.  Usually, the client browser ignores leading
Xblank spaces.  Indeed, the amount of those blank spaces is as
Xsignificant as 10 to 20 percent of the length of regular web page.
XWe can reduce this part of web traffic on busy servers with no
Xvisible impact on transferred web content, especially for old
Xbrowsers incapable to understand modern content compression.
X
XThe main functionality of this class is concentrated within the
X"squeeze_string" member function that is supposed to be used inside
Xthe data transfer loop on server side.  The rest of the class is
Xdeveloped in order to serve possible exceptions, like pre-formatted
Xdata within HTML.
END-of-p5-Compress-LeadingBlankSpaces/pkg-descr
echo x - p5-Compress-LeadingBlankSpaces/pkg-plist
sed 's/^X//' >p5-Compress-LeadingBlankSpaces/pkg-plist << 'END-of-p5-Compress-LeadingBlankSpaces/pkg-plist'
X%%SITE_PERL%%/Compress/LeadingBlankSpaces.pm
END-of-p5-Compress-LeadingBlankSpaces/pkg-plist
exit

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



More information about the freebsd-ports-bugs mailing list