Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uplex-varnish-dpkg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
uplex-varnish-dpkg
Commits
8453135f
Commit
8453135f
authored
Apr 29, 2022
by
Julian Wiesener
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround for a breaking change in GNU make 4.3.
parent
19a87c5b
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
211 additions
and
84 deletions
+211
-84
rules
dpkg/dcs-classifier/debian/rules
+15
-6
rules
dpkg/libvmod-blobdigest/debian/rules
+15
-6
rules
dpkg/libvmod-blobsynth/debian/rules
+15
-6
rules
dpkg/libvmod-dispatch/debian/rules
+15
-6
rules
dpkg/libvmod-dns/debian/rules
+15
-6
rules
dpkg/libvmod-dynamic/debian/rules
+15
-6
rules
dpkg/libvmod-geoip2/debian/rules
+15
-6
rules
dpkg/libvmod-hoailona/debian/rules
+15
-6
rules
dpkg/libvmod-re/debian/rules
+15
-6
rules
dpkg/libvmod-uuid/debian/rules
+15
-6
rules
dpkg/template_vmod/debian/rules
+15
-6
rules
dpkg/varnish-modules/debian/rules
+15
-6
rules
dpkg/varnish/debian/rules
+16
-6
rules
dpkg/varnishevent/debian/rules
+15
-6
No files found.
dpkg/dcs-classifier/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
dpkg/libvmod-blobdigest/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
dpkg/libvmod-blobsynth/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
dpkg/libvmod-dispatch/debian/rules
View file @
8453135f
...
@@ -5,12 +5,21 @@ DPKG_EXPORT_BUILDFLAGS=1
...
@@ -5,12 +5,21 @@ DPKG_EXPORT_BUILDFLAGS=1
include /usr/share/dpkg/pkg-info.mk
include /usr/share/dpkg/pkg-info.mk
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
dpkg/libvmod-dns/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./bootstrap
./bootstrap
...
...
dpkg/libvmod-dynamic/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
dpkg/libvmod-geoip2/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
dpkg/libvmod-hoailona/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
dpkg/libvmod-re/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
dpkg/libvmod-uuid/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
dpkg/template_vmod/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
dpkg/varnish-modules/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./bootstrap
./bootstrap
...
...
dpkg/varnish/debian/rules
View file @
8453135f
#!/usr/bin/make -f
#!/usr/bin/make -f
DH_VERBOSE=1
DH_VERBOSE=1
DPKG_EXPORT_BUILDFLAGS=1
DPKG_EXPORT_BUILDFLAGS=1
include /usr/share/dpkg/pkg-info.mk
include /usr/share/dpkg/pkg-info.mk
...
@@ -20,12 +21,21 @@ ifneq ($(filter $(DEB_HOST_ARCH),$(DISABLE_JEMALLOC_ARCH_LIST)),)
...
@@ -20,12 +21,21 @@ ifneq ($(filter $(DEB_HOST_ARCH),$(DISABLE_JEMALLOC_ARCH_LIST)),)
LOCAL_CONFIGURE_FLAGS += --disable-jemalloc
LOCAL_CONFIGURE_FLAGS += --disable-jemalloc
endif
endif
VMOD_strictABI = $(shell printf '\#include "vcs_version.h"\nVCS_Version\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - -Iinclude | sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
H := \#
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - -Iinclude \
# VMOD API
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
# Main build rule, leave everything to debhelper
# Main build rule, leave everything to debhelper
%:
%:
...
...
dpkg/varnishevent/debian/rules
View file @
8453135f
...
@@ -2,12 +2,21 @@
...
@@ -2,12 +2,21 @@
DH_VERBOSE=1
DH_VERBOSE=1
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
# Workaround for a breaking change in GNU make 4.3.
| cpp - $(shell pkg-config --cflags varnishapi) \
H := \#
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
# Extract VMOD_ABI version, this is used for building vmods using the official
| cpp - $(shell pkg-config --cflags varnishapi) \
# VMOD API
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^.* /varnishabi-strict-/')
VMOD_ABI = $(shell printf '$(H)include "vdef.h"\n$(H)include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - -Iinclude \
| sed -e '/^varnishabi-/!d' -e 's/U//g' -e 's/ //g')
# Extract VMOD_strictABI, which refers to the exact build of varnish. This is
# used for old style vmods bypassing the VMOD API, accessing the internal data
# structures directly.
VMOD_strictABI = $(shell printf '$(H)include "vcs_version.h"\nVCS_Version\n' \
| cpp - -Iinclude \
| sed -e '/^"/!d' -e 's/\"//g' -e 's/^/varnishabi-strict-/')
override_dh_auto_configure:
override_dh_auto_configure:
./autogen.sh
./autogen.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment