From owner-freebsd-ports@FreeBSD.ORG Thu Sep 26 18:25:58 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 926612DD for ; Thu, 26 Sep 2013 18:25:58 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6E7532086 for ; Thu, 26 Sep 2013 18:25:58 +0000 (UTC) Received: by mail-pd0-f180.google.com with SMTP id y10so1504052pdj.25 for ; Thu, 26 Sep 2013 11:25:58 -0700 (PDT) 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 :cc:content-type; bh=FpWM7pD9sQwPoom5DlNxJauQt5m/Q/Smb9eoV9fIvNE=; b=YUAv513c4Lj8UVuIaqjOXIMfhblAmC5rZb7bvfsWEzK6oZOcRSmRQhaN2hLZ7iEIIU tq6a5PkTVOla4r0Pvo0WDypdc/JFH/1E8pPB52trf+s2QAPNiTh9qkbJvoQhhLl2JvZa K+Q5yqyfeaX/D7LAFr66FvVClPQfvnuZAYNfdJKpPCHuOgL6ZNtlA/KZLmPQtNUiCLKd cx7MWST/+nN2sVXjr5fI44lw5dinD3tCSMp81UbqachZLInDP3vE7NlR4eXEVHIdqzk9 wnimjjiB+fXjA/5awqAHykaKLynIZb/JeQRvJZIWlIh9zgd10aQKyWQyUbPyuSEK2fzD D2IQ== MIME-Version: 1.0 X-Received: by 10.66.170.168 with SMTP id an8mr7089578pac.58.1380219958031; Thu, 26 Sep 2013 11:25:58 -0700 (PDT) Received: by 10.70.98.197 with HTTP; Thu, 26 Sep 2013 11:25:57 -0700 (PDT) In-Reply-To: <5244625E.3070108@dreamchaser.org> References: <5244625E.3070108@dreamchaser.org> Date: Thu, 26 Sep 2013 13:25:57 -0500 Message-ID: Subject: Re: portmaster -- preserving added files? From: Scot Hetzel To: freebsd@dreamchaser.org Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List 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: Thu, 26 Sep 2013 18:25:58 -0000 On Thu, Sep 26, 2013 at 11:35 AM, Gary Aitken wrote: > Is portmaster supposed to retain files which it did not install when updating / > reinstalling a port? > > For example, jave extensions are normally installed by placing a jar file in > /usr/local/openjdk6/jre/lib/ext/ > > When reinstalling, these are wiped out. > At least I think that's what happened when I reinstalled. > > Seems like they should be (at least optionally) retained? > The problem is not with portmaster, as it runs the pkg or pkg_install commands to remove the port. If you have files that are missing after uninstalling a port, then you'll need to check what that port is doing. Most likely the port has a @dirrm instead of an @dirrmtry for that directory in it's pkg-plist file. I had a look at the java/openjdk6/Makefile, and it creates the list of directories to remove with @dirrm instead of @dirrmtry. So it looks like the issue is with java/openjdk6 removing that directory. Scot Scot