From 9d3ee8e2deffa0d9c8f2560195c523a574728285 Mon Sep 17 00:00:00 2001 From: Federico Ceratto Date: Wed, 30 Mar 2016 22:44:28 +0100 Subject: Initial debianization --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 15 +++++++++++++++ debian/rules | 23 +++++++++++++++++++++++ debian/source/format | 1 + debian/watch | 4 ++++ 6 files changed, 49 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..241e41c19 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +netdata (1.0.0-1) UNRELEASED; urgency=low + + * Initial release (Closes: #819661) + + -- Federico Ceratto Wed, 30 Mar 2016 22:41:35 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..f10662231 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: netdata +Section: unknown +Priority: optional +Maintainer: Federico Ceratto +Build-Depends: debhelper (>=9) +Standards-Version: 3.9.6 +Homepage: https://github.com/firehol/netdata +Vcs-Git: https://anonscm.debian.org/collab-maint/netdata.git +Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/netdata.git + +Package: netdata +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser +Description: Real-time performance monitoring + diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..45164c126 --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f +export DH_VERBOSE = 1 +# see FEATURE AREAS in dpkg-buildflags(1) +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# package maintainers to append CFLAGS +export DEB_CFLAGS_MAINT_APPEND = -Wall -O3 +# package maintainers to append LDFLAGS +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +%: + dh $@ + +override_dh_auto_build: + ./autogen.sh + ./configure \ + --prefix="${NETDATA_PREFIX}/usr" \ + --sysconfdir="${NETDATA_PREFIX}/etc" \ + --localstatedir="${NETDATA_PREFIX}/var" \ + --with-zlib --with-math --with-user=netdata \ + CFLAGS="${CFLAGS}" + dh_auto_build diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 000000000..a9075e891 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/netdata-$1\.tar\.gz/ \ + https://github.com/firehol/netdata/tags .*/v?(\d\S*)\.tar\.gz -- cgit v1.2.3