From owner-svn-ports-all@FreeBSD.ORG Fri May 16 21:32:52 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04F71A04; Fri, 16 May 2014 21:32:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 E67532BA0; Fri, 16 May 2014 21:32:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4GLWpdT029028; Fri, 16 May 2014 21:32:51 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4GLWprW029026; Fri, 16 May 2014 21:32:51 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201405162132.s4GLWprW029026@svn.freebsd.org> From: Guido Falsi Date: Fri, 16 May 2014 21:32:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354268 - head/net-mgmt/wifimgr X-SVN-Group: ports-head 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.18 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: Fri, 16 May 2014 21:32:52 -0000 Author: madpilot Date: Fri May 16 21:32:51 2014 New Revision: 354268 URL: http://svnweb.freebsd.org/changeset/ports/354268 QAT: https://qat.redports.org/buildarchive/r354268/ Log: - Fix packaging without root Reported by: Andrzej Tobola Submitted by: "J.R. Oldroyd" (maintainer) Modified: head/net-mgmt/wifimgr/Makefile head/net-mgmt/wifimgr/pkg-plist Modified: head/net-mgmt/wifimgr/Makefile ============================================================================== --- head/net-mgmt/wifimgr/Makefile Fri May 16 21:25:45 2014 (r354267) +++ head/net-mgmt/wifimgr/Makefile Fri May 16 21:32:51 2014 (r354268) @@ -3,6 +3,7 @@ PORTNAME= wifimgr PORTVERSION= 1.11 +PORTREVISION= 1 CATEGORIES= net-mgmt sysutils MASTER_SITES= http://opal.com/freebsd/ports/net-mgmt/wifimgr/ \ CRITICAL @@ -19,6 +20,10 @@ OPTIONS_DEFINE= NLS .include +.if ${OSVERSION} >= 901504 +MAKE_ENV+= INSTALL="install -U" +.endif + .if ${PORT_OPTIONS:MNLS} USES+= gettext pkgconfig PLIST_SUB+= NLS="" @@ -28,4 +33,9 @@ PLIST_SUB+= NLS="@comment " MAKE_ENV+= WITHOUT_NLS=${WITHOUT_NLS} .endif +post-patch: +.if ${OSVERSION} < 901504 + @${REINPLACE_CMD} -e 's/-o root -g wheel//' ${WRKSRC}/src/Makefile +.endif + .include Modified: head/net-mgmt/wifimgr/pkg-plist ============================================================================== --- head/net-mgmt/wifimgr/pkg-plist Fri May 16 21:25:45 2014 (r354267) +++ head/net-mgmt/wifimgr/pkg-plist Fri May 16 21:32:51 2014 (r354268) @@ -1,5 +1,7 @@ bin/wifimgr +@mode 4511 libexec/wifimgrsu +@mode man/man8/wifimgr.8.gz %%DATADIR%%/icons/eye.png %%DATADIR%%/icons/freebsd-surf.png