From nobody Sun Jan 21 17:57:44 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 4TJ1KQ57kGz57Pcf for ; Sun, 21 Jan 2024 17:57:46 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from smtp.osorio.me (mvd.osorio.me [5.196.94.126]) by mx1.freebsd.org (Postfix) with ESMTP id 4TJ1KP4mNmz4MF8 for ; Sun, 21 Jan 2024 17:57:45 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=freebsd.org (policy=none); spf=softfail (mx1.freebsd.org: 5.196.94.126 is neither permitted nor denied by domain of rodrigo@FreeBSD.org) smtp.mailfrom=rodrigo@FreeBSD.org Received: from [192.168.1.66] (lfbn-idf1-1-182-47.w82-124.abo.wanadoo.fr [82.124.31.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by smtp.osorio.me (Postfix) with ESMTPSA id D48181F2F1B for ; Sun, 21 Jan 2024 17:57:44 +0000 (UTC) Message-ID: Date: Sun, 21 Jan 2024 18:57:44 +0100 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 User-Agent: Mozilla Thunderbird Subject: Re: Call for help: moving manpages to share/man Content-Language: en-US, fr, es-AR To: ports@freebsd.org References: <037984e5-d7de-4ea5-91ab-a4d90a7bb004@gwdg.de> <8bcbd8c0-2e31-4242-9eb5-51530a6f84e5@bebik.net> Reply-To: rodrigo@FreeBSD.org From: Rodrigo Osorio In-Reply-To: <8bcbd8c0-2e31-4242-9eb5-51530a6f84e5@bebik.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: / X-Spamd-Result: default: False [0.71 / 15.00]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_NO_TLS_LAST(0.10)[]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, No valid DKIM,none]; XM_UA_NO_VERSION(0.01)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[rodrigo]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:16276, ipnet:5.196.0.0/16, country:FR]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; HAS_REPLYTO(0.00)[rodrigo@FreeBSD.org] X-Rspamd-Queue-Id: 4TJ1KP4mNmz4MF8 On 21/01/24 18:13, Rodrigo Osorio wrote: > On 21/01/24 17:44, Rainer Hurling wrote: >> Am 21.01.24 um 11:19 schrieb Gleb Popov: >>> Ahoy there fellow porters! >>> >>> 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. More than that, >>> changing the default for a given build system instantly breaks all >>> ports that use it, which means that this task can't be done >>> incrementally in the main branch. >>> >>> I've created a branch [1] in my own fork that switches mandir for the >>> autotools build system and am inviting everyone to collaborate on >>> that, until all the fallout is fixed. I'm asking port maintainers to >>> check if they have ports with the "GNU_CONFIGURE=yes" knob, as these >>> are most likely broken by the switch. Moin kindly prepared a list of >>> affected ports along with their maintainers (thanks Moin!) [2] >>> >>> In the most simple case you'll only need to change the pkg-plist, as I >>> did in this example commit [3]. Make sure to bump PORTREVISION as >>> we're altering the package's contents by this change. Also put the >>> "Approved by: portmgr (blanket)" tag in the commit message, as the >>> whole initiative was approved by the portmgr@ group. >>> >>> If you want to collaborate either create a pull request on GH against >>> my branch or just send me a git format-patch output for your change. >>> >>> Thanks beforehand to everyone going to help! >>> >>> [1] https://github.com/arrowd/freebsd-ports/tree/autotools-mandir >>> [2] http://arrowd.name/manprefix-fail.maintainer.txt >>> [3] >>> https://github.com/arrowd/freebsd-ports/commit/cc288e9b742cd54640e06737334dd57d88d45f6d >>> >> >> >> Ahoy, dear skipper! >> >> Thank you for all the work you and others put into this change. >> >> I am represented in Moin's list with three ports (maintainer >> rhurlin), all three of which are 'pure' Python ports: >> >> - astro/py-ephem >> - textproc/py-python-lsp-jsonrpc >> - textproc/py-whatthepatch  (waiting for an update of setuptools) >> >> All three ports do not generate any man pages. So I don't understand >> why they are included in the list. Or is it different if autotools is >> used? >> >> Thanks in advance for any clarification. >> >> Best wishes from a crew member, >> Rainer >> > Hi, > > Just a reminder :p > you can also obtain an updated list of ports to be updated using the > following command > > pkg provides "^/usr/local/man" > > Cheers > -- Rodrigo > Hi, Just to clarify my point and avoid misunderstandings, to run the command you must install the pkg-provides plugin. The provide database is built once a day based on the packages generated by our build system, so when I said "an updated list" I mean you can use this command to track the amount of ports to convert. All the best -- rodrigo