From owner-svn-ports-head@FreeBSD.ORG Fri Sep 12 16:56:49 2014 Return-Path: Delivered-To: svn-ports-head@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 3E347610; Fri, 12 Sep 2014 16:56:49 +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 296D4B0C; Fri, 12 Sep 2014 16:56:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8CGun9p041777; Fri, 12 Sep 2014 16:56:49 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8CGunBV041776; Fri, 12 Sep 2014 16:56:49 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409121656.s8CGunBV041776@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Fri, 12 Sep 2014 16:56:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368046 - head/www/lilurl 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.18-1 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, 12 Sep 2014 16:56:49 -0000 Author: antoine Date: Fri Sep 12 16:56:48 2014 New Revision: 368046 URL: http://svnweb.freebsd.org/changeset/ports/368046 QAT: https://qat.redports.org/buildarchive/r368046/ Log: - Allow staging as a regular user - Bump portrevision as files were not packaged with intended owner Modified: head/www/lilurl/Makefile Modified: head/www/lilurl/Makefile ============================================================================== --- head/www/lilurl/Makefile Fri Sep 12 16:45:35 2014 (r368045) +++ head/www/lilurl/Makefile Fri Sep 12 16:56:48 2014 (r368046) @@ -3,6 +3,7 @@ PORTNAME= lilurl PORTVERSION= 0.1.1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}.tar.gz @@ -19,25 +20,24 @@ PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message PLIST= ${WRKDIR}/pkg-plist -.include - post-extract: @${MV} ${WRKSRC}/includes/conf.php ${WRKSRC}/includes/conf.php.sample pre-install: + @${ECHO_CMD} -e "@owner ${WWWOWN}\n@group ${WWWGRP}" > ${PLIST} @cd ${WRKSRC} && ${FIND} -s . -type f | \ - ${SED} -e 's|^./||;s|^|${LILURL_DIR}/|' > ${PLIST} \ + ${SED} -e 's|^./||;s|^|${LILURL_DIR}/|' >> ${PLIST} \ && ${FIND} -d * -type d | \ ${SED} -e 's|^|@dirrm ${LILURL_DIR}/|' >> ${PLIST} \ && ${ECHO_CMD} @dirrm ${LILURL_DIR} >> ${PLIST} + @${ECHO_CMD} -e "@owner root\n@group wheel" >> ${PLIST} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${LILURL_DIR} @${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${LILURL_DIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${LILURL_DIR} post-install: @${SED} -e 's,%%PREFIX%%,${PREFIX},; s,%%LILURL_DIR%%,${LILURL_DIR},g' \ ${PKGMESSAGE} -.include +.include