summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2015-05-14 17:10:51 +0000
committerWilliam Hubbs <williamh@gentoo.org>2015-05-14 17:10:51 +0000
commitb78e8e1bdbf356fd7460c2fbd4408e8f5b666d4f (patch)
tree6964326ccc92cfa07eae78493fd5dc2409d0a8dd /sys-apps
parentDrop residual USE=build references #549310 by Bertrand Jacquin. (diff)
downloadhistorical-b78e8e1bdbf356fd7460c2fbd4408e8f5b666d4f.tar.gz
historical-b78e8e1bdbf356fd7460c2fbd4408e8f5b666d4f.tar.bz2
historical-b78e8e1bdbf356fd7460c2fbd4408e8f5b666d4f.zip
version bump
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0x30C46538
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/openrc/ChangeLog7
-rw-r--r--sys-apps/openrc/Manifest10
-rw-r--r--sys-apps/openrc/openrc-0.16.2.ebuild337
3 files changed, 349 insertions, 5 deletions
diff --git a/sys-apps/openrc/ChangeLog b/sys-apps/openrc/ChangeLog
index 5ac86eb72d50..877d22904a4d 100644
--- a/sys-apps/openrc/ChangeLog
+++ b/sys-apps/openrc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/openrc
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.343 2015/05/13 22:24:00 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.344 2015/05/14 17:10:36 williamh Exp $
+
+*openrc-0.16.2 (14 May 2015)
+
+ 14 May 2015; William Hubbs <williamh@gentoo.org> +openrc-0.16.2.ebuild:
+ version bump
*openrc-0.16.1 (13 May 2015)
diff --git a/sys-apps/openrc/Manifest b/sys-apps/openrc/Manifest
index c51081dec725..ff3ca2ab1283 100644
--- a/sys-apps/openrc/Manifest
+++ b/sys-apps/openrc/Manifest
@@ -12,20 +12,22 @@ DIST openrc-0.14.tar.bz2 155903 SHA256 fc7144811cd84b7a0d3786120e98cdd8c8ea31040
DIST openrc-0.15.1.tar.bz2 156774 SHA256 b125e0a9b54f7829b19529fe6d90005dfd2c01b4f96da3b03847b34d6dc77cac SHA512 287759e0b0deffb7698bb9e1ad82279504ad1f2d2e5333660a83b66618e2b807c98c2d6289c455f2137f2de09028147722c1c757c6afe12e49cc16ef8d86144f WHIRLPOOL 19d5af87296436a776aeffe8bab09d48bc90f40a1b08412c06a01231608296a11e17ff6bd1c04462d5c8fa405fd4336269d3db2e9678443dac8c67982f61ba94
DIST openrc-0.15.tar.bz2 156099 SHA256 157c58ce1ff83b79a4063c44958c8070b15c9700fb7454827c8515091c3abeb6 SHA512 938e2688c865b0c0886273eb987a9289e74ef7f0ec93aef0a3ec51111b11e0ddb6afd9c752fba08f6a5e2d089d783e0e6a40d978cd0f104449d6c333dbe79e87 WHIRLPOOL d7872a266570d4ef76a564619e57070a18e1286233417e8cf78e8a7f35f8073bfbd7b85c94f5331f8647fc395d4f32b8256ec934dbe18f1b4642c50a42a342b0
DIST openrc-0.16.1.tar.bz2 158448 SHA256 0654d88b5789abf0ada04548058edf1fc9ba61f16f063bc061bb720e20d7989a SHA512 4e197d2b6d46a15ebf7bf7ffcd1ec7711fec43a9243ad852d3a3d04f5a978045b8f0e58806b4428fe310be0e069654c13d49713754ff5306c2b4637ae31f2028 WHIRLPOOL 58c455d734ec7562a17571a8e5adeb71d63c58ca932dccafd3474c16551220ed2715dfe1cb481f02e221bc26e206704f081df50562e0e62e0f84007714bffe51
+DIST openrc-0.16.2.tar.bz2 158753 SHA256 77b2c0f435b457a7f40fb607ee5bbf6fccd93362580d07bc96ef692cc7ddac46 SHA512 baf3b00b4fb3e418e2863b09a40dd722cbcc52e3381dc08acc0876984881b2cbeb70a078cc697bffbdaaa8d268d457efd3ce72a4e122be3ec74f3138fec0e936 WHIRLPOOL 708d949cbe99ca6e879c657f884d2b4f2e3455352c7daca3e2a3449b1a2f972fe2e371a4b38bed929471080c59f2715c07d7f1d4ea686051e30b17b6a20699e8
DIST openrc-0.16.tar.bz2 157924 SHA256 969ce450bb095a406ef14362572633b14c8696b57d67361394c5951704273ce3 SHA512 3ff3958bf480ec6bf97e50c8911c382dc855322a74d57b65da975e98d8b76debda971826d15803be96f2ae9c7fd5ebf4cf0c43013663a042224a9c49377614f8 WHIRLPOOL 5e6bb11b907a2fe3812653354950b0ec4e13571981580d03d2ee9b93dc8a68ce128ee1ec7560557adbc90af44aa881648aae51e15bb0f0990ca338ffb3c6c814
EBUILD openrc-0.13.11.ebuild 10710 SHA256 1442dd77db52d34cd31e3e78256f101b81446c3e0f774d61d1e5f087f1372c53 SHA512 61b4f4c7c69431256d0932d50196bcbeeace4585a6ddb8c2e298f8c636b20efe9b8287f9f9145522b490f3343362f672158cb45f6ef320c9bf670ec4282ceb34 WHIRLPOOL bd96c904d8a2667bc5bd5ecd894f5b629382e1eb1aae65f1ebcb584b9305bfad847c623083bce41441e8edfacb6f7c4dda1f6c04481f0a7b186157e509f1b11c
EBUILD openrc-0.14.ebuild 10809 SHA256 a934d7ac9de5ddc3de5724a9c0451f3fa46b8e3993be4f772821c16e84846b4f SHA512 1e88d2f5001565e0158373caa79e4e85925e16691c9fa376fc0a4cc9f04a42dc784e8ceca7c0d60fa99dc3ba133988a7abcb92881c8d74acaee98a1eed5b5a4a WHIRLPOOL 97f496b3a5114ead98a4c644e7d7d8961bcc1440229376a47c7ae80eb8d90521448a681d6cc2628d409131fa394127fa25d859235d54eb04d88ba4ff4dcd9580
EBUILD openrc-0.15.1.ebuild 10811 SHA256 5f851ff459d547dd84faefb464ea38da89dcb35b8d41e1146b53e37f4d9ea505 SHA512 9c4d5ebe27da723f7d75c1ca55c14169d12cd7bf2ec6554288a3c0d2ebc1d2a26ad04409037d8af58b13c71b6820e46d1bd9483eb58c0a19bd9e571125db71e5 WHIRLPOOL 8fdcf9a249ecdcc60c8132794042898055d0bc6518f383e5220be4c2ac5a5ca9c6f56cc459b92fd27f3fa02b2c6a0a65a6f847164622210740adf55edc243b70
EBUILD openrc-0.15.ebuild 10809 SHA256 69925f09e832efba327c35789d326bc16ee3ad70a5a0914183f43a3a579ff91b SHA512 4f6c8e07e4b77bee488689ae6512ea73a7a6a1720788b06fb7f50ddd7872ddea58a9617483ce399cafaac867509edd0dd17da6286a93a93f598edb726400ead1 WHIRLPOOL b90b8b2f447d238a4990fb35a6db6b2f521771c5f7b34c15fda4687139eb2e49fe222ce1dc816ae662056ab939a832a7772c562d93785ae7eb5c63e81eb284c8
EBUILD openrc-0.16.1.ebuild 10811 SHA256 08b52015ebc9ef1c03fe731ccbe252a15d2599279a6a7a44ba5cb22e61b769c4 SHA512 5f670aa85ed5b99bea769d12bf7feb8d30f9778e101b93cee8a22fcb71b8d7d1e1757e6e59ac836eda770266d2d3093430269de55044f6d3f8dbcd7d44f56422 WHIRLPOOL a7d183d1f38fa78a152ed839706b73573bc8ab690a243b129547b17734f9ca3d55be5b858a68767fa0ddf8b732d2d042ad8b038767cfdda2402cbbcad3e6322a
+EBUILD openrc-0.16.2.ebuild 10811 SHA256 b036d4f1221a9058f17c1c45ca31e96e731398de599886f07bd1e8362890f69e SHA512 6838f8ecbaed25301f17845b8f4c968142dd8632cd833b829c0aba165d45d0d28fa73fe259b02d21aa27a463a0dbfc2e113bfabca09ccfe2b10c17e11812d8c9 WHIRLPOOL d480c501d640e8ef44801563eeaef774758916fcf353f3264a5d1606419742c99bbdc8fdeb3134ec70fc6539cec399582bb1e6337bebc45dcaa2556226473de6
EBUILD openrc-0.16.ebuild 10809 SHA256 9a2dcfc0d097b73c1a046db42cba753b0fe5c7d4cbba357a4a38c062e1950098 SHA512 24d008cde489095a212d97b1bb5ab75f44f5dcd74954959ae4db7ea4003a69879933272633905462740d27b832639de61350b0de94e722f6d6651f36e1340fcc WHIRLPOOL bcb0e6653c83d2acbae8d37008279872242ca62954aadaeae93c1c6a270d44a48ffba299536cf269273a66c1499370bda1fe4816bab16ae45d2293347e7df548
EBUILD openrc-9999.ebuild 10811 SHA256 17dac6266957971d882a7c1665b40b2d648d869b9f424f69bb2e9a2f189c85bf SHA512 662660794d54dc5ce06a0cfc828e8668691fd558be9578335ebd782aba1e5a726790a6dc9a3a3f70ce9bb5bd7752cd3b21a225d26d9ec93b06ee079054905d72 WHIRLPOOL 341ddb36ef008a4bae7176088fcc87a8fc599ce0a0618b6d513ed49846b76b079129009a1f34a46392d394e59540a7262b7f141a488bd14c2a6cc51302fc65e7
-MISC ChangeLog 55589 SHA256 2be27fd5eb8d625f327f19eaaab24758c53c0b91319426ee86245a356140e9bb SHA512 b3b9cf37c9ca32503385987cd9b6b9b882bf475eee231fe3310dd34c0e6a33a69140b1dd7d6ca746444e488f0c593cb7bbac4c545c1f13dc3dcfaa853b804a92 WHIRLPOOL b28513fefeb2497a730322de2932fe6e83d609c5e4e80415bd176d8a55030af16ce976c61f0bddedc233f1dc188bb920b6154125c4a2c4f87505f8659d26fbbd
+MISC ChangeLog 55709 SHA256 3070a7faf1d8743cfd85ed8e2ebd1c0f4fb9da62226f6ce77228b512e7ad5391 SHA512 be888c896a1bc5b4c61d3d2f0fabf289d4a5d6749dde7693d7adc50810b2c45bd1e36e23fa232bbca7900fd71be49e8a2dfcca9a65da2dff92a5287c3f106948 WHIRLPOOL 7b5c71c61ff1d519da8b4a738fda634aae277f8ae6b40b65509c327b60b2560e57da527fae9cb408c2ef14820640e85ec4c5b9101ffc670e1a679986c07e1b32
MISC metadata.xml 442 SHA256 f823e0d3ab1b90455d2cee346582ab02c3ad2746a09a6f1ab0879ebd6d62ceff SHA512 9ab114930529ee9d146de58e3d330ec049462fcda9cf7e8627e8f5f0bc86276b0c07015d0c5758987732d09e007464849d4ee4c464c9af732fda53c125d0685e WHIRLPOOL 5339a9d7f49dc292f5cff108e576ace3492d9c685df98530a14041c41d809ef141b6785717e56ede7a63928a589cc01883b724854ba159735aab9787dea1efe3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlVTzwsACgkQblQW9DDEZTg78wCdHlUJD4Ee2hXnOrfTmhb+TjHJ
-66sAn3xizw65ygTZXj58Tao8n/dR1yLy
-=ep64
+iEYEAREIAAYFAlVU1xoACgkQblQW9DDEZTgPGwCfVw9Az3GA3eUUh/eLDAlPMCXO
+uh8An3DybE7j8PPAhcAYOz9EVv3lT5Pl
+=pM1h
-----END PGP SIGNATURE-----
diff --git a/sys-apps/openrc/openrc-0.16.2.ebuild b/sys-apps/openrc/openrc-0.16.2.ebuild
new file mode 100644
index 000000000000..41102fadd673
--- /dev/null
+++ b/sys-apps/openrc/openrc-0.16.2.ebuild
@@ -0,0 +1,337 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-0.16.2.ebuild,v 1.1 2015/05/14 17:10:36 williamh Exp $
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib pam toolchain-funcs
+
+DESCRIPTION="OpenRC manages the services, startup and shutdown of a host"
+HOMEPAGE="http://www.gentoo.org/proj/en/base/openrc/"
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="git://github.com/OpenRC/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="http://dev.gentoo.org/~williamh/dist/${P}.tar.bz2"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="audit debug elibc_glibc ncurses pam newnet prefix +netifrc selinux static-libs
+ tools unicode kernel_linux kernel_FreeBSD"
+
+COMMON_DEPEND="kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-ubin-9.0_rc sys-process/fuser-bsd ) )
+ elibc_glibc? ( >=sys-libs/glibc-2.5 )
+ ncurses? ( sys-libs/ncurses )
+ pam? (
+ sys-auth/pambase
+ virtual/pam
+ )
+ tools? ( dev-lang/perl )
+ audit? ( sys-process/audit )
+ kernel_linux? (
+ sys-process/psmisc
+ !<sys-process/procps-3.3.9-r2
+ )
+ selinux? (
+ sys-apps/policycoreutils
+ sys-libs/libselinux
+ )
+ !<sys-apps/baselayout-2.1-r1
+ !<sys-fs/udev-init-scripts-27"
+DEPEND="${COMMON_DEPEND}
+ virtual/os-headers
+ ncurses? ( virtual/pkgconfig )"
+RDEPEND="${COMMON_DEPEND}
+ !prefix? (
+ kernel_linux? ( || ( >=sys-apps/sysvinit-2.86-r6 sys-process/runit ) )
+ kernel_FreeBSD? ( sys-freebsd/freebsd-sbin )
+ )
+ selinux? (
+ sec-policy/selinux-base-policy
+ sec-policy/selinux-openrc
+ )
+"
+
+PDEPEND="netifrc? ( net-misc/netifrc )"
+
+src_prepare() {
+ sed -i 's:0444:0644:' mk/sys.mk || die
+
+ if [[ ${PV} == "9999" ]] ; then
+ local ver="git-${EGIT_VERSION:0:6}"
+ sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/gitver.mk || die
+ fi
+
+ # Allow user patches to be applied without modifying the ebuild
+ epatch_user
+}
+
+src_compile() {
+ unset LIBDIR #266688
+
+ MAKE_ARGS="${MAKE_ARGS}
+ LIBNAME=$(get_libdir)
+ LIBEXECDIR=${EPREFIX}/$(get_libdir)/rc
+ MKNET=$(usex newnet)
+ MKSELINUX=$(usex selinux)
+ MKAUDIT=$(usex audit)
+ MKPAM=$(usev pam)
+ MKSTATICLIBS=$(usex static-libs)
+ MKTOOLS=$(usex tools)"
+
+ local brand="Unknown"
+ if use kernel_linux ; then
+ MAKE_ARGS="${MAKE_ARGS} OS=Linux"
+ brand="Linux"
+ elif use kernel_FreeBSD ; then
+ MAKE_ARGS="${MAKE_ARGS} OS=FreeBSD"
+ brand="FreeBSD"
+ fi
+ export BRANDING="Gentoo ${brand}"
+ use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
+ export DEBUG=$(usev debug)
+ export MKTERMCAP=$(usev ncurses)
+
+ tc-export CC AR RANLIB
+ emake ${MAKE_ARGS}
+}
+
+# set_config <file> <option name> <yes value> <no value> test
+# a value of "#" will just comment out the option
+set_config() {
+ local file="${ED}/$1" var=$2 val com
+ eval "${@:5}" && val=$3 || val=$4
+ [[ ${val} == "#" ]] && com="#" && val='\2'
+ sed -i -r -e "/^#?${var}=/{s:=([\"'])?([^ ]*)\1?:=\1${val}\1:;s:^#?:${com}:}" "${file}"
+}
+
+set_config_yes_no() {
+ set_config "$1" "$2" YES NO "${@:3}"
+}
+
+src_install() {
+ emake ${MAKE_ARGS} DESTDIR="${D}" install
+
+ # move the shared libs back to /usr so ldscript can install
+ # more of a minimal set of files
+ # disabled for now due to #270646
+ #mv "${ED}"/$(get_libdir)/lib{einfo,rc}* "${ED}"/usr/$(get_libdir)/ || die
+ #gen_usr_ldscript -a einfo rc
+ gen_usr_ldscript libeinfo.so
+ gen_usr_ldscript librc.so
+
+ if ! use kernel_linux; then
+ keepdir /$(get_libdir)/rc/init.d
+ fi
+ keepdir /$(get_libdir)/rc/tmp
+
+ # Backup our default runlevels
+ dodir /usr/share/"${PN}"
+ cp -PR "${ED}"/etc/runlevels "${ED}"/usr/share/${PN} || die
+ rm -rf "${ED}"/etc/runlevels
+
+ # Setup unicode defaults for silly unicode users
+ set_config_yes_no /etc/rc.conf unicode use unicode
+
+ # Cater to the norm
+ set_config_yes_no /etc/conf.d/keymaps windowkeys '(' use x86 '||' use amd64 ')'
+
+ # On HPPA, do not run consolefont by default (bug #222889)
+ if use hppa; then
+ rm -f "${ED}"/usr/share/openrc/runlevels/boot/consolefont
+ fi
+
+ # Support for logfile rotation
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/openrc.logrotate openrc
+
+ # install the gentoo pam.d file
+ newpamd "${FILESDIR}"/start-stop-daemon.pam start-stop-daemon
+
+ # install documentation
+ dodoc ChangeLog *.md
+ if use newnet; then
+ dodoc README.newnet
+ fi
+}
+
+add_boot_init() {
+ local initd=$1
+ local runlevel=${2:-boot}
+ # if the initscript is not going to be installed and is not
+ # currently installed, return
+ [[ -e "${ED}"/etc/init.d/${initd} || -e "${EROOT}"etc/init.d/${initd} ]] \
+ || return
+ [[ -e "${EROOT}"etc/runlevels/${runlevel}/${initd} ]] && return
+
+ # if runlevels dont exist just yet, then create it but still flag
+ # to pkg_postinst that it needs real setup #277323
+ if [[ ! -d "${EROOT}"etc/runlevels/${runlevel} ]] ; then
+ mkdir -p "${EROOT}"etc/runlevels/${runlevel}
+ touch "${EROOT}"etc/runlevels/.add_boot_init.created
+ fi
+
+ elog "Auto-adding '${initd}' service to your ${runlevel} runlevel"
+ ln -snf /etc/init.d/${initd} "${EROOT}"etc/runlevels/${runlevel}/${initd}
+}
+add_boot_init_mit_config() {
+ local config=$1 initd=$2
+ if [[ -e ${EROOT}${config} ]] ; then
+ if [[ -n $(sed -e 's:#.*::' -e '/^[[:space:]]*$/d' "${EROOT}"${config}) ]] ; then
+ add_boot_init ${initd}
+ fi
+ fi
+}
+
+pkg_preinst() {
+ local f LIBDIR=$(get_libdir)
+
+ # avoid default thrashing in conf.d files when possible #295406
+ if [[ -e "${EROOT}"etc/conf.d/hostname ]] ; then
+ (
+ unset hostname HOSTNAME
+ source "${EROOT}"etc/conf.d/hostname
+ : ${hostname:=${HOSTNAME}}
+ [[ -n ${hostname} ]] && set_config /etc/conf.d/hostname hostname "${hostname}"
+ )
+ fi
+
+ # set default interactive shell to sulogin if it exists
+ set_config /etc/rc.conf rc_shell /sbin/sulogin "#" test -e /sbin/sulogin
+
+ # termencoding was added in 0.2.1 and needed in boot
+ has_version ">=sys-apps/openrc-0.2.1" || add_boot_init termencoding
+
+ # swapfiles was added in 0.9.9 and needed in boot (february 2012)
+ has_version ">=sys-apps/openrc-0.9.9" || add_boot_init swapfiles
+
+ if ! has_version ">=sys-apps/openrc-0.11"; then
+ add_boot_init sysfs sysinit
+ fi
+
+ if ! has_version ">=sys-apps/openrc-0.11.3" ; then
+ migrate_udev_mount_script
+ add_boot_init tmpfiles.setup boot
+ fi
+
+ # these were added in 0.12.
+ if ! has_version ">=sys-apps/openrc-0.12"; then
+ add_boot_init loopback
+ add_boot_init tmpfiles.dev sysinit
+
+ # ensure existing /etc/conf.d/net is not removed
+ # undoes the hack to get around CONFIG_PROTECT in openrc-0.11.8 and earlier
+ # this needs to stay in openrc ebuilds for a long time. :(
+ # Added in 0.12.
+ if [[ -f "${EROOT}"etc/conf.d/net ]]; then
+ einfo "Modifying conf.d/net to keep it from being removed"
+ cat <<-EOF >>"${EROOT}"etc/conf.d/net
+
+# The network scripts are now part of net-misc/netifrc
+# In order to avoid sys-apps/${P} from removing this file, this comment was
+# added; you can safely remove this comment. Please see
+# /usr/share/doc/netifrc*/README* for more information.
+EOF
+ fi
+ fi
+ has_version ">=sys-apps/openrc-0.14" || add_boot_init binfmt
+}
+
+# >=OpenRC-0.11.3 requires udev-mount to be in the sysinit runlevel with udev.
+migrate_udev_mount_script() {
+ if [ -e "${EROOT}"etc/runlevels/sysinit/udev -a \
+ ! -e "${EROOT}"etc/runlevels/sysinit/udev-mount ]; then
+ add_boot_init udev-mount sysinit
+ fi
+ return 0
+}
+
+pkg_postinst() {
+ local LIBDIR=$(get_libdir)
+
+ # Make our runlevels if they don't exist
+ if [[ ! -e "${EROOT}"etc/runlevels ]] || [[ -e "${EROOT}"etc/runlevels/.add_boot_init.created ]] ; then
+ einfo "Copying across default runlevels"
+ cp -RPp "${EROOT}"usr/share/${PN}/runlevels "${EROOT}"etc
+ rm -f "${EROOT}"etc/runlevels/.add_boot_init.created
+ else
+ if [[ ! -e "${EROOT}"etc/runlevels/sysinit/devfs ]] ; then
+ mkdir -p "${EROOT}"etc/runlevels/sysinit
+ cp -RPp "${EROOT}"usr/share/${PN}/runlevels/sysinit/* \
+ "${EROOT}"etc/runlevels/sysinit
+ fi
+ if [[ ! -e "${EROOT}"etc/runlevels/shutdown/mount-ro ]] ; then
+ mkdir -p "${EROOT}"etc/runlevels/shutdown
+ cp -RPp "${EROOT}"usr/share/${PN}/runlevels/shutdown/* \
+ "${EROOT}"etc/runlevels/shutdown
+ fi
+ fi
+
+ if use hppa; then
+ elog "Setting the console font does not work on all HPPA consoles."
+ elog "You can still enable it by running:"
+ elog "# rc-update add consolefont boot"
+ fi
+
+ # Handle the conf.d/local.{start,stop} -> local.d transition
+ if path_exists -o "${EROOT}"etc/conf.d/local.{start,stop} ; then
+ elog "Moving your ${EROOT}etc/conf.d/local.{start,stop}"
+ elog "files to ${EROOT}etc/local.d"
+ mv "${EROOT}"etc/conf.d/local.start "${EROOT}"etc/local.d/baselayout1.start
+ mv "${EROOT}"etc/conf.d/local.stop "${EROOT}"etc/local.d/baselayout1.stop
+ chmod +x "${EROOT}"etc/local.d/*{start,stop}
+ fi
+
+ if use kernel_linux && [[ "${EROOT}" = "/" ]]; then
+ if ! /$(get_libdir)/rc/sh/migrate-to-run.sh; then
+ ewarn "The dependency data could not be migrated to /run/openrc."
+ ewarn "This means you need to reboot your system."
+ fi
+ fi
+
+ # update the dependency tree after touching all files #224171
+ [[ "${EROOT}" = "/" ]] && "${EROOT}/${LIBDIR}"/rc/bin/rc-depend -u
+
+ if ! use newnet && ! use netifrc; then
+ ewarn "You have emerged OpenRc without network support. This"
+ ewarn "means you need to SET UP a network manager such as"
+ ewarn " net-misc/netifrc, net-misc/dhcpcd, net-misc/wicd,"
+ ewarn "net-misc/NetworkManager, or net-misc/badvpn."
+ ewarn "Or, you have the option of emerging openrc with the newnet"
+ ewarn "use flag and configuring /etc/conf.d/network and"
+ ewarn "/etc/conf.d/staticroute if you only use static interfaces."
+ ewarn
+ fi
+
+ if use newnet && [ ! -e "${EROOT}"etc/runlevels/boot/network ]; then
+ ewarn "Please add the network service to your boot runlevel"
+ ewarn "as soon as possible. Not doing so could leave you with a system"
+ ewarn "without networking."
+ ewarn
+ fi
+
+ ewarn "In this version of OpenRC, the loopback interface no longer"
+ ewarn "satisfies the net virtual."
+ ewarn "If you have services now which do not start because of this,"
+ ewarn "They can be fixed by adding rc_need=\"!net\""
+ ewarn "to the ${EROOT}etc/conf.d/<servicename> file."
+ ewarn "You should also file a bug against the service asking that"
+ ewarn "need net be dropped from the dependencies."
+ ewarn "The bug you file should block the following tracker:"
+ ewarn "https://bugs.gentoo.org/show_bug.cgi?id=439092"
+ ewarn
+
+ # Updated for 0.13.2.
+ ewarn "Bug https://bugs.gentoo.org/show_bug.cgi?id=427996 was not"
+ ewarn "fixed correctly in earlier versions of OpenRC."
+ ewarn "The correct fix is implemented in this version, but that"
+ ewarn "means netmount needs to be added to the default runlevel if"
+ ewarn "you are using nfs file systems."
+ ewarn
+
+ elog "You should now update all files in /etc, using etc-update"
+ elog "or equivalent before restarting any services or this host."
+}