From nobody Fri Feb 23 10:29:48 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 4Th5qt0LyBz5CCV1 for ; Fri, 23 Feb 2024 10:30:18 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-vk1-f180.google.com (mail-vk1-f180.google.com [209.85.221.180]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Th5qr6k84z4Vfd for ; Fri, 23 Feb 2024 10:30:16 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.221.180 as permitted sender) smtp.mailfrom=6yearold@gmail.com Received: by mail-vk1-f180.google.com with SMTP id 71dfb90a1353d-4b978e5e240so382663e0c.0 for ; Fri, 23 Feb 2024 02:30:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708684215; x=1709289015; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Jkqlkwe28hx0NUHUUoDddosWaaOXN+oEVsq4/+u3Law=; b=dZB1emmBlwfvOi2auzwk9EDapR4+KoZejbYxWMACwMMQA61Fq2/D0G7pDRTWykhebc PdTeTly6uThqZhd05ngFgMMSf7UgwgbTOxJood73TTDtWTBhQZzdgDmPecS6N2jsBRCz msutW2qqToM+nRFH5MLRyHn9qYbUBzgnka4IDfCuKxGCukC38c4+HyQ1J4yiY9Ara1Tk XRlzJK/V63DVUYyYCj/nJJlBaXdRWnhTk2WwtDzBrHlE19OfH1wvHLPcYWyi0pFos1mm EDnTlaZePVlbK5UlB6wkp5YxsqvUo7yrrHpAR9QbnRu31tHgMVicErjfncaVWxKDo79n Egtg== X-Gm-Message-State: AOJu0Yxm316nB3oVFuYvs62NTzNfLWBfU3mk/MyB8dY9nMg5W7au5Qd/ Q4o1Mg9iaBWR/HZdx/XBxVgzmQRc6JA5lGWZ2h+dsCBxfYM8AnskXnij0+SQ3AMBmQ== X-Google-Smtp-Source: AGHT+IG7UeEADRw6VHBB7oK1Ehjsq0F/cbXnLiVExVAa7tBuVrB+fVHX6kdnu3uafBLA16qZWktSAQ== X-Received: by 2002:a1f:ea41:0:b0:4cb:2662:3653 with SMTP id i62-20020a1fea41000000b004cb26623653mr1436136vkh.9.1708684215460; Fri, 23 Feb 2024 02:30:15 -0800 (PST) Received: from mail-vk1-f171.google.com (mail-vk1-f171.google.com. [209.85.221.171]) by smtp.gmail.com with ESMTPSA id 23-20020a056122085700b004bd503f054asm1855942vkk.42.2024.02.23.02.30.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Feb 2024 02:30:15 -0800 (PST) Received: by mail-vk1-f171.google.com with SMTP id 71dfb90a1353d-4b978e5e240so382656e0c.0 for ; Fri, 23 Feb 2024 02:30:15 -0800 (PST) X-Received: by 2002:a1f:c742:0:b0:4cd:20ea:35aa with SMTP id x63-20020a1fc742000000b004cd20ea35aamr1484933vkf.8.1708684215009; Fri, 23 Feb 2024 02:30:15 -0800 (PST) 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 References: In-Reply-To: From: Gleb Popov Date: Fri, 23 Feb 2024 13:29:48 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Call for help: moving manpages to share/man To: "ports@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.04 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_SHORT(-0.14)[-0.135]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_EQ_ADDR_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[ports@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; MISSING_XM_UA(0.00)[]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.221.180:from]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.221.180:from,209.85.221.171:received] X-Rspamd-Queue-Id: 4Th5qr6k84z4Vfd On Sun, Jan 21, 2024 at 1:19=E2=80=AFPM Gleb Popov wro= te: > > 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. > ... It's been a month since the initial call was made. Despite the fact that the separate branch approach didn't really work out, the process of moving manpages to share/man is still ongoing. I'd like to thank everyone who sent me PRs and plain patches - they were all integrated into the main branch and all were helpful for our cause. Still, there is a lot more to process, so I'm making another call for help, hopefully more concrete this time. moin@ created a list of problematic ports [1] along with MAINTAINER field, so you can quickly find if any of your ports need fixing. In this list "failed" ports are confirmed to be broken if we change the default mandir prefix in the framework. The "skipped" ports may probably be dependent on the "failed" ones, so it is better to deal with "failed" first. We have an established ways to fix Autotools and CMake-based ports: - Autotools ports are generally identified by the presence of GNU_CONFIGURE=3Dyes knob. To fix such a port one should add GNU_CONFIGURE_MANPREFIX=3D${PREFIX}/share knob and fix pkg-plist. - CMake already defaults to a correct mandir location, so CMake ports usually have some patching that replaces share/man with man. To fix such ports it is sufficient to remove that patching and then again fix the plist. We don't yet care of Meson ports (although it also should be as simple as the Autotools case). Feel free to skip them for now. Finally, there are ports with homegrown ad-hoc build systems. There is no general way to fix them. When making a mandir-converting change remember to put "Approved by: portmgr (blanket)" tag into the commit message. This also means that if you're fixing someone else's port, you don't need to wait for a maintainer timeout (although it might be still a good idea to wait for the feedback if the port in question is complex or the change itself is big). Thanks in advance to everyone who will help us in this quest. [1] https://people.freebsd.org/~bofh/dropzone/manprefix-fail.maintainer.txt