aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2015-06-21 10:14:38 +0800
committerpgollucci <pgollucci@FreeBSD.org>2015-06-21 10:14:38 +0800
commit66eadb6143d6b024e68bd924b9c299214de57e73 (patch)
tree3ba0e21ec54dbe6bf36c634117f98f660c3addcf /www
parent22d9be1397d21a8cd68e3abeefda57b39f29e206 (diff)
downloadfreebsd-ports-gnome-66eadb6143d6b024e68bd924b9c299214de57e73.tar.gz
freebsd-ports-gnome-66eadb6143d6b024e68bd924b9c299214de57e73.tar.zst
freebsd-ports-gnome-66eadb6143d6b024e68bd924b9c299214de57e73.zip
Update www/volta 0.2.0 -> 0.3.0
PR: 200771 Submitted by: mahlon@martini.nu (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/volta/Makefile5
-rw-r--r--www/volta/distinfo4
-rw-r--r--www/volta/files/patch-lua.c38
-rw-r--r--www/volta/files/pkg-message.in2
4 files changed, 4 insertions, 45 deletions
diff --git a/www/volta/Makefile b/www/volta/Makefile
index bd20fc794c23..16ac162125ea 100644
--- a/www/volta/Makefile
+++ b/www/volta/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= volta
-PORTVERSION= 0.2.0
+PORTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://dl.dropbox.com/u/7234177/Releases/ \
@@ -26,9 +26,6 @@ PLIST_FILES= bin/volta
PORTDOCS= README INSTALL LICENSE ChangeLog
SUB_FILES= pkg-message
-post-patch:
- @${REINPLACE_CMD} -e "s/5.1/${LUA_VER}/g" ${WRKSRC}/Makefile
-
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
diff --git a/www/volta/distinfo b/www/volta/distinfo
index 14a9685ce3e4..20c53b1759f9 100644
--- a/www/volta/distinfo
+++ b/www/volta/distinfo
@@ -1,2 +1,2 @@
-SHA256 (volta-0.2.0.tgz) = 9857c08cddafd935238a756d13822a6240ac1f79ed3a33f84805b60532e523d6
-SIZE (volta-0.2.0.tgz) = 29357
+SHA256 (volta-0.3.0.tgz) = 499e2ba9167b2b1663790961f13d1289bfcb9339d2032b7e2076314bc96fba5c
+SIZE (volta-0.3.0.tgz) = 29458
diff --git a/www/volta/files/patch-lua.c b/www/volta/files/patch-lua.c
deleted file mode 100644
index e22c9a1fc119..000000000000
--- a/www/volta/files/patch-lua.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- ./lua.c.orig 2012-05-04 06:21:02.000000000 +0200
-+++ ./lua.c 2014-01-10 09:17:46.000000000 +0100
-@@ -79,14 +79,12 @@
- luaL_openlibs( lua ); /* include lua standard libraries */
-
- /* Predeclare the request table. */
-- lua_pushstring( lua, "request" );
- lua_createtable( lua, 0, 7 );
-- lua_settable( lua, LUA_GLOBALSINDEX );
-+ lua_setglobal(lua, "request");
-
- /* Predeclare a table for shared data */
-- lua_pushstring( lua, "shared" );
- lua_newtable( lua );
-- lua_settable( lua, LUA_GLOBALSINDEX );
-+ lua_setglobal(lua, "shared");
-
- /* replace the lua print() function with one that calls debug() instead */
- lua_register( lua, "print", luaV_print );
-@@ -97,7 +95,8 @@
- lua_setfield( lua, -2, "__newindex");
- lua_pushboolean( lua, 0 );
- lua_setfield( lua, -2, "__metatable");
-- lua_setmetatable( lua, LUA_GLOBALSINDEX );
-+ lua_setmetatable(lua, -2);
-+
-
- lua_settop( lua, 0 ); /* wipe the stack */
- return( lua );
-@@ -111,7 +110,7 @@
- void
- luaV_setup_request( parsed *request )
- {
-- lua_getfield( v.lua, LUA_GLOBALSINDEX, "request" );
-+ lua_getglobal(v.lua, "request");
- lua_pushstring( v.lua, request->scheme );
- lua_setfield( v.lua, 1, "scheme" );
- lua_pushstring( v.lua, request->host );
diff --git a/www/volta/files/pkg-message.in b/www/volta/files/pkg-message.in
index d522ba7078dd..cc72c7152fcc 100644
--- a/www/volta/files/pkg-message.in
+++ b/www/volta/files/pkg-message.in
@@ -2,8 +2,8 @@ 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 %%PREFIX%%/bin/volta -f %%PREFIX%%/etc/volta.db
+ url_rewrite_children 5 startup=1 idle=2 concurrency=50
- Create a volta rule database! For detailed instructions, please
reference %%DOCSDIR%%/README, or volta's website at: