Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jul 2016 13:39:53 +0300
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        Matthias Fechner <idefix@fechner.net>
Cc:        FreeBSD Ports <ports@freebsd.org>
Subject:   Re: Remove options from poudriere option files for ports which were removed in the port
Message-ID:  <CA%2B7WWSd2R=JVFV0OjDpahiAkBq891=fDCc0Hr10PZ8nS_pOYiA@mail.gmail.com>
In-Reply-To: <71272a33-1a98-47a1-394d-725def6282a5@fechner.net>
References:  <71272a33-1a98-47a1-394d-725def6282a5@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 1, 2016 at 1:17 PM, Matthias Fechner <idefix@fechner.net> wrote=
:
> Dear all,
>
> it seems that poudriere can only add new options to its own options
> tracking, but cannot remove options that where removed from the Makefile
> of the port.
>
> Concrete example is for mail/postfix
>
> The option SPF was removed (2016-02-28):
> https://www.freshports.org/mail/postfix/
>
> But if I execute:
> poudriere options -j 103amd64 -f 103amd64-pkglist
>
> it will not remove the option from the options file:
> 103amd64-options/mail_postfix/options
>
> Is there a possibility to clean up all the option files without starting
> again at zero with:
> poudriere options -c -j 103amd64 -f 103amd64-pkglist
>
> Thanks.
>
>
> Gru=C3=9F
> Matthias
>

This is not a feature/bug of poudriere but of the ports system itself.
There's no tracking of obsoleted or removed options and no clever
methods to clean them up. It's only when you remove the options with
'make rmconfig' and rewrite them again trough the options dialog the
obsoleted ones will be gone.

-Kimmo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSd2R=JVFV0OjDpahiAkBq891=fDCc0Hr10PZ8nS_pOYiA>