Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173420337
D3881.id9357.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D3881.id9357.diff
View Options
Index: www/varnish-libvmod-saintmode/Makefile
===================================================================
--- /dev/null
+++ www/varnish-libvmod-saintmode/Makefile
@@ -0,0 +1,28 @@
+# Created by: Mark Felder <feld@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libvmod-saintmode
+DISTVERSION= 1.0.0
+CATEGORIES= www
+DISTVERSIONPREFIX= v
+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>
Index: www/varnish-libvmod-saintmode/distinfo
===================================================================
--- /dev/null
+++ www/varnish-libvmod-saintmode/distinfo
@@ -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
Index: www/varnish-libvmod-saintmode/pkg-descr
===================================================================
--- /dev/null
+++ www/varnish-libvmod-saintmode/pkg-descr
@@ -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
Index: www/varnish-libvmod-saintmode/pkg-plist
===================================================================
--- /dev/null
+++ www/varnish-libvmod-saintmode/pkg-plist
@@ -0,0 +1,4 @@
+lib/varnish/vmods/libvmod_saintmode.so
+man/man3/vmod_saintmode.3.gz
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README.rst
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 26, 8:17 PM (9 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39691413
Default Alt Text
D3881.id9357.diff (2 KB)
Attached To
Mode
D3881: New Port: www/varnish-libvmod-saintmode
Attached
Detach File
Event Timeline
Log In to Comment