Commit Graph

871 Commits

Author SHA1 Message Date
Roy Marples
38f8eee495 We should not use options for rc-update, as add, delete and such are commands. 2008-01-15 09:50:14 +00:00
Roy Marples
a1783d552d Typo, thanks to dberkholz. 2008-01-15 09:26:29 +00:00
Roy Marples
3e0f49b846 rc_newer_than no longer tests if souce has data, making it a more logical 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-15 09:24:50 +00:00
Roy Marples
b29c4aa926 Fix newsyslog on NetBSD. 2008-01-15 00:49:53 +00:00
Roy Marples
7fe30026b3 Fix rc changing runlevels after splitting out the applets. 2008-01-14 19:53:56 +00:00
Roy Marples
46294cba02 Fix shell_var as reported by lamusic. 2008-01-14 16:17:03 +00:00
Roy Marples
62d793f7ff Fix is_older_than. 2008-01-14 14:41:02 +00:00
Roy Marples
e068757810 Put the applets into rc-applet.c so that rc.c is easier to manage. 2008-01-14 14:24:20 +00:00
Roy Marples
6e1251b925 Ignore functions.sh and rc-functions.sh as these are now created by make. 2008-01-14 14:03:46 +00:00
Roy Marples
cd6f815036 Don't special case innd.pid and handle files in run that start with - 2008-01-14 10:57:48 +00:00
Mike Frysinger
d810e597dc partial revert of previous commit -- the rpath stuff was meant to be kept local only 2008-01-14 10:18:52 +00:00
Roy Marples
5bfcea4729 Add a section about reporting bugs. 2008-01-14 10:04:45 +00:00
Roy Marples
d695407114 Add support for is_newer_than and is_older_than. is_older_than currently doesn't work as expected, but is_newer_than works fine. 2008-01-14 08:12:37 +00:00
Mike Frysinger
e49e5b147c tweak help since this works for dirs and files 2008-01-14 05:48:31 +00:00
Mike Frysinger
357d3ecf84 fix --mode parsing by checking the proper function parameter 2008-01-14 05:39:01 +00:00
Mike Frysinger
0b815cc67f add missing "-d" option 2008-01-14 05:32:47 +00:00
Mike Frysinger
09b958b99d add shortcuts for generating symlinks 2008-01-14 05:32:39 +00:00
Mike Frysinger
6aab712cb4 strip trailing newlines 2008-01-14 05:05:22 +00:00
Roy Marples
b054a7251b INSTALLAFTER needs to be defined before we include our mk's to work. 2008-01-13 17:49:29 +00:00
Roy Marples
87e4e4410c Remove rc_service_plugable function and make it private as it needs to read from our config file. 2008-01-13 17:47:23 +00:00
Roy Marples
abc7a79755 script install should build objects 2008-01-13 14:14:47 +00:00
Roy Marples
f755187020 Change lib name during make, not install. 2008-01-13 13:55:23 +00:00
Roy Marples
98b865bbc7 Set default term to wsvt25 for NetBSD 2008-01-13 10:50:52 +00:00
Roy Marples
7f9ea7c7c4 Fix PAM install 2008-01-13 10:21:22 +00:00
Roy Marples
5bf95bd3f3 Use MKTERMCAP and MKPAM so we don't use env vars TERMCAP or PAM inadvertently. 2008-01-12 20:38:57 +00:00
Roy Marples
9c5300d4ae Many termcap db's don't have ch or RI even though they do work 2008-01-12 20:38:26 +00:00
Roy Marples
6b4e645c2c /var/empty isn't a fixed requirement for sshd 2008-01-12 12:01:23 +00:00
Roy Marples
fa363ecaf7 Don't use bins in global if we can help it. 2008-01-11 23:49:40 +00:00
Roy Marples
d4404ea9c7 Ensure we link against libraries in /lib instead of anywhere else and always use the linker in /libexec instead of anywhere else. 2008-01-11 23:40:22 +00:00
Roy Marples
0ec43dfe47 These are FreeBSD specific 2008-01-11 22:29:12 +00:00
Roy Marples
e4e18d21ed Fix some syslogd pidfile and installing support scripts. 2008-01-11 21:54:33 +00:00
Roy Marples
bcbdb0ed13 Add wscons script. We still need to convert this to a conf.d format. 2008-01-11 19:19:33 +00:00
Roy Marples
99ef274848 Fix rpathness on NetBSD again. 2008-01-11 18:55:46 +00:00
Roy Marples
f0c0391088 Remove non standard -R option. 2008-01-11 18:33:23 +00:00
Roy Marples
0334b0be2e Add sys.mk 2008-01-11 18:29:47 +00:00
Roy Marples
8ef2bf78f7 Don't print an extra eend on failure. 2008-01-11 17:41:19 +00:00
Roy Marples
ed144d4252 NetBSD-4 doesn't support scanning via ifconfig, so mark it FreeBSD only for now. 2008-01-11 17:35:39 +00:00
Roy Marples
cd685410bd NetBSD doesn't include /lib in its link path, so we need to add it as an RPATH. 2008-01-11 17:21:21 +00:00
Roy Marples
28afeac09e Add sys.mk to define system locations. 2008-01-11 16:03:38 +00:00
Roy Marples
abde759d5b Re-indent to a standard tw of 8. 2008-01-11 15:51:40 +00:00
Roy Marples
fec312d448 Update copyrights, my email and license. 2008-01-11 15:31:10 +00:00
Roy Marples
5de53f176c Adopt a more C style for scripts and remove vim settings. 2008-01-11 15:08:57 +00:00
Roy Marples
6b41b65008 Remove vim settings. 2008-01-11 12:18:05 +00:00
Roy Marples
3bf49a9bd1 Adopt a more C style for scripts and remove vim settings. 2008-01-11 12:13:46 +00:00
Roy Marples
1f4422c72f Remove full license text from shell cripts. 2008-01-11 11:45:59 +00:00
Roy Marples
590167e316 Ditto for rc.shutdown 2008-01-11 11:27:30 +00:00
Roy Marples
cbc174bbbf Use a specific default terminal for rc 2008-01-11 11:25:40 +00:00
Roy Marples
13c552c3ec Allow OS to define default package locations. 2008-01-11 10:55:36 +00:00
Roy Marples
349f4a81e6 No point in having runlevel rules in a seperate .mk now 2008-01-11 09:42:28 +00:00
Roy Marples
2bd7f97b72 Just have the one runlevels folder with OS includes. 2008-01-11 09:32:06 +00:00