From owner-freebsd-ports@FreeBSD.ORG Wed Jan 12 14:58:51 2005 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 612D816A4CF for ; Wed, 12 Jan 2005 14:58:51 +0000 (GMT) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 6C4B943D49 for ; Wed, 12 Jan 2005 14:58:50 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 26863 invoked from network); 12 Jan 2005 14:55:09 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 12 Jan 2005 14:55:09 -0000 Received: (qmail 2571 invoked by uid 89); 12 Jan 2005 14:59:00 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 12 Jan 2005 14:59:00 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id B87EF11611; Wed, 12 Jan 2005 16:58:10 +0200 (EET) Date: Wed, 12 Jan 2005 16:58:10 +0200 From: Ion-Mihai Tetcu To: Adi Pircalabu Message-ID: <20050112165810.07364fcd@it.buh.tecnik93.com> In-Reply-To: <20050112152102.57fc843a@apircalabu.dsd.ro> References: <20050112152102.57fc843a@apircalabu.dsd.ro> X-Mailer: Sylpheed-Claws 0.9.13 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: Security port: automated integration in the mail/file server - to do or not to do ? 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: Wed, 12 Jan 2005 14:58:51 -0000 On Wed, 12 Jan 2005 15:21:02 +0200 Adi Pircalabu wrote: > Hello, > > I'm working for a security port and I noticed that none of the existing > ones integrate their filters automatically after install, regardless of > the agent they are installed for. Instead, every port gives (usually > from pkg-message) the necessary information on how to integrate the > filter. > My question is: what is the right FreeBSD way to handle this filter > integration issue? I definitely see two options: > 1. automatic integration of the filter (probably from pkg-plist or > pkg-install), including the needed changes in agent's configuration. > 2. the integration should be done by the user using the information > provided in post install messages. While I try to make my ports as user friendly and automated as possible, I would vote for 2) above. I hate when something just changes on my system without me telling it to do so explicitly; plus I could very well install the port today and wait to the end of the week to switch it on for testing; plus there will always be some strange edge cases when you'll just break some custom configuration. Eventually (if possible, since I didn't saw that Makefile ;) ) if you can somehow integrated the required changes but not activate them (e.g. an rc script and a portname_enable="YES" that one should set to activate them). And BTW one would be able to run (part of) that "security port" as a nice postfix queue filter without having to scratch its left left side with the right foot, right ? :) -- IOnut Unregistered ;) FreeBSD "user"