mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
Add varnish-libvmod-saintmode , varnish Module (vmod) for detecting
failing backends.
This commit is contained in:
parent
1db8cd0ba6
commit
347cd583d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400341
@ -2195,6 +2195,7 @@
|
||||
SUBDIR += uzbl
|
||||
SUBDIR += validator
|
||||
SUBDIR += varnish-libvmod-header
|
||||
SUBDIR += varnish-libvmod-saintmode
|
||||
SUBDIR += varnish-nagios
|
||||
SUBDIR += varnish4
|
||||
SUBDIR += vdr-plugin-live
|
||||
|
28
www/varnish-libvmod-saintmode/Makefile
Normal file
28
www/varnish-libvmod-saintmode/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# Created by: Mark Felder <feld@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libvmod-saintmode
|
||||
DISTVERSIONPREFIX=v
|
||||
DISTVERSION= 1.0.0
|
||||
CATEGORIES= www
|
||||
PKGNAMEPREFIX= varnish-
|
||||
|
||||
MAINTAINER= feld@FreeBSD.org
|
||||
COMMENT= Varnish Module (vmod) for detecting failing backends
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
BUILD_DEPENDS= varnish4>=4.0.2:${PORTSDIR}/www/varnish4 \
|
||||
rst2man:${PORTSDIR}/textproc/py-docutils
|
||||
|
||||
USES= autoreconf gmake libtool pkgconfig python:2,build
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-static
|
||||
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= varnish
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/varnish-libvmod-saintmode/distinfo
Normal file
2
www/varnish-libvmod-saintmode/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (varnish-libvmod-saintmode-v1.0.0_GH0.tar.gz) = 33d7b3e9d3debfa0539d78fb106bfd69a8a344d77c87618f57c30ce8dc0bc869
|
||||
SIZE (varnish-libvmod-saintmode-v1.0.0_GH0.tar.gz) = 8514
|
8
www/varnish-libvmod-saintmode/pkg-descr
Normal file
8
www/varnish-libvmod-saintmode/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
Saintmode lets you deal with a backend that is failing in random ways
|
||||
for specific requests. It maintains a blacklist per backend, marking the
|
||||
backend as sick for specific objects. When the number of objects marked
|
||||
as sick for a backend reaches a set threshold, the backend is considered
|
||||
sick for all requests. Each blacklisted object carries a TTL, which
|
||||
denotes the time it will stay blacklisted.
|
||||
|
||||
WWW: https://github.com/varnish/libvmod-saintmode
|
4
www/varnish-libvmod-saintmode/pkg-plist
Normal file
4
www/varnish-libvmod-saintmode/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
lib/varnish/vmods/libvmod_saintmode.so
|
||||
man/man3/vmod_saintmode.3.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.rst
|
Loading…
Reference in New Issue
Block a user