Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2016 12:42:19 +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: r421205 - in head/www: . varnish-modules varnish-modules/files
Message-ID:  <201609011242.u81CgJhx064408@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Thu Sep  1 12:42:19 2016
New Revision: 421205
URL: https://svnweb.freebsd.org/changeset/ports/421205

Log:
  This is a collection of modules ("vmods") extending Varnish VCL used for
  describing HTTP request/response policies with additional capabilities.
  
  WWW: https://github.com/varnish/varnish-modules

Added:
  head/www/varnish-modules/
  head/www/varnish-modules/Makefile   (contents, props changed)
  head/www/varnish-modules/distinfo   (contents, props changed)
  head/www/varnish-modules/files/
  head/www/varnish-modules/files/patch-src_Makefile.am   (contents, props changed)
  head/www/varnish-modules/pkg-descr   (contents, props changed)
  head/www/varnish-modules/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Thu Sep  1 12:31:10 2016	(r421204)
+++ head/www/Makefile	Thu Sep  1 12:42:19 2016	(r421205)
@@ -2261,6 +2261,7 @@
     SUBDIR += validator
     SUBDIR += varnish-libvmod-maxminddb
     SUBDIR += varnish-libvmod-saintmode
+    SUBDIR += varnish-modules
     SUBDIR += varnish-nagios
     SUBDIR += varnish4
     SUBDIR += vdr-plugin-live

Added: head/www/varnish-modules/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-modules/Makefile	Thu Sep  1 12:42:19 2016	(r421205)
@@ -0,0 +1,36 @@
+# Created by: Mark Felder <feld@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	modules
+DISTVERSION=	0.9.1
+CATEGORIES=	www
+PKGNAMEPREFIX=	varnish-
+DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+
+MAINTAINER=	feld@FreeBSD.org
+COMMENT=	Collection of Varnish Cache modules by Varnish Software
+
+LICENSE=	BSD2CLAUSE
+
+BUILD_DEPENDS=	varnish4>=4.1.0:www/varnish4 \
+		rst2man:textproc/py-docutils
+
+USES=		autoreconf:build 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
+GH_TAGNAME=	varnish-modules-${DISTVERSION}
+
+MAKE_JOBS_UNSAFE=	yes
+
+WRKSRC=	${WRKDIR}/varnish-modules-varnish-modules-${DISTVERSION}
+
+pre-configure:
+	cd ${WRKSRC} && ./bootstrap
+
+.include <bsd.port.mk>

Added: head/www/varnish-modules/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-modules/distinfo	Thu Sep  1 12:42:19 2016	(r421205)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1469368533
+SHA256 (varnish-modules-0.9.1_GH0.tar.gz) = 4fa7d042968a372c0fd0efa7925f94640ad180e3d667697fe521e485134eb728
+SIZE (varnish-modules-0.9.1_GH0.tar.gz) = 46364

Added: head/www/varnish-modules/files/patch-src_Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-modules/files/patch-src_Makefile.am	Thu Sep  1 12:42:19 2016	(r421205)
@@ -0,0 +1,22 @@
+--- src/Makefile.am.orig	2016-08-01 13:40:08 UTC
++++ src/Makefile.am
+@@ -5,7 +5,6 @@ vmod_LTLIBRARIES = libvmod_cookie.la \
+ 	libvmod_header.la \
+ 	libvmod_saintmode.la \
+ 	libvmod_softpurge.la \
+-	libvmod_tcp.la \
+ 	libvmod_var.la \
+ 	libvmod_vsthrottle.la \
+ 	libvmod_xkey.la
+@@ -40,11 +39,6 @@ libvmod_softpurge_la_SOURCES = \
+ vcc_softpurge_if.c vcc_softpurge_if.h: @VMODTOOL@ $(top_srcdir)/src/vmod_softpurge.vcc
+ 	@VMODTOOL@ -w ../docs/ -o vcc_softpurge_if $(top_srcdir)/src/vmod_softpurge.vcc
+ 
+-libvmod_tcp_la_LDFLAGS = $(AM_LDFLAGS) -module -export-dynamic -avoid-version -shared
+-libvmod_tcp_la_SOURCES = vcc_tcp_if.c vcc_tcp_if.h vmod_tcp.c
+-vcc_tcp_if.c vcc_tcp_if.h: @VMODTOOL@ $(top_srcdir)/src/vmod_tcp.vcc
+-	@VMODTOOL@ -w ../docs/ -o vcc_tcp_if $(top_srcdir)/src/vmod_tcp.vcc
+-
+ libvmod_var_la_LDFLAGS = $(AM_LDFLAGS) -module -export-dynamic -avoid-version -shared
+ libvmod_var_la_SOURCES = vcc_var_if.c vcc_var_if.h vmod_var.c
+ vcc_var_if.c vcc_var_if.h: @VMODTOOL@ $(top_srcdir)/src/vmod_var.vcc

Added: head/www/varnish-modules/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-modules/pkg-descr	Thu Sep  1 12:42:19 2016	(r421205)
@@ -0,0 +1,4 @@
+This is a collection of modules ("vmods") extending Varnish VCL used for
+describing HTTP request/response policies with additional capabilities.
+
+WWW: https://github.com/varnish/varnish-modules

Added: head/www/varnish-modules/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-modules/pkg-plist	Thu Sep  1 12:42:19 2016	(r421205)
@@ -0,0 +1,9 @@
+lib/varnish/vmods/libvmod_cookie.so
+lib/varnish/vmods/libvmod_header.so
+lib/varnish/vmods/libvmod_saintmode.so
+lib/varnish/vmods/libvmod_softpurge.so
+lib/varnish/vmods/libvmod_var.so
+lib/varnish/vmods/libvmod_vsthrottle.so
+lib/varnish/vmods/libvmod_xkey.so
+%%PORTDOCS%%share/doc/varnish-modules/LICENSE
+%%PORTDOCS%%share/doc/varnish-modules/README.rst



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