svn commit: r449575 - head/mail/sgwi

Bernard Spil brnrd at FreeBSD.org
Sun Sep 10 14:41:18 UTC 2017


Author: brnrd
Date: Sun Sep 10 14:41:16 2017
New Revision: 449575
URL: https://svnweb.freebsd.org/changeset/ports/449575

Log:
  mail/sgwi: Switch to mysqli PHP extension
  
   - Fixes build with PHP 7.x
   - Switch to USES=php
  
  PR:		222173
  Submitted by:	Lukasz Wasikowski <lukasz at wasikowski.net>

Modified:
  head/mail/sgwi/Makefile
  head/mail/sgwi/distinfo

Modified: head/mail/sgwi/Makefile
==============================================================================
--- head/mail/sgwi/Makefile	Sun Sep 10 14:19:58 2017	(r449574)
+++ head/mail/sgwi/Makefile	Sun Sep 10 14:41:16 2017	(r449575)
@@ -3,9 +3,10 @@
 
 PORTNAME=	sgwi
 PORTVERSION=	1.1.8
+PORTREVISION=	1
 CATEGORIES=	mail www
 MASTER_SITES=	http://www.vanheusden.com/sgwi/ \
-		http://lukasz.wasikowski.net/files/
+		https://www.freebsd.systems/files/
 DISTNAME=	sqlgreywebinterface-${PORTVERSION}
 
 MAINTAINER=	lukasz at wasikowski.net
@@ -13,7 +14,7 @@ COMMENT=	PHP web interface to SQLGrey
 
 LICENSE=	GPLv2
 
-USES=		tar:tgz
+USES=		tar:tgz php:web
 NO_BUILD=	yes
 SUB_FILES+=	pkg-message pkg-install
 SUB_LIST=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
@@ -27,11 +28,9 @@ SQLITE3_DESC=	SQLite3 back-end (use pgsql PHP extensio
 
 OPTIONS_DEFAULT=MYSQL
 
-MYSQL_USE=	PHP=mysql
+MYSQL_USE=	PHP=mysqli
 PGSQL_USE=	PHP=pgsql
 SQLITE3_USE=	PHP=sqlite3
-
-WANT_PHP_WEB=	yes
 
 post-patch:
 		${FIND} ${WRKSRC} -name '*.orig' -delete

Modified: head/mail/sgwi/distinfo
==============================================================================
--- head/mail/sgwi/distinfo	Sun Sep 10 14:19:58 2017	(r449574)
+++ head/mail/sgwi/distinfo	Sun Sep 10 14:41:16 2017	(r449575)
@@ -1,2 +1,3 @@
+TIMESTAMP = 1498052573
 SHA256 (sqlgreywebinterface-1.1.8.tgz) = 33685805e417f13de7224fe5ccb98c4a4a2df27cb2f1c98a3a8ae76f2911cf08
 SIZE (sqlgreywebinterface-1.1.8.tgz) = 14257


More information about the svn-ports-all mailing list