Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2016 20:44:39 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421033 - head/www/glpi
Message-ID:  <201608282044.u7SKidmn054419@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Aug 28 20:44:39 2016
New Revision: 421033
URL: https://svnweb.freebsd.org/changeset/ports/421033

Log:
  www/glpi: Update version 0.90.3 => 0.90.5 and change option defaults
  
  Per request [1], the IMAP and LDAP options have been set to ON by default.
  The maintainer took the opportunity to upgrade the version [2].
  I converted the options to their modern equivalents and made the
  MASTER_SITES definition more generic to help future upgrades.
  
  PR:		211862 [1]
  Submitted by:	David Stievenard
  
  PR:		212222 [2]
  Submitted by:	maintainer

Modified:
  head/www/glpi/Makefile
  head/www/glpi/distinfo
  head/www/glpi/pkg-plist

Modified: head/www/glpi/Makefile
==============================================================================
--- head/www/glpi/Makefile	Sun Aug 28 20:18:46 2016	(r421032)
+++ head/www/glpi/Makefile	Sun Aug 28 20:44:39 2016	(r421033)
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	glpi
-PORTVERSION=	0.90.3
+PORTVERSION=	0.90.5
 PORTEPOCH=	1
 CATEGORIES=	www
-MASTER_SITES=	http://github.com/glpi-project/glpi/releases/download/0.90.3/
+MASTER_SITES=	http://github.com/glpi-project/glpi/releases/download/${PORTVERSION}/
 
 MAINTAINER=	mathias@monnerville.com
 COMMENT=	Free IT and asset management software
@@ -24,17 +24,11 @@ SUB_FILES=	pkg-message
 SUB_LIST=	GLPIDIR=${GLPIDIR} PREFIX=${PREFIX}
 
 OPTIONS_DEFINE=	LDAP IMAP
-IMAP_DESC=	IMAP support
-
-.include <bsd.port.options.mk>
+OPTIONS_DEFAULT=	LDAP IMAP
 
-.if ${PORT_OPTIONS:MLDAP}
-USE_PHP+=	ldap
-.endif
-
-.if ${PORT_OPTIONS:MIMAP}
-USE_PHP+=	imap
-.endif
+IMAP_DESC=	IMAP support
+LDAP_USE=	PHP=ldap
+IMAP_USE=	PHP=imap
 
 post-extract:
 	@${FIND} ${WRKSRC} -name '*~' -delete

Modified: head/www/glpi/distinfo
==============================================================================
--- head/www/glpi/distinfo	Sun Aug 28 20:18:46 2016	(r421032)
+++ head/www/glpi/distinfo	Sun Aug 28 20:44:39 2016	(r421033)
@@ -1,2 +1,3 @@
-SHA256 (glpi-0.90.3.tar.gz) = 15d1cdef40b425d5e6af67e65855298ba9b25af714f44fc3a4f5fb8e646f1227
-SIZE (glpi-0.90.3.tar.gz) = 19184087
+TIMESTAMP = 1472397287
+SHA256 (glpi-0.90.5.tar.gz) = d9b89385b2ca3004445108889492acc412013ba832409ff17496a6e019323eb3
+SIZE (glpi-0.90.5.tar.gz) = 20117959

Modified: head/www/glpi/pkg-plist
==============================================================================
--- head/www/glpi/pkg-plist	Sun Aug 28 20:18:46 2016	(r421032)
+++ head/www/glpi/pkg-plist	Sun Aug 28 20:44:39 2016	(r421033)
@@ -964,7 +964,7 @@
 %%WWWDIR%%/install/index.php
 %%WWWDIR%%/install/install.php
 %%WWWDIR%%/install/mysql/.htaccess
-%%WWWDIR%%/install/mysql/glpi-0.90-empty.sql
+%%WWWDIR%%/install/mysql/glpi-0.90.1-empty.sql
 %%WWWDIR%%/install/update.php
 %%WWWDIR%%/install/update_031_04.php
 %%WWWDIR%%/install/update_042_05.php
@@ -1000,7 +1000,7 @@
 %%WWWDIR%%/install/update_0853_0855.php
 %%WWWDIR%%/install/update_0855_090.php
 %%WWWDIR%%/install/update_085_0853.php
-%%WWWDIR%%/install/update_0901_0902.php
+%%WWWDIR%%/install/update_0901_0905.php
 %%WWWDIR%%/install/update_090_0901.php
 %%WWWDIR%%/install/update_content.php
 %%WWWDIR%%/install/update_to_031.php



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