Date: Tue, 25 May 2004 15:51:39 -0700 (PDT) From: Bill Swingle <unfurl@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/67196: New port: www/p5-Compress-LeadingBlankSpaces Message-ID: <20040525225139.D99FB3C289F@shiva.nextrials.com> Resent-Message-ID: <200405252300.i4PN0THh075393@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040525225139.D99FB3C289F>