aboutsummaryrefslogtreecommitdiff
path: root/mk/scripts.mk
AgeCommit message (Collapse)Author
2022-04-06migrate fully to meson build systemWilliam Hubbs
- drop old build system - move shared include and source files to common directory - drop "rc-" prefix from shared include and source files - move executable-specific code to individual directories under src - adjust top-level .gitignore file for new build system This closes #489.
2021-12-20use HEAD in git URIs to point to the default branchMike Frysinger
This makes the URIs shorter and dynamic: whatever the default branch the repo uses will be used.
2019-02-22combine test directoriesWilliam Hubbs
This fixes #295.
2019-02-13add experimental support for an alternate shell for service scriptsWilliam Hubbs
This is for #288.
2018-12-08standardize the default shellWilliam Hubbs
I do not know of a need to have the default shell be a build-time configurable setting. All *nix systems I am aware of have /bin/sh as a default posix compatible shell. If some systems running OpenRC do not make that assumption about /bin/sh, I will consider bringing this back, so feel free to open an issue.
2015-12-21Convert OpenRC to a centralized copyright/license structureWilliam Hubbs
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
2013-02-23make BINDIR and SBINDIR available to input filesAndrew Gregory
BINDIR and SBINDIR can be set independently of PREFIX and may not be set to PREFIX/bin as scripts currently assume. Note from William Hubbs: This adds @BINDIR@ and @SBINDIR@ macros to the sed commands run to convert *.in files to the executable form. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2012-02-20Drop rc_sys definition from build systemWilliam Hubbs
2012-01-22WhitespaceChristian Ruppert
2011-10-29Use pattern rules instead of suffix rulesWilliam Hubbs
Rework the makefiles to use pattern rules instead of suffix rules. This is the preferred way to write implicit rules according to the gnu make manual.
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-05allow default rc_sys value to be set at build timeWilliam Hubbs
This allows the default value of rc_sys to be set when openrc is compiled. This will allow openrc to be installed, e.g. on vserver guests and will allow them to be rebooted without the need to edit rc.conf. This patch is a combined effort between myself and Robin Johnson. X-Gentoo-Bug: 357247 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=357247
2011-01-31use immediate evaluation for shell callsWilliam Hubbs
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
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-30Go back to gitRoy Marples
2008-12-04make ignore now configures the sv:ignore property.Roy Marples
2008-04-29We need to ensure that the init script started is correct, translating ↵Roy Marples
symlinks. This has a new rule - multiplexed services must exist in the same dir as the master sript. So we need to ensuret that net.lo(0) is the real script and not a symlink itself. This fixes Gentoo #219526.
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-03-26use $CP and $SED instead of cp and sedRoy Marples
2008-03-25DIR should be prefixed already.Roy Marples
2008-03-25Rework our folder structure so that we don't have OS specific dirs, making ↵Roy Marples
it easier to share init and conf files per OS.
2008-03-24setup a bit of a test frameworkMike Frysinger
2008-03-24add check/test rulesMike Frysinger
2008-03-20Tweak install.Roy Marples
2008-03-19Add missing .mksRoy Marples
2008-03-05Add tunable SYSCONFDIRRoy Marples
2008-03-03Ignore fixes.Roy Marples
2008-03-03Add a gitignore make target.Roy Marples
2008-03-03Use exlicit make targets, not directory contents.Roy Marples
2008-03-03Introduce LOCAL_PREFIX for a user maintained script location.Roy Marples
2008-03-02Ensure that our scripts call prefixed runscript.Roy Marples
2008-02-28Support the use of PREFIX and PKG_PREFIX.Roy Marples
2008-02-27Makefile SH variable now tweaks the default shell used by our scripts.Roy Marples
2008-01-30Specify install modes for all our files.Roy Marples
2008-01-13script install should build objectsRoy Marples
2008-01-13Change lib name during make, not install.Roy Marples
2008-01-11Add sys.mkRoy Marples
2008-01-11NetBSD doesn't include /lib in its link path, so we need to add it as an RPATH.Roy Marples
2008-01-11Use a specific default terminal for rcRoy Marples
2008-01-11Allow OS to define default package locations.Roy Marples
2008-01-10Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst ↵Roy Marples
keeping BSD for all BSD's.