From nobody Mon Jan 22 21:43:43 2024 X-Original-To: dev-commits-ports-all@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 4TJkHw3zbfz58Gg2; Mon, 22 Jan 2024 21:43:56 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4TJkHw3BL4z4RCN; Mon, 22 Jan 2024 21:43:56 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705959836; 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=A+AmgrYKMOGmtW5/YU9C+uhq/OAEfsMQBQLYvSS27A0=; b=NWZSC5DXfFQkerlR3LBBt6fkU8Wor6nvQIWrkXOLW15FL1s/TJK1CVMiaG9jPzrKfDS2yc jBvYf5Izr2RG/VRh5bfmYP+iVfVs4SRKd9ULIhISTzgaI0xE7+n9+WHisGeIu46X5stKeK YWBPkfzsq/yv5CSgAHp6w5Ecay7jsljDGJ0Pyf3skADhwZ8/1PnIh33EoFWoGDkqQYVnJX QTLDJ3UP7fFU09muwIOYNZg80Tm3wEPc5BqmcZXWSHyaCfjzHeMrgMEtCbzsXiuEXabyDU Ijo4L2JSWeds3+zV3UvF++7Qu5s2YAJDDTOqGbCeYGYOW+RK4PA1qm5nStxIHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705959836; 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=A+AmgrYKMOGmtW5/YU9C+uhq/OAEfsMQBQLYvSS27A0=; b=xEkuaB3F8wLR6C38Ipz3hqmoge2Cp4NtRKJLKtof3K7NuQv3o01/Wh8Te/cwta8JBIH/4+ mylDbmTzmD9CSaTPo10gcnODZzScOC8X0gPA1NzNzx3hPnaYog+BhdS0nysGvqjpAL+XXN btFZya/k5y73HrBIT5+NEel48dL542T1Uu864fWRaAAks65NBU7rBKZPrsiV1PZBQOS0Yd NqJ5YfDA8xPTxq7dt0hgW81Mze4AjvIRLmF0gXBLcPMhK4t7e82qAm8+4qBJEau1tg87Sp vxwYmAwpmK1UAJmJikWh5JLoNUj4pqIeNCSQxN0TG4oohHuDXzWr/8g144fz3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705959836; a=rsa-sha256; cv=none; b=XbqKt/26lYvmUCmOl5qed2Uhivnn2w0kTA9crJpd82MZg9Nd+8fLqJsAB0sNYHvmbdkELB xhEGd96tIEC0YyZkiPgCh5fsJEpXnql0Nd/EwGL85j1NtUK6T/tCq0UHWvEHN332AknZYt 1N9jwQvRo44Je9XQAQu+JomkYUW0urj7xAUHl3dgoD4iSyYSlGx73497la9FQ6aiD/s/uB FjF9NeP8gAAC1O7Ri4EY/+YByxF/i5bMP0Bhl1xhGPvhlFYdLaTSArF4XaF+1sB7AhyKRL RwyuwV3fBgq923V6VHa9wWUoz9NlX3SCs58wKu3fe+ls1hk/r2TKvSm0swmNbg== 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 4TJkHv5hSXz11t5; Mon, 22 Jan 2024 21:43:55 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id 112cf6f8 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Mon, 22 Jan 2024 21:43:54 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_84FD3709-387B-4B9F-A692-182F22148E83"; protocol="application/pgp-signature"; micalg=pgp-sha512 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: git: 9a5a5a037897 - main - japanese/kterm: Sanitize MANPREFIX From: Moin Rahman In-Reply-To: <20240123.063634.1428580388567496859.hrs@FreeBSD.org> Date: Mon, 22 Jan 2024 22:43:43 +0100 Cc: "ports-committers@freebsd.org" , "dev-commits-ports-all@freebsd.org" , "dev-commits-ports-main@freebsd.org" Message-Id: <0CEA16BF-9286-409B-AE3B-E3A13A63735C@freebsd.org> References: <202401222027.40MKRVaH012805@gitrepo.freebsd.org> <20240123.060027.1610312468979447172.hrs@FreeBSD.org> <372CB45E-1608-41D9-B43F-8D2BE834C68E@freebsd.org> <20240123.063634.1428580388567496859.hrs@FreeBSD.org> To: Hiroki Sato X-Mailer: Apple Mail (2.3731.700.6) --Apple-Mail=_84FD3709-387B-4B9F-A692-182F22148E83 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jan 22, 2024, at 10:36 PM, Hiroki Sato wrote: >=20 > Moin Rahman wrote > in <372CB45E-1608-41D9-B43F-8D2BE834C68E@freebsd.org>: >=20 > bo> > bo> > bo> > On Jan 22, 2024, at 10:00 PM, Hiroki Sato = wrote: > bo> > > bo> > Muhammad Moinur Rahman wrote > bo> > in <202401222027.40MKRVaH012805@gitrepo.freebsd.org>: > bo> > > bo> > bo> The branch main has been updated by bofh: > bo> > bo> > bo> > bo> URL: = https://cgit.FreeBSD.org/ports/commit/?id=3D9a5a5a0378972be4f6b9d4d4c67c68= baaebb1daa > bo> > bo> > bo> > bo> commit 9a5a5a0378972be4f6b9d4d4c67c68baaebb1daa > bo> > bo> Author: Muhammad Moinur Rahman > bo> > bo> AuthorDate: 2024-01-22 19:37:27 +0000 > bo> > bo> Commit: Muhammad Moinur Rahman > bo> > bo> CommitDate: 2024-01-22 20:26:42 +0000 > bo> > bo> > bo> > bo> japanese/kterm: Sanitize MANPREFIX > bo> > bo> > bo> > bo> Approved by: portmgr (blanket) > bo> > > bo> > ... > bo> > > bo> > bo> -man/ja.UTF-8/man1/kterm.1.gz > bo> > bo> -man/man1/kterm.1.gz > bo> > bo> +share/man/ja/man1/kterm.1.gz > bo> > bo> +share/man/man1/kterm.1.gz > bo> > > bo> > Why does ja.UTF-8 need to be replaced with ja? The man(1) = utility > bo> > searches man/ and man/, not > bo> > man/. > bo> > > bo> > -- Hiroki > bo> > bo> That's only applicable for base. Apart from that and ${PREFIX}/man > bo> and ${PREFIX}/share/man everything has to be added to the MANPATH. >=20 > You mean ${PREFIX}/share/man/ja needs to be added to MANPATH manually? >=20 > ja.UTF-8 just works even for /usr/local by default as far as I can > check. I got the following when entering "man -d kterm" and there is > /usr/local/share/man/ja.UTF-8 and LANG=3Dja_JP.UTF-8: >=20 > -- Using architecture: amd64:amd64 > -- Using pager: less > -- Searching PATH for man directories > -- Adding /usr/share/man to manpath > -- Adding /usr/local/share/man to manpath > -- Adding /usr/local/man to manpath > -- Adding default manpath entries > -- Adding /usr/share/openssl/man to manpath > -- Parsing config file: /usr/local/etc/man.d/perl5.conf > -- Adding /usr/local/lib/perl5/site_perl/man to manpath > -- Adding /usr/local/lib/perl5/5.36/perl/man to manpath > -- Using manual path: = /usr/share/man:/usr/local/share/man:/usr/local/man:/usr/share/openssl/man:= /usr/local/lib/perl5/site_perl/man:/usr/local/lib/perl5/5.36/perl/man > -- Using manual sections: 1:8:2:3:3lua:n:4:5:6:7:9:l > -- Using locale paths: ja_JP.UTF-8:ja.UTF-8:en.UTF-8:. > -- Using standard page width > -- Searching for "kterm" > -- Found manpage "/usr/local/share/man/ja.UTF-8/man1/kterm.1.gz" > -- Skipping catpage: not found or old > -- Command: /usr/bin/gzcat = "/usr/local/share/man/ja.UTF-8/man1/kterm.1.gz" | mandoc | less >=20 > And the following when there is /usr/local/share/man/ja and > LANG=3Dja_JP.UTF-8: >=20 > -- Using architecture: amd64:amd64 > -- Using pager: less > -- Searching PATH for man directories > -- Adding /usr/share/man to manpath > -- Adding /usr/local/share/man to manpath > -- Adding /usr/local/man to manpath > -- Adding default manpath entries > -- Adding /usr/share/openssl/man to manpath > -- Parsing config file: /usr/local/etc/man.d/perl5.conf > -- Adding /usr/local/lib/perl5/site_perl/man to manpath > -- Adding /usr/local/lib/perl5/5.36/perl/man to manpath > -- Using manual path: = /usr/share/man:/usr/local/share/man:/usr/local/man:/usr/share/openssl/man:= /usr/local/lib/perl5/site_perl/man:/usr/local/lib/perl5/5.36/perl/man > -- Using manual sections: 1:8:2:3:3lua:n:4:5:6:7:9:l > -- Using locale paths: ja_JP.UTF-8:ja.UTF-8:en.UTF-8:. > -- Using standard page width > -- Searching for "kterm" > -- Found manpage "/usr/local/share/man/man1/kterm.1.gz" > -- Skipping catpage: not found or old > -- Command: /usr/bin/gzcat "/usr/local/share/man/man1/kterm.1.gz" | = mandoc | less >=20 > This is the reason why I changed the pathname from ja to ja.UTF-8 in > the previous commit. Am I missing something? Am not sure. I might be wrong too as haven't played with locales for a = while. But as like as other commits in these batches the primary purpose was to move man pages to share. And this was secondary issue. So if you are confident feel free to switch back but keeping everything under ${PREFIX}/share/man. Kind regards, Moin > -- Hiroki --Apple-Mail=_84FD3709-387B-4B9F-A692-182F22148E83 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+fvbm1phfAvJEFAmWu4Y9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJEXQA//YrW1EdRV3w4OEkAJPWv+sEITDjH4+FTgHgpA1oPtNC32IA+dxFw8tAUM srtq6XvHVrWjI7tjQWkaigde5cXIpFbZc9S71Ytw/UJ83qv6NOPfiztb/Vvp7R3x XyK39qOJdhF0MZYPQWpupESLGoHicPFf8vnxlT0Rxz/get+XHDADeTa1/ki3q2aJ milG/kaR18TaD0tpIywuTTXuiZS/FccdRitL7Qz+JREx7Il69bpPq4YpjYYoSChw 1A9UCuexxQ8boIXZHEmN7mUNhcySMoHcopa2keJfCB62IlZN4BTxFyew7yzUqnF1 f41k6sSeJahUegj7Yi0dnBAMw/+zMZHaJK6Fd057iDNeuhJMYxFKjizK7B752Hkx G5qEtRtcAiMvAGY11DEnU06LbiCXvVRgrVC16bWdUp8Vs4372Fb2RSlVHNW/S0/I fwv1j52KhOCO2t+ivFeBdPTdd4htjU5safYrzPcx4uqtKL1dCR/scYKK+y/K/yyq pRJ8ZyQLh+jvc5EcnFdKnakYDfRrx+7cS7ptuSueEh2Nwk5sN7P7xBknW4QwTIeg mIDydnHK+MovpwgwMKMSvuYY6UreYP8RegGP422UBSJcK8pQqhHjY/j3sfHEiFo7 Dx7QejtRmzh2GAceaXQ1LxWLu2ffUpJeM3pS2FWVtGrmnf2UJZ4= =inEx -----END PGP SIGNATURE----- --Apple-Mail=_84FD3709-387B-4B9F-A692-182F22148E83--