Commit Graph

64 Commits

Author SHA1 Message Date
William Hubbs 19037cbd83 remove unnecessary shell calls
The main makefile, init.d/Makefile and src/librc/Makefile all contain
several shell calls which can be handled as make conditionals. This
switches them to conditionals.
2011-02-04 17:46:57 -06:00
William Hubbs cca7e9f7e1 use immediate evaluation for shell calls
This reworks the shell calls in the makefiles to use immediate
evaluation and should improve parallel building.

X-Gentoo-Bug: 289264
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=289264
2011-01-31 14:05:57 -06:00
William Hubbs 10ce67886d change local to run programs
This changes the local service so that it will run programs located in
@sysconfdir@/local.d instead of the local_start and local_stop functions
from @sysconfdir@/conf.d/local.

The advantage for the user is that these programs are not part
of the openrc package, so the user does not have to worry about them
being overwritten when openrc is upgraded.

X-Gentoo-Bug: 351465
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=351465
2011-01-20 12:50:29 -06:00
Roy Marples 1d174cc60c Move on_ac_power to a shell script.
Fixes #204
2009-12-10 22:30:56 +00:00
Roy Marples 07f9be7b1c Add pkg-config support, fixes #187. 2009-10-08 00:20:43 +01:00
Roy Marples 43f6c2196e Release openrc-0.5.0 2009-06-05 09:20:11 +01:00
Roy Marples c0fd1b49e4 Move non compiled libraries from /lib/rc to /libexec/rc
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-23 20:38:12 +01:00
Roy Marples 658a220638 Add (c) to Copyright 2009-05-01 15:11:40 +01:00
Roy Marples 371506be48 Default to not building the old net scripts. 2009-04-19 20:54:11 +00:00
Roy Marples d4c71415a9 Add MKOLDNET=yes/no toggle 2009-04-17 23:23:31 +00:00
Roy Marples 7a628e1db7 Release 0.4.3 2009-02-11 06:54:58 +00:00
Roy Marples 5ca3345534 Release openrc-0.4.2 2009-01-05 20:16:50 +00:00
Roy Marples 438665357b Release 0.4.1 2008-12-23 10:45:16 +00:00
Roy Marples 10e88090f6 Release 0.4.0 2008-12-07 07:49:24 +00:00
Roy Marples 38e6c9ba5c make ignore now configures the sv:ignore property. 2008-12-04 12:38:23 +00:00
Roy Marples 84f6bf4bff Release 0.3 2008-10-02 16:14:13 +00:00
Roy Marples b41c864fc3 openrc-0.2.5 2008-05-28 13:39:52 +00:00
Roy Marples 30fe99dead openrc-0.2.4 2008-05-10 12:01:17 +00:00
Roy Marples 52711bdca7 Release openrc-0.2.3 2008-04-28 18:39:51 +00:00
Roy Marples 292fe3a568 Release 0.2.2 2008-04-15 16:09:02 +00:00
Roy Marples 5ebe7f1349 Push out 0.2.1 to solve a few issues. 2008-04-02 16:35:28 +00:00
Roy Marples a1d555bdc4 Release 0.2 2008-03-26 19:58:43 +00:00
Roy Marples 15d34d0a16 Add license blurb to a few files and append my email to my name. 2008-03-26 17:53:37 +00:00
Roy Marples 7a8e9d4ddb Add a gitignore make target. 2008-03-03 13:04:08 +00:00
Roy Marples 67c5fd6bb8 Ensure that our scripts call prefixed runscript. 2008-03-02 21:14:01 +00:00
Roy Marples a135d0d93b Fix installing into PREFIX. 2008-03-01 22:12:33 +00:00
Roy Marples 0334b0be2e Add sys.mk 2008-01-11 18:29:47 +00:00
Roy Marples 13c552c3ec Allow OS to define default package locations. 2008-01-11 10:55:36 +00:00
Roy Marples 6ca21b4c6a More make fixes 2008-01-10 16:57:05 +00:00
Roy Marples 13f64ccc94 Need INSTALL here 2008-01-10 16:50:32 +00:00
Roy Marples 023270f76a Don't go into SUBOS if same as OS. 2008-01-10 16:48:02 +00:00
Roy Marples 4314784520 Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst keeping BSD for all BSD's. 2008-01-10 16:35:59 +00:00
Roy Marples cc96c0933d Juggle the Makefiles so that sh knows about NET_LO 2008-01-03 15:48:33 +00:00
Roy Marples 19765f289c Move the linking of files in /etc/init.d into the sh/Makefile so that install -jN works. 2008-01-03 14:49:34 +00:00
Roy Marples 0ddc38960c Move net.example to /usr/share/doc/openrc 2007-12-29 17:25:00 +00:00
Roy Marples aa719aa295 Relative links seem to cause an issue, so don't use them. 2007-12-28 12:05:03 +00:00
Roy Marples 4b6a27fdf9 Don't allow RPATH of . to escape to a tarball. 2007-12-27 16:52:35 +00:00
Roy Marples 9f2403dffa Remove Gentoo copyright from all files that I know I have written 2007-12-14 14:12:38 +00:00
Roy Marples 9a6cfc0a9b Add termcap support. 2007-12-08 02:50:35 +00:00
Roy Marples f6033cfb26 git clean before dist, and add some ignore files 2007-11-27 16:13:42 +00:00
Roy Marples 33852baf52 Fix version and depend on ntpdate too 2007-11-23 14:25:35 +00:00
Roy Marples 38dd90b17a We should create init.d and tmp dirs 2007-11-21 15:42:43 +00:00
Roy Marples 46f25b2a72 No easy way of getting git status, so remove fancy checks. 2007-11-19 20:27:36 +00:00
Roy Marples 88ccccc22a Move runlevel and lib logic to the sub Makefiles 2007-11-19 16:42:28 +00:00
Roy Marples 5f8cf73b22 Our build chain now works with GNU and BSD make implementations 2007-11-19 13:48:43 +00:00
Roy Marples ed20354fdb add etc back for BSD installing rc and rc.shutdown 2007-11-14 16:39:07 +00:00
Roy Marples b439703b4d These files belong with baselayout 2007-11-14 13:34:42 +00:00
Roy Marples cef90a05a7 Release rc6 2007-10-31 22:56:53 +00:00
Roy Marples e95cea3d86 Split our rc commands out into general use vs service commands 2007-09-24 12:09:43 +00:00
Roy Marples 77f9015f0b /lib/rcscripts -> /lib/rc 2007-09-19 13:53:40 +00:00