summaryrefslogtreecommitdiff
path: root/sys-apps/openrc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-12 17:43:40 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-12 17:43:40 +0000
commitf9a5cbcf7c91eac6abcec2d6e0e5fc76e386986b (patch)
treec624b7785109afdf7c7b1a7aa8b08a9cf153f09a /sys-apps/openrc
parentdd98692ad53b24feb58deec379f530da78f357be (diff)
sys-apps/openrc : revision bump
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r--sys-apps/openrc/openrc-0.47.1-r2.ebuild (renamed from sys-apps/openrc/openrc-0.47.1-r1.ebuild)17
1 files changed, 15 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
}