[csw-devel] SF.net SVN: gar:[19213] csw/mgar/pkg/fusioninventory-agent/trunk
guillomovitch at users.sourceforge.net
guillomovitch at users.sourceforge.net
Mon Sep 17 10:04:44 CEST 2012
Revision: 19213
http://gar.svn.sourceforge.net/gar/?rev=19213&view=rev
Author: guillomovitch
Date: 2012-09-17 08:04:44 +0000 (Mon, 17 Sep 2012)
Log Message:
-----------
fusioninventory-agent/trunk: ship a minimal cron task
Modified Paths:
--------------
csw/mgar/pkg/fusioninventory-agent/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/fusioninventory-agent/trunk/files/fusioninventory-agent.cron
csw/mgar/pkg/fusioninventory-agent/trunk/files/fusioninventory-agent.csw
Modified: csw/mgar/pkg/fusioninventory-agent/trunk/Makefile
===================================================================
--- csw/mgar/pkg/fusioninventory-agent/trunk/Makefile 2012-09-17 07:30:14 UTC (rev 19212)
+++ csw/mgar/pkg/fusioninventory-agent/trunk/Makefile 2012-09-17 08:04:44 UTC (rev 19213)
@@ -18,6 +18,8 @@
MODDIST =
DISTNAME = FusionInventory-Agent-$(VERSION)
DISTFILES = $(DISTNAME).tar.gz
+DISTFILES += fusioninventory-agent.cron
+DISTFILES += fusioninventory-agent.csw
LICENSE = LICENSE
@@ -56,4 +58,10 @@
DOCLIST = LICENSE Changes README THANKS
+CRONTABS = /etc/opt/csw/pkg/CSWfusioninventory-agent/crontabs/root
+
+post-install-modulated:
+ /opt/csw/gnu/install -D -m 644 $(WORKDIR)/fusioninventory-agent.cron $(DESTDIR)/etc/opt/csw/pkg/CSWfusioninventory-agent/crontabs/root
+ /opt/csw/gnu/install -D -m 644 $(WORKDIR)/fusioninventory-agent.csw $(DESTDIR)/etc/opt/csw/fusioninventory-agent
+
include gar/category.mk
Added: csw/mgar/pkg/fusioninventory-agent/trunk/files/fusioninventory-agent.cron
===================================================================
--- csw/mgar/pkg/fusioninventory-agent/trunk/files/fusioninventory-agent.cron (rev 0)
+++ csw/mgar/pkg/fusioninventory-agent/trunk/files/fusioninventory-agent.cron 2012-09-17 08:04:44 UTC (rev 19213)
@@ -0,0 +1 @@
+40 3 * * * . /etc/opt/csw/fusioninventory-agent && /opt/csw/bin/fusioninventory-agent $OPTIONS > /dev/null 2>&1
Added: csw/mgar/pkg/fusioninventory-agent/trunk/files/fusioninventory-agent.csw
===================================================================
--- csw/mgar/pkg/fusioninventory-agent/trunk/files/fusioninventory-agent.csw (rev 0)
+++ csw/mgar/pkg/fusioninventory-agent/trunk/files/fusioninventory-agent.csw 2012-09-17 08:04:44 UTC (rev 19213)
@@ -0,0 +1,2 @@
+# fusioninventory agent options
+OPTIONS=""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list