From owner-freebsd-ports@FreeBSD.ORG Fri Nov 8 10:23:48 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 567182D9 for ; Fri, 8 Nov 2013 10:23:48 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 30A3C2F63 for ; Fri, 8 Nov 2013 10:23:48 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id ld10so2036299pab.10 for ; Fri, 08 Nov 2013 02:23:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Q3BwN6J/Nfh2s+zRlhRgMq8WcGDVDYmwVBGL7DJ1fS0=; b=V+7Nd+gLE9N3A6WtODyOeCKROsaQqXwmYd7jCUlmZdTgaAUNxQOQQL72Pw3saL5IwF fbUEIxJAty/WdG6vu8k+bymiBKFr4bTKgIsGliJMnwPMW+TmiQvn6BUwclzUoyi4xVI5 0n2Rzc1qcpWMgfp5CjAYm4F5e1TUCWbMNw8d6NuhPrchiU/wMDMVQPzr8cprmlsRB8K7 866l4kwCha9g79sHKfUk9jP3Ef37MReCxFQR57e0p6ArAIxwV8UGHmawq89WywhKjkl3 SU5vJYfUpUT3eoC7MEQWlQ5FIFCTn4lhop53A3P2D6pXgTScZVquIOwKq+0KSjhBOkbK llXw== MIME-Version: 1.0 X-Received: by 10.66.218.10 with SMTP id pc10mr14545178pac.111.1383906227814; Fri, 08 Nov 2013 02:23:47 -0800 (PST) Received: by 10.68.185.130 with HTTP; Fri, 8 Nov 2013 02:23:47 -0800 (PST) In-Reply-To: References: Date: Fri, 8 Nov 2013 05:23:47 -0500 Message-ID: Subject: Re: how to tell pkg-list not to deinstall/overwrite certain files From: Aryeh Friedman To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2013 10:23:48 -0000 Forgot to mention the solution should if at all possible be 100% pkg-plist based because our internal build system is not make On Fri, Nov 8, 2013 at 5:21 AM, Aryeh Friedman wrote: > I am doing a lot of inter-machine testing of a private port (will be > released soon as a actual port) but need to tell "make deinstall" not to > delete a certain file... how do we do this?... background one thing we are > testing is the ability to upgrade the port (privately) and it must not nuke > our settings file on the test machines because the default config provided > by our port is inappropriate for how we have things configured (it is > correct for 99.9% of everyone else though). > > Namely we need: > > 1. Do not delete /usr/local/etc/petitecloud/settings on deinstall > 2. Do not overwrite it with a new version on install (if present else > install it) >