From nobody Mon Feb 26 07:04:26 2024 X-Original-To: ports@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 4Tjs7D6flJz5CYd2 for ; Mon, 26 Feb 2024 07:04:40 +0000 (UTC) (envelope-from bofh@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 4Tjs7D4clZz4YdQ; Mon, 26 Feb 2024 07:04:40 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708931080; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sCNA4kOkuPUdh4CDjTtaQAzy0pDyx1mint4w73CFf78=; b=j0SCd3EAxkIorRdHwDsj6zlDIskuK4vRmZMvxcWkM9yqir1eOe4w7Uq7d/HtaNZ5dLKJ3m Qyr75+s9atu7wqsK6EkTu0b4sMQKM2aNz0Q4J9UvH+FVw3iJSetCOqCn0BqicPUv6kuoWo h+jK8S693gMY2TxTqQDNfX97YVahXjxRAqS3yrmg0HKlZQDbjm+j0z7hSgzZ3ljQjlWPXO y5WvKZ5ZBKmxnUIM/AT6CM0zo5yw1L18q5EmJfR0pF2U2AqRjFRnsS5djJJra6MAnFAYxW R/IGb+0brd0DfMwlISvstw3UmjIn4Izxj43bwt26hV8F1Tu6tDLUEHtK7zmRLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708931080; a=rsa-sha256; cv=none; b=ols+xQWrsi3QCeed9RIaxBTeRJEWllz1gv+dbizHaGvDTK9ILP0F1Ev7R6q529EtFfJcUF GjWmKdS+vF4MmHgHQhhemShoSeCpvBOiS+WWohiHE50Y2lGSzBszfnlxplYK0DTLNfvEed E3+2cAn/xSO/fR+LJae8tjB59bpBxmDu0VJG4L94xTe/BnbkHmpfLHeE/S+T0RsIAtSl1r 6RvJchIYZSDgAv58trfovG7EmLxGw7JZT5/ksTfxsAawS1g6qBF+d7kEOyGen71Mi8w1aA 7804YFjhYyyHe9A3uPci7qEbfY/lHKNeLs9TQDrp0zA3JfN5UMVTpVwFc2CUlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708931080; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sCNA4kOkuPUdh4CDjTtaQAzy0pDyx1mint4w73CFf78=; b=gTxUuGc+P/Bhh88qd1E+3wp5dKWzly01hD71sMf1WRqNJDiaCPW5fOW46+7WBA6pUlBvyL pV6SG18DhS2fJprcQRohTs1dxg89u1VvNNkJpORhhUlUamF+Af9gdKd8WhNA5ZorxRcY86 6rif9176CmVXcrDGlU5Og0TDvnkyCRqagi4GIsDi+bHZAzodwjMIK0eO3nHX00a6cajh4u Dld5fIg3WFfgYFUPvAOkkFHxF/U2dDqQugE0IzCUrFiOnoj1Q6vzzq1dlN34LKLHnTv9SR KMmxZG/BzbJWbEDuSA3jQNz9M2OYZ2ZP4kP9rBy4UkZNS0NioULPhIAUvD8t3Q== Received: from mx.bofh.network (mx.bofh.network [5.9.249.227]) (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) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Tjs7D0vDhz12YZ; Mon, 26 Feb 2024 07:04:40 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id d8df81a7 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Mon, 26 Feb 2024 07:04:36 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_7E0773C1-EBA2-4CB5-9520-2300DD180C57"; protocol="application/pgp-signature"; micalg=pgp-sha512 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: Call for help: moving manpages to share/man From: Moin Rahman In-Reply-To: Date: Mon, 26 Feb 2024 08:04:26 +0100 Cc: Gleb Popov Message-Id: <1B813C75-BE57-4A78-AB92-E63FA4B57CFE@freebsd.org> References: To: "ports@FreeBSD.org" X-Mailer: Apple Mail (2.3731.700.6.1.1) --Apple-Mail=_7E0773C1-EBA2-4CB5-9520-2300DD180C57 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Feb 23, 2024, at 11:29 AM, Gleb Popov wrote: >=20 > On Sun, Jan 21, 2024 at 1:19=E2=80=AFPM Gleb Popov = wrote: >>=20 >> Ahoy there fellow porters! >>=20 >> portmgr@ is currently working on switching the directory into which >> man pages are installed from "${PREFIX}/man" to = "${PREFIX}/share/man". >> It is quite a tedious process, as you might imagine. >> ... >=20 > It's been a month since the initial call was made. Despite the fact > that the separate branch approach didn't really work out, the process > of moving manpages to share/man is still ongoing. I'd like to thank > everyone who sent me PRs and plain patches - they were all integrated > into the main branch and all were helpful for our cause. >=20 > Still, there is a lot more to process, so I'm making another call for > help, hopefully more concrete this time. > moin@ created a list of problematic ports [1] along with MAINTAINER > field, so you can quickly find if any of your ports need fixing. In > this list "failed" ports are confirmed to be broken if we change the > default mandir prefix in the framework. The "skipped" ports may > probably be dependent on the "failed" ones, so it is better to deal > with "failed" first. >=20 > We have an established ways to fix Autotools and CMake-based ports: > - Autotools ports are generally identified by the presence of > GNU_CONFIGURE=3Dyes knob. To fix such a port one should add > GNU_CONFIGURE_MANPREFIX=3D${PREFIX}/share knob and fix pkg-plist. > - CMake already defaults to a correct mandir location, so CMake ports > usually have some patching that replaces share/man with man. To fix > such ports it is sufficient to remove that patching and then again fix > the plist. >=20 > We don't yet care of Meson ports (although it also should be as simple > as the Autotools case). Feel free to skip them for now. >=20 > Finally, there are ports with homegrown ad-hoc build systems. There is > no general way to fix them. >=20 > When making a mandir-converting change remember to put "Approved by: > portmgr (blanket)" tag into the commit message. This also means that > if you're fixing someone else's port, you don't need to wait for a > maintainer timeout (although it might be still a good idea to wait for > the feedback if the port in question is complex or the change itself > is big). >=20 > Thanks in advance to everyone who will help us in this quest. >=20 > [1] = https://people.freebsd.org/~bofh/dropzone/manprefix-fail.maintainer.txt >=20 Some of you reached me mentioning that their ports are mentioned in skipped list and those ports don't have any man pages at all. Sorry for the confusion. But let me iterate on how I am fixing things. I started with a fresh ports tree with share/man as the only place for manpages. And while others are fixing the tree and committing my build system is just taking the last failed and skipped list to build and check the next set of remaining ports. So there might be some ports which are false positives. If that is the case please send me a mail with your ports which do not have any man pages at all so that I can manually remove that. And sorry for the spams. But we are very close to what we planned to achieve. Kind regards, Moin --Apple-Mail=_7E0773C1-EBA2-4CB5-9520-2300DD180C57 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmXcN/pfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJG8+g/9G/HvLGnzGTwPUIsYG7fBKh3K50fuzuNKnCCtFZtGgGkd3QRXZnYVoHZx dwsNavfB3VN7SEHsm5VqGpzV6oavL0PQ71kfBSDUApGzvlaPiWXGbsWHu7soRVbP msVUjSuru/uuAJojXdsbG4S9iTBOlHpkvB8zcyrVPlWebcHiTBHsVJEey8yL4z63 6l2A7jtdw1Z3BevEK3uhHtYcidenTUspih2F61xjiil3KnJ/656XzUrwZne3rJ4Z f6WB4XJ2IdsctNRpFJXUI2uuH3tajc/Qx6oVnpMWD+Z5zCgaWtPoJuQTP/qwmfL+ Gm4ovAVw/PqnhgFmxgA3jNKl2RhPEOlLaswXH/8ZcyPoAfDAioCM04GGLje3OOcT t+76891ZnCtHynId1BPHLX4UMM95a5qiSWZiyZrn6N+Tphg3m9qyeQFUt0I9/1c0 YZhZhVNqOJFNbdGFpyM09BEvfyFtNi3GGQkV2i/e0px8oK1k1zJdfgQDNagUoB7Y AjhyMblIR9YUZl/0JfF/BNp4VcRk+/6lMDwyjm4M4hCHZcTAqwi3ePfAcO0ig8WG 9LaJtjCo6CZij1uPusiakrWlvbMslR9z4pTER77r1yCCW8mFBxrQi/Sa5dtgkcgC l8w3akksCtsKldVhngGqVE7j6I41qVvit9B3qRGBmKpWpGk0dAA= =b1Z0 -----END PGP SIGNATURE----- --Apple-Mail=_7E0773C1-EBA2-4CB5-9520-2300DD180C57--