* [PR PATCH] util-linux: fix manpage links
@ 2024-02-12 13:36 meator
2024-02-12 14:08 ` meator
2024-02-14 21:41 ` [PR PATCH] [Merged]: " leahneukirchen
0 siblings, 2 replies; 3+ messages in thread
From: meator @ 2024-02-12 13:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1566 bytes --]
There is a new pull request by meator against master on the void-packages repository
https://github.com/meator/void-packages util-linux-man
https://github.com/void-linux/void-packages/pull/48670
util-linux: fix manpage links
Manpages of vigr, swapoff and lastb don't link properly.
I'm unsure whether this patch is the right solution to this problem, but it makes it work. It should probably also be reported upstream, but I don't really know. The manpage linking could be system dependent and their scheme could be valid on some systems.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/48670.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-util-linux-man-48670.patch --]
[-- Type: text/x-diff, Size: 1677 bytes --]
From fc16152cef7ae6dc1c148b61eb30cca49dfbe4e9 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Mon, 12 Feb 2024 14:31:00 +0100
Subject: [PATCH] util-linux: fix manpage links
Manpages of vigr, swapoff and lastb don't link properly.
---
.../patches/fix_manpage_redirects.patch | 18 ++++++++++++++++++
srcpkgs/util-linux/template | 2 +-
2 files changed, 19 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/util-linux/patches/fix_manpage_redirects.patch
diff --git a/srcpkgs/util-linux/patches/fix_manpage_redirects.patch b/srcpkgs/util-linux/patches/fix_manpage_redirects.patch
new file mode 100644
index 0000000000000..64f65bfbf07fb
--- /dev/null
+++ b/srcpkgs/util-linux/patches/fix_manpage_redirects.patch
@@ -0,0 +1,18 @@
+--- a/login-utils/lastb.1
++++ b/login-utils/lastb.1
+@@ -1 +1 @@
+-.so last.1
+\ No newline at end of file
++.so man1/last.1
+--- a/login-utils/vigr.8
++++ b/login-utils/vigr.8
+@@ -1 +1 @@
+-.so vipw.8
+\ No newline at end of file
++.so man8/vipw.8
+--- a/sys-utils/swapoff.8
++++ b/sys-utils/swapoff.8
+@@ -1 +1 @@
+-.so swapon.8
+\ No newline at end of file
++.so man8/swapon.8
diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template
index f048a9126cc20..358a75a3fb51b 100644
--- a/srcpkgs/util-linux/template
+++ b/srcpkgs/util-linux/template
@@ -2,7 +2,7 @@
# Keep this package sync with util-linux-common
pkgname=util-linux
version=2.38.1
-revision=5
+revision=6
build_style=gnu-configure
configure_args="--exec-prefix=\${prefix} --enable-libuuid --disable-makeinstall-chown
--enable-libblkid --enable-fsck --disable-rpath --enable-fs-paths-extra=/usr/sbin:/usr/bin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: util-linux: fix manpage links
2024-02-12 13:36 [PR PATCH] util-linux: fix manpage links meator
@ 2024-02-12 14:08 ` meator
2024-02-14 21:41 ` [PR PATCH] [Merged]: " leahneukirchen
1 sibling, 0 replies; 3+ messages in thread
From: meator @ 2024-02-12 14:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
New comment by meator on void-packages repository
https://github.com/void-linux/void-packages/pull/48670#issuecomment-1938748620
Comment:
https://github.com/util-linux/util-linux/issues/2781
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: util-linux: fix manpage links
2024-02-12 13:36 [PR PATCH] util-linux: fix manpage links meator
2024-02-12 14:08 ` meator
@ 2024-02-14 21:41 ` leahneukirchen
1 sibling, 0 replies; 3+ messages in thread
From: leahneukirchen @ 2024-02-14 21:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1410 bytes --]
There's a merged pull request on the void-packages repository
util-linux: fix manpage links
https://github.com/void-linux/void-packages/pull/48670
Description:
Manpages of vigr, swapoff and lastb don't link properly.
I'm unsure whether this patch is the right solution to this problem, but it makes it work. It should probably also be reported upstream, but I don't really know. The manpage linking could be system dependent and their scheme could be valid on some systems.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-14 21:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-12 13:36 [PR PATCH] util-linux: fix manpage links meator
2024-02-12 14:08 ` meator
2024-02-14 21:41 ` [PR PATCH] [Merged]: " leahneukirchen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).