summaryrefslogtreecommitdiff
path: root/sys-apps/openrc
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r--sys-apps/openrc/Manifest2
-rw-r--r--sys-apps/openrc/openrc-0.46.ebuild (renamed from sys-apps/openrc/openrc-0.44.10-r2.ebuild)11
2 files changed, 11 insertions, 2 deletions
diff --git a/sys-apps/openrc/Manifest b/sys-apps/openrc/Manifest
index b7c0f9bc..89ed7ed2 100644
--- a/sys-apps/openrc/Manifest
+++ b/sys-apps/openrc/Manifest
@@ -1 +1 @@
-DIST openrc-0.44.10.tar.gz 254298 BLAKE2B 3cfecc27b560b8bb60d2104ab3dcf176b98677b65b829fa403ad2eb0e2e8bb0d586d374c336328a07c2f35e3abcb3f897cf5df142540a60fc09883aabd0ac79d SHA512 0e41f5268c6b8c325a6773511ca58c38ba52a1987aa47165794df8a99359bd1bfcb99d30e0d129b9242a2661663234f6f85c92c55c891dbb6c5b8a11d93edea4
+DIST openrc-0.46.tar.gz 247679 BLAKE2B 55490afc179e1e56a58408e8a2b7ebd5376ffee25cb61f2838a47cc97ad1e4eadabcc7f74e5cc2a2d9217917eb42517cf01766de2e82b50a3500bdbe263b0d88 SHA512 7c837e4b553511f0621944222ca0d35bd553a9888bd482ca0f8f3d2923d5b51cbd1f1c2f33cccb26d9f13dfb488939b95064673bedb7fcbf78d68664df2678c7
diff --git a/sys-apps/openrc/openrc-0.44.10-r2.ebuild b/sys-apps/openrc/openrc-0.46.ebuild
index 9411236e..fa02b4f2 100644
--- a/sys-apps/openrc/openrc-0.44.10-r2.ebuild
+++ b/sys-apps/openrc/openrc-0.46.ebuild
@@ -130,7 +130,7 @@ src_install() {
fi
# install documentation
- dodoc ChangeLog *.md
+ dodoc *.md
}
pkg_preinst() {
@@ -214,4 +214,13 @@ pkg_postinst() {
"${ROOT}"/sbin/rc-update del ntpd default > /dev/null 2>&1
fi
fi
+ # urandom -> seedrng migration
+ if [ -e "${ROOT}"/etc/init.d/seedrng ] && [ ! -e"${ROOT}"/etc/init.d/urandom]; then
+ if [ "$(rc-config list boot | grep urandom)" != "" ]; then
+ "${ROOT}"/sbin/rc-update del urandom boot > /dev/null 2>&1
+ "${ROOT}"/sbin/rc-update add seedrng boot > /dev/null 2>&1
+ else
+ "${ROOT}"/sbin/rc-update add seedrng boot > /dev/null 2>&1
+ fi
+ fi
}