From owner-freebsd-ports Mon Aug 9 21:20:46 1999 Delivered-To: freebsd-ports@freebsd.org Received: from neptune.psn.net (neptune.psn.net [207.211.58.16]) by hub.freebsd.org (Postfix) with ESMTP id 3B9BB14C12 for ; Mon, 9 Aug 1999 21:20:43 -0700 (PDT) (envelope-from andrews@technologist.com) Received: from 5042-243.008.popsite.net ([209.224.140.243] helo=shadow.blackdawn.com) by neptune.psn.net with esmtp (PSN Internet Service 2.12 #3) for ports@FreeBSD.ORG id 11E3MZ-0004Bd-00; Mon, 9 Aug 1999 21:18:12 -0700 Content-Length: 609 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199908100337.UAA42528@silvia.hip.berkeley.edu> Date: Tue, 10 Aug 1999 00:17:54 -0400 (EDT) Reply-To: Will Andrews From: Will Andrews To: ports@FreeBSD.ORG Subject: RE: bsd.port.mk update Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 10-Aug-99 Satoshi Asami wrote: > +.if !defined(EXTRACT_PRESERVE_OWNERSHIP) > + @if [ `id -u` = 0 ]; then \ @if [ `id -u` -eq 0 ]; then \ -eq is aritmetic, = is for strings. (although it'd work anyhow.) > + ${CHMOD} -R ug-s ${WRKDIR}; \ > + ${CHOWN} -R 0:0 ${WRKDIR}; \ > + fi > +.endif I'm still not sure it's such a great idea to change suid/sgid permissions on a port.. although I suppose if the porter has enough clue, he/she will add the line: EXTRACT_PRESERVE_OWNERSHIP= YES to the Makefile... (rambling..) -- Will Andrews To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message