From 16ab1c1ff21f8bc857098b58ac37a2871b6b22f6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 13:39:22 +0200 Subject: Updating packaging for upstreams move to cmake. Signed-off-by: Daniel Baumann --- debian/rules | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 7a5329089..02fc058e1 100755 --- a/debian/rules +++ b/debian/rules @@ -2,13 +2,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all -VERSION := $(shell dpkg-parsechangelog -SVersion) - -VERSION_MAJOR := $(word 1, $(subst ., ,$(VERSION))) -VERSION_MINOR := $(word 2, $(subst ., ,$(VERSION))) -VERSION_FIX := $(word 3, $(subst -, ,$(subst ., ,$(VERSION)))) -VERSION_SUFFIX := -$(word 4, $(subst -, ,$(subst ., ,$(VERSION)))) - include /usr/share/dpkg/architecture.mk ifeq ($(DEB_HOST_ARCH),s390x) @@ -22,36 +15,6 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh ${@} --with apache2 -execute_before_dh_autoreconf: - rm -f debian/configure.ac.orig - cp configure.ac debian/configure.ac.orig - - sed -i -e 's/^\(define(\[VERSION_MAJOR]\).*/\1, [$(VERSION_MAJOR)])/' \ - -e 's/^\(define(\[VERSION_MINOR]\).*/\1, [$(VERSION_MINOR)])/' \ - -e 's/^\(define(\[VERSION_FIX]\).*/\1, [$(VERSION_FIX)])/' \ - -e 's/^\(define(\[VERSION_SUFFIX]\).*/\1, [$(VERSION_SUFFIX)])/' \ - configure.ac - -execute_before_dh_autoreconf_clean: - if [ -e debian/configure.ac.orig ]; \ - then \ - rm -f configure.ac; \ - mv debian/configure.ac.orig configure.ac; \ - fi - -override_dh_auto_configure: - dh_auto_configure -- \ - --libdir=/usr/lib \ - --libexecdir=/usr/lib \ - --disable-cloud \ - --disable-exporting-prometheus-remote-write \ - --enable-dbengine \ - --enable-https \ - --enable-plugin-cups \ - --enable-plugin-nfacct \ - --enable-x86-sse \ - --with-math - execute_after_dh_auto_install: # Removing unused files rm -f debian/tmp/etc/netdata/.install-type -- cgit v1.2.3