From owner-freebsd-ports Wed Feb 27 12: 1: 8 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 06FEB37B402 for ; Wed, 27 Feb 2002 12:01:05 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g1RK13ll115128; Wed, 27 Feb 2002 15:01:03 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20020227060451.3C49037B443@hub.freebsd.org> References: <20020227040423.B503A37B402@hub.freebsd.org> <20020227041200.GA44309@wwweasel.geeksrus.net> <20020227060451.3C49037B443@hub.freebsd.org> Date: Wed, 27 Feb 2002 15:01:02 -0500 To: "Peter W. Schmiedeskamp" , Alan Eldridge From: Garance A Drosihn Subject: Re: porting question. Cc: freebsd-ports@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 11:03 PM -0700 2/26/02, Peter W. Schmiedeskamp wrote: >Can anyone reccommend a good default umask value for porting, >and how I should go about setting that (it looks like I set >the umask of a process, but I'm not sure how I would go about >that in the Makefile) You do not want to set a umask. Well, actually, you probably do, for your own benefit, but that is not how you should fix the port. To fix the port, you should specify an explicit "mode" that each file should be installed with. If you look in the Makefile for some other ports, you will probably see things like: $(INSTALL) -m $(SOMETHING) name name $(DESTDIR)$(bindir) The '-m' will set the mode of the files as they are installed. (this is in the makefile for the program itself, ie, inside the work/* directory -- not the makefile at the "port level"). -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message