From owner-freebsd-ports@freebsd.org Mon Oct 19 13:56:19 2015 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 83B66A1858E for ; Mon, 19 Oct 2015 13:56:19 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) 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 642863CB for ; Mon, 19 Oct 2015 13:56:19 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 60F81A1858B; Mon, 19 Oct 2015 13:56:19 +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 6096CA18589 for ; Mon, 19 Oct 2015 13:56:19 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED8F43CA for ; Mon, 19 Oct 2015 13:56:18 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wicll6 with SMTP id ll6so7030653wic.0 for ; Mon, 19 Oct 2015 06:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=c6Bo45G80ereNgAaEhPf/6tWs3bDCf2L4yQM6/CplSE=; b=zdRtmKH4WCcDM6OPG0h/+6m4q/BR6QDTFC+TZCE6jO7dc6g7WWqCZpo9SLWTMc+mVu 2ACGtZx5BlDNedXq8A5l6GsjZSX9q3YHJBZD9pHxiWudZbGjIxyzOeIutYNiatHuhfzX xAVzTZ5nOk7plehxNwwof0odQYmupLp0lhSAshTkNz6OHQMwcAW7hKqw9DnE+2dH3yXL RMD04j4iNk1XljF8pFyMw4i6bkDvII97RN1rO0296SjHgxOM3kl7hnmG8VKXq+8dyhYQ a3jy1Z5PKw5nEdKcDFK7/imHSP3ooHWkzrVD9mlgb278i4xkTm+XRWORIOWP57AUefVB lcXQ== X-Received: by 10.194.10.162 with SMTP id j2mr33989521wjb.43.1445262977242; Mon, 19 Oct 2015 06:56:17 -0700 (PDT) Received: from gumby.homeunix.com ([90.195.214.153]) by smtp.gmail.com with ESMTPSA id q1sm40385086wje.39.2015.10.19.06.56.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Oct 2015 06:56:16 -0700 (PDT) Date: Mon, 19 Oct 2015 14:56:11 +0100 From: RW To: ports@freebsd.org Subject: Re: distfiles cleaner Message-ID: <20151019145611.459045c5@gumby.homeunix.com> In-Reply-To: <201510191216.t9JCGb1r028327@fire.js.berklix.net> References: <201510191216.t9JCGb1r028327@fire.js.berklix.net> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 13:56:19 -0000 On Mon, 19 Oct 2015 14:16:37 +0200 Julian H. Stacey wrote: > Hi ports@ > What is the modern equivalent of this obsolete stuff please ? > > http://www.freebsd.org/cgi/man.cgi?query=portsclean&sektion=1&apropos=0&manpath=FreeBSD+9.0-RELEASE+and+Ports > portsclean --distclean > Clean out all the distfiles that are not referenced by any > port in the ports tree. > > https://wiki.freebsd.org/portupgrade > Portupgrade (aka pkgtools) > last edited 2012-08-01 Why are you looking at the wiki? The code was updated only a few months ago? https://svnweb.freebsd.org/ports/head/ports-mgmt/portupgrade/ I think the case for portupgrade and portsclean is now much stronger than it was before they were fully converted to pkg. That removed all the problems associated with maintaining a secondary database. The conversion to pkg replaced portmaster's best code and portupgrade's worst. BTW I recently switched from distviper to portsclean. I used to prefer distviper because of its speed, but that speed comes from assuming that all distinfo files are called distinfo, which isn't true. I found it was unconditionally removing the files for linux ports. It's also never been converted to pkg which breaks its fast mode.