From owner-freebsd-ports@FreeBSD.ORG Thu Apr 22 15:12:32 2010 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 895F71065670 for ; Thu, 22 Apr 2010 15:12:32 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 248908FC21 for ; Thu, 22 Apr 2010 15:12:31 +0000 (UTC) Received: by wwa36 with SMTP id 36so5513996wwa.13 for ; Thu, 22 Apr 2010 08:12:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:received :message-id:subject:from:to:cc:content-type; bh=+Uf95iXbPNOBi46LQv0yCrLTWjhZ/vi/9fCuPe3meSw=; b=J0hcxRkc0au4r2UCLGdiClhiEAnQ8Ni/wzXRl0ozPNOtiOHmWBg/u5EEIzHspUQWhs QJYsuyAEugFwirgm2o9BELyFw4IMPBb7vDkY4YEIVtXhQCILQbYEDxb4POfP1XYfpKed eJYiYF2WfHMso8w8zEwrwoejr1W6gJEkAFZBE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=Cs0660x9NMKF0aau5JE8hSulWrY1KTlOPO44UXJ/g44OiPrBZyt2tGhtq3z4EZQ5Vz yaaJWBkPa64hYCMQ7jDoEBVcVcAnddp3Oo0nOcX5kIQYU8lZRdT/TvKHYgKPzmpVhjA5 OFCvb9bfaPsjsdbjGq6LlgbvAUDpDoqoVKa4g= MIME-Version: 1.0 Received: by 10.216.229.165 with HTTP; Thu, 22 Apr 2010 08:12:30 -0700 (PDT) Date: Thu, 22 Apr 2010 11:12:30 -0400 Received: by 10.216.87.16 with SMTP id x16mr2349588wee.27.1271949150902; Thu, 22 Apr 2010 08:12:30 -0700 (PDT) Message-ID: From: "b. f." To: freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: rfarmer@predatorlabs.net Subject: Re: Dynamic plists X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 15:12:32 -0000 >On Wed, 21 Apr 2010, Rob Farmer wrote: > >> I maintain math/scilab and am preparing to update it. This port has a >> huge plist (slightly under 15000 lines), hundreds of which change >> depending on what options are selected. It is a bit of a pain to >> update. The porters handbook makes vague reference to dynamic plists - >> so I was wondering, would this be a good idea? And if so, what is the >> best way to make one? > >The reference is vague probably because static plists are generally >preferred. :-) But you can start by studying ports that pipe to >${TMPPLIST}; grep through the tree to find them. Also be sure to review >the "advanced pkg-plist practices" section of the Porter's Handbook. Some of these static plists are a bit unwieldy, but they make things a lot easier for users who want to reconstruct a corrupted /var/db/pkg, or for maintainers who are trying to search for possible CONFLICTS between ports, so I hope that you will continue to use one. There are some utilities in Ports to help maintain plists: ports-mgmt/genplist ports-mgmt/pkg_trackinst ports-mgmt/porttools Tools/scripts/plist etc. Regards, b.