Commit 061f9b84 authored by Julian Wiesener's avatar Julian Wiesener

Merge branch 'master' of code.uplex.de:uplex-varnish/uplex-varnish-dpkg

parents 9cac79d5 6a746509
Pipeline #464 canceled with stages
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
PREFIX="/home/pkgbuild/uplex-varnish-dpkg" PREFIX="/home/pkgbuild/uplex-varnish-dpkg"
DPKGDIR="${PREFIX}/dpkg" DPKGDIR="${PREFIX}/dpkg"
BUILDDIR="${PREFIX}/build" BUILDDIR="${PREFIX}/build"
PATH="${PREFIX}/bin:${PATH}"
export PATH
cd ${DPKGDIR} || exit 1 cd ${DPKGDIR} || exit 1
......
...@@ -11,7 +11,8 @@ Build-Depends: debhelper (>= 7), ...@@ -11,7 +11,8 @@ Build-Depends: debhelper (>= 7),
pkg-config, pkg-config,
python3-docutils, python3-docutils,
varnish (= DPGK_VERSION), varnish (= DPGK_VERSION),
varnish-dev (= DPGK_VERSION) varnish-dev (= DPGK_VERSION),
varnish-headers (= DPGK_VERSION)
Standards-Version: 3.9.6 Standards-Version: 3.9.6
Vcs-Git: git://code.uplex.de/uplex-varnish/libvmod-dispatch.git Vcs-Git: git://code.uplex.de/uplex-varnish/libvmod-dispatch.git
Homepage: https://code.uplex.de/uplex-varnish/libvmod-dispatch Homepage: https://code.uplex.de/uplex-varnish/libvmod-dispatch
......
#!/usr/bin/make -f #!/usr/bin/make -f
DH_VERBOSE=1 DH_VERBOSE=1
DPKG_EXPORT_BUILDFLAGS=1
include /usr/share/dpkg/pkg-info.mk
VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \ VMOD_ABI = $(shell printf '\#include "vrt.h"\nvarnishabi- VRT_MAJOR_VERSION . VRT_MINOR_VERSION\n' \
| cpp - $(shell pkg-config --cflags varnishapi) \ | cpp - $(shell pkg-config --cflags varnishapi) \
...@@ -11,7 +14,7 @@ VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \ ...@@ -11,7 +14,7 @@ VMOD_strictABI = $(shell printf '\#include "vmod_abi.h"\nVMOD_ABI_Version\n' \
override_dh_auto_configure: override_dh_auto_configure:
./autogen.sh ./autogen.sh
dh_auto_configure VARNISHSRC=/usr/src/varnish-$(DEB_VERSION_UPSTREAM) dh_auto_configure
override_dh_gencontrol: debian/substvars override_dh_gencontrol: debian/substvars
dh_gencontrol -- -Tdebian/substvars dh_gencontrol -- -Tdebian/substvars
......
...@@ -75,3 +75,13 @@ Conflicts: ...@@ -75,3 +75,13 @@ Conflicts:
libvarnishapi-dev libvarnishapi-dev
Description: development files for Varnish Cache Description: development files for Varnish Cache
Development files for Varnish Cache HTTP accelerator. Development files for Varnish Cache HTTP accelerator.
Package: varnish-headers
Section: libdevel
Architecture: any
Depends:
varnish-dev (= ${binary:Version})
Provides:
libvarnish-headers
Description: Varnish Cache Headers
Headers including private ones that are required by some VMods.
#!/usr/bin/make -f #!/usr/bin/make -f
DH_VERBOSE=1 DH_VERBOSE=1
DPKG_EXPORT_BUILDFLAGS=1
include /usr/share/dpkg/pkg-info.mk
# List of architectures where jemalloc is not available # List of architectures where jemalloc is not available
DISABLE_JEMALLOC_ARCH_LIST := hppa m68k DISABLE_JEMALLOC_ARCH_LIST := hppa m68k
...@@ -47,6 +50,7 @@ override_dh_auto_install: ...@@ -47,6 +50,7 @@ override_dh_auto_install:
find $(CURDIR)/debian/ -name \*.la -delete find $(CURDIR)/debian/ -name \*.la -delete
@ # Nuke the static libs too @ # Nuke the static libs too
find $(CURDIR)/debian -name \*.a -delete find $(CURDIR)/debian -name \*.a -delete
find bin config.h include lib -type f -name \*.h -exec install -D -o root -g root -m 644 {} $(CURDIR)/debian/tmp/usr/src/varnish-$(DEB_VERSION_UPSTREAM)/{} \;
override_dh_install-arch: override_dh_install-arch:
dh_install -a --fail-missing dh_install -a --fail-missing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment