diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 11:39:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:54:45 +0000 |
commit | 263592886b72e6975253530f3a13681c33cab93e (patch) | |
tree | 7b4719b9436c9dc4bc8ff9e86017a241c0013882 | |
parent | Removing fix-FTCBFS.patch, not neded anymore. (diff) | |
download | netdata-263592886b72e6975253530f3a13681c33cab93e.tar.xz netdata-263592886b72e6975253530f3a13681c33cab93e.zip |
Updating packaging for upstreams move to cmake.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/control | 1 | ||||
-rwxr-xr-x | debian/rules | 37 |
2 files changed, 1 insertions, 37 deletions
diff --git a/debian/control b/debian/control index 9971c948e..f17aa9527 100644 --- a/debian/control +++ b/debian/control @@ -6,6 +6,7 @@ Uploaders: Lennart Weller <lhw@ring0.de>, Federico Ceratto <federico@debian.org>, Build-Depends: + cmake, debhelper-compat (= 13), dh-apache2, libcap-dev, 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 |