Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 13:02:50 +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: r363312 - in head/net-mgmt/glpi-plugins-tracker-server: . files
Message-ID:  <201407291302.s6TD2oCU065892@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Jul 29 13:02:49 2014
New Revision: 363312
URL: http://svnweb.freebsd.org/changeset/ports/363312
QAT: https://qat.redports.org/buildarchive/r363312/

Log:
  Stagify.

Added:
  head/net-mgmt/glpi-plugins-tracker-server/files/
  head/net-mgmt/glpi-plugins-tracker-server/files/pkg-message.in
     - copied unchanged from r363284, head/net-mgmt/glpi-plugins-tracker-server/pkg-message
Deleted:
  head/net-mgmt/glpi-plugins-tracker-server/pkg-message
Modified:
  head/net-mgmt/glpi-plugins-tracker-server/Makefile
  head/net-mgmt/glpi-plugins-tracker-server/pkg-plist

Modified: head/net-mgmt/glpi-plugins-tracker-server/Makefile
==============================================================================
--- head/net-mgmt/glpi-plugins-tracker-server/Makefile	Tue Jul 29 12:56:12 2014	(r363311)
+++ head/net-mgmt/glpi-plugins-tracker-server/Makefile	Tue Jul 29 13:02:49 2014	(r363312)
@@ -18,24 +18,15 @@ USE_PHP=	zlib
 
 WRKSRC=		${WRKDIR}/tracker
 NO_BUILD=	yes
-PKGMESSAGE=	${WRKDIR}/pkg-message
-CPIOARGS=	--quiet -pdum -R
+CPIOARGS=	--quiet -pdum
+SUB_FILES=	pkg-message
+SUB_LIST=	GLPIPLUGINDIR="${GLPIPLUGINDIR}"
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 
 GLPIPLUGINDIR?=	www/glpi/plugins/tracker
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-post-configure:
-	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
-	  -e 's,%%GLPIPLUGINDIR%%,${GLPIPLUGINDIR},g' pkg-message > ${PKGMESSAGE}
-
 do-install:
-	@${MKDIR} -m 0755 ${PREFIX}/${GLPIPLUGINDIR}
-	@cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} -m 0755 ${STAGEDIR}${PREFIX}/${GLPIPLUGINDIR}
+	@cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${STAGEDIR}${PREFIX}/${GLPIPLUGINDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Copied: head/net-mgmt/glpi-plugins-tracker-server/files/pkg-message.in (from r363284, head/net-mgmt/glpi-plugins-tracker-server/pkg-message)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/glpi-plugins-tracker-server/files/pkg-message.in	Tue Jul 29 13:02:49 2014	(r363312, copy of r363284, head/net-mgmt/glpi-plugins-tracker-server/pkg-message)
@@ -0,0 +1,8 @@
+*****************************************************************
+Add in cron table to run server script : 
+
+*/5	*	*	*	*	www	%%PREFIX%%/%%GLPIPLUGINDIR%%/scripts/tracker_fullsync.sh
+
+This script will parse xml files get from agent and update glpi fields
+
+*****************************************************************

Modified: head/net-mgmt/glpi-plugins-tracker-server/pkg-plist
==============================================================================
--- head/net-mgmt/glpi-plugins-tracker-server/pkg-plist	Tue Jul 29 12:56:12 2014	(r363311)
+++ head/net-mgmt/glpi-plugins-tracker-server/pkg-plist	Tue Jul 29 13:02:49 2014	(r363312)
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
 www/glpi/plugins/tracker/ajax/plugin_tracker.functionalities.tabs.php
 www/glpi/plugins/tracker/docs/CHANGELOG.TXT
 www/glpi/plugins/tracker/docs/LISEZMOI.TXT
@@ -161,6 +163,8 @@ www/glpi/plugins/tracker/scripts/tracker
 www/glpi/plugins/tracker/scripts/tracker_fullsync.sh
 www/glpi/plugins/tracker/setup.php
 www/glpi/plugins/tracker/tool/parselog.pl
+@group
+@owner
 @dirrm www/glpi/plugins/tracker/tool
 @dirrm www/glpi/plugins/tracker/scripts
 @dirrm www/glpi/plugins/tracker/report



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407291302.s6TD2oCU065892>