Commit Graph

  • aa0399e22b Add a pf init script. Roy Marples 2008-01-15 14:18:26 +00:00
  • 18da799040 Allow things after the /32 for host routes. Roy Marples 2008-01-15 12:13:42 +00:00
  • 38f8eee495 We should not use options for rc-update, as add, delete and such are commands. Roy Marples 2008-01-15 09:50:14 +00:00
  • a1783d552d Typo, thanks to dberkholz. Roy Marples 2008-01-15 09:26:29 +00:00
  • 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. Roy Marples 2008-01-15 09:24:50 +00:00
  • b29c4aa926 Fix newsyslog on NetBSD. Roy Marples 2008-01-15 00:49:53 +00:00
  • 7fe30026b3 Fix rc changing runlevels after splitting out the applets. Roy Marples 2008-01-14 19:53:56 +00:00
  • 46294cba02 Fix shell_var as reported by lamusic. Roy Marples 2008-01-14 16:17:03 +00:00
  • 62d793f7ff Fix is_older_than. Roy Marples 2008-01-14 14:41:02 +00:00
  • e068757810 Put the applets into rc-applet.c so that rc.c is easier to manage. Roy Marples 2008-01-14 14:24:20 +00:00
  • 6e1251b925 Ignore functions.sh and rc-functions.sh as these are now created by make. Roy Marples 2008-01-14 14:03:46 +00:00
  • cd6f815036 Don't special case innd.pid and handle files in run that start with - Roy Marples 2008-01-14 10:57:48 +00:00
  • d810e597dc partial revert of previous commit -- the rpath stuff was meant to be kept local only Mike Frysinger 2008-01-14 10:18:52 +00:00
  • 5bfcea4729 Add a section about reporting bugs. Roy Marples 2008-01-14 10:04:45 +00:00
  • 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. Roy Marples 2008-01-14 08:12:37 +00:00
  • e49e5b147c tweak help since this works for dirs and files Mike Frysinger 2008-01-14 05:48:31 +00:00
  • 357d3ecf84 fix --mode parsing by checking the proper function parameter Mike Frysinger 2008-01-14 05:39:01 +00:00
  • 0b815cc67f add missing "-d" option Mike Frysinger 2008-01-14 05:32:47 +00:00
  • 09b958b99d add shortcuts for generating symlinks Mike Frysinger 2008-01-14 05:32:39 +00:00
  • 6aab712cb4 strip trailing newlines Mike Frysinger 2008-01-14 05:05:22 +00:00
  • b054a7251b INSTALLAFTER needs to be defined before we include our mk's to work. Roy Marples 2008-01-13 17:49:29 +00:00
  • 87e4e4410c Remove rc_service_plugable function and make it private as it needs to read from our config file. Roy Marples 2008-01-13 17:47:23 +00:00
  • abc7a79755 script install should build objects Roy Marples 2008-01-13 14:14:47 +00:00
  • f755187020 Change lib name during make, not install. Roy Marples 2008-01-13 13:55:23 +00:00
  • 98b865bbc7 Set default term to wsvt25 for NetBSD Roy Marples 2008-01-13 10:50:52 +00:00
  • 7f9ea7c7c4 Fix PAM install Roy Marples 2008-01-13 10:21:22 +00:00
  • 5bf95bd3f3 Use MKTERMCAP and MKPAM so we don't use env vars TERMCAP or PAM inadvertently. Roy Marples 2008-01-12 20:38:57 +00:00
  • 9c5300d4ae Many termcap db's don't have ch or RI even though they do work Roy Marples 2008-01-12 20:38:26 +00:00
  • 6b4e645c2c /var/empty isn't a fixed requirement for sshd Roy Marples 2008-01-12 12:01:23 +00:00
  • fa363ecaf7 Don't use bins in global if we can help it. Roy Marples 2008-01-11 23:49:40 +00:00
  • d4404ea9c7 Ensure we link against libraries in /lib instead of anywhere else and always use the linker in /libexec instead of anywhere else. Roy Marples 2008-01-11 23:40:22 +00:00
  • 0ec43dfe47 These are FreeBSD specific Roy Marples 2008-01-11 22:29:12 +00:00
  • e4e18d21ed Fix some syslogd pidfile and installing support scripts. Roy Marples 2008-01-11 21:54:33 +00:00
  • bcbdb0ed13 Add wscons script. We still need to convert this to a conf.d format. Roy Marples 2008-01-11 19:19:33 +00:00
  • 99ef274848 Fix rpathness on NetBSD again. Roy Marples 2008-01-11 18:55:46 +00:00
  • f0c0391088 Remove non standard -R option. Roy Marples 2008-01-11 18:33:23 +00:00
  • 0334b0be2e Add sys.mk Roy Marples 2008-01-11 18:29:47 +00:00
  • 8ef2bf78f7 Don't print an extra eend on failure. Roy Marples 2008-01-11 17:41:19 +00:00
  • ed144d4252 NetBSD-4 doesn't support scanning via ifconfig, so mark it FreeBSD only for now. Roy Marples 2008-01-11 17:35:39 +00:00
  • cd685410bd NetBSD doesn't include /lib in its link path, so we need to add it as an RPATH. Roy Marples 2008-01-11 17:21:21 +00:00
  • 28afeac09e Add sys.mk to define system locations. Roy Marples 2008-01-11 16:03:38 +00:00
  • abde759d5b Re-indent to a standard tw of 8. Roy Marples 2008-01-11 15:51:40 +00:00
  • fec312d448 Update copyrights, my email and license. Roy Marples 2008-01-11 15:31:10 +00:00
  • 5de53f176c Adopt a more C style for scripts and remove vim settings. Roy Marples 2008-01-11 15:08:57 +00:00
  • 6b41b65008 Remove vim settings. Roy Marples 2008-01-11 12:18:05 +00:00
  • 3bf49a9bd1 Adopt a more C style for scripts and remove vim settings. Roy Marples 2008-01-11 12:13:46 +00:00
  • 1f4422c72f Remove full license text from shell cripts. Roy Marples 2008-01-11 11:45:59 +00:00
  • 590167e316 Ditto for rc.shutdown Roy Marples 2008-01-11 11:27:30 +00:00
  • cbc174bbbf Use a specific default terminal for rc Roy Marples 2008-01-11 11:25:40 +00:00
  • 13c552c3ec Allow OS to define default package locations. Roy Marples 2008-01-11 10:55:36 +00:00
  • 349f4a81e6 No point in having runlevel rules in a seperate .mk now Roy Marples 2008-01-11 09:42:28 +00:00
  • 2bd7f97b72 Just have the one runlevels folder with OS includes. Roy Marples 2008-01-11 09:32:06 +00:00
  • 50d73fa223 Add /usr/pkg to the PATH for NetBSD packages. Roy Marples 2008-01-10 23:51:58 +00:00
  • de6e4d3f50 More NetBSD tweaks. Roy Marples 2008-01-10 23:48:53 +00:00
  • acbaacb2c1 dhcpcd could be anywhere, so allow this. Roy Marples 2008-01-10 23:23:39 +00:00
  • 2d95c9a756 Loads of NetBSD tweaks here. Roy Marples 2008-01-10 23:22:46 +00:00
  • 5aea880f81 Move FreeBSD specific files to the new FreeBSD folders. Roy Marples 2008-01-10 20:17:55 +00:00
  • 22b7a12b6e Fix SUBOS_SH Roy Marples 2008-01-10 19:50:01 +00:00
  • 6244bcbe84 massage netmask to cidr for buggy shells. Roy Marples 2008-01-10 18:11:02 +00:00
  • 6ca21b4c6a More make fixes Roy Marples 2008-01-10 16:57:05 +00:00
  • 13f64ccc94 Need INSTALL here Roy Marples 2008-01-10 16:50:32 +00:00
  • 023270f76a Don't go into SUBOS if same as OS. Roy Marples 2008-01-10 16:48:02 +00:00
  • 2857fb49d1 Fix SUBOS Roy Marples 2008-01-10 16:42:14 +00:00
  • 7cdffe5e13 Fix SUBOS Roy Marples 2008-01-10 16:40:41 +00:00
  • 3016c4efd4 Add missing mk's Roy Marples 2008-01-10 16:37:42 +00:00
  • 4314784520 Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst keeping BSD for all BSD's. Roy Marples 2008-01-10 16:35:59 +00:00
  • 2643f2e605 Fix installing libs. Roy Marples 2008-01-10 08:29:41 +00:00
  • f8d15a5f7b Fix a little breakage with last commit. Roy Marples 2008-01-09 23:56:07 +00:00
  • 5b30c5154d install correctly on NetBSD. Roy Marples 2008-01-09 23:47:15 +00:00
  • ddf25cbcb7 Compile without warnings on NetBSD Roy Marples 2008-01-09 23:22:04 +00:00
  • 06634f6309 Style updates. Roy Marples 2008-01-09 11:44:43 +00:00
  • 666be0faa0 Add _hwclock which ensures that hwclock returns 1 on error, simplifying our code Roy Marples 2008-01-08 14:58:56 +00:00
  • 2e35d2a73c Avoid valgrind errors with getline. Roy Marples 2008-01-07 19:12:58 +00:00
  • 81b8e5450e Really fix off by one error. Roy Marples 2008-01-07 15:27:26 +00:00
  • fa898af791 Fix an off by one error. Roy Marples 2008-01-07 14:59:17 +00:00
  • d22fc0dd93 Allow depend creation again. This doesn't work on GNU make, but does on all others. Roy Marples 2008-01-07 14:20:13 +00:00
  • c256510570 add rc_getline to the man page Roy Marples 2008-01-07 12:39:27 +00:00
  • 43d0f3fc76 rc_getline keeps expanding it's malloced buffer until it has read a whole line or EOF. All functions which read into static buffers have been changed to use fhis function to avoid any potential overflows and to ensure we really do read a long long config line. Roy Marples 2008-01-07 12:29:30 +00:00
  • 74e0e58b89 Stop using CPPFLAGS Roy Marples 2008-01-07 09:39:44 +00:00
  • 18adcb1ee8 We may as well use echo here as we recreate mtab fully if successfull. Roy Marples 2008-01-06 23:58:12 +00:00
  • 789bd6ab09 Install the static archive in /usr/lib Roy Marples 2008-01-06 23:30:20 +00:00
  • 4a4a340967 Fix userland einfo when passed with no arguments Roy Marples 2008-01-06 23:00:26 +00:00
  • 816d566440 No need for basename. Roy Marples 2008-01-06 21:56:13 +00:00
  • 956a867a71 No need for basename here Roy Marples 2008-01-06 21:51:30 +00:00
  • 26f5eeece1 Fix branding Roy Marples 2008-01-06 21:44:26 +00:00
  • 16a2c82bd1 We should check we resolved a service before stating it's existance. Roy Marples 2008-01-06 21:06:47 +00:00
  • b1540cba5b Use a dynamically expanding buffer for reading config files. Roy Marples 2008-01-06 19:52:43 +00:00
  • 8afb86a5de Set include paths in Makefile instead of .c files Roy Marples 2008-01-06 13:47:39 +00:00
  • da4217fec8 Add net config's to have their own depend function per interface. Roy Marples 2008-01-06 13:06:56 +00:00
  • 6ccc00a050 Fix sysctl init script, OpenRC bug #1 Roy Marples 2008-01-06 12:49:41 +00:00
  • 62ef80e7f8 Add our version maps back Roy Marples 2008-01-06 11:38:37 +00:00
  • 2b54426bd3 librc needs kvm on bsd. Roy Marples 2008-01-06 00:50:19 +00:00
  • ddb3ab4704 Use LIBNAME for multilib so as not to conflict with LIB Roy Marples 2008-01-05 21:05:19 +00:00
  • 75815abd6c Fix installing pam files Roy Marples 2008-01-05 20:54:34 +00:00
  • 44d63fdec6 Fix installing links Roy Marples 2008-01-05 20:53:28 +00:00
  • 20b50e57b9 Add missing Makefile Roy Marples 2008-01-05 20:49:48 +00:00
  • e6c9bdf2a3 Add the missing changes from the recent Makefile updates Roy Marples 2008-01-05 20:43:32 +00:00
  • c92be49041 Move the env whitelists to an rc var and build in the system whitelist. Roy Marples 2008-01-05 20:43:08 +00:00
  • ac21d75300 Add some .mk stubs to impersonate bsk .mk files to make writing our Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though. Roy Marples 2008-01-05 19:25:55 +00:00
  • 112fbde453 use implicit rules for many things rather than hardcoding our own Mike Frysinger 2008-01-04 15:57:31 +00:00