aboutsummaryrefslogtreecommitdiff
path: root/src/rc/Makefile
AgeCommit message (Collapse)Author
2014-07-16checkpath: restore the SELinux contextJason Zaman
X-Gentoo-Bug: 516956 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956
2013-12-29Rename runscript to openrc-runWilliam Hubbs
This was requested by Debian, because the minicom software, which is available on Debian and other distros, has a binary named runscript. We are keeping a backward compatibility symlink for now, but this allows Debian or any other distro to safely remove the symlink. X-Gentoo-Bug: 494220 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=494220
2013-12-12Rename the rc binary to openrcWilliam Hubbs
Debian requested this rename due to the "rc" binary conflicting with the "rc" binary from the plan 9 shell. We also add a deprecation warning to the binary when it is run as rc to encourage users to switch to openrc instead. X-Gentoo-Bug: 493958 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=493958
2013-10-21Revert "Make einfo routines private"William Hubbs
This reverts commit de88aff0a839844526ae262f8961ec4372fed238. I was advised that splashutils links to libeinfo, so we do have a consumer for this library.
2013-09-26Make einfo routines privateWilliam Hubbs
The libeinfo library has no consumers other than OpenRC, so there is no reason for it to be maintained as a library. The einfo routines are now an object that links with the rc binary.
2013-05-02Add service appletWilliam Hubbs
The service applet is equivalent to rc-service. This was added so that we will be more compatible with Debian and Fedora. Reported-by: cardoe@gentoo.org X-Gentoo-Bug: 468168 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=468168
2013-05-01fix the build for non-selinux systemsWilliam Hubbs
The symlinks should be created only if MKSELINUX=yes, not if it just has a value.
2011-05-28cc.mk: move debug.mk out of end MakefilesMike Frysinger
Since we always want debug.mk whenever we include cc.mk, move the include out of the Makefiles and into cc.mk itself. This also fixes an include order bug in rc/Makefile where debug.mk is included before cc.mk and breaks the default CFLAGS setup in cc.mk. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-02-07fix symlink targetWilliam Hubbs
The target for the symlinks in ${SBINDIR} (the same directory as the rc binary) was "rc". This is not correct; the target should be ${SBINDIR}/rc instead.
2011-02-04rework pam, ncurses and termcap include filesWilliam Hubbs
This allows error checking inside the included files instead of either including the appropriate file or a blank file. Also the blank file named .mk gets removed by this change.
2011-01-31selinux: replace symlinks with wrapper scriptsChris Richards
This needs to be done on selinux systems so the proper context can be set for each rc applet. X-Gentoo-Bug: 351712 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=351712
2009-10-16Regenerate version.h if necessaryRoy Marples
2009-10-13Add new utility and init script swclock that sets the system time based onRoy Marples
the mtime of a file. It saves the shutdown time to this file also. This is handy for systems without a working RTC chip. Based on an idea by Michael A. Smith <michael@smith-li.com>. Fixes Gentoo #272073.
2009-10-08Add pkg-config support, fixes #187.Roy Marples
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-01Fix git versioningRoy Marples
2009-04-30Brand with git version instead of svnRoy Marples
2009-04-18Move status to runscript.sh so init scripts can override it, #159Roy Marples
Return 32 if crashed, #163
2009-01-14Fix locale with svnversion, #140 thanks to Matthias Schwarzott.Roy Marples
2009-01-02Make _SVNVER_SH more readable.Roy Marples
2009-01-02Fix version for releases.Roy Marples
2008-12-04If we're building from subversion, brand the binary as such.Roy Marples
2008-10-30We should show hotplugged services, needed services and manually started ↵Roy Marples
services in rc-status.
2008-07-27Attempt to make s-s-d simpler by not enforcing the need for a full path and ↵Roy Marples
maybe working better with interpreted scripts.
2008-06-19Use CPPFLAGS so we work with -combine in CFLAGS.Roy Marples
2008-06-03Add the ewaitfile function so init scripts can wait until sockts are ↵Roy Marples
created, Gentoo #175783.
2008-05-13Install symlinks correctly, thanks to zlin.Roy Marples
2008-03-28Put some dir locations in rc.h so that 3rd party apps can become awware of them.Roy Marples
2008-03-24Fix debug support to work without gmake and bundle -ggdb in properly.Roy Marples
2008-03-24add check/test rulesMike Frysinger
2008-03-22add support for automatic gdb launching when RC_DEBUG is defined to 1 to ↵Mike Frysinger
ease bug reporting / information gathering
2008-03-22add local rpaths if in the git treeMike Frysinger
2008-03-21Add --list to rc-service to list all available services.Roy Marples
2008-03-19Add rc-service and update all softlevel refs to runlevel.Roy Marples
2008-03-19Rejig the build system a little so we have per ok defs per system. Probably ↵Roy Marples
easier in the long run.
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-11Remove debug LDFLAGSRoy Marples
2008-03-11Add a --mount command to fstabinfo so it can mount specific mount points, as ↵Roy Marples
mount can get confused with binded mounts, bug #36.
2008-03-05Add tunable SYSCONFDIRRoy Marples
2008-03-03Add a gitignore make target.Roy Marples
2008-02-28Support the use of PREFIX and PKG_PREFIX.Roy Marples
2008-02-02Fix compile against old lib.sRoy Marples
2008-01-30Ensure that we use our default CFLAGS if none set.Roy Marples
2008-01-30Specify install modes for all our files.Roy Marples
2008-01-14Put the applets into rc-applet.c so that rc.c is easier to manage.Roy Marples
2008-01-14partial revert of previous commit -- the rpath stuff was meant to be kept ↵Mike Frysinger
local only
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-14add shortcuts for generating symlinksMike Frysinger
2008-01-13Fix PAM installRoy Marples
2008-01-12Use MKTERMCAP and MKPAM so we don't use env vars TERMCAP or PAM inadvertently.Roy Marples