aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc-depend.c
AgeCommit message (Collapse)Author
2011-01-17Bug #351570: Fix hidden functions visibility for rc_deptree_load_file.Robin H. Johnson
2011-01-17Clean up all trailing whitespace in src/.Robin H. Johnson
2011-01-17Factor out new function rc_deptree_load_file to aid in debugging deptree ↵Robin H. Johnson
files from users. Loads from a given filename instead of the hardcoded RC_DEPTREE_CACHE define.
2009-11-14Only allow one service to be provided by default.Roy Marples
Fixes Gentoo #293139.
2009-07-20Don't provide ourself, fixes #190Roy Marples
2009-07-01We should use -feature instead of nofeature.Roy Marples
This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
2009-05-23Move non compiled libraries from /lib/rc to /libexec/rcRoy Marples
OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well.
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-28Don't start services when their need dependency is brokenRoy Marples
2009-02-12Fix return value for tests.Roy Marples
2009-01-13rc_newer/older_than only report file if time_t is a pointer, so itRoy Marples
should take precedence in the argument list.
2009-01-12We now warn about clock skewsRoy Marples
rc-update -u will force a regen of the dep tree rc_newer_than and rc_olderthan now take another two parameters for newest/oldest file and mtime
2008-11-04Ignore after dependencies for shutdown when not in the runlevel.Roy Marples
2008-11-03Avoid depends not in the runlevel for sysinit and shutdown.Roy Marples
2008-11-03Add a new shutdown runlevel, Gentoo #224537.Roy Marples
Split halt.sh into halt, killprocs, romount and savecache services. The reboot runlevel is removed but mapped to shutdown. The halt script should be moved to the sysvinit package.
2008-10-10Remove coldplug and just have hotplug which is a list of allowed/disallowed ↵Roy Marples
services. Makes things much easier.
2008-10-10sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples
mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. If you don't have a udev init script installed, don't reboot your box OR roll back to an older OpenRC version.
2008-07-07Punt STAILQ and just use TAILQ so we're a bit more portable.Roy Marples
2008-07-03Add older_than function to complement newer_than function. Also make the ↵Roy Marples
userland instance reversed to be compatable with current baselayout, which truely does suck.
2008-06-10fuzzy dependency ordering should be started, starting, stopped whilst ↵Roy Marples
checking runlevel, bootlevel, any at each stage.
2008-06-05Remove broken before dependencies, Gentoo #224171.Roy Marples
2008-06-04Use addu instead of another loop.Roy Marples
2008-06-04Only add a backreference if it doesn't already exist.Roy Marples
2008-06-04No need to check type twice like this.Roy Marples
2008-06-04Style.Roy Marples
2008-05-12The real fix for the last commit is to uncomment some code - d'oh.Roy Marples
2008-04-26Check we have a list before running depends.Roy Marples
2008-04-26Check we have a list before running depends.Roy Marples
2008-04-21Add RC_TMPDIR so that there's a writeable location during boot.Roy Marples
2008-04-17Cast to unsigned char for ctype calls.Roy Marples
2008-04-10Don't assume that we have a list returned.Roy Marples
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-03-19Fix last commit.Roy Marples
2008-03-17Make rc_getline private and save it's buffer so it's sort of like getline ↵Roy Marples
from glibc.
2008-03-17Punt the rc_strcatpaths function and use snprintf instead to save on ↵Roy Marples
expensive malloc calls.
2008-03-16Use correct TAILQ_CONCAT macro when not defined.Roy Marples
2008-03-16Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵Roy Marples
from queue(3). Refactor code style around the BSD KNF.
2008-03-04Don't store empty services.Roy Marples
2008-03-03Introduce LOCAL_PREFIX for a user maintained script location.Roy Marples
2008-02-28Support the use of PREFIX and PKG_PREFIX.Roy Marples
2008-02-22Welcome to 2008.Roy Marples
2008-02-19Don't warn about removed services through use of the nosys keyword.Roy Marples
2008-02-19Fix compile warning, and free removed depinfo'sRoy Marples
2008-02-19Default to using C99 standard.Roy Marples
2008-02-19Fix some warnings.Roy Marples
2008-02-19keywords -> keywordRoy Marples
2008-02-19Add the nojail keyword which excludes services marked as such from the ↵Roy Marples
dependency tree when in a jail, #bug 22
2008-02-03RC_DEP_START/STOP should only be used for ordering services, and not the ↵Roy Marples
actual dependencies ofthe services themselves. This allows coldplugged services to satisfy the net dependency for rc ordering them correctly but not for services that require net and strict is on.
2008-02-01Constantise as much as possible so that it reduces COW usage.Roy Marples
2008-01-30Use the variable instead of type for sizeof.Roy Marples