From owner-freebsd-ports@FreeBSD.ORG Sun Jan 15 07:59:16 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 3756916A41F for ; Sun, 15 Jan 2006 07:59:16 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mail2.fluidhosting.com [204.14.90.12]) by mx1.FreeBSD.org (Postfix) with SMTP id A3D0343D48 for ; Sun, 15 Jan 2006 07:59:15 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 24454 invoked by uid 399); 15 Jan 2006 07:59:14 -0000 Received: from localhost (HELO ?192.168.1.101?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 15 Jan 2006 07:59:14 -0000 Message-ID: <43CA00D1.40003@FreeBSD.org> Date: Sat, 14 Jan 2006 23:59:13 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: Paul Schmehl References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Optional patching? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2006 07:59:16 -0000 Paul Schmehl wrote: > I have an interesting situation. I maintain the security/barnyard port. > It's used for several things, one of which is sguil. (I'm working on > new ports for that as well.) Barnyard includes a plugin for sguil, > named op_sguil.plugin. > > The sguil developers have changed the way they gather data for the > newest release, 0.6.x. The new release requires that you patch barnyard > to update the op_sguil.plugin. However, people who are still running > the older versions of sguil; 0.5.x cannot use the new, patched version > of the op_sguil.plugin. > > My question is, is it possible to make a patch optional? Yes, that information is in the porter's handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html However, given the situation you described, I would suggest that you instead add a new port for "barnyard plus squil support" as a slave to the barnyard port, and include the patch there. Don't forget to add CONFLICTS to each as appropriate. hth, Doug -- This .signature sanitized for your protection