From owner-freebsd-ports@FreeBSD.ORG Wed Jun 11 23:29:12 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 161DB1065747 for ; Wed, 11 Jun 2008 23:29:12 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id C440E8FC1B for ; Wed, 11 Jun 2008 23:29:11 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id C2C0C114B33; Wed, 11 Jun 2008 19:29:10 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Wed, 11 Jun 2008 19:29:10 -0400 X-Sasl-enc: +h9pfjQ6mMnDUwlT+MVFch4rjC3aVM0T7QIPz2xl83dT 1213226950 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id 4EB29280E5; Wed, 11 Jun 2008 19:29:10 -0400 (EDT) Message-Id: From: Jeffrey Goldberg To: Peter Pentchev In-Reply-To: <20080610152417.GA1045@straylight.m.ringlet.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Date: Wed, 11 Jun 2008 18:29:08 -0500 References: <20080610005448.GC58305@shepherd> <20080610152417.GA1045@straylight.m.ringlet.net> X-Mailer: Apple Mail (2.924) Cc: freebsd-ports@freebsd.org Subject: Re: Where should "contrib" scripts and utilities be installed? 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: Wed, 11 Jun 2008 23:29:12 -0000 On Jun 10, 2008, at 10:24 AM, Peter Pentchev wrote: > On Mon, Jun 09, 2008 at 08:54:49PM -0400, Sahil Tandon wrote: >> The existence of ports with a "-contrib" suffix suggests you may >> need to >> create a distinct port for the contrib files. databases/postgresql- >> contrib, >> for example. > Actually, that is not strictly necessary. There are other ports that > do things in slightly different ways: > - some things in contrib/ are merely documentation snippets that > belong in share/doc/$PACKAGE, as Jeffery suggested > - some things in contrib/ are sample additions, implementations, > clients, > add-ons and such that *might* belong in share/examples/$PACKAGE > - some things in contrib/ are scripts, clients, add-ons and such that > might also belong in libexec/$PACKAGE (if they are executable files) > or share/$PACKAGE (if they are not... I can't think of any examples > right now, but there might be) > - some things in contrib/ are really best left in a separate port :) I was hoping that I wouldn't have to think at all. Now it looks like I will have to think about where each bit belongs. Oh, well. > For rsnapshot itself - erm, I don't see a contrib/ directory in > its source; do you mean the utils/ directory, or are you looking at > some version that is not in the Ports Collection yet? :) Sorry. Yes, I was thinking of the utils directory. > If it is > utils/ that you mean, then, well, it's actually your choice - the > things > there seem to be little scripts that may live in $EXAMPLESDIR, may > live in libexec/rsnapshot/, and may live in a separate rsnapshot-utils > port. Either way would be fine, at least IMHO. OK. I'll just pick one and send the pr to the port maintainer who may pick some other location. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/