pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add wip/varnish-modules for Varnish HTTP cache
Module Name: pkgsrc-wip
Committed By: Sasha Kovar <sasha-pkgsrc%arcocene.org@localhost>
Pushed By: abend
Date: Fri Jun 2 17:10:58 2017 +0000
Changeset: 74cabe22d64d9fcdc697cd6c5bad6fba7b1cac06
Added Files:
varnish-modules/DESCR
varnish-modules/Makefile
varnish-modules/PLIST
varnish-modules/distinfo
varnish-modules/patches/patch-configure.ac-rst2man
Log Message:
Add wip/varnish-modules for Varnish HTTP cache
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=74cabe22d64d9fcdc697cd6c5bad6fba7b1cac06
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
varnish-modules/DESCR | 16 +++++++++
varnish-modules/Makefile | 39 ++++++++++++++++++++++
varnish-modules/PLIST | 21 ++++++++++++
varnish-modules/distinfo | 7 ++++
varnish-modules/patches/patch-configure.ac-rst2man | 21 ++++++++++++
5 files changed, 104 insertions(+)
diffs:
diff --git a/varnish-modules/DESCR b/varnish-modules/DESCR
new file mode 100644
index 0000000000..01b754fad8
--- /dev/null
+++ b/varnish-modules/DESCR
@@ -0,0 +1,16 @@
+Varnish module collection by Varnish Software
+
+This is a collection of modules ("vmods") extending Varnish VCL used for
+describing HTTP request/response policies with additional capabilities.
+
+Included:
+- Simpler handling of HTTP cookies
+- Variable support
+- Request and bandwidth throttling
+- Modify and change complex HTTP headers
+- 3.0-style saint mode,
+- Advanced cache invalidations, and more.
+- Client request body access
+
+This collection contains the following vmods (previously kept individually):
+cookie, vsthrottle, header, saintmode, softpurge, tcp, var, xkey, bodyaccess
diff --git a/varnish-modules/Makefile b/varnish-modules/Makefile
new file mode 100644
index 0000000000..ce3bd8688f
--- /dev/null
+++ b/varnish-modules/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD$
+
+GITHUB_PROJECT= varnish-modules
+DISTNAME= 0.12.1
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_GITHUB:=varnish/}
+EXTRACT_SUFX= .zip
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= sasha-pkgsrc%arcocene.org@localhost
+HOMEPAGE= https://github.com/varnish/varnish-modules/
+COMMENT= Collection of modules extending Varnish VCL
+LICENSE= 2-clause-bsd
+
+WRKSRC= ${WRKDIR}/varnish-modules-0.12.1
+
+DEPENDS+= varnish>=4.1.4:../../wip/varnish
+BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils
+
+USE_LANGUAGES= c
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake
+USE_TOOLS+= automake
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-rst2man=${PREFIX}/bin/rst2man-${PYVERSSUFFIX}.py
+
+pre-configure:
+ cd ${WRKSRC} && ./bootstrap
+
+.include "../../wip/varnish/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
+
+.include "../../mk/compiler.mk"
+. if !empty(PKGSRC_COMPILER:Mgcc)
+DEPENDS+= ${_GCC_DEPENDENCY}
+.endif
diff --git a/varnish-modules/PLIST b/varnish-modules/PLIST
new file mode 100644
index 0000000000..34f9df2e23
--- /dev/null
+++ b/varnish-modules/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD$
+lib/varnish/vmods/libvmod_bodyaccess.la
+lib/varnish/vmods/libvmod_cookie.la
+lib/varnish/vmods/libvmod_header.la
+lib/varnish/vmods/libvmod_saintmode.la
+lib/varnish/vmods/libvmod_softpurge.la
+lib/varnish/vmods/libvmod_tcp.la
+lib/varnish/vmods/libvmod_var.la
+lib/varnish/vmods/libvmod_vsthrottle.la
+lib/varnish/vmods/libvmod_xkey.la
+man/man3/vmod_bodyaccess.3
+man/man3/vmod_cookie.3
+man/man3/vmod_header.3
+man/man3/vmod_saintmode.3
+man/man3/vmod_softpurge.3
+man/man3/vmod_tcp.3
+man/man3/vmod_var.3
+man/man3/vmod_vsthrottle.3
+man/man3/vmod_xkey.3
+share/doc/varnish-modules/LICENSE
+share/doc/varnish-modules/README.rst
diff --git a/varnish-modules/distinfo b/varnish-modules/distinfo
new file mode 100644
index 0000000000..7907225ca6
--- /dev/null
+++ b/varnish-modules/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (varnish-modules/0.12.1.zip) = 7512a6c9cc41c5bc01b1f6bb6aa87c50ad556893
+RMD160 (varnish-modules/0.12.1.zip) = 05380db0236b0db54e122844abe7df30db724b30
+SHA512 (varnish-modules/0.12.1.zip) = 07a2e01adc0dcaea6a96c3f8b8cef9aa24296ae4fca7f6491e5e6db26c5e9e009baf7f6eccd0ab4c24cfea91b465bd81ce6b9f41cab6c7a27cf467ee28810098
+Size (varnish-modules/0.12.1.zip) = 110195 bytes
+SHA1 (patch-configure.ac-rst2man) = 91947f4d74c9f97c482512bd3c6e67e35245ac07
diff --git a/varnish-modules/patches/patch-configure.ac-rst2man b/varnish-modules/patches/patch-configure.ac-rst2man
new file mode 100644
index 0000000000..b2cae82754
--- /dev/null
+++ b/varnish-modules/patches/patch-configure.ac-rst2man
@@ -0,0 +1,21 @@
+$NetBSD$
+
+Allow passing in location of rst2man.
+
+--- configure.ac.orig 2017-05-24 08:46:02.000000000 +0000
++++ configure.ac
+@@ -18,7 +18,13 @@ AX_PTHREAD(,[AC_MSG_ERROR([Could not con
+ AX_CODE_COVERAGE
+
+ # Check for rst utilities
+-AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], "no")
++AC_ARG_WITH([rst2man],
++ AS_HELP_STRING([--with-rst2man=PATH], [Location of rst2man (auto)]),
++ [RST2MAN="$withval"],
++ AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], [no]))
++if test "x$RST2MAN" = "xno"; then
++ AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], "no")
++fi
+ if test "x$RST2MAN" = "xno"; then
+ AC_MSG_WARN([rst2man not found - not building man pages])
+ RST2MAN=: # no-op
Home |
Main Index |
Thread Index |
Old Index