]> git.draconx.ca Git - gentoo-fixes.git/commitdiff
sys-apps/man: Remove user.eclass usage.
authorNick Bowler <nbowler@draconx.ca>
Fri, 16 Dec 2022 04:22:27 +0000 (23:22 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 16 Dec 2022 04:23:18 +0000 (23:23 -0500)
Simply change to depend on the existing GLEP-81 man user/group packages.

sys-apps/man/Manifest
sys-apps/man/man-1.6g-r3.ebuild [moved from sys-apps/man/man-1.6g-r2.ebuild with 89% similarity]

index 73a41e597660bf10d1093e8152b4f49a9f8f91dd..7816a7c57c737836a0d914984ba1b50c3b6b1165 100644 (file)
@@ -12,4 +12,4 @@ AUX man-1.6g-fbsd.patch 366 BLAKE2B 882b3b3048e3dcb4f64f38e94d7603ae577038dce663
 AUX man-1.6g-nonportable-echo.patch 607 BLAKE2B c04845b50fc1f7e962ff40e6173e14293c83b675c1db87de9f9a442ac8fdb4a27fe75d6d83a587da611f7fee214a79e4a449bd3d5f00afa6925798068674fb64 SHA512 ddbbe14755a0ccea627a734c37428485a5f310ab916a230707b45ed503e629518cc7ea81aa5097b0bd403f2fa6e1305dce246c01e791987f5f11901b1d100b6e
 AUX man-1.6g-xz.patch 1848 BLAKE2B 6a0855eda72386a0f48e715e9ba620b3473b3aa854c42fabd93bc02b7c9cd44fbd07f2608257fe953bdfa9b02e8fa35876d651ba5aab99937fe42325fcfb7b69 SHA512 6a883fa800a6d3b11c76a70e1a31c0736d380271c9f21315863ddaca9529e3d613b587724287fb94bab2b0d97215f6ccb3f1438a5c5e339e5a2edf872c92515c
 DIST man-1.6g.tar.gz 256906 BLAKE2B f13e21400aecd41a5f001b37bf3c6f9fd8463ff627f761cfd0a6846c7b8dac48a6dc87ff2cf4786b55800a558141cffcc0d66420943e46f708292f5653b42d51 SHA512 c786fa2201aed92293e5590dc3ad5d550cf14e5059fa274ef7719af86ee4c892e747576495b6dc0a09286e73e2f0f0caf860216e0c8032d9ef13e5d26853048b
-EBUILD man-1.6g-r2.ebuild 3930 BLAKE2B e6af0c063cce75b40ac6ab16581586304fb28ca0f0c53ed04ad52fe980c902ab484be01bbc947a558782402297c2e32e1d3fb9fb55101ed875cf65e94c6c4003 SHA512 e3cd0c582bfeb01155bed8ffaf52f095a522f65bfcd15e92dc4484df41b021b57fd5e915c2dc380a2ae02dd026e421d737b932b30fc50eb9629fc685f8d44075
+EBUILD man-1.6g-r3.ebuild 4155 BLAKE2B 22fb00df938c79208486fa99e2fe99a21784a48a4d44a39ff15ab2026d7281b3848ec712f6173fc40367601ea75c1189b6fc64f4088be17b4269262b6aea578b SHA512 aa6ee1a335d10aaadd7f983f5e9539077bef154e85953af5fb2ddb1bc4a1b95f0328542a86384a7bd23526cce147fedca388e045fa510d413583b48d07e2f7aa
similarity index 89%
rename from sys-apps/man/man-1.6g-r2.ebuild
rename to sys-apps/man/man-1.6g-r3.ebuild
index d4574946b723b23bfc4b3d43fbe348b1049f3a69..853c4af42c9c2bf4d11c21839dff8552da9ca39b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright © 2018 Nick Bowler
+# Copyright © 2018-2019, 2022 Nick Bowler
 # License GPLv2+: GNU General Public License version 2 or any later version.
 # This is free software: you are free to change and distribute it.
 # There is NO WARRANTY, to the extent permitted by law.
@@ -8,10 +8,17 @@
 #
 #   Copyright 1999-2018 Gentoo Foundation
 #   Distributed under the terms of the GNU General Public License v2
+#
+# The modifications are:
+#
+#   * Fix nonportable "echo" usage (2018-10)
+#   * Convert to EAPI 6 patch application (2019-03)
+#   * Improve /etc/cron.daily/makewhatis installation (2019-03)
+#   * Convert from user.eclass to GLEP 81 user/group packages (2022-12)
 
 EAPI="6"
 
-inherit eutils prefix toolchain-funcs user
+inherit eutils prefix toolchain-funcs
 
 DESCRIPTION="Standard commands to read man pages"
 HOMEPAGE="http://primates.ximian.com/~flucifredi/man/"
@@ -27,12 +34,9 @@ RDEPEND="|| ( >=sys-apps/groff-1.19.2-r1 app-doc/heirloom-doctools )
        !sys-apps/man-db
        !<app-arch/lzma-4.63
        lzma? ( app-arch/xz-utils )
-       selinux? ( sec-policy/selinux-makewhatis )"
-
-pkg_setup() {
-       enewgroup man 15
-       enewuser man 13 -1 /usr/share/man man
-}
+       selinux? ( sec-policy/selinux-makewhatis )
+       acct-group/man
+       acct-user/man"
 
 PATCHES=(
        "${FILESDIR}"/man-1.6f-man2html-compression-2.patch