Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 13:25:57 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        freebsd@dreamchaser.org
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: portmaster -- preserving added files?
Message-ID:  <CACdU%2Bf_o74uCw44qKH6RV4poufY0mRMRd903djyNQP7DgHu7tw@mail.gmail.com>
In-Reply-To: <5244625E.3070108@dreamchaser.org>
References:  <5244625E.3070108@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 26, 2013 at 11:35 AM, Gary Aitken <freebsd@dreamchaser.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf_o74uCw44qKH6RV4poufY0mRMRd903djyNQP7DgHu7tw>