public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/hardened-dev:musl commit in: sys-apps/openrc/, sys-apps/openrc/files/
@ 2014-01-22 15:52 Anthony G. Basile
  0 siblings, 0 replies; only message in thread
From: Anthony G. Basile @ 2014-01-22 15:52 UTC (permalink / raw
  To: gentoo-commits

commit:     00c3cc0c579c3c19fe1218769840d2df042fd092
Author:     layman <layman <AT> localhost>
AuthorDate: Tue Jan 21 23:01:37 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Jan 22 15:52:32 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=00c3cc0c

sys-apps/openrc: ifdef __cplusplus and local sys/queue.h

Package-Manager: portage-2.2.7
RepoMan-Options: --force

---
 sys-apps/openrc/ChangeLog                          | 1343 ++++++++++++++++++++
 .../files/openrc-0.12.4-ifdef_cplusplus.patch      |   42 +
 .../openrc/files/openrc-0.12.4-local-queue_h.patch |   12 +
 sys-apps/openrc/files/openrc.logrotate             |    7 +
 sys-apps/openrc/files/queue.h                      |  574 +++++++++
 sys-apps/openrc/files/start-stop-daemon.pam        |    2 +
 sys-apps/openrc/metadata.xml                       |   10 +
 sys-apps/openrc/openrc-0.12.4-r99.ebuild           |  323 +++++
 8 files changed, 2313 insertions(+)

diff --git a/sys-apps/openrc/ChangeLog b/sys-apps/openrc/ChangeLog
new file mode 100644
index 0000000..20530b1
--- /dev/null
+++ b/sys-apps/openrc/ChangeLog
@@ -0,0 +1,1343 @@
+# 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.298 2014/01/19 19:38:11 ago Exp $
+
+  19 Jan 2014; Agostino Sarubbo <ago@gentoo.org> openrc-0.12.4.ebuild:
+  Stable for sparc, wrt bug #487332
+
+  19 Jan 2014; Agostino Sarubbo <ago@gentoo.org> openrc-0.12.4.ebuild:
+  Stable for ppc64, wrt bug #487332
+
+  19 Jan 2014; Agostino Sarubbo <ago@gentoo.org> openrc-0.12.4.ebuild:
+  Stable for ppc, wrt bug #487332
+
+  18 Jan 2014; Mike Frysinger <vapier@gentoo.org> openrc-0.12.4.ebuild,
+  openrc-9999.ebuild:
+  Add arm64 love.
+
+  17 Jan 2014; Mike Frysinger <vapier@gentoo.org> openrc-0.12.4.ebuild:
+  Mark m68k/s390/sh stable.
+
+  14 Jan 2014; Pacho Ramos <pacho@gentoo.org> openrc-0.12.4.ebuild:
+  ia64 stable, bug #487332 (thanks to Emeric Maschino for testing)
+
+  21 Dec 2013; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Fix the mknet setting. It is either yes or no, so we can use usex.
+
+  29 Nov 2013; Johannes Huber <johu@gentoo.org> openrc-0.12.4.ebuild:
+  x86 stable wrt bug #487332
+
+  27 Nov 2013; Rick Farina <zerochaos@gentoo.org> openrc-0.12.4.ebuild:
+  arm stable, bug #487332
+
+  24 Nov 2013; Pacho Ramos <pacho@gentoo.org> openrc-0.12.4.ebuild:
+  amd64 stable, bug #487332
+
+  13 Nov 2013; Matt Turner <mattst88@gentoo.org> openrc-0.12.4.ebuild:
+  alpha stable, bug 487332.
+
+  12 Nov 2013; Jeroen Roovers <jer@gentoo.org> openrc-0.12.4.ebuild:
+  Stable for HPPA (bug #487332).
+
+*openrc-0.12.4 (31 Oct 2013)
+
+  31 Oct 2013; William Hubbs <williamh@gentoo.org> +openrc-0.12.4.ebuild:
+  version bump for vserver fixes and starting a port to GNU/kFreeBSD for Debian.
+
+  21 Oct 2013; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  bring back gen_usr_ldscript calls for libeinfo
+
+  21 Oct 2013; William Hubbs <williamh@gentoo.org> -openrc-0.12.1.ebuild,
+  -openrc-0.12.ebuild:
+  Remove some old 0.12 unstable versions
+
+*openrc-0.12.3 (21 Oct 2013)
+
+  21 Oct 2013; William Hubbs <williamh@gentoo.org> +openrc-0.12.3.ebuild:
+  version bump
+
+*openrc-0.12.2 (08 Oct 2013)
+
+  08 Oct 2013; William Hubbs <williamh@gentoo.org> +openrc-0.12.2.ebuild:
+  version bump
+
+*openrc-0.12.1 (02 Oct 2013)
+
+  02 Oct 2013; William Hubbs <williamh@gentoo.org> +openrc-0.12.1.ebuild:
+  version bump for bug #486210.
+
+  27 Sep 2013; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  remove references to libeinfo since it no longer exists upstream
+
+  16 Aug 2013; Ian Stakenvicius <axs@gentoo.org> openrc-0.11.8.ebuild:
+  added blocker on net-misc/netifrc to openrc-0.11.8 just in case it helps
+  ensure net.lo is replaced
+
+  16 Aug 2013; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  sync live ebuild
+
+  16 Aug 2013; William Hubbs <williamh@gentoo.org> -files/net.confd.comment,
+  openrc-0.12.ebuild:
+  move the net comment into a here document.
+
+  16 Aug 2013; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  partially sync live ebuild
+
+  16 Aug 2013; Ian Stakenvicius <axs@gentoo.org> +files/net.confd.comment,
+  openrc-0.12.ebuild:
+  stop the removal of /etc/conf.d/net when upgrading from 0.11.8 and previous,
+  bug 481336
+
+  14 Aug 2013; Ian Stakenvicius <axs@gentoo.org> openrc-0.12.ebuild:
+  fixed dodoc README.net to README.newnet to match distfile, bug 481078
+
+*openrc-0.12 (14 Aug 2013)
+
+  14 Aug 2013; William Hubbs <williamh@gentoo.org> +openrc-0.12.ebuild:
+  OpenRC-0.12, bug #439098 tracks changes
+
+  14 Aug 2013; William Hubbs <williamh@gentoo.org> metadata.xml,
+  openrc-9999.ebuild:
+  adjustments for separating netifrc: add a temporary pdepend with a use flag to
+  bring it in and add warnings about both network use flags missing.
+
+  11 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> openrc-0.11.8.ebuild,
+  openrc-9999.ebuild:
+  Replace virtual/init with direct dependencies for || ( sysvinit rinit )
+  because sys-apps/openrc is the only consumer of the virtual.
+
+  11 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> openrc-0.11.8.ebuild,
+  openrc-9999.ebuild:
+  Move virtual/init from COMMON_DEPEND to RDEPEND.
+
+  05 Aug 2013; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Install the documention for incompatibilities with busybox, and optionally,
+  the documentation for the newnet scripts.
+
+  25 Apr 2013; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  change git source to point to github
+
+  24 Apr 2013; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  migrate to eapi 5 and remove old baselayout-1 migration code
+
+  03 Mar 2013; William Hubbs <williamh@gentoo.org> openrc-0.11.8.ebuild:
+  Per Mike Frysinger, on bug #459782, we should not rdepend on ncurses[-tinfo].
+
+  01 Mar 2013; William Hubbs <williamh@gentoo.org> openrc-0.11.8.ebuild:
+  The stable version of OpenRc does not support building with ncurses[tinfo]
+  #459782.
+
+  01 Mar 2013; William Hubbs <williamh@gentoo.org> -openrc-0.9.8.4.ebuild:
+  remove old version
+
+  12 Feb 2013; Sven Vermeulen <swift@gentoo.org> openrc-0.9.8.4.ebuild,
+  openrc-0.11.8.ebuild, openrc-9999.ebuild:
+  Add dependency on selinux-openrc if USE=selinux
+
+  03 Jan 2013; William Hubbs <williamh@gentoo.org> metadata.xml,
+  openrc-9999.ebuild:
+  Add support for tools use flag
+
+  02 Jan 2013; William Hubbs <williamh@gentoo.org> -openrc-0.11.6.ebuild:
+  remove old version
+
+  02 Jan 2013; Raúl Porcel <armin76@gentoo.org> openrc-0.11.8.ebuild:
+  alpha/m68k/s390/sh stable wrt #435756
+
+  02 Jan 2013; Tobias Klausmann <klausman@gentoo.org> openrc-0.11.6.ebuild:
+  Stable on alpha, bug #435756
+
+  30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> openrc-0.11.8.ebuild:
+  Stable for sparc, wrt bug #435756
+
+  29 Dec 2012; William Hubbs <williamh@gentoo.org> -openrc-0.10.5.ebuild:
+  remove old unstable version
+
+  28 Dec 2012; Jeroen Roovers <jer@gentoo.org> openrc-0.11.8.ebuild:
+  Stable for HPPA (bug #435756).
+
+  17 Dec 2012; Agostino Sarubbo <ago@gentoo.org> openrc-0.11.8.ebuild:
+  Stable for ia64, wrt bug #435756
+
+  09 Dec 2012; Markus Meier <maekke@gentoo.org> openrc-0.11.8.ebuild:
+  arm stable, bug #435756
+
+  08 Dec 2012; Agostino Sarubbo <ago@gentoo.org> openrc-0.11.8.ebuild:
+  Stable for ppc64, wrt bug #435756
+
+  08 Dec 2012; Markus Meier <maekke@gentoo.org> openrc-0.11.6.ebuild:
+  arm stable, bug #435756
+
+*openrc-0.11.8 (07 Dec 2012)
+
+  07 Dec 2012; William Hubbs <williamh@gentoo.org> +openrc-0.11.8.ebuild:
+  dont try to remove the /init.d directory while root is ro, bug
+
+  07 Dec 2012; William Hubbs <williamh@gentoo.org> -openrc-0.11.7.ebuild:
+  remove broken version
+
+*openrc-0.11.7 (07 Dec 2012)
+
+  07 Dec 2012; William Hubbs <williamh@gentoo.org> +openrc-0.11.7.ebuild:
+  This reworks the migration from /lib*/rc/init.d to /run/openrc so that
+  it does not require a reboot (reported by Chainsaw), and adds a fix for
+  systems that have the /usr merge so that /run is not looked for under
+  /usr. Again this is going directly to stable where 0.11.x is stable
+  because it is part of the upgrade path.
+
+  02 Dec 2012; William Hubbs <williamh@gentoo.org> -openrc-0.11.5.ebuild:
+  remove broken version
+
+*openrc-0.11.6 (30 Nov 2012)
+
+  30 Nov 2012; William Hubbs <williamh@gentoo.org> +openrc-0.11.6.ebuild:
+  This fixes #443996 and #445116.
+  Also, we now unmount /usr if it was not pre-mounted by an initramfs on
+  Linux systems.
+  I am taking this to stable on all arches where 0.11.5 was stable because
+  these issues were not reported to me until we started stabilizing.
+
+  25 Nov 2012; William Hubbs <williamh@gentoo.org> ChangeLog:
+  sign manifest; the previous commit was mine as well. signing was not
+  completely set up.
+
+  25 Nov 2012; William Hubbs <williamh@gentoo.org> openrc-0.11.5.ebuild,
+  openrc-9999.ebuild:
+  add blocker for <udev-init-scripts-17 wrt bug #435756.
+
+  21 Nov 2012; Anthony G. Basile <blueness@gentoo.org> openrc-0.11.5.ebuild:
+  stable ppc, bug #435756, thanks peratu
+
+  19 Nov 2012; Agostino Sarubbo <ago@gentoo.org> openrc-0.11.5.ebuild:
+  Stable for x86, wrt bug #435756
+
+  19 Nov 2012; Agostino Sarubbo <ago@gentoo.org> openrc-0.11.5.ebuild:
+  Stable for amd64, wrt bug #435756
+
+*openrc-0.11.5 (10 Nov 2012)
+
+  10 Nov 2012; William Hubbs <williamh@gentoo.org> +openrc-0.11.5.ebuild:
+  version bump
+
+  07 Nov 2012; William Hubbs <williamh@gentoo.org> ChangeLog:
+  Fix references to $EROOT and $ED. References to $EROOT should be quoted
+  and not followed with /. References to $ED should be quoted. This is for
+  bug #442020. This applies to my last commit for openrc-9999.
+
+  05 Nov 2012; William Hubbs <williamh@gentoo.org> -openrc-0.10.4.ebuild,
+  -openrc-0.11.2.ebuild, -openrc-0.11.3.ebuild:
+  remove several broken versions
+
+*openrc-0.11.4 (05 Nov 2012)
+
+  05 Nov 2012; William Hubbs <williamh@gentoo.org> +openrc-0.11.4.ebuild:
+  version bump
+
+*openrc-0.11.3 (05 Nov 2012)
+
+  05 Nov 2012; William Hubbs <williamh@gentoo.org> +openrc-0.11.3.ebuild:
+  version bump
+
+*openrc-0.11.2 (22 Oct 2012)
+
+  22 Oct 2012; William Hubbs <williamh@gentoo.org> +openrc-0.11.2.ebuild:
+  Version bump for bug #439008. This fixes the non-bootable issue when systemd
+  was installed.
+
+*openrc-0.11.1 (20 Oct 2012)
+
+  20 Oct 2012; William Hubbs <williamh@gentoo.org> +openrc-0.11.1.ebuild:
+  version bump for bug #438932
+
+*openrc-0.11 (18 Oct 2012)
+
+  18 Oct 2012; William Hubbs <williamh@gentoo.org> +openrc-0.11.ebuild:
+  version bump, bug #417391 tracks fixes.
+
+  18 Oct 2012; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Only show warning about adding the net script to the boot runlevel if
+  necessary.
+
+  17 Oct 2012; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Add a warning about adding the appropriate network script to the boot
+  runlevel.
+
+  29 Sep 2012; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  The code in pkg_setup and make_args is only run once at the start of
+  src_compile, so we can move it into that function, thanks to Zac Medico for
+  the input.
+
+  29 Sep 2012; Benda Xu <heroxbd@gentoo.org> openrc-9999.ebuild:
+  make_args should be called only once; ED -> D in src_install to avoid double
+  prefix. close 415899
+
+  28 Sep 2012; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  fix typo
+
+  28 Sep 2012; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Fix the ebuild so we can use pre/postinst on prefix systems as well.
+  Originally I did not think we needed this, but thinking it over it is better
+  to have them.  Also this reworks the live portion of the ebuild to use a
+  separate inherit call.
+
+  27 Sep 2012; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Add prefix support for bug #415899. I would like to thank Benda Xu for working
+  with me on this.
+
+  09 Sep 2012; William Hubbs <williamh@gentoo.org> -openrc-0.10.1.ebuild,
+  -openrc-0.10.2.ebuild, -openrc-0.10.3.ebuild, -openrc-0.10.ebuild,
+  -openrc-0.9.9.1.ebuild, -openrc-0.9.9.2.ebuild, -openrc-0.9.9.3.ebuild,
+  -openrc-0.9.9.ebuild:
+  remove old versions
+
+*openrc-0.10.5 (04 Jul 2012)
+
+  04 Jul 2012; William Hubbs <williamh@gentoo.org> +openrc-0.10.5.ebuild:
+  version bump
+
+*openrc-0.10.4 (02 Jul 2012)
+
+  02 Jul 2012; William Hubbs <williamh@gentoo.org> +openrc-0.10.4.ebuild:
+  version bump
+
+*openrc-0.10.3 (11 Jun 2012)
+
+  11 Jun 2012; William Hubbs <williamh@gentoo.org> +openrc-0.10.3.ebuild:
+  version bump
+
+*openrc-0.10.2 (27 May 2012)
+
+  27 May 2012; William Hubbs <williamh@gentoo.org> +openrc-0.10.2.ebuild:
+  version bump to fix termencoding to not run on lxc.
+
+*openrc-0.10.1 (24 May 2012)
+
+  24 May 2012; William Hubbs <williamh@gentoo.org> +openrc-0.10.1.ebuild:
+  version bump to fix regression in bug #417227
+
+*openrc-0.10 (22 May 2012)
+
+  22 May 2012; William Hubbs <williamh@gentoo.org> +openrc-0.10.ebuild:
+  version bump, bug #405503 tracks changes
+
+  16 May 2012; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  update live ebuild for migration to /run on linux systems.
+
+  26 Apr 2012; Alexis Ballier <aballier@gentoo.org> openrc-0.9.9.3.ebuild,
+  openrc-9999.ebuild:
+  keyword ~amd64-fbsd
+
+  02 Apr 2012; William Hubbs <williamh@gentoo.org> -openrc-0.8.3-r1.ebuild,
+  -openrc-0.9.4.ebuild:
+  remove old stable versions
+
+*openrc-0.9.9.3 (11 Mar 2012)
+
+  11 Mar 2012; Robin H. Johnson <robbat2@gentoo.org> +openrc-0.9.9.3.ebuild:
+  Version bump, includes critical fix for bug 407757 ifconfig binary move.
+
+*openrc-0.9.9.2 (26 Feb 2012)
+
+  26 Feb 2012; William Hubbs <williamh@gentoo.org> +openrc-0.9.9.2.ebuild:
+  version bump for bug #405713
+
+*openrc-0.9.9.1 (24 Feb 2012)
+
+  24 Feb 2012; William Hubbs <williamh@gentoo.org> +openrc-0.9.9.1.ebuild:
+  version bump for bug #386623
+
+  23 Feb 2012; William Hubbs <williamh@gentoo.org> openrc-0.8.3-r1.ebuild,
+  openrc-0.9.4.ebuild, openrc-0.9.8.4.ebuild, openrc-0.9.9.ebuild,
+  openrc-9999.ebuild:
+  repoman fixes
+
+*openrc-0.9.9 (22 Feb 2012)
+
+  22 Feb 2012; William Hubbs <williamh@gentoo.org> +openrc-0.9.9.ebuild:
+  version bump, bug #399185 tracks changes.
+
+  13 Feb 2012; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  add swapfiles to the boot runlevel
+
+  08 Feb 2012; William Hubbs <williamh@gentoo.org> -openrc-0.9.8.1.ebuild,
+  -openrc-0.9.8.2.ebuild, -openrc-0.9.8.ebuild:
+  remove unstable 0.9.8.x versions
+
+  04 Feb 2012; Raúl Porcel <armin76@gentoo.org> openrc-0.9.8.4.ebuild:
+  alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #401593
+
+  01 Feb 2012; Samuli Suominen <ssuominen@gentoo.org> openrc-0.9.8.4.ebuild:
+  ppc/ppc64 stable wrt #401593
+
+  31 Jan 2012; Jeroen Roovers <jer@gentoo.org> openrc-0.9.8.4.ebuild:
+  Stable for HPPA (bug #401593).
+
+  31 Jan 2012; Agostino Sarubbo <ago@gentoo.org> openrc-0.9.8.4.ebuild:
+  Stable for amd64, wrt bug #401593
+
+  31 Jan 2012; Jeff Horelick <jdhore@gentoo.org> openrc-0.9.8.4.ebuild:
+  x86 fast stable wrt bug 401593
+
+*openrc-0.9.8.4 (30 Jan 2012)
+
+  30 Jan 2012; Robin H. Johnson <robbat2@gentoo.org> +openrc-0.9.8.4.ebuild,
+  -openrc-0.9.8.3.ebuild:
+  Version bump, release tracker bug #401555, I screwed up 0.9.8.3 and it was
+  identical to 0.9.8.2 instead of having the needed fixes.
+
+*openrc-0.9.8.3 (30 Jan 2012)
+
+  30 Jan 2012; Robin H. Johnson <robbat2@gentoo.org> +openrc-0.9.8.3.ebuild:
+  Version bump, release tracker bug #401555.
+
+  28 Jan 2012; Raúl Porcel <armin76@gentoo.org> openrc-0.9.8.2.ebuild:
+  alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #399793
+
+  25 Jan 2012; Agostino Sarubbo <ago@gentoo.org> openrc-0.9.8.2.ebuild:
+  Stable for AMD64, wrt bug #399793
+
+  25 Jan 2012; Jeff Horelick <jdhore@gentoo.org> openrc-0.9.8.2.ebuild:
+  x86 stable per bug 399793
+
+  25 Jan 2012; Jeroen Roovers <jer@gentoo.org> openrc-0.9.8.2.ebuild:
+  Stable for HPPA (bug #399793).
+
+*openrc-0.9.8.2 (25 Jan 2012)
+
+  25 Jan 2012; Robin H. Johnson <robbat2@gentoo.org> +openrc-0.9.8.2.ebuild:
+  Bugfix release with two oldnet fixes: ethtool (#399037) and bonding (#400613).
+
+  23 Jan 2012; Agostino Sarubbo <ago@gentoo.org> openrc-0.9.8.1.ebuild:
+  Stable for AMD64, wrt bug #399793
+
+  23 Jan 2012; Agostino Sarubbo <ago@gentoo.org> openrc-0.9.8.1.ebuild:
+  Stable for X86, wrt bug #399793
+
+*openrc-0.9.8.1 (14 Jan 2012)
+
+  14 Jan 2012; William Hubbs <williamh@gentoo.org> +openrc-0.9.8.1.ebuild:
+  version bump, bug #398727 tracks changes.
+
+  12 Jan 2012; William Hubbs <williamh@gentoo.org> -openrc-0.9.7.ebuild:
+  remove old version
+
+*openrc-0.9.8 (07 Jan 2012)
+
+  07 Jan 2012; William Hubbs <williamh@gentoo.org> +openrc-0.9.8.ebuild:
+  version bump, bug #394205 tracks changes since openrc-0.9.7.
+
+  17 Dec 2011; Raúl Porcel <armin76@gentoo.org> openrc-0.9.4.ebuild:
+  sparc stable wrt #391271
+
+  14 Dec 2011; William Hubbs <williamh@gentoo.org> openrc-0.9.4.ebuild,
+  openrc-0.9.7.ebuild, openrc-9999.ebuild:
+  Update pam dependency for bug #392995. Now we depend on sys-auth/pambase
+  instead of virtual/pam.
+
+*openrc-0.9.7 (10 Dec 2011)
+
+  10 Dec 2011; William Hubbs <williamh@gentoo.org> +openrc-0.9.7.ebuild:
+  Version bump, bug #387433 tracks changes.
+
+  09 Dec 2011; Mike Frysinger <vapier@gentoo.org> openrc-0.9.4.ebuild:
+  Mark alpha/ia64/s390/sh stable #391271 by Christian Ruppert.
+
+  04 Dec 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  migrate-run service was dropped from git, so we can remove it here.
+
+  03 Dec 2011; William Hubbs <williamh@gentoo.org> -openrc-0.9.2.ebuild,
+  -openrc-0.9.3.ebuild, -openrc-0.9.3-r1.ebuild:
+  remove older 0.9.x versions since 0.9.4 is going stable.
+
+  03 Dec 2011; Markus Meier <maekke@gentoo.org> openrc-0.9.4.ebuild:
+  arm stable, bug #391271
+
+  30 Nov 2011; Mike Frysinger <vapier@gentoo.org> openrc-0.8.3-r1.ebuild,
+  openrc-0.9.2.ebuild, openrc-0.9.3.ebuild, openrc-0.9.3-r1.ebuild,
+  openrc-0.9.4.ebuild, openrc-9999.ebuild:
+  Depend on psmisc since we want fuser.
+
+  28 Nov 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> openrc-0.9.4.ebuild:
+  x86 stable wrt bug #391271
+
+  26 Nov 2011; William Hubbs <williamh@gentoo.org> -openrc-0.9.6.ebuild:
+  remove release that did not work with rc_parallel
+
+  26 Nov 2011; Markos Chandras <hwoarang@gentoo.org> openrc-0.9.4.ebuild:
+  Stable on amd64 wrt bug #391271
+
+  25 Nov 2011; William Hubbs <williamh@gentoo.org> openrc-0.9.6.ebuild,
+  openrc-9999.ebuild:
+  update a comment
+
+*openrc-0.9.6 (25 Nov 2011)
+
+  25 Nov 2011; William Hubbs <williamh@gentoo.org> +openrc-0.9.6.ebuild,
+  openrc-9999.ebuild:
+  version bump, bug #387433 tracks changes since openrc-0.9.4.
+
+  22 Nov 2011; Jeroen Roovers <jer@gentoo.org> openrc-0.9.4.ebuild:
+  Stable for HPPA (bug #391271).
+
+  22 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org> openrc-0.9.4.ebuild:
+  ppc/ppc64 stable wrt #391271
+
+  21 Nov 2011; Mike Frysinger <vapier@gentoo.org> openrc-0.9.4.ebuild,
+  openrc-9999.ebuild:
+  Move baselayout-1 internal cleanup to baselayout as suggested by William.
+
+  21 Nov 2011; Mike Frysinger <vapier@gentoo.org> openrc-0.9.4.ebuild,
+  openrc-9999.ebuild:
+  Trim old baselayout-1 dirs in /lib/.
+
+  18 Nov 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Add static-libs use flag for bug #378267
+
+  16 Nov 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Since oldnet is now the default upstream, we do not need to force this
+  in the ebuild.
+
+  07 Nov 2011; Alexis Ballier <aballier@gentoo.org> openrc-0.8.3-r1.ebuild,
+  openrc-0.9.2.ebuild, openrc-0.9.3.ebuild, openrc-0.9.3-r1.ebuild,
+  openrc-0.9.4.ebuild, openrc-9999.ebuild:
+  A new fuser is provided by freebsd-ubin starting from FreeBSD 9, change deps
+  to reflect that.
+
+*openrc-0.9.4 (16 Oct 2011)
+
+  16 Oct 2011; Christian Ruppert <idl0r@gentoo.org> +openrc-0.9.4.ebuild:
+  Version bump to 0.9.4.
+
+*openrc-0.9.3-r1 (10 Sep 2011)
+
+  10 Sep 2011; William Hubbs <williamh@gentoo.org> +openrc-0.9.3-r1.ebuild,
+  openrc-9999.ebuild:
+  revert change to LIBEXEC for bug 381783.
+
+*openrc-0.9.3 (08 Sep 2011)
+
+  08 Sep 2011; William Hubbs <williamh@gentoo.org> +openrc-0.9.3.ebuild:
+  version bump for bug #381783.
+
+*openrc-0.9.2 (02 Sep 2011)
+
+  02 Sep 2011; William Hubbs <williamh@gentoo.org> -openrc-0.9.1.ebuild,
+  +openrc-0.9.2.ebuild:
+  version bump, bug #381523 tracks changes since 0.9.1.
+
+*openrc-0.9.1 (01 Sep 2011)
+
+  01 Sep 2011; William Hubbs <williamh@gentoo.org> -openrc-0.9.0.ebuild,
+  +openrc-0.9.1.ebuild:
+  version bump , bug #381463 tracks fixes since openrc-0.9.0.
+
+*openrc-0.9.0 (01 Sep 2011)
+
+  01 Sep 2011; William Hubbs <williamh@gentoo.org> +openrc-0.9.0.ebuild:
+  version bump, bug #374183 tracks changes since openrc-0.8.3.
+
+  01 Sep 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild,
+  +files/start-stop-daemon.pam:
+  Make start-stop-daemon use system-services PAM stack.
+  This closes bug #365149.
+
+  12 Jul 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  libexecdir should use "lib" instead of "$(get_libdir)"
+
+  12 Jul 2011; William Hubbs <williamh@gentoo.org> -openrc-0.8.2-r1.ebuild:
+  remove old version
+
+  10 Jul 2011; Jeroen Roovers <jer@gentoo.org> openrc-0.8.3-r1.ebuild:
+  Stable for HPPA (bug #373251).
+
+  09 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> openrc-0.8.3-r1.ebuild:
+  ppc/ppc64 stable wrt #373251
+
+  02 Jul 2011; Raúl Porcel <armin76@gentoo.org> openrc-0.8.3-r1.ebuild:
+  alpha/arm/ia64/sh/sparc/x86 stable wrt #373251
+
+  02 Jul 2011; Markos Chandras <hwoarang@gentoo.org> openrc-0.8.3-r1.ebuild:
+  Stable on amd64 wrt bug #373251
+
+  28 Jun 2011; William Hubbs <williamh@gentoo.org> -openrc-0.8.3.ebuild:
+  remove old version
+
+  28 Jun 2011; Mike Frysinger <vapier@gentoo.org> openrc-0.8.3-r1.ebuild:
+  Mark m68k/s390 stable #367467.
+
+  28 Jun 2011; Mike Frysinger <vapier@gentoo.org> openrc-0.8.3-r1.ebuild,
+  +files/openrc-0.8.3-ccwgroup.patch:
+  Fix s390 interface handling #367467.
+
+*openrc-0.8.3-r1 (28 Jun 2011)
+
+  28 Jun 2011; William Hubbs <williamh@gentoo.org> openrc-0.8.3.ebuild,
+  +openrc-0.8.3-r1.ebuild:
+  Rev bumped the deprecation warning fix. If we do this in 0.8.3 we get no
+  ~arch testing time, and I don't see that this needs to go directly to
+  stable since it is a trivial fix. If it is critical, we can bump the
+  stable request to 0.8.3-r1.
+
+  28 Jun 2011; Christian Ruppert <idl0r@gentoo.org> openrc-0.8.3.ebuild,
+  +files/openrc-0.8.3-deprecation_warning.patch:
+  Fix deprecation warning for -c/--chuid, take a look at the patch for more
+  details.
+
+*openrc-0.8.3 (20 Jun 2011)
+
+  20 Jun 2011; William Hubbs <williamh@gentoo.org> +openrc-0.8.3.ebuild:
+  version bump
+
+  20 Jun 2011; William Hubbs <williamh@gentoo.org> -openrc-0.6.8.ebuild,
+  -openrc-0.7.0.ebuild, -openrc-0.8.2.ebuild:
+  remove old versions
+
+  20 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> openrc-9999.ebuild:
+  Migrate to EAPI=4. Acked by William and Jeremy.
+
+  13 May 2011; Raúl Porcel <armin76@gentoo.org> openrc-0.8.2-r1.ebuild:
+  alpha/arm/ia64/sh/sparc stable wrt #295613
+
+  12 May 2011; Joseph Jezak <josejx@gentoo.org> openrc-0.8.2-r1.ebuild:
+  Marked ppc/ppc64 stable for bug #295613.
+
+  09 May 2011; Jeroen Roovers <jer@gentoo.org> openrc-0.8.2-r1.ebuild:
+  Stable for HPPA (bug #295613).
+
+  08 May 2011; Pacho Ramos <pacho@gentoo.org> openrc-0.8.2-r1.ebuild:
+  amd64 stable, bug 295613
+
+  08 May 2011; Christian Faulhammer <fauli@gentoo.org> openrc-0.8.2-r1.ebuild:
+  stable x86, bug 295613
+
+*openrc-0.8.2-r1 (28 Apr 2011)
+
+  28 Apr 2011; William Hubbs <williamh@gentoo.org> +openrc-0.8.2-r1.ebuild:
+  Revision bump for local.d migration fix
+
+  17 Apr 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  fix the migration of /etc/conf.d/local.* for bug #363949.
+
+  16 Apr 2011; William Hubbs <williamh@gentoo.org> -openrc-0.8.1.ebuild:
+  remove broken version
+
+*openrc-0.8.2 (16 Apr 2011)
+
+  16 Apr 2011; William Hubbs <williamh@gentoo.org> +openrc-0.8.2.ebuild:
+  version bump
+
+  15 Apr 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Fix conf.d/local -> local.d transition for bug #363637.
+
+  15 Apr 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Disable consolefont on hppa by default for bug #222889, thanks to
+  Jeroen Roovers .
+
+  12 Apr 2011; William Hubbs <williamh@gentoo.org> -openrc-0.6.3.ebuild,
+  -openrc-0.6.5.ebuild, -openrc-0.6.6.ebuild, -openrc-0.6.7.ebuild,
+  -openrc-0.8.0.ebuild:
+  remove old versions
+
+*openrc-0.8.1 (12 Apr 2011)
+
+  12 Apr 2011; William Hubbs <williamh@gentoo.org> +openrc-0.8.1.ebuild:
+  version bump
+
+  24 Mar 2011; William Hubbs <williamh@gentoo.org> openrc-0.8.0.ebuild,
+  openrc-9999.ebuild:
+  remove instructions regarding /etc/conf.d/local since they no longer apply
+  for bug #360293.
+
+*openrc-0.8.0 (22 Mar 2011)
+
+  22 Mar 2011; William Hubbs <williamh@gentoo.org> +openrc-0.8.0.ebuild:
+  version bump
+
+  22 Feb 2011; Robin H. Johnson <robbat2@gentoo.org> openrc-9999.ebuild:
+  README.net is now README.newnet.
+
+  01 Feb 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  add selinux use flag support for bug #351712
+
+  31 Jan 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Bug #289264 is fixed upstream, so remove the sed that worked around it.
+
+  23 Jan 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Fix the /etc/conf.d/local.{start,stop} migration from baselayout-1 to
+  migrate these files to /etc/local.d/baselayout1.start and
+  /etc/local.d/baselayout1.stop.
+  This is for bug #351465.
+
+*openrc-0.7.0 (13 Jan 2011)
+
+  13 Jan 2011; William Hubbs <williamh@gentoo.org> +openrc-0.7.0.ebuild:
+  version bump with a significant number of bug fixes.
+  Upgrading is recommended.
+
+  06 Jan 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  remove /etc/init.d/{depscan,runscript}.sh for bug #347483.
+
+*openrc-0.6.8 (08 Dec 2010)
+
+  08 Dec 2010; William Hubbs <williamh@gentoo.org> +openrc-0.6.8.ebuild:
+  version bump:
+
+  bug 232347: fix netmount to respect _netdev option
+
+  Bug 345281: If wpa_supplicant is built w/ USE=dbus, start after DBus is
+  up, thanks to Robin Johnson.
+
+  bug 347503: fix selinux context for rc-svcdir, thanks to Robin Johnson.
+
+*openrc-0.6.7 (03 Dec 2010)
+
+  03 Dec 2010; William Hubbs <williamh@gentoo.org> +openrc-0.6.7.ebuild:
+  version bump for bug #319865.
+
+  03 Dec 2010; William Hubbs <williamh@gentoo.org> +openrc-0.6.5.ebuild:
+  re-add 0.6.5
+
+*openrc-0.6.6 (30 Nov 2010)
+
+  30 Nov 2010; William Hubbs <williamh@gentoo.org> -openrc-0.6.5.ebuild,
+  +openrc-0.6.6.ebuild:
+  version bump and remove old version
+
+*openrc-0.6.5 (21 Nov 2010)
+
+  21 Nov 2010; William Hubbs <williamh@gentoo.org> -openrc-0.6.2.ebuild,
+  -files/openrc-0.6.2-fix-make-3.82.patch, -openrc-0.6.4.ebuild,
+  +openrc-0.6.5.ebuild:
+  version bump and remove old versions
+
+  15 Nov 2010; William Hubbs <williamh@gentoo.org> -openrc-0.6.0-r1.ebuild,
+  -files/openrc-0.6.0-fix-bsd-compile.patch,
+  -files/openrc-0.6.0-fix-vlan.patch, -files/openrc-0.6.0-typos.patch,
+  -openrc-0.6.1-r1.ebuild, -files/openrc-0.6.1-network-syntax.patch:
+  removed some old versions
+
+*openrc-0.6.4 (15 Nov 2010)
+
+  15 Nov 2010; William Hubbs <williamh@gentoo.org> +openrc-0.6.4.ebuild:
+  version bump
+
+  10 Nov 2010; Mike Frysinger <vapier@gentoo.org> openrc-0.6.3.ebuild,
+  openrc-9999.ebuild:
+  Auto migrate conf.d/local.{start,stop} to conf.d/local #343709 by Markos
+  Chandras.
+
+*openrc-0.6.3 (02 Sep 2010)
+
+  02 Sep 2010; William Hubbs <williamh@gentoo.org> +openrc-0.6.3.ebuild,
+  metadata.xml:
+  version bump and fix metadata to reflect the correct herd.
+
+  22 Aug 2010; Jory A. Pratt <anarchy@gentoo.org> openrc-0.6.2.ebuild,
+  +files/openrc-0.6.2-fix-make-3.82.patch:
+  Fix make breakage bug #333461, also allow user to apply conditional
+  patches between releases without modifying ebuild.
+
+  21 Aug 2010; Mike Frysinger <vapier@gentoo.org> openrc-0.6.2.ebuild,
+  openrc-9999.ebuild:
+  Update HOMEPAGE #333759 by Xake.
+
+*openrc-0.6.2 (19 Aug 2010)
+
+  19 Aug 2010; William Hubbs <williamh@gentoo.org> +openrc-0.6.2.ebuild:
+  version bump
+
+  08 Jul 2010; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  changed the live ebuild to refer to gentoo's git repository.
+
+  04 Jul 2010; Mike Frysinger <vapier@gentoo.org> metadata.xml:
+  Update metadata.xml now that Roy isnt working on things.
+
+*openrc-0.6.1-r1 (23 Mar 2010)
+
+  23 Mar 2010; Mike Frysinger <vapier@gentoo.org> +openrc-0.6.1-r1.ebuild,
+  +files/openrc-0.6.1-network-syntax.patch:
+  Fix by Lars Wendler for syntax error in network init.d script #310805 by
+  Leonid Podolny.
+
+*openrc-0.6.1 (22 Mar 2010)
+
+  22 Mar 2010; William Hubbs <williamh@gentoo.org> +openrc-0.6.1.ebuild:
+  version bump
+
+  23 Jan 2010; William Hubbs <williamh@gentoo.org> -openrc-0.6.0.ebuild:
+  removed old version and fixed copyright date
+
+*openrc-0.6.0-r1 (20 Jan 2010)
+
+  20 Jan 2010; William Hubbs <williamh@gentoo.org> +openrc-0.6.0-r1.ebuild,
+  +files/openrc-0.6.0-fix-bsd-compile.patch,
+  +files/openrc-0.6.0-fix-vlan.patch, +files/openrc-0.6.0-typos.patch:
+  This new revision fixes #301594, an issue with the vlan support
+  and several typos.
+
+  22 Dec 2009; William Hubbs <williamh@gentoo.org> -openrc-0.5.3.ebuild:
+  removed old version
+
+*openrc-0.6.0 (21 Dec 2009)
+
+  21 Dec 2009; William Hubbs <williamh@gentoo.org> +openrc-0.6.0.ebuild:
+  version bump
+
+  21 Dec 2009; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  typo fixes
+
+  21 Dec 2009; Mike Frysinger <vapier@gentoo.org> openrc-0.5.3.ebuild,
+  openrc-9999.ebuild, +files/openrc-9999-pause.patch:
+  Restore "pause" functionality to teach people to convert #218859 by Martin
+  Mokrejš.
+
+  21 Dec 2009; Mike Frysinger <vapier@gentoo.org>
+  files/openrc-9999-msg-style.patch:
+  Restore more e* output style.
+
+  07 Dec 2009; Mike Frysinger <vapier@gentoo.org> openrc-0.5.3.ebuild,
+  openrc-9999.ebuild:
+  Migrate hostname by default to avoid default thrashing on conf.d/hostname
+  #295406 by Martin Mokrejš. Also delay automatic dep tree update till
+  after we are done screwing with /etc.
+
+  06 Dec 2009; William Hubbs <williamh@gentoo.org> -openrc-0.5.2-r2.ebuild,
+  -files/openrc-0.5.2-dont-wipe-wtmp.patch,
+  -files/openrc-0.5.2-fix-default-domain.patch,
+  -files/openrc-0.5.2-fix-iproute2-support.patch,
+  -files/openrc-0.5.2-linux-containers.patch,
+  -files/openrc-0.5.2-ppp-options.patch:
+  removed old version
+
+*openrc-0.5.3 (02 Dec 2009)
+
+  02 Dec 2009; William Hubbs <williamh@gentoo.org> +openrc-0.5.3.ebuild:
+  version bump
+
+  19 Nov 2009; William Hubbs <williamh@gentoo.org>
+  -files/0.5.2/0001-msg-style.patch,
+  -files/0.5.2/0002-useful-functions.patch, -files/0.5.2/0003-KV.patch,
+  -files/0.5.2/0004-fix-typo.patch,
+  -files/0.5.2/0005-fix-iproute2-support.patch,
+  -files/9999/0001-msg-style.patch,
+  -files/9999/0002-fix-iproute2-support.patch, -openrc-0.5.2-r1.ebuild,
+  -files/9999/0003-dont-wipe-wtmp.patch:
+  removed old version
+
+  13 Nov 2009; Matthias Schwarzott <zzam@gentoo.org> openrc-0.5.2-r2.ebuild,
+  openrc-9999.ebuild:
+  Cleanup udev enable logic.
+
+  11 Nov 2009; William Hubbs <williamh@gentoo.org> -openrc-0.5.2.ebuild:
+  removed old version
+
+  10 Nov 2009; William Hubbs <williamh@gentoo.org> openrc-0.5.2-r2.ebuild,
+  openrc-9999.ebuild:
+  fixed typo
+
+*openrc-0.5.2-r2 (10 Nov 2009)
+
+  10 Nov 2009; William Hubbs <williamh@gentoo.org> +openrc-0.5.2-r2.ebuild,
+  +files/openrc-0.5.2-dont-wipe-wtmp.patch,
+  +files/openrc-0.5.2-fix-default-domain.patch,
+  +files/openrc-0.5.2-fix-iproute2-support.patch,
+  +files/openrc-0.5.2-linux-containers.patch,
+  +files/openrc-0.5.2-ppp-options.patch, openrc-9999.ebuild,
+  +files/openrc-9999-msg-style.patch:
+  Revision bump and sync with live ebuild.
+  This new revision adds linux containers support, fixes ppp options, 
+  and fixes #289849.
+
+  08 Nov 2009; William Hubbs <williamh@gentoo.org>
+  -files/0.4.2/0001-msg-style.patch,
+  -files/0.4.2/0002-useful-functions.patch, -files/0.4.2/0003-KV.patch,
+  -files/0.4.3/0001-fix-is_older_than.patch,
+  -files/0.4.3/0002-support-custom-status.patch, -openrc-0.4.3-r4.ebuild,
+  -files/0.4.3/0003-command-line-size-fix.patch:
+  removed old version
+
+  08 Nov 2009; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  Fix the live ebuild to remove /etc/conf.d/net.example and
+  /etc/conf.d/wireless.example if they have not been modified and to add
+  comments to them advising that they are obsolete if they have.
+  This closes #291254.
+
+  31 Oct 2009; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+  removed dev spaces from src_uri
+
+  29 Oct 2009; William Hubbs <williamh@gentoo.org>
+  +files/0.4.2/0001-msg-style.patch,
+  +files/0.4.2/0002-useful-functions.patch, +files/0.4.2/0003-KV.patch:
+  restored 0.4.2 patches
+
+  29 Oct 2009; William Hubbs <williamh@gentoo.org>
+  +files/9999/0002-fix-iproute2-support.patch,
+  -files/9999/0002-useful-functions.patch, -files/9999/0003-KV.patch,
+  +files/9999/0003-dont-wipe-wtmp.patch:
+  Updated the patches for the live ebuild.
+
+  28 Oct 2009; William Hubbs <williamh@gentoo.org>
+  -files/0.4.2/0001-msg-style.patch,
+  -files/0.4.2/0002-useful-functions.patch, -files/0.4.2/0003-KV.patch:
+  Removed old patches since we do not have openrc-0.4.2 in the tree.
+
+*openrc-0.5.2-r1 (20 Oct 2009)
+
+  20 Oct 2009; William Hubbs <williamh@gentoo.org>
+  +files/0.5.2/0005-fix-iproute2-support.patch, +openrc-0.5.2-r1.ebuild,
+  metadata.xml:
+  Fixed iproute2 support for bug #289762.
+  Removed oldnet from metadata.
+
+*openrc-0.5.2 (19 Oct 2009)
+
+  19 Oct 2009; William Hubbs <williamh@gentoo.org>
+  +files/0.5.2/0001-msg-style.patch, +openrc-0.5.2.ebuild,
+  +files/0.5.2/0002-useful-functions.patch, openrc-9999.ebuild,
+  +files/0.5.2/0003-KV.patch, +files/0.5.2/0004-fix-typo.patch:
+  Version bump and synced with live ebuild.
+
+  18 Oct 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+  openrc-0.5.1-r1.ebuild, openrc-9999.ebuild:
+  Set ABI dependent vars at the beginning of each src_* function needing
+  them, fixes bug #289314
+
+  16 Oct 2009; Mike Frysinger <vapier@gentoo.org> openrc-0.5.1-r1.ebuild,
+  openrc-9999.ebuild:
+  Workaround parallel build issues #289264.
+
+  16 Oct 2009; Mike Frysinger <vapier@gentoo.org> openrc-0.5.1-r1.ebuild,
+  openrc-9999.ebuild:
+  Set rc_shell to /sbin/sulogin by default when it is installed.
+
+  15 Oct 2009; Mike Frysinger <vapier@gentoo.org> openrc-0.5.1-r1.ebuild,
+  openrc-9999.ebuild:
+  Relocate docs to normal Gentoo location #241342 by Diego E. Pettenò.
+
+*openrc-0.5.1-r1 (15 Oct 2009)
+
+  15 Oct 2009; Mike Frysinger <vapier@gentoo.org> +openrc-0.5.1-r1.ebuild,
+  openrc-9999.ebuild:
+  Rewrite the oldnet handling and make it the default for everyone.
+
+  10 Oct 2009; Matthias Schwarzott <zzam@gentoo.org> openrc-0.5.1.ebuild,
+  openrc-9999.ebuild:
+  Fixed enabling unicode in rc.conf, thanks to polynomial-c, bug #288383.
+
+*openrc-0.5.1 (09 Oct 2009)
+
+  09 Oct 2009; Matthias Schwarzott <zzam@gentoo.org>
+  +files/0.5.1/0001-msg-style.patch, +openrc-0.5.1.ebuild,
+  +files/0.5.1/0002-useful-functions.patch, openrc-9999.ebuild,
+  +files/0.5.1/0003-KV.patch, metadata.xml:
+  Version bumped. Add default enabled use-flag oldnet to install old-style
+  net.* init-scripts additionally to new ones. Synced with live ebuild.
+
+*openrc-0.4.3-r4 (08 Oct 2009)
+
+  08 Oct 2009; Pielmeier Daniel <billie@gentoo.org> +openrc-0.4.3-r4.ebuild,
+  +files/openrc.logrotate:
+  Revision bump. Add support for logfile rotation. Closes bug #262035.
+
+  23 Aug 2009; Mike Frysinger <vapier@gentoo.org> openrc-0.4.3-r3.ebuild,
+  openrc-9999.ebuild:
+  Make sure ${ROOT}/etc/runlevels exists early enough #277323 by Ed
+  Wildgoose.
+
+  11 Jul 2009; Robin H. Johnson <robbat2@gentoo.org>
+  +files/0.4.3/0003-command-line-size-fix.patch, openrc-0.4.3-r3.ebuild:
+  Bug #276715: Failure to compile with newer kernel headers due to
+  COMMAND_LINE_SIZE definition.
+
+  15 Jun 2009; Matthias Schwarzott <zzam@gentoo.org> openrc-9999.ebuild:
+  Add missing leading slash to LIBEXECDIR.
+
+  08 Jun 2009; Mike Frysinger <vapier@gentoo.org> openrc-0.4.3-r2.ebuild,
+  openrc-0.4.3-r3.ebuild, openrc-9999.ebuild:
+  Fix latent LIBDIR references #273224 by Peter Alfredsen.
+
+*openrc-0.4.3-r3 (08 Jun 2009)
+
+  08 Jun 2009; Mike Frysinger <vapier@gentoo.org> +openrc-0.4.3-r3.ebuild:
+  Revert ldscript changes as they inadvertently break some init.d scripts
+  #270646 by Mike Auty.
+
+  08 Jun 2009; Mike Frysinger <vapier@gentoo.org> openrc-9999.ebuild:
+  Sync changes from 0.4.3 back and merge the live/release versions.
+
+  29 May 2009; Mike Frysinger <vapier@gentoo.org> openrc-9999.ebuild:
+  Update repos to point to git #269705 by William Keaney.
+
+  09 May 2009; Mike Frysinger <vapier@gentoo.org> openrc-0.4.3-r2.ebuild:
+  Remove LIBDIR from env #266688, switch to get_libdir, and install shared
+  libs better with gen_usr_ldscript. Also install files with 644 rather than
+  444.
+
+  27 Apr 2009; Mike Frysinger <vapier@gentoo.org>
+  files/9999/0001-msg-style.patch, files/9999/0002-useful-functions.patch,
+  files/9999/0003-KV.patch:
+  Update patches against latest svn #267540 by Vivien Moreau.
+
+  18 Apr 2009; Benedikt Böhm <hollow@gentoo.org>
+  files/0.4.3/0002-support-custom-status.patch:
+  backport r1523 and r1524 to fix compile on FreeBSD and still provide the
+  system status function in custom hooks
+
+*openrc-0.4.3-r2 (18 Apr 2009)
+
+  18 Apr 2009; Benedikt Böhm <hollow@gentoo.org>
+  +files/0.4.3/0002-support-custom-status.patch,
+  -files/openrc-0.4.3-fix-is_older_than.patch,
+  +files/0.4.3/0001-fix-is_older_than.patch, openrc-0.4.3-r1.ebuild,
+  +openrc-0.4.3-r2.ebuild:
+  backport r1520 to support custom status function and return 32 if service
+  has crashed. fixes #215355
+
+  16 Feb 2009; Matthias Schwarzott <zzam@gentoo.org> -openrc-0.4.3.ebuild:
+  Remove version 0.4.3
+
+*openrc-0.4.3-r1 (13 Feb 2009)
+
+  13 Feb 2009; Matthias Schwarzott <zzam@gentoo.org>
+  +files/openrc-0.4.3-fix-is_older_than.patch, +openrc-0.4.3-r1.ebuild:
+  Fix is_older_than, Bug #258688.
+
+  11 Feb 2009; Doug Goldstein <cardoe@gentoo.org>
+  -files/0.4.3/0001-msg-style.patch,
+  -files/0.4.3/0002-useful-functions.patch, -files/0.4.3/0003-KV.patch,
+  openrc-0.4.3.ebuild:
+  0.4.3 patches are identical to 0.4.2. reuse 0.4.2 patches to save cvs
+  space and fix weird rsyncing error
+
+*openrc-0.4.3 (11 Feb 2009)
+
+  11 Feb 2009; Matthias Schwarzott <zzam@gentoo.org>
+  +files/0.4.3/0001-msg-style.patch,
+  +files/0.4.3/0002-useful-functions.patch, +files/0.4.3/0003-KV.patch,
+  +openrc-0.4.3.ebuild:
+  Version bumped. Fixes a lot of issues. Like clock skew handling.
+  wpa_supplicant stuff, openvz handling, s-s-d environment and umask.
+
+  31 Jan 2009; Matthias Schwarzott <zzam@gentoo.org> openrc-0.4.2.ebuild,
+  openrc-9999.ebuild:
+  Sync 0.4.2 and 9999 ebuild. This does not change anything for 0.4.2
+  ebuild.
+
+  28 Jan 2009; Matthias Schwarzott <zzam@gentoo.org> openrc-9999.ebuild:
+  Use specialized svnversion command to get commit version.
+
+*openrc-0.4.2 (14 Jan 2009)
+
+  14 Jan 2009; Matthias Schwarzott <zzam@gentoo.org>
+  +files/0.4.2/0001-msg-style.patch,
+  +files/0.4.2/0002-useful-functions.patch, +files/0.4.2/0003-KV.patch,
+  +files/0.4.2/0004-svn-version.patch, +openrc-0.4.2.ebuild:
+  Version bumped. Bug #254239. This fixes lots of details like compilation
+  on non-linux, forcefsck only applying to boot and not shutdown.
+
+  08 Jan 2009; Jeroen Roovers <jer@gentoo.org> metadata.xml:
+  Improve description after private conversation with Roy.
+
+  03 Jan 2009; Jeroen Roovers <jer@gentoo.org> metadata.xml:
+  Change comment into useable tags.
+
+  01 Jan 2009; Benedikt Böhm <hollow@gentoo.org>
+  +files/0.4.0/0005-init-script-novserver.patch:
+  fix dmesg and sysfs init script inside vservers, bug #253105
+
+  31 Dec 2008; Doug Goldstein <cardoe@gentoo.org> openrc-0.4.1-r1.ebuild,
+  openrc-9999.ebuild:
+  invert module-init-tools depend so we're not always pulling it in. the
+  depend was to avoid a specific issue with older module-init-tools
+
+  30 Dec 2008; Doug Goldstein <cardoe@gentoo.org> openrc-0.4.1-r1.ebuild,
+  openrc-9999.ebuild:
+  remove old clock init script forcibly during the upgrade since it appears
+  to cause problems. bug #252380
+
+*openrc-0.4.1-r1 (29 Dec 2008)
+
+  29 Dec 2008; Doug Goldstein <cardoe@gentoo.org>
+  -files/0.3.0/0001-Fix-a-segfault-when-profile.env-does-not-exist.patch,
+  -files/0.3.0/0005-add-back-KV_-funcs.patch,
+  +files/0.4.0/0004-s-s-d-retry.patch,
+  -files/0.3.0/0003-This-reverts-commit-0e2f160c95b15e95f3885e3f5a3670ec.pat
+  ch, -files/0.3.0/0006-Fix-tests-Gentoo-240350.patch,
+  -files/0.3.0/0002-kenv-is-not-always-available.patch,
+  -files/0.3.0/0007-Fix-utmp-permissions-Gentoo-240437.patch,
+  -files/0.3.0/0004-add-a-softlevel-function-to-the-API-so-people-dont.patch
+  , -files/0.3.0/0008-Clean-up-warnings-regarding-printf.patch,
+  -openrc-0.3.0-r1.ebuild, -openrc-0.4.0.ebuild, -openrc-0.4.1.ebuild,
+  +openrc-0.4.1-r1.ebuild:
+  fix s-s-d signals on retry. bug #252621. remove old versions
+
+  24 Dec 2008; Matthias Schwarzott <zzam@gentoo.org> openrc-0.4.1.ebuild:
+  Fix patches directory, bug #252340. Update ebuild to match the old 0.4.0
+  ebuild.
+
+*openrc-0.4.1 (23 Dec 2008)
+
+  23 Dec 2008; Doug Goldstein <cardoe@gentoo.org> +openrc-0.4.1.ebuild:
+  version bump. fixes s-s-d process matching and segfaults. fixes
+  netplug/ifplug/wpa_supplicant up events. adds support for wpa_supplicant
+  ctrl_interface directive. fix bug #251839 (and more)
+
+  20 Dec 2008; Zac Medico <zmedico@gentoo.org> openrc-0.4.0.ebuild:
+  Bug #251749 - Fix typo in sys-apps/sysvinit blocker.
+
+  19 Dec 2008; Matthias Schwarzott <zzam@gentoo.org> openrc-0.4.0.ebuild,
+  openrc-9999.ebuild:
+  Try to auto-detect on update, if the old version had udev enabled, and add
+  it to sysinit runlevel if yes.
+
+  17 Dec 2008; Doug Goldstein <cardoe@gentoo.org> openrc-0.3.0-r1.ebuild,
+  openrc-0.4.0.ebuild, openrc-9999.ebuild:
+  add elibc_glibc to IUSE
+
+  17 Dec 2008; Doug Goldstein <cardoe@gentoo.org>
+  -files/0.2.5/0001-msg-style.patch,
+  -files/0.2.5/0002-useful-functions.patch, -files/0.2.5/0003-KV.patch,
+  -openrc-0.2.5.ebuild:
+  remove old version from the tree
+
+  13 Dec 2008; Matthias Schwarzott <zzam@gentoo.org> openrc-9999.ebuild:
+  Fix update code. Switch over to svn repository.
+
+  10 Dec 2008; Doug Goldstein <cardoe@gentoo.org> openrc-9999.ebuild:
+  Add runlevel migration support and update depends for live git build
+
+*openrc-0.4.0 (10 Dec 2008)
+
+  10 Dec 2008; Doug Goldstein <cardoe@gentoo.org>
+  +files/0.4.0/0001-msg-style.patch,
+  +files/0.4.0/0002-useful-functions.patch, +files/0.4.0/0003-KV.patch,
+  +openrc-0.4.0.ebuild:
+  add OpenRC 0.4.0 which should fix many outstanding bugs
+
+*openrc-0.3.0-r1 (08 Oct 2008)
+
+  08 Oct 2008; Doug Goldstein <cardoe@gentoo.org>
+  -files/openrc-0.2.4-start-nodep.patch,
+  +files/0.3.0/0006-Fix-tests-Gentoo-240350.patch,
+  +files/0.3.0/0007-Fix-utmp-permissions-Gentoo-240437.patch,
+  +files/0.3.0/0008-Clean-up-warnings-regarding-printf.patch,
+  -openrc-0.3.0.ebuild, +openrc-0.3.0-r1.ebuild:
+  fix bugs #240350, #240437. Fix printf warnings. Remove dead patch.
+
+  06 Oct 2008; Doug Goldstein <cardoe@gentoo.org>
+  +files/0.2.5/0002-useful-functions.patch, +files/0.2.5/0003-KV.patch,
+  files/9999/0002-useful-functions.patch, +files/0.2.5/0001-msg-style.patch,
+  -openrc-0.2.2.ebuild, -openrc-0.2.3.ebuild, -openrc-0.2.4.ebuild,
+  -openrc-0.2.4-r1.ebuild, openrc-0.2.5.ebuild:
+  create 0.2.5 patch directory and copy current patches there. Use that
+  directory for 0.2.5. Update live ebuild 0002 patch to current patch as the
+  original one doesn't apply. bug #238904. Remove outdated versions.
+
+*openrc-0.3.0 (06 Oct 2008)
+
+  06 Oct 2008; Doug Goldstein <cardoe@gentoo.org>
+  +files/0.3.0/0001-Fix-a-segfault-when-profile.env-does-not-exist.patch,
+  +files/0.3.0/0002-kenv-is-not-always-available.patch,
+  +files/0.3.0/0004-add-a-softlevel-function-to-the-API-so-people-dont.patch
+  ,
+  +files/0.3.0/0003-This-reverts-commit-0e2f160c95b15e95f3885e3f5a3670ec.pat
+  ch, +files/0.3.0/0005-add-back-KV_-funcs.patch, +openrc-0.3.0.ebuild:
+  version bump. forward port patches from 0.2.x and include some upstream
+  fixes
+
+  09 Jun 2008; Doug Goldstein <cardoe@gentoo.org> openrc-0.2.5.ebuild,
+  openrc-9999.ebuild:
+  always update the dependency tree so we don't boot with an out of date
+  tree. bug #224171
+
+  01 Jun 2008; Mike Frysinger <vapier@gentoo.org> openrc-0.2.5.ebuild,
+  openrc-9999.ebuild:
+  Fix net.lo test in upgrade path as pointed out by compguy284 #224425.
+
+  31 May 2008; Mike Frysinger <vapier@gentoo.org> openrc-0.2.5.ebuild,
+  openrc-9999.ebuild:
+  Do the timezone upgrade before moving the clock conf.d as pointed out by
+  Hopeless #222867.
+
+*openrc-0.2.5 (29 May 2008)
+
+  29 May 2008; Doug Goldstein <cardoe@gentoo.org> +openrc-0.2.5.ebuild:
+  version bump to fix a few outstanding bugs. 1) when a process stops, it
+  may delete it's pid file before actually being stopped
+
+*openrc-0.2.4-r1 (14 May 2008)
+
+  14 May 2008; Doug Goldstein <cardoe@gentoo.org> +openrc-0.2.4-r1.ebuild:
+  fix bug #221751 and bug #220579
+
+*openrc-0.2.4 (11 May 2008)
+
+  11 May 2008; Mike Frysinger <vapier@gentoo.org> +openrc-0.2.4.ebuild:
+  Version bump.
+
+*openrc-0.2.3 (29 Apr 2008)
+
+  29 Apr 2008; Doug Goldstein <cardoe@gentoo.org> +openrc-0.2.3.ebuild:
+  version bump. numerous bug fixes
+
+  19 Apr 2008; Mike Frysinger <vapier@gentoo.org> openrc-0.2.2.ebuild,
+  openrc-9999.ebuild:
+  Make sure to force glibc-2.5+ #218441 by onox.
+
+  15 Apr 2008; Doug Goldstein <cardoe@gentoo.org> openrc-0.2.1-r2.ebuild,
+  openrc-0.2.2.ebuild, openrc-9999.ebuild:
+  have to touch /etc/conf.d/net otherwise unmerge-orphans eats it later on
+
+*openrc-0.2.2 (15 Apr 2008)
+
+  15 Apr 2008; Doug Goldstein <cardoe@gentoo.org> -openrc-0.2.1-r1.ebuild,
+  +openrc-0.2.2.ebuild:
+  version bump to get the latest fixes
+
+  15 Apr 2008; Doug Goldstein <cardoe@gentoo.org> openrc-0.2.1-r1.ebuild,
+  openrc-0.2.1-r2.ebuild, openrc-9999.ebuild:
+  fix bug #217764
+
+*openrc-0.2.1-r2 (15 Apr 2008)
+
+  15 Apr 2008; Doug Goldstein <cardoe@gentoo.org>
+  +files/openrc-0.2.1-bad--help-output.patch,
+  +files/openrc-0.2.1-no-deref-null.patch,
+  +files/openrc-0.2.1-openvz-support.patch,
+  +files/openrc-0.2.1-respect-fastboot.patch, +openrc-0.2.1-r2.ebuild:
+  fix bug #216944 and other assorted issues
+
+  14 Apr 2008; Doug Goldstein <cardoe@gentoo.org> openrc-0.2.1-r1.ebuild,
+  openrc-9999.ebuild:
+  get rid of issue with 'net.*' literally appearing
+
+  12 Apr 2008; Doug Goldstein <cardoe@gentoo.org> openrc-0.2.1-r1.ebuild,
+  openrc-9999.ebuild:
+  reference OpenRC migration guide in pkg_postinst()
+
+  08 Apr 2008; Tobias Klausmann <klausman@gentoo.org>
+  openrc-0.2.1-r1.ebuild:
+  Keyworded on alpha, bug #214957
+
+  08 Apr 2008; Ryan Hill <dirtyepic@gentoo.org> openrc-0.2.1-r1.ebuild:
+  Keyword ~mips.
+
+*openrc-0.2.1-r1 (04 Apr 2008)
+
+  04 Apr 2008; Doug Goldstein <cardoe@gentoo.org>
+  +files/openrc-0.2.1-empty-list-crash.patch,
+  -files/openrc-0.2-freebsd-install-rc.patch,
+  -files/openrc-0.2-multilib-fix.patch,
+  -files/openrc-0.2-multiple-ntp-servers.patch,
+  -files/openrc-0.2-nicelevel-doc.patch,
+  -files/openrc-0.2-path-fix-for-multilib-fix.patch,
+  -files/openrc-0.2-sysctl-vserver-fix.patch, -openrc-0.2.1.ebuild,
+  +openrc-0.2.1-r1.ebuild:
+  fix bug #216091. crash when stringlist was non-existant
+
+  03 Apr 2008; Raúl Porcel <armin76@gentoo.org> openrc-0.2.1.ebuild:
+  Add ~sparc wrt #214957
+
+  02 Apr 2008; Doug Goldstein <cardoe@gentoo.org> openrc-0.2.1.ebuild,
+  openrc-9999.ebuild:
+  fix issue with installing boot initscripts that are provided by currently
+  installing copy of OpenRC
+
+*openrc-0.2.1 (02 Apr 2008)
+
+  02 Apr 2008; Doug Goldstein <cardoe@gentoo.org> -openrc-0.2-r3.ebuild,
+  +openrc-0.2.1.ebuild:
+  version bump. fixes vlans. fixes termencoding/keymap issues.
+
+  31 Mar 2008; Doug Goldstein <cardoe@gentoo.org> openrc-0.2-r3.ebuild,
+  openrc-9999.ebuild:
+  maybe_add_boot_init -> add_boot_init typo
+
+*openrc-0.2-r3 (31 Mar 2008)
+
+  31 Mar 2008; Doug Goldstein <cardoe@gentoo.org>
+  +files/openrc-0.2-nicelevel-doc.patch,
+  +files/openrc-0.2-path-fix-for-multilib-fix.patch, -openrc-0.2-r2.ebuild,
+  +openrc-0.2-r3.ebuild:
+  fix path issue introduced by multilib patch. document SSD_NICELEVEL
+
+  30 Mar 2008; Mike Frysinger <vapier@gentoo.org>
+  +files/9999/0001-msg-style.patch, +files/9999/0003-KV.patch,
+  +files/9999/0002-useful-functions.patch, openrc-0.2-r2.ebuild,
+  openrc-9999.ebuild:
+  Move patches here so we get them in releases.
+
+  30 Mar 2008; Mike Frysinger <vapier@gentoo.org> openrc-0.2-r2.ebuild,
+  openrc-9999.ebuild:
+  Autoadd device-mapper/dmcrypt/mdraid/lvm init.d scripts when
+  possible #215374.
+
+  29 Mar 2008; Jeroen Roovers <jer@gentoo.org> openrc-0.2-r2.ebuild:
+  Marked ~hppa (bug #214957).
+
+*openrc-0.2-r2 (28 Mar 2008)
+
+  28 Mar 2008; Doug Goldstein <cardoe@gentoo.org>
+  +files/openrc-0.2-multilib-fix.patch,
+  +files/openrc-0.2-multiple-ntp-servers.patch,
+  +files/openrc-0.2-sysctl-vserver-fix.patch, -openrc-0.2-r1.ebuild,
+  +openrc-0.2-r2.ebuild:
+  fix multilib issues. support multiple ntp servers. fix sysctl w/ vserver
+  issue.
+
+  28 Mar 2008; Mike Frysinger <vapier@gentoo.org> openrc-0.2-r1.ebuild,
+  openrc-9999.ebuild:
+  Make sure net init.d scripts are symlinks #215233 by Andrey Kislyuk.
+
+  28 Mar 2008; Mike Frysinger <vapier@gentoo.org> openrc-0.2-r1.ebuild,
+  openrc-9999.ebuild:
+  Drop USE=static since it doesnt really result in static.
+
+  28 Mar 2008; Alexis Ballier <aballier@gentoo.org> openrc-0.2-r1.ebuild:
+  keyword ~x86-fbsd
+
+  28 Mar 2008; Raúl Porcel <armin76@gentoo.org> openrc-0.2-r1.ebuild:
+  Add ~ia64 wrt #214957
+
+  27 Mar 2008; Doug Goldstein <cardoe@gentoo.org> openrc-0.2-r1.ebuild:
+  ~sparc-fbsd per bug #214957
+
+  27 Mar 2008; Markus Rothe <corsair@gentoo.org> openrc-0.2-r1.ebuild:
+  Added ~ppc; bug #214957
+
+  27 Mar 2008; Markus Rothe <corsair@gentoo.org> openrc-0.2-r1.ebuild:
+  Added ~ppc64; bug #214957
+
+*openrc-0.2-r1 (27 Mar 2008)
+
+  27 Mar 2008; Doug Goldstein <cardoe@gentoo.org>
+  +files/openrc-0.2-freebsd-install-rc.patch, -openrc-0.2.ebuild,
+  +openrc-0.2-r1.ebuild:
+  install rc & rc.shutdown for Gentoo/FreeBSD users
+
+  27 Mar 2008; Mike Frysinger <vapier@gentoo.org> openrc-0.2.ebuild:
+  Add x86/arm love #214957 by Shvetsov Alexey.
+
+*openrc-0.2 (26 Mar 2008)
+
+  26 Mar 2008; Doug Goldstein <cardoe@gentoo.org>
+  -openrc-0.2_pre20080326.ebuild, +openrc-0.2.ebuild:
+  add OpenRC 0.2
+
+*openrc-0.2_pre20080326 (26 Mar 2008)
+
+  26 Mar 2008; Doug Goldstein <cardoe@gentoo.org>
+  -openrc-0.2_pre20080325.ebuild, +openrc-0.2_pre20080326.ebuild:
+  switched to proper branch for snapshot
+
+*openrc-0.2_pre20080325 (25 Mar 2008)
+
+  25 Mar 2008; Doug Goldstein <cardoe@gentoo.org>
+  +openrc-0.2_pre20080325.ebuild:
+  add OpenRC 0.2 pre-release
+
+*openrc-9999 (23 Mar 2008)
+
+  23 Mar 2008; Mike Frysinger <vapier@gentoo.org> +metadata.xml,
+  +openrc-9999.ebuild:
+  Initial ebuild #212696.

diff --git a/sys-apps/openrc/files/openrc-0.12.4-ifdef_cplusplus.patch b/sys-apps/openrc/files/openrc-0.12.4-ifdef_cplusplus.patch
new file mode 100644
index 0000000..716ef83
--- /dev/null
+++ b/sys-apps/openrc/files/openrc-0.12.4-ifdef_cplusplus.patch
@@ -0,0 +1,42 @@
+diff -Naur openrc-0.12.4.orig/src/libeinfo/einfo.h openrc-0.12.4/src/libeinfo/einfo.h
+--- openrc-0.12.4.orig/src/libeinfo/einfo.h	2013-10-30 20:00:40.000000000 +0000
++++ openrc-0.12.4/src/libeinfo/einfo.h	2014-01-21 22:38:00.356867564 +0000
+@@ -48,7 +48,9 @@
+ # endif
+ #endif
+ 
++#ifdef __cplusplus
+ __BEGIN_DECLS
++#endif
+ 
+ /*! @brief Color types to use */
+ typedef enum
+@@ -140,5 +142,7 @@
+ /*! @brief Prefix each einfo line with something */
+ void eprefix(const char * EINFO_RESTRICT);
+ 
++#ifdef __cplusplus
+ __END_DECLS
+ #endif
++#endif
+diff -Naur openrc-0.12.4.orig/src/librc/rc.h.in openrc-0.12.4/src/librc/rc.h.in
+--- openrc-0.12.4.orig/src/librc/rc.h.in	2013-10-30 20:00:40.000000000 +0000
++++ openrc-0.12.4/src/librc/rc.h.in	2014-01-21 22:37:32.890866029 +0000
+@@ -31,7 +31,9 @@
+ #include <stdbool.h>
+ #include <stdio.h>
+ 
++#ifdef __cplusplus
+ __BEGIN_DECLS
++#endif
+ 
+ #define RC_PREFIX "@PREFIX@"
+ #define RC_SYSCONFDIR		"@SYSCONFDIR@"
+@@ -563,5 +565,7 @@
+  * we have our own */
+ ssize_t rc_getline(char **, size_t *, FILE *);
+ 
++#ifdef __cplusplus
+ __END_DECLS
+ #endif
++#endif

diff --git a/sys-apps/openrc/files/openrc-0.12.4-local-queue_h.patch b/sys-apps/openrc/files/openrc-0.12.4-local-queue_h.patch
new file mode 100644
index 0000000..21aad7e
--- /dev/null
+++ b/sys-apps/openrc/files/openrc-0.12.4-local-queue_h.patch
@@ -0,0 +1,12 @@
+diff -Naur openrc-0.12.4.orig/src/librc/rc.h.in openrc-0.12.4/src/librc/rc.h.in
+--- openrc-0.12.4.orig/src/librc/rc.h.in	2013-10-30 20:00:40.000000000 +0000
++++ openrc-0.12.4/src/librc/rc.h.in	2014-01-21 22:57:11.283931920 +0000
+@@ -27,7 +27,7 @@
+ #define __RC_H__
+ 
+ #include <sys/types.h>
+-#include <sys/queue.h>
++#include "queue.h"
+ #include <stdbool.h>
+ #include <stdio.h>
+ 

diff --git a/sys-apps/openrc/files/openrc.logrotate b/sys-apps/openrc/files/openrc.logrotate
new file mode 100644
index 0000000..a168f23
--- /dev/null
+++ b/sys-apps/openrc/files/openrc.logrotate
@@ -0,0 +1,7 @@
+/var/log/rc.log {
+	compress
+	rotate 4
+	weekly
+	missingok
+	notifempty
+}

diff --git a/sys-apps/openrc/files/queue.h b/sys-apps/openrc/files/queue.h
new file mode 100644
index 0000000..daf4553
--- /dev/null
+++ b/sys-apps/openrc/files/queue.h
@@ -0,0 +1,574 @@
+/*
+ * Copyright (c) 1991, 1993
+ *	The Regents of the University of California.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ *	@(#)queue.h	8.5 (Berkeley) 8/20/94
+ */
+
+#ifndef	_SYS_QUEUE_H_
+#define	_SYS_QUEUE_H_
+
+/*
+ * This file defines five types of data structures: singly-linked lists,
+ * lists, simple queues, tail queues, and circular queues.
+ *
+ * A singly-linked list is headed by a single forward pointer. The
+ * elements are singly linked for minimum space and pointer manipulation
+ * overhead at the expense of O(n) removal for arbitrary elements. New
+ * elements can be added to the list after an existing element or at the
+ * head of the list.  Elements being removed from the head of the list
+ * should use the explicit macro for this purpose for optimum
+ * efficiency. A singly-linked list may only be traversed in the forward
+ * direction.  Singly-linked lists are ideal for applications with large
+ * datasets and few or no removals or for implementing a LIFO queue.
+ *
+ * A list is headed by a single forward pointer (or an array of forward
+ * pointers for a hash table header). The elements are doubly linked
+ * so that an arbitrary element can be removed without a need to
+ * traverse the list. New elements can be added to the list before
+ * or after an existing element or at the head of the list. A list
+ * may only be traversed in the forward direction.
+ *
+ * A simple queue is headed by a pair of pointers, one the head of the
+ * list and the other to the tail of the list. The elements are singly
+ * linked to save space, so elements can only be removed from the
+ * head of the list. New elements can be added to the list after
+ * an existing element, at the head of the list, or at the end of the
+ * list. A simple queue may only be traversed in the forward direction.
+ *
+ * A tail queue is headed by a pair of pointers, one to the head of the
+ * list and the other to the tail of the list. The elements are doubly
+ * linked so that an arbitrary element can be removed without a need to
+ * traverse the list. New elements can be added to the list before or
+ * after an existing element, at the head of the list, or at the end of
+ * the list. A tail queue may be traversed in either direction.
+ *
+ * A circle queue is headed by a pair of pointers, one to the head of the
+ * list and the other to the tail of the list. The elements are doubly
+ * linked so that an arbitrary element can be removed without a need to
+ * traverse the list. New elements can be added to the list before or after
+ * an existing element, at the head of the list, or at the end of the list.
+ * A circle queue may be traversed in either direction, but has a more
+ * complex end of list detection.
+ *
+ * For details on the use of these macros, see the queue(3) manual page.
+ */
+
+/*
+ * List definitions.
+ */
+#define	LIST_HEAD(name, type)						\
+struct name {								\
+	struct type *lh_first;	/* first element */			\
+}
+
+#define	LIST_HEAD_INITIALIZER(head)					\
+	{ NULL }
+
+#define	LIST_ENTRY(type)						\
+struct {								\
+	struct type *le_next;	/* next element */			\
+	struct type **le_prev;	/* address of previous next element */	\
+}
+
+/*
+ * List functions.
+ */
+#define	LIST_INIT(head) do {						\
+	(head)->lh_first = NULL;					\
+} while (/*CONSTCOND*/0)
+
+#define	LIST_INSERT_AFTER(listelm, elm, field) do {			\
+	if (((elm)->field.le_next = (listelm)->field.le_next) != NULL)	\
+		(listelm)->field.le_next->field.le_prev =		\
+		    &(elm)->field.le_next;				\
+	(listelm)->field.le_next = (elm);				\
+	(elm)->field.le_prev = &(listelm)->field.le_next;		\
+} while (/*CONSTCOND*/0)
+
+#define	LIST_INSERT_BEFORE(listelm, elm, field) do {			\
+	(elm)->field.le_prev = (listelm)->field.le_prev;		\
+	(elm)->field.le_next = (listelm);				\
+	*(listelm)->field.le_prev = (elm);				\
+	(listelm)->field.le_prev = &(elm)->field.le_next;		\
+} while (/*CONSTCOND*/0)
+
+#define	LIST_INSERT_HEAD(head, elm, field) do {				\
+	if (((elm)->field.le_next = (head)->lh_first) != NULL)		\
+		(head)->lh_first->field.le_prev = &(elm)->field.le_next;\
+	(head)->lh_first = (elm);					\
+	(elm)->field.le_prev = &(head)->lh_first;			\
+} while (/*CONSTCOND*/0)
+
+#define	LIST_REMOVE(elm, field) do {					\
+	if ((elm)->field.le_next != NULL)				\
+		(elm)->field.le_next->field.le_prev = 			\
+		    (elm)->field.le_prev;				\
+	*(elm)->field.le_prev = (elm)->field.le_next;			\
+} while (/*CONSTCOND*/0)
+
+#define	LIST_FOREACH(var, head, field)					\
+	for ((var) = ((head)->lh_first);				\
+		(var);							\
+		(var) = ((var)->field.le_next))
+
+/*
+ * List access methods.
+ */
+#define	LIST_EMPTY(head)		((head)->lh_first == NULL)
+#define	LIST_FIRST(head)		((head)->lh_first)
+#define	LIST_NEXT(elm, field)		((elm)->field.le_next)
+
+
+/*
+ * Singly-linked List definitions.
+ */
+#define	SLIST_HEAD(name, type)						\
+struct name {								\
+	struct type *slh_first;	/* first element */			\
+}
+
+#define	SLIST_HEAD_INITIALIZER(head)					\
+	{ NULL }
+
+#define	SLIST_ENTRY(type)						\
+struct {								\
+	struct type *sle_next;	/* next element */			\
+}
+
+/*
+ * Singly-linked List functions.
+ */
+#define	SLIST_INIT(head) do {						\
+	(head)->slh_first = NULL;					\
+} while (/*CONSTCOND*/0)
+
+#define	SLIST_INSERT_AFTER(slistelm, elm, field) do {			\
+	(elm)->field.sle_next = (slistelm)->field.sle_next;		\
+	(slistelm)->field.sle_next = (elm);				\
+} while (/*CONSTCOND*/0)
+
+#define	SLIST_INSERT_HEAD(head, elm, field) do {			\
+	(elm)->field.sle_next = (head)->slh_first;			\
+	(head)->slh_first = (elm);					\
+} while (/*CONSTCOND*/0)
+
+#define	SLIST_REMOVE_HEAD(head, field) do {				\
+	(head)->slh_first = (head)->slh_first->field.sle_next;		\
+} while (/*CONSTCOND*/0)
+
+#define	SLIST_REMOVE(head, elm, type, field) do {			\
+	if ((head)->slh_first == (elm)) {				\
+		SLIST_REMOVE_HEAD((head), field);			\
+	}								\
+	else {								\
+		struct type *curelm = (head)->slh_first;		\
+		while(curelm->field.sle_next != (elm))			\
+			curelm = curelm->field.sle_next;		\
+		curelm->field.sle_next =				\
+		    curelm->field.sle_next->field.sle_next;		\
+	}								\
+} while (/*CONSTCOND*/0)
+
+#define	SLIST_FOREACH(var, head, field)					\
+	for((var) = (head)->slh_first; (var); (var) = (var)->field.sle_next)
+
+/*
+ * Singly-linked List access methods.
+ */
+#define	SLIST_EMPTY(head)	((head)->slh_first == NULL)
+#define	SLIST_FIRST(head)	((head)->slh_first)
+#define	SLIST_NEXT(elm, field)	((elm)->field.sle_next)
+
+
+/*
+ * Singly-linked Tail queue declarations.
+ */
+#define	STAILQ_HEAD(name, type)					\
+struct name {								\
+	struct type *stqh_first;	/* first element */			\
+	struct type **stqh_last;	/* addr of last next element */		\
+}
+
+#define	STAILQ_HEAD_INITIALIZER(head)					\
+	{ NULL, &(head).stqh_first }
+
+#define	STAILQ_ENTRY(type)						\
+struct {								\
+	struct type *stqe_next;	/* next element */			\
+}
+
+/*
+ * Singly-linked Tail queue functions.
+ */
+#define	STAILQ_INIT(head) do {						\
+	(head)->stqh_first = NULL;					\
+	(head)->stqh_last = &(head)->stqh_first;				\
+} while (/*CONSTCOND*/0)
+
+#define	STAILQ_INSERT_HEAD(head, elm, field) do {			\
+	if (((elm)->field.stqe_next = (head)->stqh_first) == NULL)	\
+		(head)->stqh_last = &(elm)->field.stqe_next;		\
+	(head)->stqh_first = (elm);					\
+} while (/*CONSTCOND*/0)
+
+#define	STAILQ_INSERT_TAIL(head, elm, field) do {			\
+	(elm)->field.stqe_next = NULL;					\
+	*(head)->stqh_last = (elm);					\
+	(head)->stqh_last = &(elm)->field.stqe_next;			\
+} while (/*CONSTCOND*/0)
+
+#define	STAILQ_INSERT_AFTER(head, listelm, elm, field) do {		\
+	if (((elm)->field.stqe_next = (listelm)->field.stqe_next) == NULL)\
+		(head)->stqh_last = &(elm)->field.stqe_next;		\
+	(listelm)->field.stqe_next = (elm);				\
+} while (/*CONSTCOND*/0)
+
+#define	STAILQ_REMOVE_HEAD(head, field) do {				\
+	if (((head)->stqh_first = (head)->stqh_first->field.stqe_next) == NULL) \
+		(head)->stqh_last = &(head)->stqh_first;			\
+} while (/*CONSTCOND*/0)
+
+#define	STAILQ_REMOVE(head, elm, type, field) do {			\
+	if ((head)->stqh_first == (elm)) {				\
+		STAILQ_REMOVE_HEAD((head), field);			\
+	} else {							\
+		struct type *curelm = (head)->stqh_first;		\
+		while (curelm->field.stqe_next != (elm))			\
+			curelm = curelm->field.stqe_next;		\
+		if ((curelm->field.stqe_next =				\
+			curelm->field.stqe_next->field.stqe_next) == NULL) \
+			    (head)->stqh_last = &(curelm)->field.stqe_next; \
+	}								\
+} while (/*CONSTCOND*/0)
+
+#define	STAILQ_FOREACH(var, head, field)				\
+	for ((var) = ((head)->stqh_first);				\
+		(var);							\
+		(var) = ((var)->field.stqe_next))
+
+#define	STAILQ_CONCAT(head1, head2) do {				\
+	if (!STAILQ_EMPTY((head2))) {					\
+		*(head1)->stqh_last = (head2)->stqh_first;		\
+		(head1)->stqh_last = (head2)->stqh_last;		\
+		STAILQ_INIT((head2));					\
+	}								\
+} while (/*CONSTCOND*/0)
+
+/*
+ * Singly-linked Tail queue access methods.
+ */
+#define	STAILQ_EMPTY(head)	((head)->stqh_first == NULL)
+#define	STAILQ_FIRST(head)	((head)->stqh_first)
+#define	STAILQ_NEXT(elm, field)	((elm)->field.stqe_next)
+
+
+/*
+ * Simple queue definitions.
+ */
+#define	SIMPLEQ_HEAD(name, type)					\
+struct name {								\
+	struct type *sqh_first;	/* first element */			\
+	struct type **sqh_last;	/* addr of last next element */		\
+}
+
+#define	SIMPLEQ_HEAD_INITIALIZER(head)					\
+	{ NULL, &(head).sqh_first }
+
+#define	SIMPLEQ_ENTRY(type)						\
+struct {								\
+	struct type *sqe_next;	/* next element */			\
+}
+
+/*
+ * Simple queue functions.
+ */
+#define	SIMPLEQ_INIT(head) do {						\
+	(head)->sqh_first = NULL;					\
+	(head)->sqh_last = &(head)->sqh_first;				\
+} while (/*CONSTCOND*/0)
+
+#define	SIMPLEQ_INSERT_HEAD(head, elm, field) do {			\
+	if (((elm)->field.sqe_next = (head)->sqh_first) == NULL)	\
+		(head)->sqh_last = &(elm)->field.sqe_next;		\
+	(head)->sqh_first = (elm);					\
+} while (/*CONSTCOND*/0)
+
+#define	SIMPLEQ_INSERT_TAIL(head, elm, field) do {			\
+	(elm)->field.sqe_next = NULL;					\
+	*(head)->sqh_last = (elm);					\
+	(head)->sqh_last = &(elm)->field.sqe_next;			\
+} while (/*CONSTCOND*/0)
+
+#define	SIMPLEQ_INSERT_AFTER(head, listelm, elm, field) do {		\
+	if (((elm)->field.sqe_next = (listelm)->field.sqe_next) == NULL)\
+		(head)->sqh_last = &(elm)->field.sqe_next;		\
+	(listelm)->field.sqe_next = (elm);				\
+} while (/*CONSTCOND*/0)
+
+#define	SIMPLEQ_REMOVE_HEAD(head, field) do {				\
+	if (((head)->sqh_first = (head)->sqh_first->field.sqe_next) == NULL) \
+		(head)->sqh_last = &(head)->sqh_first;			\
+} while (/*CONSTCOND*/0)
+
+#define	SIMPLEQ_REMOVE(head, elm, type, field) do {			\
+	if ((head)->sqh_first == (elm)) {				\
+		SIMPLEQ_REMOVE_HEAD((head), field);			\
+	} else {							\
+		struct type *curelm = (head)->sqh_first;		\
+		while (curelm->field.sqe_next != (elm))			\
+			curelm = curelm->field.sqe_next;		\
+		if ((curelm->field.sqe_next =				\
+			curelm->field.sqe_next->field.sqe_next) == NULL) \
+			    (head)->sqh_last = &(curelm)->field.sqe_next; \
+	}								\
+} while (/*CONSTCOND*/0)
+
+#define	SIMPLEQ_FOREACH(var, head, field)				\
+	for ((var) = ((head)->sqh_first);				\
+		(var);							\
+		(var) = ((var)->field.sqe_next))
+
+/*
+ * Simple queue access methods.
+ */
+#define	SIMPLEQ_EMPTY(head)		((head)->sqh_first == NULL)
+#define	SIMPLEQ_FIRST(head)		((head)->sqh_first)
+#define	SIMPLEQ_NEXT(elm, field)	((elm)->field.sqe_next)
+
+
+/*
+ * Tail queue definitions.
+ */
+#define	_TAILQ_HEAD(name, type, qual)					\
+struct name {								\
+	qual type *tqh_first;		/* first element */		\
+	qual type *qual *tqh_last;	/* addr of last next element */	\
+}
+#define TAILQ_HEAD(name, type)	_TAILQ_HEAD(name, struct type,)
+
+#define	TAILQ_HEAD_INITIALIZER(head)					\
+	{ NULL, &(head).tqh_first }
+
+#define	_TAILQ_ENTRY(type, qual)					\
+struct {								\
+	qual type *tqe_next;		/* next element */		\
+	qual type *qual *tqe_prev;	/* address of previous next element */\
+}
+#define TAILQ_ENTRY(type)	_TAILQ_ENTRY(struct type,)
+
+/*
+ * Tail queue functions.
+ */
+#define	TAILQ_INIT(head) do {						\
+	(head)->tqh_first = NULL;					\
+	(head)->tqh_last = &(head)->tqh_first;				\
+} while (/*CONSTCOND*/0)
+
+#define	TAILQ_INSERT_HEAD(head, elm, field) do {			\
+	if (((elm)->field.tqe_next = (head)->tqh_first) != NULL)	\
+		(head)->tqh_first->field.tqe_prev =			\
+		    &(elm)->field.tqe_next;				\
+	else								\
+		(head)->tqh_last = &(elm)->field.tqe_next;		\
+	(head)->tqh_first = (elm);					\
+	(elm)->field.tqe_prev = &(head)->tqh_first;			\
+} while (/*CONSTCOND*/0)
+
+#define	TAILQ_INSERT_TAIL(head, elm, field) do {			\
+	(elm)->field.tqe_next = NULL;					\
+	(elm)->field.tqe_prev = (head)->tqh_last;			\
+	*(head)->tqh_last = (elm);					\
+	(head)->tqh_last = &(elm)->field.tqe_next;			\
+} while (/*CONSTCOND*/0)
+
+#define	TAILQ_INSERT_AFTER(head, listelm, elm, field) do {		\
+	if (((elm)->field.tqe_next = (listelm)->field.tqe_next) != NULL)\
+		(elm)->field.tqe_next->field.tqe_prev = 		\
+		    &(elm)->field.tqe_next;				\
+	else								\
+		(head)->tqh_last = &(elm)->field.tqe_next;		\
+	(listelm)->field.tqe_next = (elm);				\
+	(elm)->field.tqe_prev = &(listelm)->field.tqe_next;		\
+} while (/*CONSTCOND*/0)
+
+#define	TAILQ_INSERT_BEFORE(listelm, elm, field) do {			\
+	(elm)->field.tqe_prev = (listelm)->field.tqe_prev;		\
+	(elm)->field.tqe_next = (listelm);				\
+	*(listelm)->field.tqe_prev = (elm);				\
+	(listelm)->field.tqe_prev = &(elm)->field.tqe_next;		\
+} while (/*CONSTCOND*/0)
+
+#define	TAILQ_REMOVE(head, elm, field) do {				\
+	if (((elm)->field.tqe_next) != NULL)				\
+		(elm)->field.tqe_next->field.tqe_prev = 		\
+		    (elm)->field.tqe_prev;				\
+	else								\
+		(head)->tqh_last = (elm)->field.tqe_prev;		\
+	*(elm)->field.tqe_prev = (elm)->field.tqe_next;			\
+} while (/*CONSTCOND*/0)
+
+#define	TAILQ_FOREACH(var, head, field)					\
+	for ((var) = ((head)->tqh_first);				\
+		(var);							\
+		(var) = ((var)->field.tqe_next))
+
+#define	TAILQ_FOREACH_REVERSE(var, head, headname, field)		\
+	for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last));	\
+		(var);							\
+		(var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
+
+#define	TAILQ_CONCAT(head1, head2, field) do {				\
+	if (!TAILQ_EMPTY(head2)) {					\
+		*(head1)->tqh_last = (head2)->tqh_first;		\
+		(head2)->tqh_first->field.tqe_prev = (head1)->tqh_last;	\
+		(head1)->tqh_last = (head2)->tqh_last;			\
+		TAILQ_INIT((head2));					\
+	}								\
+} while (/*CONSTCOND*/0)
+
+/*
+ * Tail queue access methods.
+ */
+#define	TAILQ_EMPTY(head)		((head)->tqh_first == NULL)
+#define	TAILQ_FIRST(head)		((head)->tqh_first)
+#define	TAILQ_NEXT(elm, field)		((elm)->field.tqe_next)
+
+#define	TAILQ_LAST(head, headname) \
+	(*(((struct headname *)((head)->tqh_last))->tqh_last))
+#define	TAILQ_PREV(elm, headname, field) \
+	(*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
+
+
+/*
+ * Circular queue definitions.
+ */
+#define	CIRCLEQ_HEAD(name, type)					\
+struct name {								\
+	struct type *cqh_first;		/* first element */		\
+	struct type *cqh_last;		/* last element */		\
+}
+
+#define	CIRCLEQ_HEAD_INITIALIZER(head)					\
+	{ (void *)&head, (void *)&head }
+
+#define	CIRCLEQ_ENTRY(type)						\
+struct {								\
+	struct type *cqe_next;		/* next element */		\
+	struct type *cqe_prev;		/* previous element */		\
+}
+
+/*
+ * Circular queue functions.
+ */
+#define	CIRCLEQ_INIT(head) do {						\
+	(head)->cqh_first = (void *)(head);				\
+	(head)->cqh_last = (void *)(head);				\
+} while (/*CONSTCOND*/0)
+
+#define	CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do {		\
+	(elm)->field.cqe_next = (listelm)->field.cqe_next;		\
+	(elm)->field.cqe_prev = (listelm);				\
+	if ((listelm)->field.cqe_next == (void *)(head))		\
+		(head)->cqh_last = (elm);				\
+	else								\
+		(listelm)->field.cqe_next->field.cqe_prev = (elm);	\
+	(listelm)->field.cqe_next = (elm);				\
+} while (/*CONSTCOND*/0)
+
+#define	CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) do {		\
+	(elm)->field.cqe_next = (listelm);				\
+	(elm)->field.cqe_prev = (listelm)->field.cqe_prev;		\
+	if ((listelm)->field.cqe_prev == (void *)(head))		\
+		(head)->cqh_first = (elm);				\
+	else								\
+		(listelm)->field.cqe_prev->field.cqe_next = (elm);	\
+	(listelm)->field.cqe_prev = (elm);				\
+} while (/*CONSTCOND*/0)
+
+#define	CIRCLEQ_INSERT_HEAD(head, elm, field) do {			\
+	(elm)->field.cqe_next = (head)->cqh_first;			\
+	(elm)->field.cqe_prev = (void *)(head);				\
+	if ((head)->cqh_last == (void *)(head))				\
+		(head)->cqh_last = (elm);				\
+	else								\
+		(head)->cqh_first->field.cqe_prev = (elm);		\
+	(head)->cqh_first = (elm);					\
+} while (/*CONSTCOND*/0)
+
+#define	CIRCLEQ_INSERT_TAIL(head, elm, field) do {			\
+	(elm)->field.cqe_next = (void *)(head);				\
+	(elm)->field.cqe_prev = (head)->cqh_last;			\
+	if ((head)->cqh_first == (void *)(head))			\
+		(head)->cqh_first = (elm);				\
+	else								\
+		(head)->cqh_last->field.cqe_next = (elm);		\
+	(head)->cqh_last = (elm);					\
+} while (/*CONSTCOND*/0)
+
+#define	CIRCLEQ_REMOVE(head, elm, field) do {				\
+	if ((elm)->field.cqe_next == (void *)(head))			\
+		(head)->cqh_last = (elm)->field.cqe_prev;		\
+	else								\
+		(elm)->field.cqe_next->field.cqe_prev =			\
+		    (elm)->field.cqe_prev;				\
+	if ((elm)->field.cqe_prev == (void *)(head))			\
+		(head)->cqh_first = (elm)->field.cqe_next;		\
+	else								\
+		(elm)->field.cqe_prev->field.cqe_next =			\
+		    (elm)->field.cqe_next;				\
+} while (/*CONSTCOND*/0)
+
+#define	CIRCLEQ_FOREACH(var, head, field)				\
+	for ((var) = ((head)->cqh_first);				\
+		(var) != (const void *)(head);				\
+		(var) = ((var)->field.cqe_next))
+
+#define	CIRCLEQ_FOREACH_REVERSE(var, head, field)			\
+	for ((var) = ((head)->cqh_last);				\
+		(var) != (const void *)(head);				\
+		(var) = ((var)->field.cqe_prev))
+
+/*
+ * Circular queue access methods.
+ */
+#define	CIRCLEQ_EMPTY(head)		((head)->cqh_first == (void *)(head))
+#define	CIRCLEQ_FIRST(head)		((head)->cqh_first)
+#define	CIRCLEQ_LAST(head)		((head)->cqh_last)
+#define	CIRCLEQ_NEXT(elm, field)	((elm)->field.cqe_next)
+#define	CIRCLEQ_PREV(elm, field)	((elm)->field.cqe_prev)
+
+#define CIRCLEQ_LOOP_NEXT(head, elm, field)				\
+	(((elm)->field.cqe_next == (void *)(head))			\
+	    ? ((head)->cqh_first)					\
+	    : (elm->field.cqe_next))
+#define CIRCLEQ_LOOP_PREV(head, elm, field)				\
+	(((elm)->field.cqe_prev == (void *)(head))			\
+	    ? ((head)->cqh_last)					\
+	    : (elm->field.cqe_prev))
+
+#endif	/* sys/queue.h */

diff --git a/sys-apps/openrc/files/start-stop-daemon.pam b/sys-apps/openrc/files/start-stop-daemon.pam
new file mode 100644
index 0000000..2127f6a
--- /dev/null
+++ b/sys-apps/openrc/files/start-stop-daemon.pam
@@ -0,0 +1,2 @@
+account required pam_permit.so
+session include system-services

diff --git a/sys-apps/openrc/metadata.xml b/sys-apps/openrc/metadata.xml
new file mode 100644
index 0000000..0043936
--- /dev/null
+++ b/sys-apps/openrc/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>openrc</herd>
+	<use>
+		<flag name="netifrc">enable Gentoo's network stack (net.* scripts)</flag>
+		<flag name="newnet">enable the new network stack (experimental)</flag>
+		<flag name="tools">build optional tools</flag>
+	</use>
+</pkgmetadata>

diff --git a/sys-apps/openrc/openrc-0.12.4-r99.ebuild b/sys-apps/openrc/openrc-0.12.4-r99.ebuild
new file mode 100644
index 0000000..bf4012a
--- /dev/null
+++ b/sys-apps/openrc/openrc-0.12.4-r99.ebuild
@@ -0,0 +1,323 @@
+# 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.12.4.ebuild,v 1.12 2014/01/19 19:38:11 ago 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-2
+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
+	)
+	selinux? ( sec-policy/selinux-openrc )
+	!<sys-fs/udev-init-scripts-17
+	!<sys-fs/udev-133"
+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
+
+	epatch "${FILESDIR}"/${PN}-0.12.4-ifdef_cplusplus.patch
+	epatch "${FILESDIR}"/${PN}-0.12.4-local-queue_h.patch
+
+	cp "${FILESDIR}"/queue.h $S/src/librc
+
+	# 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
+		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 newnet || MAKE_ARGS="${MAKE_ARGS} MKNET=oldnet"
+	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.busybox
+	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."
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-22 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-22 15:52 [gentoo-commits] proj/hardened-dev:musl commit in: sys-apps/openrc/, sys-apps/openrc/files/ Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox