Date: Tue, 29 Jul 2014 12:47:12 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363310 - in head/net-mgmt/glpi-plugins-tracker-agent: . files Message-ID: <201407291247.s6TClClB057118@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Tue Jul 29 12:47:11 2014 New Revision: 363310 URL: http://svnweb.freebsd.org/changeset/ports/363310 QAT: https://qat.redports.org/buildarchive/r363310/ Log: Stagify. Added: head/net-mgmt/glpi-plugins-tracker-agent/files/ head/net-mgmt/glpi-plugins-tracker-agent/files/pkg-message.in - copied unchanged from r363284, head/net-mgmt/glpi-plugins-tracker-agent/pkg-message Deleted: head/net-mgmt/glpi-plugins-tracker-agent/pkg-message Modified: head/net-mgmt/glpi-plugins-tracker-agent/Makefile Modified: head/net-mgmt/glpi-plugins-tracker-agent/Makefile ============================================================================== --- head/net-mgmt/glpi-plugins-tracker-agent/Makefile Tue Jul 29 12:13:59 2014 (r363309) +++ head/net-mgmt/glpi-plugins-tracker-agent/Makefile Tue Jul 29 12:47:11 2014 (r363310) @@ -22,23 +22,15 @@ RUN_DEPENDS= p5-Net-SNMP>=0:${PORTSDIR}/ USES= perl5 WRKSRC= ${WRKDIR}/agent_tracker NO_BUILD= yes -PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message +#PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_LIST= TRACKERAGENTDIR="${TRACKERAGENTDIR}" CPIOARGS= --quiet -pdum TRACKERAGENTDIR?= share/tracker_agent -NO_STAGE= yes -.include <bsd.port.pre.mk> - -post-configure: - @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ - -e 's,%%TRACKERAGENTDIR%%,${TRACKERAGENTDIR},g' pkg-message > ${PKGMESSAGE} - do-install: - @${MKDIR} -m 0755 ${PREFIX}/${TRACKERAGENTDIR} - @cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${PREFIX}/${TRACKERAGENTDIR} - -post-install: - @${CAT} ${PKGMESSAGE} + @${MKDIR} -m 0755 ${STAGEDIR}${PREFIX}/${TRACKERAGENTDIR} + @cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${STAGEDIR}${PREFIX}/${TRACKERAGENTDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> Copied: head/net-mgmt/glpi-plugins-tracker-agent/files/pkg-message.in (from r363284, head/net-mgmt/glpi-plugins-tracker-agent/pkg-message) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/glpi-plugins-tracker-agent/files/pkg-message.in Tue Jul 29 12:47:11 2014 (r363310, copy of r363284, head/net-mgmt/glpi-plugins-tracker-agent/pkg-message) @@ -0,0 +1,8 @@ +***************************************************************** +Add in cron table to run agent script : + +*/10 * * * * root /usr/local/bin/perl %%PREFIX%%/%%TRACKERAGENTDIR%%/tracker_agent.pl + +This script get devices to query from glpi server, query devices and send them to server + +*****************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407291247.s6TClClB057118>