From owner-freebsd-ports-bugs@freebsd.org Tue Jun 5 14:45:56 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB629FE5D97 for ; Tue, 5 Jun 2018 14:45:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 DD7957C7DE for ; Tue, 5 Jun 2018 14:45:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 88377FE5D92; Tue, 5 Jun 2018 14:45:54 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3ABDFFE5D91 for ; Tue, 5 Jun 2018 14:45:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A89517C7D8 for ; Tue, 5 Jun 2018 14:45:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E6E441AB77 for ; Tue, 5 Jun 2018 14:45:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w55Ejqmq037430 for ; Tue, 5 Jun 2018 14:45:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w55EjqWw037429 for ports-bugs@FreeBSD.org; Tue, 5 Jun 2018 14:45:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 227600] porter's handbook: use of distinfo Date: Tue, 05 Jun 2018 14:45:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@dreamchaser.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 14:45:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227600 --- Comment #4 from freebsd@dreamchaser.org --- (In reply to Tobias Kortkamp from comment #3) >> However, if one is updating a port, one needs to do the fetch before one= can >> run make makesum to produce an up-to-date version of distinfo. But one = can't >> do the fetch if a distinfo is lying around.=20 >=20 > This is incorrect. Let me try and clarify. >=20 > If you change PORTVERSION/DISTNAME/DISTFILES/... and then run `make > makesum` the new distfiles are fetched first and distinfo is replaced > with their checksums irregardless of what was in distinfo before. > You do *not* have to run `make fetch` first. >=20 > 'makesum' is the target you should use as a maintainer not 'fetch'. >=20 > Can you add a link to the section of the Porter's Handbook that you find > problematic? Ok, so what you're saying is one should not stepwise run make fetch and then make makesum; that's not clear from section 4.1, "How things work". 3.3 on building a new port implies the porter is responsible for updating distinfo by running make makesum after obtaining the source. Section 4.1 #1 is the part which could be expanded to explain more of how things work. --=20 You are receiving this mail because: You are the assignee for the bug.=