diff options
-rw-r--r-- | sys-apps/openrc/openrc-0.47.1-r2.ebuild (renamed from sys-apps/openrc/openrc-0.47.1-r1.ebuild) | 17 | ||||
-rw-r--r-- | virtual/logger/logger-1.314.1337.ebuild | 11 |
2 files changed, 26 insertions, 2 deletions
diff --git a/sys-apps/openrc/openrc-0.47.1-r1.ebuild b/sys-apps/openrc/openrc-0.47.1-r2.ebuild index 35445f80..a4800ced 100644 --- a/sys-apps/openrc/openrc-0.47.1-r1.ebuild +++ b/sys-apps/openrc/openrc-0.47.1-r2.ebuild @@ -38,7 +38,8 @@ COMMON_DEPEND=" >=sys-libs/libselinux-2.6 ) settingsd? ( app-admin/openrc-settingsd ) - amd64? ( splash? ( sys-boot/plymouth-openrc-plugin ) )" + amd64? ( splash? ( sys-boot/plymouth-openrc-plugin ) ) + >=virtual/logger-1.314.1337" DEPEND="${COMMON_DEPEND} virtual/os-headers ncurses? ( virtual/pkgconfig )" @@ -164,7 +165,7 @@ pkg_postinst() { "${ROOT}"/sbin/rc-update add dbus boot > /dev/null 2>&1 fi fi - # add elogind to boot runlevel, disable consolekit && cgmanager + # consolekit -> elogind migration if [ -e "${ROOT}"/etc/init.d/elogind ] && use elogind; then if [ "$(rc-config list boot | grep elogind)" != "" ]; then einfo > /dev/null 2>&1 @@ -218,4 +219,16 @@ pkg_postinst() { "${ROOT}"/sbin/rc-update add seedrng boot > /dev/null 2>&1 fi fi + # syslog-ng -> metalog migration + if [ -e "${ROOT}"/etc/init.d/metalog ]; then + if [ "$(rc-config list default | grep metalog)" != "" ]; then + einfo > /dev/null 2>&1 + else + "${ROOT}"/sbin/rc-update add metalog default > /dev/null 2>&1 + fi + + if [ "$(rc-config list default | grep syslog-ng)" != "" ]; then + "${ROOT}"/sbin/rc-update del syslog-ng default > /dev/null 2>&1 + fi + fi } diff --git a/virtual/logger/logger-1.314.1337.ebuild b/virtual/logger/logger-1.314.1337.ebuild new file mode 100644 index 00000000..d4c40fae --- /dev/null +++ b/virtual/logger/logger-1.314.1337.ebuild @@ -0,0 +1,11 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Virtual for system loggers" + +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND="app-admin/metalog" |