Commit 49cb255d authored by Julian Wiesener's avatar Julian Wiesener

Added libvmod-file

parent 3712df77
......@@ -26,6 +26,7 @@ libvmod-zipflow
libvmod-iconv
libvmod-j
slash
libvmod-file
__push_repo
libvmod-tus
libvmod-uuid
......
Source: libvmod-file
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/libvmod-file.git
Homepage: https://code.uplex.de/uplex-varnish/libvmod-file
Package: libvmod-file
Architecture: any
Depends: ${Varnish:strictABI}, ${Varnish:ABI}, ${shlibs:Depends}, ${misc:Depends}
Description: Varnish Module for reading files that may be updated at intervals
.
VMOD file is a Varnish module for reading the contents of a file and caching its contents,
returning the contents for use in the Varnish Configuration Language (VCL), and
checking if the file has changed after specified time intervals elapse.
Copyright 2019-2022 UPLEX Nils Goroll Systemoptimierung
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 COPYRIGHT HOLDERS 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 THE COPYRIGHT
HOLDER 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/libvmod-file
#!/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)" >> $@
%:
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