summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2016-03-30 21:44:28 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2016-04-13 20:03:42 +0000
commit9d3ee8e2deffa0d9c8f2560195c523a574728285 (patch)
tree1f0d67e886841df668b48674c97464699fb249c3
parentImported Upstream version 1.0.0 (diff)
downloadnetdata-9d3ee8e2deffa0d9c8f2560195c523a574728285.tar.xz
netdata-9d3ee8e2deffa0d9c8f2560195c523a574728285.zip
Initial debianization
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control15
-rwxr-xr-xdebian/rules23
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch4
6 files changed, 49 insertions, 0 deletions
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 <federico@debian.org> 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 <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 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