From nobody Fri Aug 25 23:09:17 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RXbHf6ppbz4qvtD for ; Fri, 25 Aug 2023 23:09:18 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RXbHf67hkz4Jvh for ; Fri, 25 Aug 2023 23:09:18 +0000 (UTC) (envelope-from leres@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693004958; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VseCWMS/r5zTKlesDbfi3UeSbW2/DxKtidAf6/jafiA=; b=XSe5vqVG6hM8+yVBxPBODMtKQ56sAMd+6xeXlBwtCQhdcvAjV/gLNzpNWKw7e5WalC9LOC HDm9Z94XWY/rn6LU9UVc3b4g3+oQfAzqraMicZUHJjsQUnKKMwvH7P8vlZD4TyZfgNI2OL X6vvAEp3hSNGmnpvpGkwXB1Pjgl3Jx5icJv+hyUtJb3IsaoCnVDYJ7x8xgARo2/mf8ymXg SVxs859LGL7WEpGyu68tHq1QqW1g57XBbdAqDGWHw/wGn43389oL4y7u9nSoJF/IwCGoWT TbTMarbeZdmBMvOfMG71tBQCMdIkKWa8pDiHlM2dQ78C0c4NALjpUe2Jr8BrHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693004958; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VseCWMS/r5zTKlesDbfi3UeSbW2/DxKtidAf6/jafiA=; b=qQfKYOM/8ZB3VjNTdDDHo7UZjiPHVuClPJLEM/XafIYXQ/JU70vsk2gWw/RFHyvgPEalEc VNsFS9+JmA6ZetFdTylGqf0nBMWXXbxFnP+vfkp8HSqDHzOTAaxaCyMMZR23mia+scIZjU yrp7ovUlHWk31XLGDSrMUObxc4VWaMkFIgD9Myn0rLpcC0OQpQgK5dI8ooP6alrURsvoie u3Htp8lfdlrAmbgHF9JGAR52ITz8XvlzKGBgl3JArzEsQrmnG6HT1p16s7m4Wg1u+rKlgN xgg6oN7E++fr85jMBoQHjX4YXleJ6LAQLQTXPzV9PPYBN+YRb2GpcpIpbtMVCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693004958; a=rsa-sha256; cv=none; b=J502gvZvkvntnwg7+nxquP34N2t8l6sShhH+o8TFtpOQ+8Q3dSbRffEEuKxKkp2mp8aSc4 wvGAGOb1wvDBs3434jpVbqPjEfw9PFO+bRRWUeEhOIXtM6gBP3gYvgZFsNug8Q6w0dUV98 5Nu8yyQsNCLipbEZ25fZu/YhyyY5+FWaI5gikXZgW97vaagaB4JRnSHb7cyUDqn5D2lnVm 6Mfd8DCUlONKm5yylXdNnuKYqzIF5gPbLcEKBOJLRf0T8iXQo3n5xvOg3Zh+rK/nQ+6fYn IosO16NL0P4Y5sBMwHd3y2LfbW0qP80hY3g6ZCKGeFaLT19tJAIsPaIfx3upRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from [IPV6:fd:1965::2] (unknown [IPv6:2600:1700:ab1b:6800::48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: leres) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RXbHf41PHz8n2 for ; Fri, 25 Aug 2023 23:09:18 +0000 (UTC) (envelope-from leres@freebsd.org) Message-ID: <56d5e798-9bb4-ca9a-5fbf-59a7b17a334b@freebsd.org> Date: Fri, 25 Aug 2023 16:09:17 -0700 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Content-Language: en-US From: Craig Leres To: freebsd-hackers@freebsd.org Subject: How do I configure a port to get a specific sourceforge commit? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I'm trying to update graphics/netpbm to an actively maintained repo (PR 262212). I'm told by some that this is the current best choice: https://sourceforge.net/projects/netpbm/ Unfortunately its idea of "release management" is less than ideal. Let's say I browse this commit log: https://sourceforge.net/p/netpbm/code/4616/log/?path=/advanced and decide that release 11.03.04/commit r4606 is interesting. I can download it if I click on "Tree" for that commit and then "Download Snapshot" it gives me this as the "direct link": https://sourceforge.net/code-snapshots/svn/n/ne/netpbm/code/netpbm-code-r4606-advanced.zip This definitely works. But I don't find an existing port that uses sourceforge with a specific commit and no combination of "MASTERSITES=SF..." I've tried works. I have something that does work but it's a horrible hack, essentially: DISTVERSION= 11.03.04 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,/project/%SUBDIR%/,/code-snapshots/svn/n/ne/netpbm/code/,} DISTNAME= netpbm-code-r4606-advanced USES= zip Is there a less hacky way to do this? Craig