From owner-svn-ports-head@FreeBSD.ORG Wed Sep 3 22:24:23 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 38147883; Wed, 3 Sep 2014 22:24:23 +0000 (UTC) Received: from smtpout1.timeweb.ru (smtpout1.timeweb.ru [92.53.117.15]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E98A81EFE; Wed, 3 Sep 2014 22:24:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=amdmi3.ru; s=dkim; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=rbS48H7Gd6dFEau1LYVf7yd66UJq8iFaO4758SGtMng=; b=lROP+qkc62R0ntp3ATZkdPEgT1ozw7Wux/331kt6Q/iNcxPNd5K2XGb4X7urr+MgPcpZOAmwIwJdW+wBbYNzzv443t6Qphj1HvnvUJAbBCYG/86tnB5QQXV46xHh14f9CWYqr5PAZYf1Mh0SYS6ShKJlihTKEquA45/ixx0faD8=; Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1XPIyK-0003Cc-VU; Thu, 04 Sep 2014 02:24:12 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 8CA8EE11; Thu, 4 Sep 2014 02:24:12 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 75ACB33A37; Thu, 4 Sep 2014 02:24:12 +0400 (MSK) Date: Thu, 4 Sep 2014 02:24:12 +0400 From: Dmitry Marakasov To: Adam Weinberger Subject: Re: svn commit: r362826 - head/games/xrot Message-ID: <20140903222412.GB43982@hades.panopticon> References: <201407241624.s6OGO5CS028298@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201407241624.s6OGO5CS028298@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org 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: Wed, 03 Sep 2014 22:24:23 -0000 * Adam Weinberger (adamw@FreeBSD.org) wrote: Was there a reason for a sticky bit and u+w on a binary? If no, I'd like to change it to more common and expectable 2555. > Author: adamw > Date: Thu Jul 24 16:24:05 2014 > New Revision: 362826 > URL: http://svnweb.freebsd.org/changeset/ports/362826 > QAT: https://qat.redports.org/buildarchive/r362826/ > > Log: > Stage, and move pkg-install into the plist to handle modifying > files outside of $PREFIX correctly. > > Added: > head/games/xrot/pkg-plist (contents, props changed) > Deleted: > head/games/xrot/pkg-install > Modified: > head/games/xrot/Makefile > > Modified: head/games/xrot/Makefile > ============================================================================== > --- head/games/xrot/Makefile Thu Jul 24 16:22:57 2014 (r362825) > +++ head/games/xrot/Makefile Thu Jul 24 16:24:05 2014 (r362826) > @@ -23,13 +23,9 @@ USE_XORG= xpm > ALL_TARGET= xrot > CFLAGS+= -Wno-return-type > > -PLIST_FILES= bin/xrot > - > -NO_STAGE= yes > do-install: > - ${INSTALL_PROGRAM} ${WRKSRC}/xrot ${PREFIX}/bin > - ${CHOWN} root:games ${PREFIX}/bin/xrot > - ${CHMOD} g+s ${PREFIX}/bin/xrot > - ${SH} pkg-install ${PKGNAME} POST-INSTALL > + ${INSTALL_PROGRAM} ${WRKSRC}/xrot ${STAGEDIR}${PREFIX}/bin > + @${MKDIR} ${STAGEDIR}/var/games > + ${TOUCH} ${STAGEDIR}/var/games/xrot.scores.sample > > .include > > Added: head/games/xrot/pkg-plist > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/games/xrot/pkg-plist Thu Jul 24 16:24:05 2014 (r362826) > @@ -0,0 +1,9 @@ > +@group games > +@mode 3755 > +bin/xrot > +@mode > +@cwd / > +@sample var/games/xrot.scores.sample > +@exec chmod 664 %B/%f > +@group > +@dirrmtry var/games -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru