Commit 5464c408 authored by Julian Wiesener's avatar Julian Wiesener

Added libvmod-querystring

parent b15bf20d
Source: libvmod-querystring
Section: web
Priority: extra
Maintainer: Uplex Varnish <varnish@uplex.de>
Build-Depends: debhelper (>= 7),
automake,
autotools-dev,
libtool,
build-essential,
pkg-config,
python3-docutils,
varnish (= DPGK_VERSION),
varnish-dev (= DPGK_VERSION)
Standards-Version: 3.9.6
Vcs-Git: git://github.com/Dridi/libvmod-querystring.git
Homepage: https://github.com/Dridi/libvmod-querystring
Package: libvmod-querystring
Architecture: any
Depends: ${Varnish:strictABI}, ${Varnish:ABI}, ${shlibs:Depends}, ${misc:Depends}
Description: QueryString module for Varnish Cache
.
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.
Source: libvmod-querystring
Section: web
Priority: extra
Maintainer: Uplex Varnish <varnish@uplex.de>
Build-Depends: debhelper (>= 7),
automake,
autotools-dev,
libtool,
build-essential,
pkg-config,
python3-docutils,
varnish (= DPGK_VERSION),
varnish-dev (= DPGK_VERSION)
Standards-Version: 3.9.6
Vcs-Git: git://github.com/Dridi/libvmod-querystring.git
Homepage: https://github.com/Dridi/libvmod-querystring
Package: libvmod-querystring
Architecture: any
Depends: ${Varnish:strictABI}, ${Varnish:ABI}, ${shlibs:Depends}, ${misc:Depends}
Description: QueryString module for Varnish Cache
.
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.
Copyright (C) 2012-2016 Dridi Boukelmoune
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
usr/share/doc/libvmod-querystring
#!/usr/bin/make -f
DH_VERBOSE=1
# Workaround for a breaking change in GNU make 4.3.
H := \#
# Extract VMOD_ABI version, this is used for building vmods using the official
# VMOD API
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
./bootstrap
dh_auto_configure
override_dh_gencontrol: debian/substvars
dh_gencontrol -- -Tdebian/substvars
debian/substvars:
echo "Varnish:ABI=$(VMOD_ABI)" > $@
echo "Varnish:strictABI=$(VMOD_strictABI)" >> $@
override_dh_auto_install:
rst2man src/vmod_querystring.rst src/vmod_querystring.3
dh_auto_install -a
%:
dh $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment