Date: Tue, 29 Nov 2011 06:10:08 GMT From: "Mahlon E. Smith" <mahlon@martini.nu> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/162935: New port: www/volta - A high performance, low resource URI rewriter for Squid Message-ID: <201111290610.pAT6A8uw084248@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/162935; it has been noted by GNATS. From: "Mahlon E. Smith" <mahlon@martini.nu> To: bug-followup@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111290610.pAT6A8uw084248>