From owner-freebsd-ports@FreeBSD.ORG Thu Jan 8 07:35:16 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A3E616A4CE; Thu, 8 Jan 2004 07:35:16 -0800 (PST) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id A72C243D5A; Thu, 8 Jan 2004 07:35:14 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd00.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1AecBl-0000I0-01; Thu, 08 Jan 2004 16:35:13 +0100 Received: from Andro-Beta.Leidinger.net (VahXWBZfweiiuwzLjHNBvl-es-UqcIsZ3Yv309MXyXqwDh-dii0Zsa@[217.83.29.13]) by fmrl00.sul.t-online.com with esmtp id 1AecA7-0fpuLI0; Thu, 8 Jan 2004 16:33:31 +0100 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) i08FXSJb046964; Thu, 8 Jan 2004 16:33:28 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (netchild@localhost [127.0.0.1]) i08FXf9f032762; Thu, 8 Jan 2004 16:33:41 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Thu, 8 Jan 2004 16:33:41 +0100 From: Alexander Leidinger To: Doug Barton Message-Id: <20040108163341.44a97df4@Magellan.Leidinger.net> In-Reply-To: <20040107133553.O59570@qbhto.arg> References: <200401070846.i078kppZ001556@odie.koellers.net> <20040107133553.O59570@qbhto.arg> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: VahXWBZfweiiuwzLjHNBvl-es-UqcIsZ3Yv309MXyXqwDh-dii0Zsa@t-dialin.net cc: "ports@FreeBSD.org" cc: Lars =?ISO-8859-1?Q?K=F6ller?= Subject: Re: Please reserve UID/GID for bacula port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 15:35:16 -0000 On Wed, 7 Jan 2004 13:48:42 -0800 (PST) Doug Barton wrote: > > Sorry, but I can't give you a number. But I think there is no > > "large percentage of our userbase" using it. Even some active FreeBSD > > user are on the bacula mailing list. > > Ok, then I like the idea of the port itself adding some lines to > /etc/services to accomodate this. As for the argument that they would > get deleted by (improper decisions made while using) mergemaster, it > would be up to the port author to make it clear ... something like: [example] > That way the user has a fighting chance of making the right mergemaster > decision, and the port has an easy way to delete those lines when its > uninstalled. What about unattended installs, or what if bacula is a dependency of another port. Typically I don't sit in front of the build and wait for it to finish. I do something else instead. So the chance of missing such lines is high. > There is precedent for ports writing stuff in /etc (/etc/shells for > one),, and since this is a case that's worth pursuing (as is saned), I > think it's definitely worth the "cost" of "polluting" the base with > ports stuff. /etc/shells is a different beast. People which use mergemaster and have another shell installed know about it. I'm not against changing files in /etc, but the user should know about it (POLA). What about a wrapper script which greps for bacula in /etc/services and starts the original bacula executable if it finds an entry and moans if not? It could tell the use to add the lines. And perhaps add a "addservice" target to the port makefile, which does it for the user if he want it (like those MTA makefiles which modify /etc/mail/mailer.conf upon request) and let the wrapper script explain how to use it ("make addservice"). Bye, Alexander. -- I will be available to get hired in April 2004. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7