Skip to content

Commit

Permalink
util-linux: add manpages-nosystemd-refs.patch, relbump
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Nov 27, 2024
1 parent f2cb950 commit 7a37ed9
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 2 deletions.
1 change: 1 addition & 0 deletions util-linux/.md5sum
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
b81651d115e5453456af8e90ca82cb38 manpages-nosystemd-refs.patch
88faefc8fefced097e58142077a3d14e util-linux-2.40.2.tar.xz
8 changes: 6 additions & 2 deletions util-linux/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@

name=util-linux
version=2.40.2
release=2
source=https://www.kernel.org/pub/linux/utils/$name/v${version%.*}/$name-$version.tar.xz
release=3
source="https://www.kernel.org/pub/linux/utils/$name/v${version%.*}/$name-$version.tar.xz
manpages-nosystemd-refs.patch"

build() {
# clean up systemd(1) references from man pages
patch -d $name-$version -Np1 -i $SRC/manpages-nosystemd-refs.patch

mkdir build; cd build

# --disable-chfn-chsh: provided by shadow
Expand Down
72 changes: 72 additions & 0 deletions util-linux/manpages-nosystemd-refs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
diff '--color=auto' -pruN util-linux-2.40.2/sys-utils/ctrlaltdel.8 util-linux-2.40.2/sys-utils/ctrlaltdel.8
--- util-linux-2.40.2/sys-utils/ctrlaltdel.8 2024-07-04 11:02:52.692353576 +0300
+++ util-linux-2.40.2/sys-utils/ctrlaltdel.8 2024-11-27 14:00:05.210605540 +0200
@@ -68,8 +68,7 @@ Print version and exit.
.MTO "poe\(atdaimi.aau.dk" "Peter Orbaek" ""
.SH "SEE ALSO"
.sp
-\fBinit\fP(8),
-\fBsystemd\fP(1)
+\fBinit\fP(8)
.SH "REPORTING BUGS"
.sp
For bug reports, use the issue tracker at \c
@@ -77,4 +76,4 @@ For bug reports, use the issue tracker a
.SH "AVAILABILITY"
.sp
The \fBctrlaltdel\fP command is part of the util\-linux package which can be downloaded from \c
-.URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "Linux Kernel Archive" "."
\ No newline at end of file
+.URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "Linux Kernel Archive" "."
diff '--color=auto' -pruN util-linux-2.40.2/sys-utils/ctrlaltdel.8.adoc util-linux-2.40.2/sys-utils/ctrlaltdel.8.adoc
--- util-linux-2.40.2/sys-utils/ctrlaltdel.8.adoc 2024-04-24 13:04:06.914538668 +0300
+++ util-linux-2.40.2/sys-utils/ctrlaltdel.8.adoc 2024-11-27 14:00:16.796624452 +0200
@@ -46,8 +46,7 @@ mailto:[email protected][Peter Orbaek]

== SEE ALSO

-*init*(8),
-*systemd*(1)
+*init*(8)

include::man-common/bugreports.adoc[]

diff '--color=auto' -pruN util-linux-2.40.2/sys-utils/rfkill.8 util-linux-2.40.2/sys-utils/rfkill.8
--- util-linux-2.40.2/sys-utils/rfkill.8 2024-07-04 11:02:53.066351377 +0300
+++ util-linux-2.40.2/sys-utils/rfkill.8 2024-11-27 13:56:08.694219547 +0200
@@ -134,10 +134,9 @@ This manual page was written by \c
.MTO "linux\(atyoumustbejoking.demon.co.uk" "Darren Salt" ""
for the Debian project (and may be used by others).
.SH "SEE ALSO"
-.sp
-\fBpowertop\fP(8),
-\fBsystemd\-rfkill\fP(8),
.URL "https://docs.kernel.org/driver\-api/rfkill.html" "Linux kernel documentation" ""
+.sp
+\fBpowertop\fP(8)
.SH "REPORTING BUGS"
.sp
For bug reports, use the issue tracker at \c
@@ -145,4 +144,4 @@ For bug reports, use the issue tracker a
.SH "AVAILABILITY"
.sp
The \fBrfkill\fP command is part of the util\-linux package which can be downloaded from \c
-.URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "Linux Kernel Archive" "."
\ No newline at end of file
+.URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "Linux Kernel Archive" "."
diff '--color=auto' -pruN util-linux-2.40.2/sys-utils/rfkill.8.adoc util-linux-2.40.2/sys-utils/rfkill.8.adoc
--- util-linux-2.40.2/sys-utils/rfkill.8.adoc 2024-04-24 13:04:06.926538591 +0300
+++ util-linux-2.40.2/sys-utils/rfkill.8.adoc 2024-11-27 13:55:23.712146145 +0200
@@ -77,10 +77,10 @@ This manual page was written by mailto:l

== SEE ALSO

-*powertop*(8),
-*systemd-rfkill*(8),
https://docs.kernel.org/driver-api/rfkill.html[Linux kernel documentation]

+*powertop*(8)
+
include::man-common/bugreports.adoc[]

include::man-common/footer.adoc[]

0 comments on commit 7a37ed9

Please sign in to comment.