From owner-freebsd-ports-bugs@freebsd.org  Fri Jun 29 23:38:33 2018
Return-Path: <owner-freebsd-ports-bugs@freebsd.org>
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 279B5FD382A
 for <freebsd-ports-bugs@mailman.ysv.freebsd.org>;
 Fri, 29 Jun 2018 23:38:33 +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 B40F78140B
 for <freebsd-ports-bugs@freebsd.org>; Fri, 29 Jun 2018 23:38:32 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: by mailman.ysv.freebsd.org (Postfix)
 id 71CA3FD3829; Fri, 29 Jun 2018 23:38:32 +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 6016DFD3827
 for <ports-bugs@mailman.ysv.freebsd.org>; Fri, 29 Jun 2018 23:38:32 +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 F258681404
 for <ports-bugs@FreeBSD.org>; Fri, 29 Jun 2018 23:38:31 +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 3DD759CA4
 for <ports-bugs@FreeBSD.org>; Fri, 29 Jun 2018 23:38:31 +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 w5TNcVub004312
 for <ports-bugs@FreeBSD.org>; Fri, 29 Jun 2018 23:38:31 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
 by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5TNcV68004311
 for ports-bugs@FreeBSD.org; Fri, 29 Jun 2018 23:38:31 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: Fri, 29 Jun 2018 23:38:31 +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: <bug-227600-7788-aKTWExsZ0j@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227600-7788@https.bugs.freebsd.org/bugzilla/>
References: <bug-227600-7788@https.bugs.freebsd.org/bugzilla/>
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 <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jun 2018 23:38:33 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227600

--- Comment #7 from freebsd@dreamchaser.org ---
(In reply to Kurt Jaeger from comment #6)
I don't think it's appropriate to rely on a particular ports-mgmt tool in t=
he
explanation, particularly given there are different tools in use by differe=
nt
people.

In any case, the problem is not so much creating a new port from scratch but
tweaking an existing port.  As explained in comments 3 & 4, one should be u=
sing
the "makesum" target rather than the "fetch" target when trying to fetch wh=
en
the port skeleton (e.g. makefile and distinfo) is inconsistent.

Perhaps 4.1 #1 could additionally say something like=20

Note: If executing port build stages individually, the fetch target will fa=
il
if distinfo exists and does not match the distfile to be fetched.  In this
case, the makesum target should be run instead.  It will fetch the new dist=
file
first, then replace distinfo with the appropriate checksum regardless of wh=
at
was in distinfo before.

--=20
You are receiving this mail because:
You are the assignee for the bug.=