Bug 162935 - New port: www/volta - A high performance, low resource URI rewriter for Squid
Summary: New port: www/volta - A high performance, low resource URI rewriter for Squid
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 02:30 UTC by mahlon
Modified: 2011-12-20 21:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mahlon 2011-11-29 02:30:12 UTC
	
Hello!

This is just a new port request.  Nothin' fancy!

It does depend on tinycdb shared library, but the LIB_DEPEND variable
didn't seem to be able to find it installed (probably because it isn't
listed in an 'ldconfig -r'?) -- I made it depend on the executable
tinycdb installs instead.

Thanks!

-Mahlon
Comment 1 mahlon 2011-11-29 05:37:19 UTC
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
Comment 2 Pawel Pekala freebsd_committer freebsd_triage 2011-12-20 21:28:49 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-12-20 21:41:51 UTC
pawel       2011-12-20 21:41:42 UTC

  FreeBSD ports repository

  Modified files:
    www                  Makefile 
  Added files:
    www/volta            Makefile distinfo pkg-descr 
    www/volta/files      pkg-message.in 
  Log:
  Volta is a high performance, low resource URI rewriter for use with the
  Squid caching proxy server (http://www.squid-cache.org) With it, you
  can dynamically alter URI requests that pass through Squid based on
  various criteria.
  
  It uses a state machine to parse URIs and rules, and a constant database
  to store and access those rules.
  
  WWW: http://projects.martini.nu/volta/
  
  PR:             ports/162935
  Submitted by:   Mahlon E. Smith
  
  Revision  Changes    Path
  1.3055    +1 -0      ports/www/Makefile
  1.1       +47 -0     ports/www/volta/Makefile (new)
  1.1       +2 -0      ports/www/volta/distinfo (new)
  1.1       +10 -0     ports/www/volta/files/pkg-message.in (new)
  1.1       +9 -0      ports/www/volta/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 dfilter service freebsd_committer freebsd_triage 2011-12-20 21:45:26 UTC
pawel       2011-12-20 21:45:11 UTC

  FreeBSD doc repository (ports committer)

  Modified files:
    en_US.ISO8859-1/articles/contributors contrib.additional.sgml 
  Log:
  For www/volta
  
  PR:     ports/162935
  
  Revision  Changes    Path
  1.1041    +5 -0      doc/en_US.ISO8859-1/articles/contributors/contrib.additional.sgml
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Pawel Pekala freebsd_committer freebsd_triage 2011-12-20 21:45:28 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!