Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2024 13:18:45 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Mark Johnston <markj@freebsd.org>, Yuri Pankov <yuri@aetern.org>, src-committers@freebsd.org,  dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 801c452795ac - main - man9: Really complete the removal of MD5.9
Message-ID:  <CANCZdfrXg-m%2BerGy%2BKbxypaogvMUuhaqWiY7YNaimC13jxngzw@mail.gmail.com>
In-Reply-To: <a177fef6-63dc-46ba-a7c4-5be5afb1c321@FreeBSD.org>
References:  <202407291431.46TEVQow094080@gitrepo.freebsd.org> <63334eb1-7af6-439a-89a0-ba379428c5a6@aetern.org> <ZqfFpMXKXIZUjBdX@nuc> <CANCZdfreRtEpAn8s-Zj-VsNvArmVz7hMaLwTFbZsvrtRj40PjA@mail.gmail.com> <a177fef6-63dc-46ba-a7c4-5be5afb1c321@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000007e5a29061e67bba0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hey John,

On Mon, Jul 29, 2024 at 11:55=E2=80=AFAM John Baldwin <jhb@freebsd.org> wro=
te:

> On 7/29/24 13:40, Warner Losh wrote:
> > On Mon, Jul 29, 2024 at 10:39=E2=80=AFAM Mark Johnston <markj@freebsd.o=
rg>
> wrote:
> >
> >> On Mon, Jul 29, 2024 at 11:31:19PM +0700, Yuri Pankov wrote:
> >>> Mark Johnston wrote:
> >>>> The branch main has been updated by markj:
> >>>>
> >>>> URL:
> >>
> https://cgit.FreeBSD.org/src/commit/?id=3D801c452795ac441523655eb3277051b=
7b034becf
> >>>>
> >>>> commit 801c452795ac441523655eb3277051b7b034becf
> >>>> Author:     Mark Johnston <markj@FreeBSD.org>
> >>>> AuthorDate: 2024-07-29 14:12:40 +0000
> >>>> Commit:     Mark Johnston <markj@FreeBSD.org>
> >>>> CommitDate: 2024-07-29 14:17:04 +0000
> >>>>
> >>>>      man9: Really complete the removal of MD5.9
> >>>>
> >>>>      Fixes:  46b0db2dbe9f ("Remove unnecessary and now inaccurate
> >> kernel side manual page.")
> >>>>      Fixes:  36d68cb2ddd2 ("Complete the removal of the MD5 manual
> page
> >> from section 9.")
> >>>> ---
> >>>>   ObsoleteFiles.inc       | 2 ++
> >>>>   share/man/man9/Makefile | 2 --
> >>>>   2 files changed, 2 insertions(+), 2 deletions(-)
> >>>>
> >>>> diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
> >>>> index b21778466800..01b4824e8692 100644
> >>>> --- a/ObsoleteFiles.inc
> >>>> +++ b/ObsoleteFiles.inc
> >>>> @@ -56,6 +56,8 @@ OLD_FILES+=3Dusr/share/man/man9/ifaddr_byindex.9.g=
z
> >>>>
> >>>>   # 20240729: remove MD5(9)
> >>>>   OLD_FILES+=3Dusr/share/man/man9/MD5.9.gz
> >>>> +OLD_FILES+=3Dusr/share/man/man9/MD5Init.9
> >>>> +OLD_FILES+=3Dusr/share/man/man9/MD5Transform.9
> >>>
> >>> This really needs to be smarter, but you have to specify .gz suffix f=
or
> >>> man entries as we have compression enabled by default.
> >>
> >> Sigh, who knew it was so difficult to remove a man page.
> >>
> >
> > There is a pull request being worked on that will be smarter about what=
's
> > removed since we have compress (UFS) and uncompress (ZFS) setups
> > now.
>
> Does it just add an OLD_MAN helper variable to use instead of OLD_FILES
> and then try the various extension combinations for each OLD_MAN?
>

https://github.com/freebsd/freebsd-src/pull/1295

was submitted a bit ago. the repetition is why I've not committed it. Is an
approach
like that good, or should we move all the old man pages to OLD_MAN?

Warner


> --
> John Baldwin
>
>

--0000000000007e5a29061e67bba0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Hey John,<br></div><br><div class=3D"gmai=
l_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jul 29, 2024 at 11:5=
5=E2=80=AFAM John Baldwin &lt;<a href=3D"mailto:jhb@freebsd.org">jhb@freebs=
d.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex">On 7/29/24 13:40, Warner Losh wrote:<br>
&gt; On Mon, Jul 29, 2024 at 10:39=E2=80=AFAM Mark Johnston &lt;<a href=3D"=
mailto:markj@freebsd.org" target=3D"_blank">markj@freebsd.org</a>&gt; wrote=
:<br>
&gt; <br>
&gt;&gt; On Mon, Jul 29, 2024 at 11:31:19PM +0700, Yuri Pankov wrote:<br>
&gt;&gt;&gt; Mark Johnston wrote:<br>
&gt;&gt;&gt;&gt; The branch main has been updated by markj:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; URL:<br>
&gt;&gt; <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3D801c452795ac4=
41523655eb3277051b7b034becf" rel=3D"noreferrer" target=3D"_blank">https://c=
git.FreeBSD.org/src/commit/?id=3D801c452795ac441523655eb3277051b7b034becf</=
a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; commit 801c452795ac441523655eb3277051b7b034becf<br>
&gt;&gt;&gt;&gt; Author:=C2=A0 =C2=A0 =C2=A0Mark Johnston &lt;markj@FreeBSD=
.org&gt;<br>
&gt;&gt;&gt;&gt; AuthorDate: 2024-07-29 14:12:40 +0000<br>
&gt;&gt;&gt;&gt; Commit:=C2=A0 =C2=A0 =C2=A0Mark Johnston &lt;markj@FreeBSD=
.org&gt;<br>
&gt;&gt;&gt;&gt; CommitDate: 2024-07-29 14:17:04 +0000<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0 man9: Really complete the removal of M=
D5.9<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0 Fixes:=C2=A0 46b0db2dbe9f (&quot;Remov=
e unnecessary and now inaccurate<br>
&gt;&gt; kernel side manual page.&quot;)<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0 Fixes:=C2=A0 36d68cb2ddd2 (&quot;Compl=
ete the removal of the MD5 manual page<br>
&gt;&gt; from section 9.&quot;)<br>
&gt;&gt;&gt;&gt; ---<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0ObsoleteFiles.inc=C2=A0 =C2=A0 =C2=A0 =C2=A0| =
2 ++<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0share/man/man9/Makefile | 2 --<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A02 files changed, 2 insertions(+), 2 deletions(=
-)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc<br>
&gt;&gt;&gt;&gt; index b21778466800..01b4824e8692 100644<br>
&gt;&gt;&gt;&gt; --- a/ObsoleteFiles.inc<br>
&gt;&gt;&gt;&gt; +++ b/ObsoleteFiles.inc<br>
&gt;&gt;&gt;&gt; @@ -56,6 +56,8 @@ OLD_FILES+=3Dusr/share/man/man9/ifaddr_b=
yindex.9.gz<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0# 20240729: remove MD5(9)<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0OLD_FILES+=3Dusr/share/man/man9/MD5.9.gz<br>
&gt;&gt;&gt;&gt; +OLD_FILES+=3Dusr/share/man/man9/MD5Init.9<br>
&gt;&gt;&gt;&gt; +OLD_FILES+=3Dusr/share/man/man9/MD5Transform.9<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; This really needs to be smarter, but you have to specify .gz s=
uffix for<br>
&gt;&gt;&gt; man entries as we have compression enabled by default.<br>
&gt;&gt;<br>
&gt;&gt; Sigh, who knew it was so difficult to remove a man page.<br>
&gt;&gt;<br>
&gt; <br>
&gt; There is a pull request being worked on that will be smarter about wha=
t&#39;s<br>
&gt; removed since we have compress (UFS) and uncompress (ZFS) setups<br>
&gt; now.<br>
<br>
Does it just add an OLD_MAN helper variable to use instead of OLD_FILES<br>
and then try the various extension combinations for each OLD_MAN?<br></bloc=
kquote><div><br></div><div><a href=3D"https://github.com/freebsd/freebsd-sr=
c/pull/1295">https://github.com/freebsd/freebsd-src/pull/1295</a><br></div>=
<div><br></div><div>was submitted a bit ago. the repetition is why I&#39;ve=
 not committed it. Is an approach</div><div>like that good, or should we mo=
ve all the old man pages to OLD_MAN?</div><div><br></div><div>Warner</div><=
div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-- <br>
John Baldwin<br>
<br>
</blockquote></div></div>

--0000000000007e5a29061e67bba0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrXg-m%2BerGy%2BKbxypaogvMUuhaqWiY7YNaimC13jxngzw>