From 90f738b661e9e6cf903cd2a65418a6e00482c19f Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sat, 30 Dec 2023 22:40:52 -0500 Subject: [PATCH] www-servers/apache: clean up ancient outdated split-usr hack For nearly a decade, USE=split-usr has been declared in apache-2.eclass and provides a hack intended as a short-term migration for moving a binary from /usr/sbin to /usr/bin. No remaining cases of /usr/sbin/apxs exist in tree, so drop the symlink and the USE flag and revbump. Closes: https://bugs.gentoo.org/502384 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- .../{apache-2.4.57-r5.ebuild => apache-2.4.57-r6.ebuild} | 7 ------- .../{apache-2.4.58-r1.ebuild => apache-2.4.58-r2.ebuild} | 7 ------- 2 files changed, 14 deletions(-) rename www-servers/apache/{apache-2.4.57-r5.ebuild => apache-2.4.57-r6.ebuild} (96%) rename www-servers/apache/{apache-2.4.58-r1.ebuild => apache-2.4.58-r2.ebuild} (96%) diff --git a/www-servers/apache/apache-2.4.57-r5.ebuild b/www-servers/apache/apache-2.4.57-r6.ebuild similarity index 96% rename from www-servers/apache/apache-2.4.57-r5.ebuild rename to www-servers/apache/apache-2.4.57-r6.ebuild index 02691c5f39d93..bf8fd0ba00f56 100644 --- a/www-servers/apache/apache-2.4.57-r5.ebuild +++ b/www-servers/apache/apache-2.4.57-r6.ebuild @@ -8,9 +8,6 @@ GENTOO_PATCHSTAMP="20231011" GENTOO_DEVELOPER="graaff" GENTOO_PATCHNAME="gentoo-apache-2.4.57-r5" -# ancient hack: bug #502384 -IUSE="split-usr" - # IUSE/USE_EXPAND magic IUSE_MPMS_FORK="prefork" IUSE_MPMS_THREAD="event worker" @@ -193,11 +190,7 @@ src_install() { rm "${ED}"/${i} || die "Failed to prune apache-tools bits" done - # install apxs in /usr/bin (bug #502384) and put a symlink into the - # old location until all ebuilds and eclasses have been modified to - # use the new location. dobin support/apxs - use split-usr && dosym ../bin/apxs /usr/sbin/apxs # Note: wait for mod_systemd to be included in some forthcoming release, # Then apache2.4.service can be used and systemd support controlled diff --git a/www-servers/apache/apache-2.4.58-r1.ebuild b/www-servers/apache/apache-2.4.58-r2.ebuild similarity index 96% rename from www-servers/apache/apache-2.4.58-r1.ebuild rename to www-servers/apache/apache-2.4.58-r2.ebuild index 7a858a9b3cbff..5b5e4fb1a0347 100644 --- a/www-servers/apache/apache-2.4.58-r1.ebuild +++ b/www-servers/apache/apache-2.4.58-r2.ebuild @@ -8,9 +8,6 @@ GENTOO_PATCHSTAMP="20231019" GENTOO_DEVELOPER="graaff" GENTOO_PATCHNAME="gentoo-apache-2.4.58" -# ancient hack: bug #502384 -IUSE="split-usr" - # IUSE/USE_EXPAND magic IUSE_MPMS_FORK="prefork" IUSE_MPMS_THREAD="event worker" @@ -193,11 +190,7 @@ src_install() { rm "${ED}"/${i} || die "Failed to prune apache-tools bits" done - # install apxs in /usr/bin (bug #502384) and put a symlink into the - # old location until all ebuilds and eclasses have been modified to - # use the new location. dobin support/apxs - use split-usr && dosym ../bin/apxs /usr/sbin/apxs # Note: wait for mod_systemd to be included in some forthcoming release, # Then apache2.4.service can be used and systemd support controlled