...
 
Commits (2)
......@@ -14,12 +14,10 @@ MAINTAINERCLEANFILES = $(dist_man_MANS)
vmod_re.3: README.rst
README.rst: src/vmod_re.man.rst
README.rst: src/vmod_re.vcc
$(MAKE) -C src vmod_re.man.rst
cp src/vmod_re.man.rst README.rst
src/vmod_re.man.rst:
make -C src vmod_re.man.rst
%.1 %.2 %.3 %.4 %.5 %.6 %.7 %.8 %.9:
if HAVE_RST2MAN
${RST2MAN} $< $@
......
AC_PREREQ(2.59)
AC_COPYRIGHT([Copyright (c) 2013-2015 UPLEX Nils Goroll Systemoptimierung])
AC_INIT([libvmod-re], [v2.3])
AC_INIT([libvmod-re], [v2.4])
AC_CONFIG_MACRO_DIR([m4])
m4_ifndef([VARNISH_VMOD_INCLUDES], AC_MSG_ERROR([Need varnish.m4 -- see README.rst]))
AC_CONFIG_SRCDIR(src/vmod_re.vcc)
......
......@@ -71,3 +71,5 @@ rm -rf %{buildroot}
/sbin/ldconfig
%changelog
* Mon Dec 11 2017 Geoff Simmons <geoff@uplex.de> - 2.4
- Enforce ABI compatibility with VRT 6.0.
......@@ -9,10 +9,13 @@ libvmod_re_la_SOURCES = \
vcc_if.h \
vmod_re.c
vcc_if.c: vcc_if.h
vcc_if.h vmod_re.rst vmod_re.man.rst: vcc_if.c
vcc_if.h vmod_re.man.rst: @VMODTOOL@ $(top_srcdir)/src/vmod_re.vcc
@VMODTOOL@ $(top_srcdir)/src/vmod_re.vcc
# The sed command fixes the bug concerning $ABI vrt that is addressed
# by Varnish issue #2508.
vcc_if.c: vmod_re.vcc
@VMODTOOL@ $(srcdir)/vmod_re.vcc
sed -i '/vrt_major/s/0/6/' vcc_if.c
VMOD_TESTS = $(top_srcdir)/src/tests/*.vtc
.PHONY: $(VMOD_TESTS)
......
......@@ -10,6 +10,8 @@
$Module re 3 Varnish Module for Regular Expression Matching with Subexpression Capture
$ABI vrt
DESCRIPTION
===========
......