• Dridi Boukelmoune's avatar
    Append a default system-wide location to vmod_path · 1941f863
    Dridi Boukelmoune authored
    By default: /usr/share/vcl
    
    This directory becomes a drop-in, and standard location for library-like
    VCL files. It streamlines third-party VCL packaging, offering a blessed
    for installation, leaving the canonical /etc/varnish directory entirely
    to the end-user.
    
    While it is common to see VMOD packages in the wild, there are some VCL
    libraries (sometimes backed by VMODs) that would benefit some form of
    standardization. It then becomes possible to install packages, and use
    relative includes that JustWork(tm). This is especially true for VCL
    libraries that are split into several files, they can put themselves in
    a subdirectory in /usr/share/vcl and use it as a namespace for includes
    between files of the library:
    
        # somewhere in my awesome "foo" library
        include "foo/some_feature.vcl"
    
    Choosing a default path of `/etc/varnish:/usr/share/vcl` prevents VCLs
    dropped in the system from shadowing end-users VCLs but at the same
    empowers said users to override a "standard" VCL in their `/etc` tree,
    with no additional parameters fiddling.
    1941f863
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
devscripts Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
.gitignore Loading commit data...
.syntastic_c_config Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
Makefile.inc.phk Loading commit data...
Makefile.phk Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
config.phk Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...