Commit a6e68204 authored by Julian Wiesener's avatar Julian Wiesener

added libvdfp-pipe

parent d3818b5c
Source: libvdfp-pipe
Section: web
Priority: extra
Maintainer: Uplex Varnish <varnish@uplex.de>
Build-Depends: debhelper (>= 7),
automake,
autotools-dev,
autoconf-archive,
libtool,
build-essential,
pkg-config,
python3-docutils,
varnish (= DPGK_VERSION),
varnish-dev (= DPGK_VERSION)
Standards-Version: 3.9.6
Vcs-Git: git://code.uplex.de/uplex-varnish/libvdfp-pipe.git
Homepage: https://code.uplex.de/uplex-varnish/libvdfp-pipe
Package: libvdfp-pipe
Architecture: any
Depends: ${Varnish:strictABI}, ${Varnish:ABI}, ${shlibs:Depends}, ${misc:Depends}
Description: The pipe library provides Varnish delivery and fetch processors (VDPs and VFPs) that pipe client and backend responses through external commands.
.
The pipe library provides Varnish delivery and fetch processors (VDPs and VFPs) that pipe client or backend responses through an external command. When a processor runs, the Varnish worker process forks and executes the command. The response is written to the process standard input stream, and is transformed to the resulting standard output.
Copyright (c) 2019 UPLEX Nils Goroll Systemoptimierung
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
usr/share/doc/libvdfp-pipe
#!/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:
./autogen.sh
dh_auto_configure
override_dh_gencontrol: debian/substvars
dh_gencontrol -- -Tdebian/substvars
debian/substvars:
echo "Varnish:ABI=$(VMOD_ABI)" > $@
echo "Varnish:strictABI=$(VMOD_strictABI)" >> $@
%:
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