mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
New port: www/varnish-libvmod-querystring:
The purpose of this module is to give you a fine-grained control over a URL's query-string in Varnish Cache. It's possible to remove the query-string, clean it, sort its parameters or filter it to only keep a subset of them. This can greatly improve your hit ratio and efficiency with Varnish, because by default two URLs with the same path but different query-strings are also different. This is what the RFCs mandate but probably not what you usually want for your web site or application. WWW: https://github.com/Dridi/libvmod-querystring
This commit is contained in:
parent
5e82ad37c5
commit
b1b56ef632
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553630
@ -2272,6 +2272,7 @@
|
||||
SUBDIR += varnish-libvmod-digest
|
||||
SUBDIR += varnish-libvmod-dynamic
|
||||
SUBDIR += varnish-libvmod-maxminddb
|
||||
SUBDIR += varnish-libvmod-querystring
|
||||
SUBDIR += varnish-modules
|
||||
SUBDIR += varnish-nagios
|
||||
SUBDIR += varnish4
|
||||
|
39
www/varnish-libvmod-querystring/Makefile
Normal file
39
www/varnish-libvmod-querystring/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libvmod-querystring
|
||||
DISTVERSION= v2.0.2
|
||||
CATEGORIES= www
|
||||
PKGNAMEPREFIX= varnish-
|
||||
|
||||
MAINTAINER= zi@FreeBSD.org
|
||||
COMMENT= Varnish Module (vmod) for querystring manipulation
|
||||
|
||||
LICENSE= GPLv1
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR}
|
||||
|
||||
USES= autoreconf libtool pkgconfig python:3.5+,build varnish:6
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-static
|
||||
INSTALL_TARGET= install-strip
|
||||
DOCSDIR= ${PREFIX}/share/doc/vmod-querystring
|
||||
|
||||
CFLAGS+= -I${WRKSRC}/src
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= Dridi
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's|$${VARNISHAPI_DATAROOTDIR}|${LOCALBASE}/share|' \
|
||||
${WRKSRC}/Makefile.am
|
||||
|
||||
post-build:
|
||||
(cd ${WRKSRC}/src && ${LOCALBASE}/bin/rst2man \
|
||||
vmod_querystring.man.rst vmod_querystring.3)
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/varnish-libvmod-querystring/distinfo
Normal file
3
www/varnish-libvmod-querystring/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1603992320
|
||||
SHA256 (Dridi-libvmod-querystring-v2.0.2_GH0.tar.gz) = fc8ef6259bb048b79977843f348ba8cdccec786b9528a4b245d6094e3a067896
|
||||
SIZE (Dridi-libvmod-querystring-v2.0.2_GH0.tar.gz) = 27681
|
10
www/varnish-libvmod-querystring/pkg-descr
Normal file
10
www/varnish-libvmod-querystring/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The purpose of this module is to give you a fine-grained control over a URL's
|
||||
query-string in Varnish Cache. It's possible to remove the query-string,
|
||||
clean it, sort its parameters or filter it to only keep a subset of them.
|
||||
|
||||
This can greatly improve your hit ratio and efficiency with Varnish, because
|
||||
by default two URLs with the same path but different query-strings are also
|
||||
different. This is what the RFCs mandate but probably not what you usually
|
||||
want for your web site or application.
|
||||
|
||||
WWW: https://github.com/Dridi/libvmod-querystring
|
5
www/varnish-libvmod-querystring/pkg-plist
Normal file
5
www/varnish-libvmod-querystring/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
lib/varnish/vmods/libvmod_querystring.so
|
||||
man/man3/vmod_querystring.3.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
|
Loading…
x
Reference in New Issue
Block a user