diff options
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 15 | ||||
-rwxr-xr-x | debian/rules | 23 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 4 |
6 files changed, 49 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..241e41c1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +netdata (1.0.0-1) UNRELEASED; urgency=low + + * Initial release (Closes: #819661) + + -- Federico Ceratto <federico@debian.org> Wed, 30 Mar 2016 22:41:35 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..f1066223 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: netdata +Section: unknown +Priority: optional +Maintainer: Federico Ceratto <federico@debian.org> +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 + <insert long description, indented with spaces> diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..45164c12 --- /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 00000000..163aaf8d --- /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 00000000..a9075e89 --- /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 |