---
name: volta
version: 0.2.0
origin: www/volta
comment: A high performance, low resource URI rewriter for Squid
arch: freebsd:9:x86:64
www: http://projects.martini.nu/volta/
maintainer: mahlon@martini.nu
prefix: /usr/local
licenselogic: single
licenses: [BSD]
flatsize: 65560
desc: |
  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. It can then either perform
  conditional rewrites internally, or by evaluating Lua scripts.

  WWW: http://projects.martini.nu/volta/
deps:
  lua: {origin: lang/lua, version: 5.1.5_5}
categories: [www]
files:
  /usr/local/bin/volta: b6b65d7bd1d8496f3deb596e6752fc2ec7d359dc3ee53a4036beca6b65049abe
  /usr/local/share/doc/volta/ChangeLog: 34723adfe4b17d83db81a354d8278cdc6b84226c7afa7eb673b5be25d59085ed
  /usr/local/share/doc/volta/INSTALL: 413c482d814d70e65d990324944fed183294fe55ddac67f06916e261c58d1bf0
  /usr/local/share/doc/volta/LICENSE: e80a5b80356b98ca384799be283e865577b7e74d840b2e34f9abf5c774e13462
  /usr/local/share/doc/volta/README: 88ccb789f7cd546565f895f29a32f7a3c1e4536be0cf76d7e80702679ca29365
  /usr/local/share/licenses/volta-0.2.0/BSD: e80a5b80356b98ca384799be283e865577b7e74d840b2e34f9abf5c774e13462
  /usr/local/share/licenses/volta-0.2.0/LICENSE: d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f7379923b336209fd77b
  /usr/local/share/licenses/volta-0.2.0/catalog.mk: 999055c472e3bdd17a1294156c6fad18f9d04ef3c15f8bd90503a093c3ea0677
directories:
  /usr/local/share/licenses/volta-0.2.0/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/volta/: n
scripts:
  post-install: |
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
message: |
  To get volta up and running, you'll still need to do two things:

   - Enable url rewriting from within the squid configuration file.

   url_rewrite_children 10
   url_rewrite_program /usr/local/bin/volta -f /usr/local/etc/volta.db

   - Create a volta rule database! For detailed instructions, please
   reference /usr/local/share/doc/volta/README, or volta's website at:
   http://projects.martini.nu/volta/
