From owner-freebsd-questions@FreeBSD.ORG Mon May 25 02:13:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EA9E1065670 for ; Mon, 25 May 2009 02:13:17 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-ew0-f159.google.com (mail-ew0-f159.google.com [209.85.219.159]) by mx1.freebsd.org (Postfix) with ESMTP id 224EA8FC14 for ; Mon, 25 May 2009 02:13:16 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: by ewy3 with SMTP id 3so2964004ewy.43 for ; Sun, 24 May 2009 19:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=wbx4K58LTqNes1vcVghFz/2qB+nLWfuJowRGCCA2nCU=; b=idpEj7s0txVsiACgMVD4GcY6CQGNhRZRpIb28/3tbL4OaI+nCUo/dAI81eIiVdD8lL IqTH740xPPCgOpBwlHR74hdoOUeDBoIB0SH39g28iY1q+AZAc6hMz6XaAo+Fk8GeVtt0 aOe2gy1AgIIMK6Wz7KcJ8XEUngcySM8Antt2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=fOu1TpXgT7L8OBjk+KQWz9RcSD43WFMOGVDVpA1FtAj00t+VmweXSbV/2VwFLXqkiT oXKBngpFaUljYnOQXRMVwA3xMh6a4QGggM06ahWTI6N+fdEuSnwqWleLYcJ3+SgFfl4B BlZhl3h1prTUpnQC0gl2Gp3UxC8wCYYtfsVVY= MIME-Version: 1.0 Received: by 10.216.52.204 with SMTP id e54mr1243939wec.171.1243217596107; Sun, 24 May 2009 19:13:16 -0700 (PDT) In-Reply-To: <20090524123153.GF10317@ismet.erje.net> References: <20090524123153.GF10317@ismet.erje.net> From: APseudoUtopia Date: Sun, 24 May 2009 22:12:56 -0400 Message-ID: <27ade5280905241912t8bbdecer84f52b17038e80d4@mail.gmail.com> To: Robert Joosten Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: silly Q: any script running before make install /w ports ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 02:13:17 -0000 On Sun, May 24, 2009 at 8:31 AM, Robert Joosten wrote: > Hi, > > I have a standard umask of 0077 on a box. > > I grabbed irssi from ports, but he doesn't connect to any irc server... > running it as root will. Now I suspect that umask setting of mine. > > That leaves me with a silly question: is there any script running before I > enter 'make install' ? I cannot find it in the dev. section of the > handbook about creating ports. > > Regards, > Robert I've had the same problem. Not with irssi, but with other pieces of software from the ports collection. I've just gotten into the habit of running `umask 0022` before I use portmaster, then `umask 0077` afterwords. I don't think there's any way to automatically run a certain command/script before compiling or installing a port.