libvmod-selector 2.6.0+20260219-1
Package Information
| Description | match strings with backends, regexen and other strings Vinyl Cache Module (VMOD) for matching strings against sets of fixed strings. A VMOD object may also function as an associative array, mapping the matched string to one or more of a backend, another string, an integer, or a regular expression. The string may also map to a subroutine that can be invoked. The VMOD is intended to support a variety of use cases that are typical for VCL deployments, such as: * Determining the backend based on the Host header or the prefix of the URL. * Rewriting the URL or a header. * Generating redirect responses, based on a header or the URL. * Permitting or rejecting request methods. * Matching the Basic Authentication credentials in an Authorization request header. * Matching media types in the Content-Type header of a backend response to determine if the content is compressible. * Accessing data by string match, as in an associative array, or by numeric index, as in a standard array. * Dispatching subroutine calls based on string matches. * Executing conditional logic that depends on features of the request or response that can be determined by matching headers or URLs. Operations such as these are commonly implemented in native VCL with an if-elsif-elsif sequence of string comparisons or regex matches. As the number of matches increases, such a sequence becomes cumbersome and scales poorly -- the time needed to execute the sequence increases with the number of matches to be performed. With the VMOD, the strings to be matched are declared in a tabular form in vcl_init, and the operation is executed in a few lines. |
|---|---|
| Maintainer | Vinyl Cache Package Maintainers <team+varnish-team@tracker.debian.org> |
| Changed By | Marco d'Itri <md@linux.it> |
| Sponsor | md@linux.it |
| Distribution | experimental |
| Architecture | any |
| VCS | git: https://salsa.debian.org/varnish-team/libvmod-selector.git (browse) |
| Popcon Installs | 1 |
| Binary NEW | Yes (binary-only upload) |
| Tracker | https://tracker.debian.org/pkg/libvmod-selector |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Date | Tue, 28 Apr 2026 02:11:03 +0200 |
|---|---|
| Source | libvmod-selector |
| Version | 2.6.0+20260219-1 |
| Changed-By | Marco d'Itri |
| Architecture | source amd64 |
| Distribution | experimental |
Changelog
libvmod-selector (2.6.0+20260219-1) experimental; urgency=medium . * Converted to a Vinyl Cache vmod. * Binary package renamed from varnish-selector to libvmod-selector.
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | libvmod-selector deb web optional arch=any |
| Section | web |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libvmod-selector
Source: https://code.uplex.de/uplex-varnish/libvmod-selector
Files: *
Copyright: 2018-2021, UPLEX Nils Goroll Systemoptimierung
License: BSD-2-clause
Files: debian/*
Copyright: 2021-2024, Michael Fladischer <fladi@debian.org>
License: BSD-2-clause
License: BSD-2-clause
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.