From nobody Sat Apr 08 17:56:50 2023 X-Original-To: ports-bugs@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 4Pv2xH2Hjxz44hS5 for ; Sat, 8 Apr 2023 17:56:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pv2xH04CLz4DwZ for ; Sat, 8 Apr 2023 17:56:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680976611; 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=VHNIwlhqVOqUb9iPfJs4YZdz2UXNDrEJdu24wM3lyNo=; b=D7d3kmam+BeSDBiIZ1xxXoWpJscLJjF/35cydaoEFwJ3tKUgo/gB83nmCfwSziZfjOb0gc KaYe6nFxus1g8TmQNmUPanWZSTyeFXvrxeTQC78nThXTdjDbwNccI5aJ/kvWQjAy7DcaW7 Iu8WLyhpze+KltZ/6Re9nmPXe7mh9sVJei2wmVNTPvAn/rILhBogkeJC8clMJVJ+jNnLEF lkAkcgkIxmxVBGZgJPyNipLRVHZR2qTUJfyFgER+vATGd7PShLxmVT75iccBXQI0mYPqaR syGiu4+/z+9kJUEFOMjQwDh/plGTgW2scx3L2hGu46W7MKM+aGL6vncXtostrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680976611; a=rsa-sha256; cv=none; b=wgjD4uq6ssX3iEE7y24x+9t+iJq6lNWfxKxihk35Akhjy+21/IsDy/A+Q5NMQvKPu322rt UCiFxxQ3o09L1RYn4Adk9+HsM9lNjzyiQPchkeXBG1nMA0XptI+bMRQ+ipxDNnOpyuDq9h fleDRQD718pVUWTpHjrkX4wmkNH/m+NengRbCE/7dHPe8pat7AWGye4Bj4BX+LthOQHr3r KzAnZBOdnS2k/x9F0wRvZEbghM/JpMUPAgndeDd+KJkuTuRnK7yzPiJm1+UIakW4x4r2cA cgYMytEZuKaTcyJbnOnH9jZY75uBkGLHPB/OVIXHJY7GKQCiX9ssAa1d/Vst2g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pv2xG6C8pzcMq for ; Sat, 8 Apr 2023 17:56:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 338HuoMA001902 for ; Sat, 8 Apr 2023 17:56:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 338HuoqW001901 for ports-bugs@FreeBSD.org; Sat, 8 Apr 2023 17:56:50 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 270708] makesum broken for MASTER_SITE_OSDN Date: Sat, 08 Apr 2023 17:56:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: naddy@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270708 Bug ID: 270708 Summary: makesum broken for MASTER_SITE_OSDN Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: naddy@FreeBSD.org CC: ports-bugs@FreeBSD.org The "makesum" target fails to work correctly for MASTER_SITE_OSDN. OSDN interposes an HTML page for downloads unless it recognizes the client = as wget, curl, or such. fetch(1) is not recognized. To circumvent that, bsd.sites.mk has this: .if !empty(MASTER_SITES:M*OSDN*) || !empty(PATCH_SITES:M*OSDN*) FETCH_ARGS+=3D --user-agent=3Dcurl/7.68.0 .endif Unfortunately, when "makesum" in bsd.port.mk recursively calls "fetch", MASTER_SITES has already been expanded and the above .if is skipped, which means FETCH_ARGS isn't modified, which means the download gets the HTML page instead of the distfile. As an example port, you an use shells/yash. $ make distclean $ make checksum # ok $ make distclean $ make makesum # distinfo is changed and the new distfile is an HTML page --=20 You are receiving this mail because: You are on the CC list for the bug.=