summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-21 05:15:29 +0100
committerSam James <sam@gentoo.org>2022-09-21 05:19:13 +0100
commitaf82d70a60ee02a73b67a1b6140dace646a07500 (patch)
treec87bb69d571948c32e5c4fa429968971d1b2a4bd /sys-apps/man-pages
parentsys-block/parted: fix LICENSE (diff)
downloadgentoo-af82d70a60ee02a73b67a1b6140dace646a07500.tar.gz
gentoo-af82d70a60ee02a73b67a1b6140dace646a07500.tar.bz2
gentoo-af82d70a60ee02a73b67a1b6140dace646a07500.zip
sys-apps/man-pages: add ewarn re dropped man-pages-posix
This change was made to avoid conflicts for users by default (as man-pages is installed already) by way of licence. Let's make users aware of the change so they aren't taken aback by their POSIX man pages missing. Bug: https://bugs.gentoo.org/871636 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/man-pages')
-rw-r--r--sys-apps/man-pages/man-pages-5.12-r3.ebuild (renamed from sys-apps/man-pages/man-pages-5.12-r2.ebuild)12
-rw-r--r--sys-apps/man-pages/man-pages-5.13-r2.ebuild (renamed from sys-apps/man-pages/man-pages-5.13-r1.ebuild)12
-rw-r--r--sys-apps/man-pages/man-pages-6.0_rc1.ebuild14
-rw-r--r--sys-apps/man-pages/man-pages-9999.ebuild14
4 files changed, 50 insertions, 2 deletions
diff --git a/sys-apps/man-pages/man-pages-5.12-r2.ebuild b/sys-apps/man-pages/man-pages-5.12-r3.ebuild
index 4c561dc4e4ad..fc0a324bdb91 100644
--- a/sys-apps/man-pages/man-pages-5.12-r2.ebuild
+++ b/sys-apps/man-pages/man-pages-5.12-r3.ebuild
@@ -59,3 +59,15 @@ src_install() {
doman */*
dodoc README.Gentoo
}
+
+pkg_postinst() {
+ for ver in ${REPLACING_VERSIONS} ; do
+ if ver_test ${ver} -lt 5.12-r3 ; then
+ # Avoid ACCEPT_LICENSE issues for users by default
+ # bug #871636
+ ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!"
+ ewarn "Please install sys-apps/man-pages-posix yourself if needed."
+ break
+ fi
+ done
+}
diff --git a/sys-apps/man-pages/man-pages-5.13-r1.ebuild b/sys-apps/man-pages/man-pages-5.13-r2.ebuild
index 2d41baecac59..e42088c5e35d 100644
--- a/sys-apps/man-pages/man-pages-5.13-r1.ebuild
+++ b/sys-apps/man-pages/man-pages-5.13-r2.ebuild
@@ -59,3 +59,15 @@ src_install() {
doman */*
dodoc README.Gentoo
}
+
+pkg_postinst() {
+ for ver in ${REPLACING_VERSIONS} ; do
+ if ver_test ${ver} -lt 5.13-r2 ; then
+ # Avoid ACCEPT_LICENSE issues for users by default
+ # bug #871636
+ ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!"
+ ewarn "Please install sys-apps/man-pages-posix yourself if needed."
+ break
+ fi
+ done
+}
diff --git a/sys-apps/man-pages/man-pages-6.0_rc1.ebuild b/sys-apps/man-pages/man-pages-6.0_rc1.ebuild
index b76d3df8daa8..662077f8568b 100644
--- a/sys-apps/man-pages/man-pages-6.0_rc1.ebuild
+++ b/sys-apps/man-pages/man-pages-6.0_rc1.ebuild
@@ -59,7 +59,7 @@ PDEPEND="
src_unpack() {
default
- git-r3_src_unpack
+ [[ ${PV} == 9999 ]] && git-r3_src_unpack
}
src_prepare() {
@@ -80,3 +80,15 @@ src_install() {
doman */*
dodoc README.Gentoo
}
+
+pkg_postinst() {
+ for ver in ${REPLACING_VERSIONS} ; do
+ if ver_test ${ver} -lt 5.13-r2 ; then
+ # Avoid ACCEPT_LICENSE issues for users by default
+ # bug #871636
+ ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!"
+ ewarn "Please install sys-apps/man-pages-posix yourself if needed."
+ break
+ fi
+ done
+}
diff --git a/sys-apps/man-pages/man-pages-9999.ebuild b/sys-apps/man-pages/man-pages-9999.ebuild
index b76d3df8daa8..662077f8568b 100644
--- a/sys-apps/man-pages/man-pages-9999.ebuild
+++ b/sys-apps/man-pages/man-pages-9999.ebuild
@@ -59,7 +59,7 @@ PDEPEND="
src_unpack() {
default
- git-r3_src_unpack
+ [[ ${PV} == 9999 ]] && git-r3_src_unpack
}
src_prepare() {
@@ -80,3 +80,15 @@ src_install() {
doman */*
dodoc README.Gentoo
}
+
+pkg_postinst() {
+ for ver in ${REPLACING_VERSIONS} ; do
+ if ver_test ${ver} -lt 5.13-r2 ; then
+ # Avoid ACCEPT_LICENSE issues for users by default
+ # bug #871636
+ ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!"
+ ewarn "Please install sys-apps/man-pages-posix yourself if needed."
+ break
+ fi
+ done
+}