]> arthur.barton.de Git - netdata.git/commitdiff
changes for wheezy package
authordavid <fuellgraf@transporeon.com>
Fri, 17 Jun 2016 14:05:46 +0000 (16:05 +0200)
committerdavid <fuellgraf@transporeon.com>
Fri, 17 Jun 2016 14:05:46 +0000 (16:05 +0200)
contrib/README.md
contrib/debian/control.wheezy [new file with mode: 0644]
contrib/debian/netdata.default

index 4578989a4e687da7836201a6dc0c838b7de374b3..3433454a798dfb91e55930e6c4d5ab507987d587 100644 (file)
@@ -35,8 +35,16 @@ updates first.
 * edit `contrib/debian/rules` and adjust the `dh` rule near the
   top to remove systemd (see comments in that file).
 
-* edit `contrib/debian/control`: remove `dh-systemd` from the
-  Build-Depends list, and add `pkg-config` to it.
+* rename `contrib/debian/control.wheezy` to `contrib/debian/control`.
+
+* uncomment `EXTRA_OPTS="-pidfile /var/run/netdata.pid"` in
+ `contrib/debian/netdata.default`
+
+* edit `contrib/debian/netdata.init` and change `PIDFILE` to
+  `/var/run/netdata.pid`
+
+* uncomment `postrotate` in `system/netdata.logrotate.in` and change
+  `try-restart` to `restart`
 
 Then proceed as the main instructions above.
 
@@ -46,4 +54,3 @@ The recommended way to upgrade netdata packages built from this
 source is to remove the current package from your system, then
 install the new package. Upgrading on wheezy is known to not
 work cleanly; Jessie may behave as expected.
-
diff --git a/contrib/debian/control.wheezy b/contrib/debian/control.wheezy
new file mode 100644 (file)
index 0000000..4103908
--- /dev/null
@@ -0,0 +1,25 @@
+Source: netdata
+Build-Depends: debhelper (>= 9),
+               dh-autoreconf,
+               pkg-config,
+               dpkg-dev (>= 1.13.19),
+               zlib1g-dev,
+               uuid-dev
+Section: net
+Priority: optional
+Maintainer: Costa Tsaousis <costa@tsaousis.gr>
+Standards-Version: 3.9.6
+Homepage: https://github.com/firehol/netdata/wiki
+
+Package: netdata
+Architecture: any
+Depends: adduser,
+         libcap2-bin (>= 1:2.0),
+         lsb-base (>= 3.1-23.2),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: real-time charts for system monitoring
+ Netdata is a daemon that collects data in realtime (per second)
+ and presents a web site to view and analyze them. The presentation
+ is also real-time and full of interactive charts that precisely
+ render all collected values.
index eb1a69037fb9da482498aefb24cc2e75c45d4f95..6d22a17a0e7547f9f812d245a9adcb891a042d5a 100644 (file)
@@ -1,4 +1,5 @@
 # Extra arguments to pass to netdata
 #
 #EXTRA_OPTS=""
-
+#uncomment following line if you are building a wheezy-package
+#EXTRA_OPTS="-pidfile /var/run/netdata.pid"