From nobody Wed Nov 30 04:31:38 2022 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 4NMR9l2Q14z4hdHw for ; Wed, 30 Nov 2022 04:31:39 +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 4NMR9k6yt8z3qyh for ; Wed, 30 Nov 2022 04:31:38 +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=1669782699; 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=G5JoL4yUHtDoWGOmsYr9XKnDlLMr6khSZOcWTqrAn1w=; b=xdVdIiYXLVFJzuDMMwxv2s+psnBFwxG9v7JjCNZfdTWmseFfBpMHfhdX4wi5QGP2fHNBDg wFvzxa3dIF5lqmFfom0oXsfNEWS+SWp+K+NGAEINZAlaN2Cncg7B4O+dg5cb46vUd9/Ea0 0C6jUUPIaD0a+yltcquFhw+MEx1cuj5B1WtlPjqLZo/RkEjVDKqB3RDklMYij1srHxEBiP lyeT3Pdjn5G9T/3nRXgi3/tsQTELHsGe3byiqZ+kukLNZ5ERYGQ9jkQxoeitUbryumZx5n JzgZZBPTaIr+R3NXzNcpcL8yiXjFDR35OHieKm5dvhV5ndLULYKRRYX2fxSN9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669782699; a=rsa-sha256; cv=none; b=eogXaxoOAxm8yRIzHZWrFeGOuB5UkxpjM5+14PWyluSJLpO4c6qpUQmXGJwzxBjGBzejgZ VJObaxGrpsC8Qamn2hLhrEjlOAsvPdkEp7vGMuS4pU4dYW52lIo5CX1ziM6FzLgX9ym0tR 2GAo2N9wpN9lwDGpVo9Z+rsQJnavP5N1p+Q6sd0OXV/WCqP6JmZgwSXnhaevjtUu7Mkqnj aX58imN5k5LD5gGeMbVAD8mBvdqU0n/UDce6Vy4JC2Rb7fDQ9rhk22zmIz090X1fwBQVNb 9YZc3HZVF/qTkGHs8mvfoCyeVonQoVBYVgfa9Wty40WFEyFCKo3u1kBDDvtsSA== 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 4NMR9k61lqzk36 for ; Wed, 30 Nov 2022 04:31:38 +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 2AU4Vcbm058908 for ; Wed, 30 Nov 2022 04:31:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AU4Vc9F058907 for ports-bugs@FreeBSD.org; Wed, 30 Nov 2022 04:31:38 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 268070] Mk/bsd.port.mk: Generalize the 'make describe' command to allow custom commands run on individual ports Date: Wed, 30 Nov 2022 04:31:38 +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: yuri@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 attachments.created 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=3D268070 Bug ID: 268070 Summary: Mk/bsd.port.mk: Generalize the 'make describe' command to allow custom commands run on individual ports Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: yuri@freebsd.org CC: ports-bugs@FreeBSD.org Created attachment 238438 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D238438&action= =3Dedit patch Currently 'make describe' visits every port in the tree with a predefined command that prints a summary information about the port for INDEX. The attached patch generalizes 'make describe' to allow user-supplied comma= nd to execute in each port. When the variable DESCRIBE_COMMAND is defined 'make describe' would run this command instead of the fixed predefined command it currently runs. Purpose: It it needed to enable the PortsDB convertor that imports the ports tree into an SQLite database: https://github.com/yurivict/freebsd-portsdb Services like Repology and FreshPorts would be able to easily extract a more comprehensive information about ports from the PortsDB database. --=20 You are receiving this mail because: You are on the CC list for the bug.=