Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2015 20:04:25 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r400341 - in head/www: . varnish-libvmod-saintmode
Message-ID:  <201510272004.t9RK4PV5044199@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Tue Oct 27 20:04:25 2015
New Revision: 400341
URL: https://svnweb.freebsd.org/changeset/ports/400341

Log:
  Add varnish-libvmod-saintmode , varnish Module (vmod) for detecting
  failing backends.

Added:
  head/www/varnish-libvmod-saintmode/
  head/www/varnish-libvmod-saintmode/Makefile   (contents, props changed)
  head/www/varnish-libvmod-saintmode/distinfo   (contents, props changed)
  head/www/varnish-libvmod-saintmode/pkg-descr   (contents, props changed)
  head/www/varnish-libvmod-saintmode/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Tue Oct 27 19:44:39 2015	(r400340)
+++ head/www/Makefile	Tue Oct 27 20:04:25 2015	(r400341)
@@ -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

Added: head/www/varnish-libvmod-saintmode/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-saintmode/Makefile	Tue Oct 27 20:04:25 2015	(r400341)
@@ -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>

Added: head/www/varnish-libvmod-saintmode/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-saintmode/distinfo	Tue Oct 27 20:04:25 2015	(r400341)
@@ -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

Added: head/www/varnish-libvmod-saintmode/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-saintmode/pkg-descr	Tue Oct 27 20:04:25 2015	(r400341)
@@ -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

Added: head/www/varnish-libvmod-saintmode/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-saintmode/pkg-plist	Tue Oct 27 20:04:25 2015	(r400341)
@@ -0,0 +1,4 @@
+lib/varnish/vmods/libvmod_saintmode.so
+man/man3/vmod_saintmode.3.gz
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README.rst



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510272004.t9RK4PV5044199>