aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc-depend.c
AgeCommit message (Collapse)Author
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
2008-01-30Add xzalloc function to reduce size.Roy Marples
2008-01-30Allow !net to remove the net provision from dependencies.Roy Marples
2008-01-21Checking first char for null is more efficient than strlen.Roy Marples
2008-01-15rc_newer_than no longer tests if souce has data, making it a more logical ↵Roy Marples
function. As such, we add the existss function to check for existance and size when checking to see if the deptree needs an update.
2008-01-14Add support for is_newer_than and is_older_than. is_older_than currently ↵Roy Marples
doesn't work as expected, but is_newer_than works fine.
2008-01-14strip trailing newlinesMike Frysinger
2008-01-11Re-indent to a standard tw of 8.Roy Marples
2008-01-07rc_getline keeps expanding it's malloced buffer until it has read a whole ↵Roy Marples
line or EOF. All functions which read into static buffers have been changed to use fhis function to avoid any potential overflows and to ensure we really do read a long long config line.
2008-01-06We should check we resolved a service before stating it's existance.Roy Marples
2008-01-05Add some .mk stubs to impersonate bsk .mk files to make writing our ↵Roy Marples
Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though.