This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 3.x development tree".
The branch, master has been updated via 59ee75fd70f786e472b059db96d6c4d988940af1 (commit) from b6159043c0aa625206070ea194259fc5ab105960 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 59ee75fd70f786e472b059db96d6c4d988940af1 Author: Michael Tremer michael.tremer@ipfire.org Date: Wed May 27 12:59:40 2015 +0000
collecty: Update to version 002
-----------------------------------------------------------------------
Summary of changes: collecty/collecty.nm | 47 ++++++++++++++++++--- .../patches/0001-Install-daemon-to-usr-sbin.patch | 49 ---------------------- 2 files changed, 42 insertions(+), 54 deletions(-) delete mode 100644 collecty/patches/0001-Install-daemon-to-usr-sbin.patch
Difference in files: diff --git a/collecty/collecty.nm b/collecty/collecty.nm index deb7fb4..9c46acc 100644 --- a/collecty/collecty.nm +++ b/collecty/collecty.nm @@ -4,7 +4,7 @@ ###############################################################################
name = collecty -version = 0.0.2 +version = 002 release = 1
maintainer = Michael Tremer michael.tremer@ipfire.org @@ -23,18 +23,55 @@ source_dl = http://source.ipfire.org/releases/collecty/
build requires - gettext + autoconf + automake + docbook-utils + docbook-xsl + gettext-devel + intltool + libtool-devel + libxslt python + systemd-devel end
- install - mkdir -pv %{BUILDROOT}%{bindir} - make install DESTDIR=%{BUILDROOT} + prepare_cmds + [ -e "configure" ] || ./autogen.sh end end
packages package %{name} groups += Base + + requires + pygobject2 + python-dbus + python-rrdtool + end + + script postin + systemctl daemon-reload >/dev/null 2>&1 || : + + # The collecty service should be started on default. + systemctl enable collecty.service > /dev/null 2>&1 || : + end + + # Disable the service that is to be removed and stop it if it is still running. + script preun + systemctl --no-reload disable collecty.service >/dev/null 2>&1 || : + systemctl stop collecty.service >/dev/null 2>&1 || : + end + + # Just tell systemd that unitfiles have been removed. + script postun + systemctl daemon-reload >/dev/null 2>&1 || : + end + + # Try to restart the service if it is running. + script postup + systemctl daemon-reload >/dev/null 2>&1 || : + systemctl try-restart collecty.service >/dev/null 2>&1 || : + end end end diff --git a/collecty/patches/0001-Install-daemon-to-usr-sbin.patch b/collecty/patches/0001-Install-daemon-to-usr-sbin.patch deleted file mode 100644 index cc5cac2..0000000 --- a/collecty/patches/0001-Install-daemon-to-usr-sbin.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 82c136f87bb13aea4f27b669ee98ff7e798ad8b3 Mon Sep 17 00:00:00 2001 -From: Michael Tremer michael.tremer@ipfire.org -Date: Sat, 1 Sep 2012 18:56:19 +0000 -Subject: [PATCH] Install daemon to /usr/sbin. - ---- - Makefile | 5 ++++- - collecty.service | 2 +- - 2 files changed, 5 insertions(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index 7d679af..6fcc787 100644 ---- a/Makefile -+++ b/Makefile -@@ -24,6 +24,7 @@ PACKAGE_VERSION = 0.0.2 - DESTDIR = - PREFIX = /usr - BINDIR = $(PREFIX)/bin -+SBINDIR = $(PREFIX)/sbin - LOCALEDIR = $(PREFIX)/share/locale - UNITDIR = $(PREFIX)/lib/systemd/system - -@@ -55,7 +56,9 @@ dist: - install: $(MO_FILES) - -mkdir -pv $(PYTHON_DIR) - cp -rvf collecty $(PYTHON_DIR) -- install -v -m 755 collectyd $(DESTDIR)$(BINDIR) -+ -+ -mkdir -pv $(DESTDIR)$(SBINDIR) -+ install -v -m 755 collectyd $(DESTDIR)$(SBINDIR) - - # Install configuration - -mkdir -pv $(DESTDIR)/etc/$(PACKAGE_NAME) -diff --git a/collecty.service b/collecty.service -index ac4a893..78bd26e 100644 ---- a/collecty.service -+++ b/collecty.service -@@ -2,7 +2,7 @@ - Description=collecty - A system data collecting daemon - - [Service] --ExecStart=/usr/bin/collectyd -+ExecStart=/usr/sbin/collectyd - ExecReload=/bin/kill -HUP $MAINPID - - [Install] --- -1.7.8.2 -
hooks/post-receive -- IPFire 3.x development tree