From nobody Mon May 31 16:17:56 2021 X-Original-To: freebsd-hackers@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 5F851DFF6DA for ; Mon, 31 May 2021 16:17:59 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fv0nf4mpLz3tfl for ; Mon, 31 May 2021 16:17:58 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: by mail-wr1-x42a.google.com with SMTP id q5so11446633wrs.4 for ; Mon, 31 May 2021 09:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=submonkey-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uaA4f73GKYdTRxufNF2r4knX0DFvhajygoZFcQpM5FE=; b=RNyuBSOL8ArSqGeRff/877J6DVASp0ALrEgrx/8m0EpdHFjFLq8m+HmlvsbMXSDZsp LXPO/mzpg9ip9l1FZLYtF/EeAkoJKSVlz8KEIao/ZwKGEMTyXLq8B+lx6+jv6pZtMzns 57Bi7+FF93w1qROxSIInmt7KYhq3OzxaBoVf6ZIm+PkN5SGsGjpD4UhaC4XWXvWSyKBw 4ChPCxRbvL1Y9AqI/eiUhUsJ56yabbVo3fuchJ2KvgURMW7K+B3F4siQCW8O5oktH18Y AQzUbscbXtl6N794Gm3NA02lEM0Ai0Yy4FI/CRdqHSCs0GqODpOrmFlJUoFjmere1Vs9 vdRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uaA4f73GKYdTRxufNF2r4knX0DFvhajygoZFcQpM5FE=; b=EbWBup1iMumpCG6+yYkMGHEYeM7nRCBb6N7vv+7yg2F+WC+gK+63cDNmsP02wAzNIo u7ebW9p6o2sfDaKySEm0uuKRVQQSz4DV60JhrvldihdHlKfHs/Z3qrDmXPdGkixrsb/Y LnrMIr6/j87ZM2RInRySD4Bnptfq/Q2hFlt6MeeUB8xlCSc3u3ch1nzkdmD8OfV5Q0mq vPFWpz9WH7p06POOBHjoDAwAgbK0newsHTev1Tu4FtAV8Dq4UH7WE+sMbBj0dCpk7gLD R5GL7q2j4exhY+tbMPX91c09B7ylS9yjlClqxZUMZkRrtw02f+kYj1owJxEEuMUZkpsw jTKw== X-Gm-Message-State: AOAM530AQaRXtwWnc5hpLEnUhaUoUqv9hcXSplCapxbausFJ695U72mG kalzKePdbppThkW7HMwUwOpriyyJLPdpfw== X-Google-Smtp-Source: ABdhPJzkp0DemT9vcHR6PRL+1Xxbn8gQHArOd35+PFRRCLIakZQke1adpnXgQGzIl9LY9py2856qyw== X-Received: by 2002:adf:fc91:: with SMTP id g17mr22728935wrr.191.1622477877197; Mon, 31 May 2021 09:17:57 -0700 (PDT) Received: from horror (horror.submonkey.net. [165.227.238.234]) by smtp.gmail.com with ESMTPSA id q11sm139205wrx.80.2021.05.31.09.17.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 May 2021 09:17:56 -0700 (PDT) Received: from localhost (horror [local]) by horror (OpenSMTPD) with ESMTPA id 31681e7d; Mon, 31 May 2021 17:17:56 +0100 (BST) Date: Mon, 31 May 2021 17:17:56 +0100 From: Ceri Davies To: Fernando =?iso-8859-1?Q?Apestegu=EDa?= , Ian Lepore , FreeBSD Hackers , freebsd-arch@freebsd.org Subject: Re: Inclusion of all manual pages in all architecture releases Message-ID: References: <20210531070722.GR14975@funkthat.com> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xY3IAiaPaJDEeB7V" Content-Disposition: inline In-Reply-To: <20210531070722.GR14975@funkthat.com> X-Rspamd-Queue-Id: 4Fv0nf4mpLz3tfl X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=submonkey-net.20150623.gappssmtp.com header.s=20150623 header.b=RNyuBSOL; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=submonkey.net (policy=none); spf=none (mx1.freebsd.org: domain of ceri@submonkey.net has no SPF policy when checking 2a00:1450:4864:20::42a) smtp.mailfrom=ceri@submonkey.net X-Spamd-Result: default: False [-5.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[submonkey-net.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[165.227.238.234:received]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42a:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[submonkey-net.20150623.gappssmtp.com:s=20150623]; FREEFALL_USER(0.00)[ceri]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42a:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42a:from]; R_SPF_NA(0.00)[no SPF record]; MAILMAN_DEST(0.00)[freebsd-hackers]; DMARC_POLICY_SOFTFAIL(0.10)[submonkey.net : No valid SPF, DKIM not aligned (relaxed),none] X-ThisMailContainsUnwantedMimeParts: N --xY3IAiaPaJDEeB7V Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2021 at 12:07:22AM -0700, John-Mark Gurney wrote: > Fernando Apestegua wrote this message on Thu, May 27, 2021 at 08:40 +0200: > >=20 > > Hi Ian, > >=20 > > Thanks for the explanation. That would fix the man.cgi and > > consequently the Release Notes issues. > > However, in order to fix the broken X-refs in the manual pages of the > > release distributions, wouldn't we need to build them with > > MAN_ARCH=3Dall? > > According to make.conf(5), MAN_ARCH defaults to MACHINE and > > MACHINE_ARCH. Would it be possible to change the default value to > > "all"? > >=20 > > diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile > > index f7626c80eeb1..583c4a4b9bb9 100644 > > --- a/share/man/man4/Makefile > > +++ b/share/man/man4/Makefile > > @@ -897,9 +897,7 @@ _cgem.4=3D cgem.4 > > MLINKS+=3Dcgem.4 if_cgem.4 > > .endif > >=20 > > -.if empty(MAN_ARCH) > > -__arches=3D ${MACHINE} ${MACHINE_ARCH} ${MACHINE_CPUARCH} > > -.elif ${MAN_ARCH} =3D=3D "all" > > +.if empty(MAN_ARCH) || ${MAN_ARCH} =3D=3D "all" > > __arches=3D ${:!/bin/sh -c "/bin/ls -d ${.CURDIR}/man4.*"!:E} > > .else > > __arches=3D ${MAN_ARCH} > >=20 > > This way, the released distributions will have all the man pages (we > > have some PRs related to this) and would also fix man.cgi regardless > > of the FreeBSD version the service runs on. > >=20 > > I am assuming here that we do not explicitly set MAN_ARCH to a > > specific architecture when building the releases but we take the > > default value. >=20 > I would like to see this change made myself. It'd nice to be able to > use your amd64 build box to be able to get information on other systems > by default. The extra space is minimal. Agreed.=A0 I would prefer if architecture specific pages went into their own section, and were then hardlinked into the existing architecture's standard sections (this would preserve current behaviour, and allow each architecture its own namespace if needed). Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --xY3IAiaPaJDEeB7V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQITBAEBCgB9FiEElsnAGLXjAPlOG3tF8IrlG2S7y1EFAmC1DC1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk2 QzlDMDE4QjVFMzAwRjk0RTFCN0I0NUYwOEFFNTFCNjRCQkNCNTEACgkQ8IrlG2S7 y1Fi9Av/ctxPe0nRQuLZI6ojGh/lllDI22qTponO5P3meWp5b5B2Bpq5QjDLneog qb6STAyfycyG2VyiWg0niXrbg3yF2IiyibFDeGITGjRHXkQEz8eCF6+n0+9pjaCD Q0tF86NcHolt+j0k1SAiguCRmw919lmWtYoZg4jJIE+uUWUtxMkmRxfq9jEldTil 5206VPYav2O3cqQZwXHzAHSYlro+UHT1UdS03tnSO/COhOkDjvo1CIZAd3HrP1jA xDJ7hh9IwZQV7rEPsfbFQAhEaHbYon1dS3metULW8pUF2KVYE2D6tLsow03pI+op wwSyP1Umn80Ws1uXPUBRlL4DyFXxBBDyuDBGUJJQDjXyf3VZHy8FAD81NMqHeqXd JnD3Ce4I7o8oZ+2gWMNujCdzo79qAa2ewLq8Mkc1xckPsGCRyftquRdPV2n+J24B LYUAZIlusLuLepw5EdECVu76QtSxnbEpFkqmSG/FJpuBt7MRuVl52b9Eq9Fag9bo wCxMGtkA =eOV/ -----END PGP SIGNATURE----- --xY3IAiaPaJDEeB7V--