67640d2d97
remove hard coded directory paths from link flags
...
Currently, we do not see a reason for these, and it causes an issue for
cross compilation.
X-Gentoo-Bug: 361465
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=361465
2011-04-01 17:32:12 -05:00
3fca6bd027
allow default rc_sys value to be set at build time
...
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-03-05 00:04:06 -06:00
db6d680765
rework pam, ncurses and termcap include files
...
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-02-04 22:30:30 -06:00
a2e9cde737
remove BSD make code to handle including .depend
2011-02-04 22:28:57 -06:00
aaaea44d22
use make conditional for -cstd flag
...
cc.mk was using ashell call to determine the value of the cstd variable.
This reworks that code so it uses a make conditional.
2011-02-04 22:26:23 -06:00
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
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
f796269a1d
dist.mk: add a standard "distcheck" target
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org >
2011-01-17 04:03:25 -05:00
a534b623b9
bug #351622 : Use CFLAGS during linking.
...
Fix compilation on portage-multilib.
2011-01-14 16:40:58 -06:00
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
e575b33047
We shouldn't use -L/lib
2009-05-02 18:29:00 +01:00
658a220638
Add (c) to Copyright
2009-05-01 15:11:40 +01:00
b70501ef45
Go back to git
2009-04-30 15:05:39 +01:00
e2629b0a3b
Remove .depend before creating it.
2009-04-24 08:33:11 +00:00
2243c01390
Add snapshot and snap targets
2009-01-12 23:12:06 +00:00
eb6daeca43
Fix dist for svn
2008-12-07 07:51:40 +00:00
e72aeebbcd
make ignore now updates svn:ignore as different OS's have different targets.
2008-12-04 19:21:47 +00:00
38e6c9ba5c
make ignore now configures the sv:ignore property.
2008-12-04 12:38:23 +00:00
d12bb5cf3c
Really fix .depend
2008-10-20 16:47:56 +00:00
9c76b077d6
Enable use of .depend on gmake. Also, generate extra dependencies for our shared libraries.
2008-10-20 12:09:14 +00:00
66ae6e38a7
Compile with FreeBSD 6.x make
2008-10-15 09:02:27 +00:00
aa02a5516a
Use better CFLAGS - some new warnings will need to be fixed.
2008-09-18 13:49:58 +00:00
11acce3c7d
Use CPPFLAGS so we work with -combine in CFLAGS.
2008-06-19 23:12:00 +00:00
5ba6f0a628
We need to ensure that the init script started is correct, translating 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-04-29 10:25:45 +00:00
ee4e861796
Put some dir locations in rc.h so that 3rd party apps can become awware of them.
2008-03-28 10:46:12 +00:00
a718975e08
Add license blurb to a few files and append my email to my name.
2008-03-26 17:55:35 +00:00
15d34d0a16
Add license blurb to a few files and append my email to my name.
2008-03-26 17:53:37 +00:00
8e71c03495
No more need for SUBOS
2008-03-26 14:29:27 +00:00
833903fc78
use $CP and $SED instead of cp and sed
2008-03-26 14:27:46 +00:00
e30ea10e6c
Fix some more prefix stuff.
2008-03-26 05:08:56 +00:00
f06e186d43
Fix mandir install.
2008-03-25 20:39:31 +00:00
ae9ce04468
Allow MANPREFIX to work.
2008-03-25 17:24:54 +00:00
74bff8a931
DIR should be prefixed already.
2008-03-25 16:59:26 +00:00
55eb3794fb
Rework our folder structure so that we don't have OS specific dirs, making it easier to share init and conf files per OS.
2008-03-25 14:06:05 +00:00
64332a3675
Add debug.mk
2008-03-24 11:52:01 +00:00
486d517674
setup a bit of a test framework
2008-03-24 07:17:05 +00:00
9ed5d28d15
add check/test rules
2008-03-24 06:10:40 +00:00
e598b7d2cd
Tweak install.
2008-03-20 17:52:07 +00:00
6d2e1f7add
Fix building on Linux.
2008-03-19 19:43:08 +00:00
d9ec62b22a
Add rc-service and update all softlevel refs to runlevel.
2008-03-19 17:11:50 +00:00
089caec283
Add missing .mks
2008-03-19 15:38:05 +00:00
64853c4916
Rejig the build system a little so we have per ok defs per system. Probably easier in the long run.
2008-03-19 15:22:20 +00:00
a689b66023
Add tunable SYSCONFDIR
2008-03-05 12:27:11 +00:00
0e14742783
Fix multilib.
2008-03-04 20:44:39 +00:00
b614477948
Fix ignore files some more.
2008-03-03 13:31:25 +00:00
f35c879bb8
Ignore fixes.
2008-03-03 13:14:54 +00:00
7a8e9d4ddb
Add a gitignore make target.
2008-03-03 13:04:08 +00:00
61c476e72d
Use exlicit make targets, not directory contents.
2008-03-03 12:34:51 +00:00
0aedc02860
Introduce LOCAL_PREFIX for a user maintained script location.
2008-03-03 10:33:42 +00:00
67c5fd6bb8
Ensure that our scripts call prefixed runscript.
2008-03-02 21:14:01 +00:00