From owner-freebsd-ports@freebsd.org Fri Jul 1 10:47:35 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2613B8E25C for ; Fri, 1 Jul 2016 10:47:35 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BE3CA2D37 for ; Fri, 1 Jul 2016 10:47:35 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: by mailman.ysv.freebsd.org (Postfix) id BD803B8E25B; Fri, 1 Jul 2016 10:47:35 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAE39B8E25A for ; Fri, 1 Jul 2016 10:47:35 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 787472D35 for ; Fri, 1 Jul 2016 10:47:34 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B8E7F28478; Fri, 1 Jul 2016 12:47:25 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 938B728452; Fri, 1 Jul 2016 12:47:24 +0200 (CEST) Message-ID: <57764A3C.5000609@quip.cz> Date: Fri, 01 Jul 2016 12:47:24 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Matthias Fechner , ports@freebsd.org Subject: Re: Remove options from poudriere option files for ports which were removed in the port References: <71272a33-1a98-47a1-394d-725def6282a5@fechner.net> In-Reply-To: <71272a33-1a98-47a1-394d-725def6282a5@fechner.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2016 10:47:35 -0000 Matthias Fechner wrote on 07/01/2016 12:17: > 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 I don't think it's worth the effort. The old no longer existent options stored in the options files are harmless and simply unused by the ports Makefile. The options files are not intended to be user editable / viewable. The old options will be removed when some changes will be saved. And I am not sure that this is a problem of poudriere. I think it's rather issue in ports options framework. Isn't it? Miroslav Lachman