From owner-svn-ports-head@freebsd.org Fri Oct 21 15:50:28 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3A49C1BC96; Fri, 21 Oct 2016 15:50:28 +0000 (UTC) (envelope-from mat@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 mx1.freebsd.org (Postfix) with ESMTPS id 9037EBC0; Fri, 21 Oct 2016 15:50:28 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9LFoRIc049095; Fri, 21 Oct 2016 15:50:27 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9LFoRMY049094; Fri, 21 Oct 2016 15:50:27 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201610211550.u9LFoRMY049094@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 21 Oct 2016 15:50:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424429 - head/net-mgmt/ezradius X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2016 15:50:28 -0000 Author: mat Date: Fri Oct 21 15:50:27 2016 New Revision: 424429 URL: https://svnweb.freebsd.org/changeset/ports/424429 Log: Use the right way to give files to www:www. Sponsored by: Absolight Modified: head/net-mgmt/ezradius/Makefile (contents, props changed) head/net-mgmt/ezradius/pkg-plist (contents, props changed) Modified: head/net-mgmt/ezradius/Makefile ============================================================================== --- head/net-mgmt/ezradius/Makefile Fri Oct 21 15:33:53 2016 (r424428) +++ head/net-mgmt/ezradius/Makefile Fri Oct 21 15:50:27 2016 (r424429) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ezradius -PORTVERSION= 0.2.1.2 +PORTVERSION= 1.2.1.2 PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.2.1stable @@ -21,14 +21,10 @@ USE_MYSQL= yes USE_PHP= mysql session xml WANT_PHP_WEB= yes IGNORE_WITH_PHP= 70 +PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} - @cd ${WRKSRC} && \ - ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${WWWDIR}/{} \; \ - -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/{} \; - @cd ${WRKSRC} && \ - ${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${STAGEDIR}${WWWDIR}/{} \; \ - -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/{} \; + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .include Modified: head/net-mgmt/ezradius/pkg-plist ============================================================================== --- head/net-mgmt/ezradius/pkg-plist Fri Oct 21 15:33:53 2016 (r424428) +++ head/net-mgmt/ezradius/pkg-plist Fri Oct 21 15:50:27 2016 (r424429) @@ -1,3 +1,5 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%WWWDIR%%/resources/mysql-dump/radius.sql %%WWWDIR%%/resources/hotspotlogin-without-popup/Connections/conStatus.php %%WWWDIR%%/resources/hotspotlogin-without-popup/get-status.js