Difference between pages "Package:OpenRC" and "Template:Ebuild"

From Funtoo
(Difference between pages)
Jump to: navigation, search
 
 
Line 1: Line 1:
 +
<noinclude>
 +
This is the "Ebuild" template.
 +
It should be called in the following format:
 +
<pre>
 
{{Ebuild
 
{{Ebuild
|Summary=OpenRC manages the services, startup and shutdown of a host
+
|Summary=
|CatPkg=sys-apps/openrc
+
|CatPkg=
|Maintainer=William Hubbs, Daniel Robbins, Oleg
+
|Maintainer=
|Repository=Funtoo Overlay
+
|Repository=
|Organization=Funtoo Technologies
+
|Overlay=Funtoo
+
 
}}
 
}}
Funtoo OpenRC is the current implementation of the system startup and init script framework for Funtoo Linux. Official development sources can be found on [http://www.github.com/funtoo/openrc GitHub].
 
 
Funtoo OpenRC is an independently-maintained, forked version of the [http://roy.marples.name/projects/openrc/wiki OpenRC] init scripts ([http://www.gentoo.org/proj/en/base/openrc/ now maintained by Gentoo]). Funtoo Linux-specific changes generally relate to [[Funtoo Linux Networking|Funtoo network configuration]].
 
 
== Commands ==
 
 
; rc-update
 
: add or remove a service from a particular runlevel, or implement [[Stacked Runlevels]]
 
; rc-status
 
: show current status of system services
 
; rc
 
: manage runlevel changes
 
 
== FAQ ==
 
 
=== How do I tell one startup script to depend on another? ===
 
 
The easiest way to do this is to modify the <tt>/etc/conf.d</tt> script that corresponds to the service that needs to depend on something else, so let's call this service <tt>this_service</tt>. Add the following to its conf.d file:
 
 
<pre>
 
rc_need="other_service"
 
</pre>
 
 
Now, <tt>this_service</tt> will depend on <tt>other_service</tt>.
 
 
=== OpenRC is ignoring dependencies and not reacting to dependency changes ===
 
 
This can happen when your system's time changes suddenly (maybe due to realizing your system clock is wrong and resetting it) and OpenRC dependency cache files are created with future dates. To clear the OpenRC cache, type:
 
 
<pre>
 
# rc-update -u
 
</pre>
 
 
Alternatively, you can perform this step manually:
 
 
<pre>
 
# rm /libexec/rc/cache/*
 
# rm /libexec/rc/init.d/deptree
 
</pre>
 
 
Now regenerate the cache by typing:
 
 
<pre>
 
# /libexec/rc/bin/rc-depend
 
 
</pre>
 
</pre>
 
+
Edit the page to see the template text.
The OpenRC dependency cache should now be up-to-date and OpenRC should behave properly again.
+
</noinclude><includeonly>
 
+
[[Category:Ebuilds|{{PAGENAME}}]] __NOEDITSECTION__ __NOTOC__ __NOTITLE__<div id="eblogo">[[File:ebuild.png|link=|frameless]]</div><div class="ebuild_summary" id="ebuild_info">{{#if: {{{Maintainer|}}} |;Current Maintainer(s): {{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|,}} |}}{{#if: {{{Repository|}}}
== History ==
+
;From Repository: [[Repository::Repository:{{{Repository}}}|{{{Repository}}}]] -> [[CatPkg::{{{CatPkg|}}}]] |}}
 
+
</div>
The Gentoo modular init scripts were developed by Daniel Robbins for Gentoo Linux 1.0_rc6 during most of 2001 and released in September 2001 (TODO: add refs). After their development, the dependency-based init script system was maintained by a number of senior developers, starting with Azarah (Martin Schlemmer), with migration to the new init system assisted by Woodchip (Donnie Davies) who converted all ebuild init scripts to work with the new system. As Grant Goodyear notes:
+
= {{PAGENAME}} =
 
+
<div class="ebuild_subtitle">[[Summary::{{{Summary|}}}]]</div></includeonly>
''My recollection is that one of woodchip's more impressive early feats was the
+
''complete replacement of all of the init scripts in Portage for Gentoo Linux
+
''1.0_rc6. Through 1.0_rc5 Gentoo had used fairly standard rc scripts modified
+
''from Stampede Linux, but for 1.0_rc6 Daniel Robbins (drobbins) and Martin
+
''Schlemmer (azarah) had created a new dependency-based init script system that
+
''is still used today. Within a span of days Donny rewrote every single init
+
''script in the Portage tree and committed new masked packages to await the
+
''release of 1.0_rc6. Thanks to woodchip (and drobbins and azarah, of course) the
+
''transition to the new init scripts was nearly painless.'' <ref>http://www.gentoo.org/news/en/gwn/20040426-newsletter.xml</ref>
+
 
+
Roy Marples became a Gentoo/Linux developer in 2004 and maintained the modular network scripts for the Gentoo baselayout package. Towards the end of 2005, he became the primary maintainer for baselayout and the init scripts.
+
 
+
At the start of 2007, Roy Marples announced the ongoing development of baselayout-2, containing a rewritten init script coded in C and allowing POSIX sh init scripts instead of forcing the use of bash. By mid 2007, Roy Marples had re-implemented the Gentoo init script design created by Daniel Robbins, using an entirely new code base. Alpha and pre-release baselayout-2 snapshots were added to Gentoo's Portage tree as an optional component.
+
 
+
Towards the end of 2007, Roy Marples retired as a Gentoo developer. Baselayout-2 was still in the pre stage, and aside from the gentoo-fbsd users, it was masked. However, Roy Marples desired to keep the baselayout-2 project moving forward as an independent project. The Gentoo Council permitted Roy Marples to release OpenRC under the 2-clause BSD license, managed by him as an external project.
+
 
+
Around mid-2010, Roy Marples decided to no longer maintain OpenRC. At this point, he transferred development back to Gentoo. However, Daniel Robbins continues to maintain an independent, forked version of OpenRC for Funtoo Linux, which includes a Funtoo-specific network configuration
+
system.
+
 
+
= References =
+
<references/>
+
 
+
[[Category:Projects]]
+
{{EbuildFooter}}
+

Revision as of 05:25, 25 March 2014

This is the "Ebuild" template. It should be called in the following format:

{{Ebuild
|Summary=
|CatPkg=
|Maintainer=
|Repository=
}}

Edit the page to see the template text.