From owner-freebsd-questions@freebsd.org Fri Oct 2 03:21:23 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F88A3F3AED for ; Fri, 2 Oct 2020 03:21:23 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C2Zyn3lrRz440N for ; Fri, 2 Oct 2020 03:21:21 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id D63108D4 for ; Thu, 1 Oct 2020 23:21:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 01 Oct 2020 23:21:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=5AyEB2jyM7PDKHyz3cknRRalfaD 4EsKl93NE/PLsp6U=; b=asdSF0cr1vCst8ae9GG+r+knVwkBQL25dEVNqneNXhZ 4OnJJANhtz5gB/RqvJdc7h1/TjoMGNKTHzzCf3pWilcJ5AAoE7Aelc3KVhX+qEaD zDXyplr87VxIWKPlMmJQer6GtMNlD8Zy+XGiSXmEF8QvW65BAZkV1IfF2ptGQuEu VWQp2HDbdgSvsBY3xTaUhdiMizgTGoU4z/LUOnOSSUZjKxyRgMHV22W8BK/bcDKN cIDjpKR6ERDmdo5udxPXZTXUofoHFreVYnQIZ+CIWZ6eB2KJdjY2o8WW8DR0bKxV o2zPpOkNH+HHya3r9b3NQtJcNT0VTH69dxLGJ/vYHPA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=5AyEB2 jyM7PDKHyz3cknRRalfaD4EsKl93NE/PLsp6U=; b=WehgC7yztc1/RiWt+k3Caa uzL4tMFV1HyIhnBEEZVFch12AKGZ/nSLhpjEkvwB3GSQDlMnk8ezHqYDKigxaFXP c33k3Qh0Xxuqv4meh/ohcXepKt2D4AjyXdBWYYuYWQ+yrV5oOlAhMnsnSimH/RSV E5IS3FnvyQ8uTh/A8Iar9cEQ7Vy6Bws6vd0XXKXQhLyRiFht8XQMHKipyc4qHJ3S kST/15AleK0yLNuymQOSWKUD7P0lN2EGnJmI8tfCbd8V63rxP7tpKISoc4rkMU4W xzToFwbq6PEVItW7LSvcmqaxbZpl2OF1CWvmTwkn86jc5YwC78AtocnWHlnO3Wqg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrfeehgdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtderre dttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiih gihsthdrnhgvtheqnecuggftrfgrthhtvghrnhepleffteffveeuudduledvhfdtfeefve evtdeufefgueelveeifedtvdegtddvhffgnecuffhomhgrihhnpehsuhgsughirhdrmhhk necukfhppeekvddrjedtrdeluddruddttdenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehtvggthhdqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from rpi4.zyxst.net (rpi4.zyxst.net [82.70.91.100]) by mail.messagingengine.com (Postfix) with ESMTPA id CD05F3280064 for ; Thu, 1 Oct 2020 23:21:17 -0400 (EDT) Date: Fri, 2 Oct 2020 04:21:15 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: usr/ports make readmes & description Message-ID: <20201002032115.GA3769@rpi4.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20200930005948.GA82633@bastion.zyxst.net> <20200930142901.10e1bab2.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <20200930142901.10e1bab2.freebsd@edvax.de> X-Rspamd-Queue-Id: 4C2Zyn3lrRz440N X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=asdSF0cr; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=WehgC7yz; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.25 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.74 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-1.03)[-1.030]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[64.147.123.25:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.01)[-1.005]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.003]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.25:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2020 03:21:23 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 30, 2020 at 02:29:01PM +0200, Polytropon wrote: >On Wed, 30 Sep 2020 01:59:48 +0100, tech-lists wrote: >> Years ago one could go into /usr/ports and make readmes for every single= port. >> It'd take a while, but you'd end up with a ports tree browsable comforta= bly in >> lynx. Nowadays, make readmes only works for the top level ie /usr/ports/= category and >> won't make the longer descriptions in HTML. >> >> How can I get the old behaviour back? > >According to "man 7 ports", this is still supported: > >readmes Create a port's README.html. This can be used from > /usr/ports to create a browsable web of all ports on > your system! > >See /usr/ports/Mk/bsd.port.subdir.mk for the target. Hi, this is my point. /usr/ports/Mk/bsd.port.subdir.mk seems to suggest that 'make readme' builds the category (for example cd /usr/ports/archivers && make readme) one gets a README.html with a one-line description of each port. The port name is a link but if it's selected of course it goes nowhere. Now, if instead you 'make readmes', the end result is *identical* my point is that make readmes used to (it was a long time ago but I'm sure of it now) first make the top level readme and then go into each and every port in that category and make the readme for all those ports. It'd take a long while, but what you were left with is a README.html you could click through right down to the port's long description. That's what it's missing. Maybe the ports tree got too big for this I guess? The bit in that bsd.port.subdir.mk that's not getting run appears to be this: [...] readmes: readme ${SUBDIR:S/^/_/:S/$/.readmes/} @${ECHO_MSG} "=3D=3D=3D> Creating README.html for all ports" @perl ${PORTSDIR}/Tools/make_readmes < ${INDEXDIR}/${INDEXFILE} [...] I never see "Creating README.html for all ports" regardless of whether i'm in /usr/ports or /usr/ports/category when I run "make readmes". Is this a bug? --=20 J. --azLHFNyN32YCQGCU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl92nKEACgkQs8o7QhFz NAV6/BAAlvVGTxgu56u0RKHKsTr5IobqgttyX2lqJKcJfdCs4caejDoXUiX7Eoec CsAjSGOHmZO8FVlYAvNpq2Y6O88cR8XLvzSbgG4/C04qdfdfDiAuewZbEma6gVtH YrdlfmTxqMfMBvcxzYe5LvIr2jANmKLoOur9VlR4kfLzgp/j3BJjB+t3IblzWuq+ MU1Cpkwy31jOrM1HJP0UoW+S58zKDhpi+w4kTmsQPfWFNQ9nh4peUfUsGcDxlTDu sGMD1yWEa9fSDD97oQeMvc6E0RxYBYQTWezt/dt+ni2uwTBC8oG7rNlAH+/p6GsX WMtlj3Qca+9PORV4ceZ3jxzj5g+QwA+nvnLHcca6+zksBYXvs3U9s23wx/YlFQ+e 1uRlyeYPCqQAdJ6/vK0TtsBU9y0VmeVcWpm5iwPeCZ05vzjmQECQxC/sCSJO+Xah nY3dtDhizkha8T9b9rRzpG6GgaS0fI6qcavifCMsfACr2xPJRTcZ5s/XV66AjnRS S4x7yr3QPqigME6ZpPY4AyLjuCvQ9qDSpihYbrp8JEieJL+qP2MrydLY2oIztiub kRwx9rB25zKW61SsLAaudR/5OIw+eqwZv3AGI8KfANr/BsayRII3i0h8p/SNA0sq XsXmM/QCh/BhLTP4NYbRCypnfsctDDHvS1Hc2zcI/KEfZLFLsbc= =6tFE -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--