ports/162935: New port: www/volta - A high performance, low resource URI rewriter for Squid

Mahlon E. Smith mahlon at martini.nu
Tue Nov 29 06:10:08 UTC 2011


The following reply was made to PR ports/162935; it has been noted by GNATS.

From: "Mahlon E. Smith" <mahlon at martini.nu>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/162935: New port: www/volta - A high performance, low
 resource URI rewriter for Squid
Date: Mon, 28 Nov 2011 21:37:19 -0800

 I suppose it would be helpful if I actually included the shar file
 associated with my request.  *cough* ;)
 
 --
 Mahlon E. Smith  
 http://www.martini.nu/contact.html
 
 
 
 # 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:
 #
 #	volta
 #	volta/Makefile
 #	volta/distinfo
 #	volta/pkg-descr
 #	volta/files
 #	volta/files/pkg-message.in
 #
 echo c - volta
 mkdir -p volta > /dev/null 2>&1
 echo x - volta/Makefile
 sed 's/^X//' >volta/Makefile << '6fdf10ebae69e1f93ddb25d25cf20e16'
 X# New ports collection makefile for:   volta
 X# Date created:        28 November 2011
 X# Whom:                mahlon
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=     volta
 XDISTVERSION=  0.0.1
 XCATEGORIES=   www
 XMASTER_SITES= http://dl.dropbox.com/u/7234177/Releases/ \
 X	http://projects.martini.nu/volta/chrome/site/
 XEXTRACT_SUFX= .tgz
 X
 XMAINTAINER= mahlon at martini.nu
 XCOMMENT=    A high performance, low resource URI rewriter for Squid
 X
 XLICENSE= BSD
 XLICENSE_FILE= ${WRKSRC}/LICENSE
 X
 XBUILD_DEPENDS= cdb:${PORTSDIR}/databases/tinycdb
 X
 XUSE_GMAKE=  yes
 XALL_TARGET= ${PORTNAME}
 XNO_INSTALL= yes
 X
 XMAKE_ARGS= CFLAGS+="-I ${PREFIX}/include -L ${PREFIX}/lib"
 X
 XPLIST_FILES= bin/volta
 XPORTDATA=    README INSTALL LICENSE ChangeLog
 XSUB_FILES=   pkg-message
 X
 Xpost-install:
 X.if !defined(NOPORTDOCS)
 X	${MKDIR} ${DATADIR}
 X	${INSTALL_DATA} ${WRKSRC}/README    ${DATADIR}
 X	${INSTALL_DATA} ${WRKSRC}/INSTALL   ${DATADIR}
 X	${INSTALL_DATA} ${WRKSRC}/LICENSE   ${DATADIR}
 X	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DATADIR}
 X.endif
 X	${INSTALL_PROGRAM} ${WRKSRC}/volta ${PREFIX}/bin
 X	@${ECHO_CMD} ""
 X	@${CAT} ${PKGMESSAGE}
 X	@${ECHO_CMD} ""
 X
 X.include <bsd.port.mk>
 6fdf10ebae69e1f93ddb25d25cf20e16
 echo x - volta/distinfo
 sed 's/^X//' >volta/distinfo << 'b1eb583414f6faa964655343981ab0f2'
 XSHA256 (volta-0.0.1.tgz) = 27646819ea1cf86f12a2e1cf3974d118c045df81f4f6ebbf003de8f4782c4e7f
 XSIZE (volta-0.0.1.tgz) = 24212
 b1eb583414f6faa964655343981ab0f2
 echo x - volta/pkg-descr
 sed 's/^X//' >volta/pkg-descr << '2829b05bfe1d9c97a5a8d2bcac1ec82a'
 X
 XVolta is a high performance, low resource URI rewriter for use with the
 XSquid caching proxy server (http://www.squid-cache.org/.)  With it, you
 Xcan dynamically alter URI requests that pass through Squid based on
 Xvarious criteria.
 X
 XIt uses a state machine to parse URIs and rules, and a constant database
 Xto store and access those rules.
 X
 XWWW: http://projects.martini.nu/volta/
 2829b05bfe1d9c97a5a8d2bcac1ec82a
 echo c - volta/files
 mkdir -p volta/files > /dev/null 2>&1
 echo x - volta/files/pkg-message.in
 sed 's/^X//' >volta/files/pkg-message.in << '381a40c5a8f7d5e29c3e6f094219c048'
 X
 XTo get volta up and running, you'll still need to do two things:
 X
 X - Enable url rewriting from within the squid configuration file.
 X
 X	url_rewrite_children 10
 X	url_rewrite_program %%PREFIX%%/bin/volta -f %%PREFIX%%/etc/volta.db
 X
 X - Create a volta rule database!  For detailed instructions, please
 X   reference %%DATADIR%%/README, or volta's website at:
 X   http://projects.martini.nu/volta/
 X
 X
 381a40c5a8f7d5e29c3e6f094219c048
 exit
 



More information about the freebsd-ports-bugs mailing list