From owner-cvs-ports Tue Jun 3 03:31:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA20722 for cvs-ports-outgoing; Tue, 3 Jun 1997 03:31:14 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (ala-ca32-09.ix.netcom.com [199.35.209.73]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA20619; Tue, 3 Jun 1997 03:29:36 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.5/8.6.9) id DAA01048; Tue, 3 Jun 1997 03:29:28 -0700 (PDT) Date: Tue, 3 Jun 1997 03:29:28 -0700 (PDT) Message-Id: <199706031029.DAA01048@silvia.HIP.Berkeley.EDU> To: james@nexis.net CC: cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-ports@freebsd.org In-reply-to: (message from James FitzGibbon on Tue, 3 Jun 1997 05:58:16 -0400 (EDT)) Subject: Re: cvs commit: ports/news/diablo - Imported sources From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-cvs-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * Technically, it's "has to change user news". It needs to set the path for * the user, and account for people who may have removed and/or changed the * path and shell of that user. It seems to me that you are doing it all from a script (my passwd file now says news is "The Diablo News System"). ;) What you should probably do is change this to pkg/REQ or something so package users can use it too. I recommend you add a question at the beginning about changing the environment of user news. Please condition it on "BATCH" being defined and pass ${SCRIPTS_ENV} to it when you call it from pre-install (see bsd.port.mk). Satoshi