svn commit: r363310 - in head/net-mgmt/glpi-plugins-tracker-agent: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Tue Jul 29 12:47:12 UTC 2014
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
+
+*****************************************************************
More information about the svn-ports-head
mailing list