From owner-svn-ports-all@freebsd.org Sat Oct 20 18:30:12 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E820FF0267; Sat, 20 Oct 2018 18:30:12 +0000 (UTC) (envelope-from mfechner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0316880D2F; Sat, 20 Oct 2018 18:30:12 +0000 (UTC) (envelope-from mfechner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F221621BE1; Sat, 20 Oct 2018 18:30:11 +0000 (UTC) (envelope-from mfechner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9KIUBKk040555; Sat, 20 Oct 2018 18:30:11 GMT (envelope-from mfechner@FreeBSD.org) Received: (from mfechner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9KIUB7c040554; Sat, 20 Oct 2018 18:30:11 GMT (envelope-from mfechner@FreeBSD.org) Message-Id: <201810201830.w9KIUB7c040554@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mfechner set sender to mfechner@FreeBSD.org using -f From: Matthias Fechner Date: Sat, 20 Oct 2018 18:30:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482613 - head/net-mgmt/klg X-SVN-Group: ports-head X-SVN-Commit-Author: mfechner X-SVN-Commit-Paths: head/net-mgmt/klg X-SVN-Commit-Revision: 482613 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2018 18:30:12 -0000 Author: mfechner Date: Sat Oct 20 18:30:11 2018 New Revision: 482613 URL: https://svnweb.freebsd.org/changeset/ports/482613 Log: Fix build on PHP 7+. Also fix dependancies on PHP 5.6 (mysqli not mysql for all PHP versions now). Update Makefile to remove all portlint warnings. Add flavour support. PR: 227375 Submitted by: freebsd-ports@dan.me.uk Reported by: freebsd-ports@dan.me.uk Reviewed by: mfechner@FreeBSD.org Approved by: mentors (implicit) Modified: head/net-mgmt/klg/Makefile Modified: head/net-mgmt/klg/Makefile ============================================================================== --- head/net-mgmt/klg/Makefile Sat Oct 20 18:17:09 2018 (r482612) +++ head/net-mgmt/klg/Makefile Sat Oct 20 18:30:11 2018 (r482613) @@ -2,30 +2,31 @@ PORTNAME= klg PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= net-mgmt www MASTER_SITES= SF \ ftp://ftpmirror.uk/freebsd-ports/klg/ +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= freebsd-ports@dan.me.uk COMMENT= PHP-based looking glass for Cisco, Juniper and Quagga/Zebra routers LICENSE= BSD3CLAUSE -IGNORE_WITH_PHP= 70 71 72 73 +USES= tar:txz php:web,flavors mysql:client +USE_PHP= mysqli pcre sockets xml -USES= mysql tar:txz php:web -USE_PHP= mysql pcre sockets xml NO_ARCH= yes NO_BUILD= yes -PLIST_FILES= %%DATADIR%%/CREDITS \ - %%DATADIR%%/ChangeLog \ - %%DATADIR%%/klg_README.txt \ - %%DATADIR%%/klg_schema.sql \ - %%WWWDIR%%/klg.php \ - "@sample %%WWWDIR%%/klg_config.php.sample" \ - "@sample %%WWWDIR%%/klg_template.html.sample" \ - %%WWWDIR%%/klg_router_functions.php +PLIST_FILES= ${DATADIR}/CREDITS \ + ${DATADIR}/ChangeLog \ + ${DATADIR}/klg_README.txt \ + ${DATADIR}/klg_schema.sql \ + ${WWWDIR}/klg.php \ + "@sample ${WWWDIR}/klg_config.php.sample" \ + "@sample ${WWWDIR}/klg_template.html.sample" \ + ${WWWDIR}/klg_router_functions.php SUB_FILES+= pkg-message OPTIONS_DEFINE= SSH2