diff options
-rw-r--r-- | sys-apps/openrc/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/openrc/Manifest | 10 | ||||
-rw-r--r-- | sys-apps/openrc/openrc-0.13.ebuild | 320 |
3 files changed, 8 insertions, 327 deletions
diff --git a/sys-apps/openrc/ChangeLog b/sys-apps/openrc/ChangeLog index 9f2addcb5c82..21054cb9cfa3 100644 --- a/sys-apps/openrc/ChangeLog +++ b/sys-apps/openrc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/openrc # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.306 2014/08/22 20:06:23 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.307 2014/08/22 20:07:51 williamh Exp $ + + 22 Aug 2014; William Hubbs <williamh@gentoo.org> -openrc-0.13.ebuild: + remove broken version *openrc-0.13.1 (22 Aug 2014) diff --git a/sys-apps/openrc/Manifest b/sys-apps/openrc/Manifest index c63e60ed558f..7d811489716a 100644 --- a/sys-apps/openrc/Manifest +++ b/sys-apps/openrc/Manifest @@ -9,17 +9,15 @@ AUX openrc.logrotate 71 SHA256 0b44210db9770588bd491cd6c0ac9412d99124c6be4c9d3f7 AUX start-stop-daemon.pam 63 SHA256 2681da17e4a122656b5303b7c7eca82b8fb182641290b153fdbe96b63638086d SHA512 85cf440611b8f87f51bf24bdd9fa03639a75b950f00096d81b8826c21ae85ff9784b8c56b8ddb482e70f08bce933d4561b30750346d51fb2cef3be34acc065cb WHIRLPOOL 4abc9f051155a62d3033258a06003a4ca3909d8104deca84d5c1605bc1c7e56167fd82b2b4b72fe7b707070de98a7628730de1ad3f14b924b5b1480fba5ef854 DIST openrc-0.12.4.tar.bz2 131914 SHA256 c4edda2fff4b613f50b9cc265bb457a9ab0170fbc1fe7c26eccd4a5d63b2625c SHA512 14e188e382dfe02037d3e4211fa3265152d5ec92ca491b1e86154c0615583ddfc0a2592ca849ab453068dd60000886e57e7da024036fa58d7474acdbb6b92208 WHIRLPOOL 7bdc2c310ee6e87a439574f377a3c1541a118b4122d098d727f6d4464e9f645e5a4d40bedfc82f401b53e640e78494f74fac94f9b6813eb202cc18d1c5391280 DIST openrc-0.13.1.tar.bz2 135712 SHA256 c2eeea257aa8b6b614fa69a73dd1dbc8b8a0a80e283a73e12356c212414540f6 SHA512 01e92c213cd9cda8f6d16b5428c63338f836dd047d2dd6032f37dd192a791b05be7233c20210219b594d4ef8b0851f7f64f04503e484a577f085991028d30b36 WHIRLPOOL 4f61a8a97ad53eeb8af0796ae2460538598d3f8f7ac6938f55ed454753a2e6542fef818e832d4a667dd1a924981383c87c7805ee2ea1d77b31a6fe9132616523 -DIST openrc-0.13.tar.bz2 135643 SHA256 5d35f8ac014dc6229c97713655c68d35adf395b692b5c7f92331ee9738a1c806 SHA512 0c7e3ddd06a306ed2e5775dbd00ffdf82cec17e85ff35a02d01dec10d60350aba5fed4d97f1f4c49b19165bd9d2c84c4e46aa28141f99838525c02f123ea36b5 WHIRLPOOL 2b95de5f35836592551ebae8d1606770d7bcd9a280c1bab5dc8956a102cc780422fc3987d4f35188180173bb46cc5d2eb971ecb193340760d5cd947a69f023dc EBUILD openrc-0.12.4.ebuild 10522 SHA256 0293519019d791318d61c2032d877023c91c9ccd960031505736529692cbc58a SHA512 447fb48c781b2945e22215eb7faabac5e67e401ea6e14559b765ac4963df11e61ff73c19dd1b5697420ad0ffff93de23c69a6dd423df06dc882e809d39fce0aa WHIRLPOOL e986349c14881af8f76ee322d5434272b6d025ea3e6ba03d798f49fd216c336332cd0e7932796588e50a64148dab744f1c4d004d2b9f1615e3b666078cd48884 EBUILD openrc-0.13.1.ebuild 10626 SHA256 1ddc1f4481aea87e18ac705bef7df217b5a06e6bcc5f5a1ecc19e6819e28d5c7 SHA512 6e93054153adbf35c198ad1ff66f74ef415eb076f70d47fa978d0c1dfaac7e2b4fd9bea818474e44a4f1b29eb8d58448208d9e34af1b62e7a81bb51dc328cc3f WHIRLPOOL a8dbc1547cc95f7e4ca213efd063bfb062202ef598a39f71e4819e71beac531b790af3e3864afefea85689526cf4c9583f2ce868f316535ddc410d5209637794 -EBUILD openrc-0.13.ebuild 10624 SHA256 48a7369c2adf5501f421e31fd062a784d0b8617fe785b33bc3c0ed2dc26a10dd SHA512 4e01043b59a787e24e786b8b58f802005df19a6156b7a886aab6b98c5ab6e072d828dbbf78db3138d353533896d3a4e8a0382a4ebdf3a3ba798aef399004c37d WHIRLPOOL d93d7fd783427fb9720b82b8325c970b1e54d5f05bcd1d78d0d5cee0a489c6cfeb4cb502c48e6438b0148bea6760d190e9cbec243728c1129e5a041df52f1a86 EBUILD openrc-9999.ebuild 10645 SHA256 6281bf0281f0f62514e5d9fb6ea41ca0a856420faba4702e5390cecf936c1ed6 SHA512 d80ffeec274b2c45a7a1b5f0af1dd2c92f3f46cbd3e454f0923f9cedb8f1185f4058d0529e37c9d70c9e8eb407d410230aa6af305242fd44b2f6ca186ae5e1d6 WHIRLPOOL c2c65ad7688daa7e9fab81fd17d35ceaa4379f2cc5009ba232681ec44c34c216c0b4b86dbd21a4959710d7da4bb6741691b46480f45002b6f992392dc5726a9c -MISC ChangeLog 50413 SHA256 b514018941815ae08161b5cae0e1aad9f2e517c7ed25d465bf258c6e32669feb SHA512 38624063d18a8fa4f525d16f1c4bfe262cfb46ceff0c92cef5f59722c04a17bf4b509b4d232406dd7b378f75a9ef3323d10b44aa2a217dbe8736a2fc4384fb8a WHIRLPOOL 2c8809657e98b405ee1abc8f78672ac32754e54daa0a75e7a87952c901326c3ac2fba44098ff91df084d8cba0f15941b07ee12065908edd8a9d53a565a0a7af3 +MISC ChangeLog 50510 SHA256 a555527d3c7fdbabf55e51740e4b4cb7bb0b2b606cf4668e539781c46c93f982 SHA512 cb618945955384b58b135eafe70db16361f421fbab9575a17e0a266b7b81b18b490df3e298df8595eca09bbde31bc05351f0443cc90d49969374d1907c4e50f5 WHIRLPOOL 9d551a0d91798c6fd810225174c4b1b2b34eb81ec925483877bebfa54c32e9b608ab4f5df082455981170f097018d68ad3c99608784cc8cce0e027125cf91bde MISC metadata.xml 373 SHA256 02f4a9ad32e00c6c046a55dd14949c4b5a3b9a8f5d4725aa07c698c107bbc1cf SHA512 80d1f2a14cddd37e7d8866ff556c753e631eca6239c0474f8a067bf387778e702a8d15152b1324744110b2f5972c2e2858eb195f8448001f322e19acc589e033 WHIRLPOOL 8a8176f52fd07682ee407923e956962ded7ce45f1b9b535e80b84195f6407954f504c44dc1b0f2cb2af8ed8a84a1e8b4cd5dc956163431c59bbc1f7785fb9151 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlP3osYACgkQblQW9DDEZThnWQCdHqlFlWe5WD+cEYC+3DyuLduD -0NsAoIXWYSF+bZXqTarzQuLr64SZE87P -=3ifo +iEYEAREIAAYFAlP3oxgACgkQblQW9DDEZTgOGwCfVlvj+X0u16IglyKGcoIGeZUx +iwMAnRh3YXLEzK6ZgRdte0axv6b9o+dn +=dnKE -----END PGP SIGNATURE----- diff --git a/sys-apps/openrc/openrc-0.13.ebuild b/sys-apps/openrc/openrc-0.13.ebuild deleted file mode 100644 index 259cc237f5ac..000000000000 --- a/sys-apps/openrc/openrc-0.13.ebuild +++ /dev/null @@ -1,320 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-0.13.ebuild,v 1.2 2014/08/20 15:34:21 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="debug elibc_glibc ncurses pam newnet prefix +netifrc selinux static-libs - tools unicode kernel_linux kernel_FreeBSD" - -COMMON_DEPEND=">=sys-apps/baselayout-2.1-r1 - 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 ) - tools? ( dev-lang/perl ) - kernel_linux? ( - sys-process/psmisc - !<sys-process/procps-3.3.9-r2 - ) - selinux? ( sec-policy/selinux-base-policy - sec-policy/selinux-openrc - sys-libs/libselinux ) - !<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 ) - )" - -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/git.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) - 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 MKPAM=$(usev pam) - 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 README README.busybox README.history FEATURE-REMOVAL-SCHEDULE - 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 -} - -# >=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." - 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." - 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 "This version of OpenRC doesn't enable nfs mounts automatically any" - ewarn "longer. In order to mount nfs file systems, you must use the" - ewarn "nfsmount service from the nfs-utils package." - ewarn "See bug https://bugs.gentoo.org/show_bug.cgi?id=427996 for" - ewarn "more information on this." - - elog "You should now update all files in /etc, using etc-update" - elog "or equivalent before restarting any services or this host." -} |