abc7a79755script install should build objects
Roy Marples
2008-01-13 14:14:47 +00:00
f755187020Change lib name during make, not install.
Roy Marples
2008-01-13 13:55:23 +00:00
98b865bbc7Set default term to wsvt25 for NetBSD
Roy Marples
2008-01-13 10:50:52 +00:00
7f9ea7c7c4Fix PAM install
Roy Marples
2008-01-13 10:21:22 +00:00
5bf95bd3f3Use MKTERMCAP and MKPAM so we don't use env vars TERMCAP or PAM inadvertently.
Roy Marples
2008-01-12 20:38:57 +00:00
9c5300d4aeMany 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
fa363ecaf7Don't use bins in global if we can help it.
Roy Marples
2008-01-11 23:49:40 +00:00
d4404ea9c7Ensure 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
0ec43dfe47These are FreeBSD specific
Roy Marples
2008-01-11 22:29:12 +00:00
e4e18d21edFix some syslogd pidfile and installing support scripts.
Roy Marples
2008-01-11 21:54:33 +00:00
bcbdb0ed13Add wscons script. We still need to convert this to a conf.d format.
Roy Marples
2008-01-11 19:19:33 +00:00
99ef274848Fix rpathness on NetBSD again.
Roy Marples
2008-01-11 18:55:46 +00:00
f0c0391088Remove non standard -R option.
Roy Marples
2008-01-11 18:33:23 +00:00
0334b0be2eAdd sys.mk
Roy Marples
2008-01-11 18:29:47 +00:00
8ef2bf78f7Don't print an extra eend on failure.
Roy Marples
2008-01-11 17:41:19 +00:00
ed144d4252NetBSD-4 doesn't support scanning via ifconfig, so mark it FreeBSD only for now.
Roy Marples
2008-01-11 17:35:39 +00:00
cd685410bdNetBSD 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
28afeac09eAdd sys.mk to define system locations.
Roy Marples
2008-01-11 16:03:38 +00:00
abde759d5bRe-indent to a standard tw of 8.
Roy Marples
2008-01-11 15:51:40 +00:00
fec312d448Update copyrights, my email and license.
Roy Marples
2008-01-11 15:31:10 +00:00
5de53f176cAdopt a more C style for scripts and remove vim settings.
Roy Marples
2008-01-11 15:08:57 +00:00
6b41b65008Remove vim settings.
Roy Marples
2008-01-11 12:18:05 +00:00
3bf49a9bd1Adopt a more C style for scripts and remove vim settings.
Roy Marples
2008-01-11 12:13:46 +00:00
1f4422c72fRemove full license text from shell cripts.
Roy Marples
2008-01-11 11:45:59 +00:00
590167e316Ditto for rc.shutdown
Roy Marples
2008-01-11 11:27:30 +00:00
cbc174bbbfUse a specific default terminal for rc
Roy Marples
2008-01-11 11:25:40 +00:00
13c552c3ecAllow OS to define default package locations.
Roy Marples
2008-01-11 10:55:36 +00:00
349f4a81e6No point in having runlevel rules in a seperate .mk now
Roy Marples
2008-01-11 09:42:28 +00:00
2bd7f97b72Just have the one runlevels folder with OS includes.
Roy Marples
2008-01-11 09:32:06 +00:00
50d73fa223Add /usr/pkg to the PATH for NetBSD packages.
Roy Marples
2008-01-10 23:51:58 +00:00
de6e4d3f50More NetBSD tweaks.
Roy Marples
2008-01-10 23:48:53 +00:00
acbaacb2c1dhcpcd could be anywhere, so allow this.
Roy Marples
2008-01-10 23:23:39 +00:00
2d95c9a756Loads of NetBSD tweaks here.
Roy Marples
2008-01-10 23:22:46 +00:00
5aea880f81Move FreeBSD specific files to the new FreeBSD folders.
Roy Marples
2008-01-10 20:17:55 +00:00
22b7a12b6eFix SUBOS_SH
Roy Marples
2008-01-10 19:50:01 +00:00
6244bcbe84massage netmask to cidr for buggy shells.
Roy Marples
2008-01-10 18:11:02 +00:00
6ca21b4c6aMore make fixes
Roy Marples
2008-01-10 16:57:05 +00:00
13f64ccc94Need INSTALL here
Roy Marples
2008-01-10 16:50:32 +00:00
023270f76aDon't go into SUBOS if same as OS.
Roy Marples
2008-01-10 16:48:02 +00:00
2857fb49d1Fix SUBOS
Roy Marples
2008-01-10 16:42:14 +00:00
7cdffe5e13Fix SUBOS
Roy Marples
2008-01-10 16:40:41 +00:00
3016c4efd4Add missing mk's
Roy Marples
2008-01-10 16:37:42 +00:00
4314784520Allow 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
2643f2e605Fix installing libs.
Roy Marples
2008-01-10 08:29:41 +00:00
f8d15a5f7bFix a little breakage with last commit.
Roy Marples
2008-01-09 23:56:07 +00:00
5b30c5154dinstall correctly on NetBSD.
Roy Marples
2008-01-09 23:47:15 +00:00
ddf25cbcb7Compile without warnings on NetBSD
Roy Marples
2008-01-09 23:22:04 +00:00
06634f6309Style updates.
Roy Marples
2008-01-09 11:44:43 +00:00
666be0faa0Add _hwclock which ensures that hwclock returns 1 on error, simplifying our code
Roy Marples
2008-01-08 14:58:56 +00:00
2e35d2a73cAvoid valgrind errors with getline.
Roy Marples
2008-01-07 19:12:58 +00:00
81b8e5450eReally fix off by one error.
Roy Marples
2008-01-07 15:27:26 +00:00
fa898af791Fix an off by one error.
Roy Marples
2008-01-07 14:59:17 +00:00
d22fc0dd93Allow 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
c256510570add rc_getline to the man page
Roy Marples
2008-01-07 12:39:27 +00:00
43d0f3fc76rc_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
74e0e58b89Stop using CPPFLAGS
Roy Marples
2008-01-07 09:39:44 +00:00
18adcb1ee8We may as well use echo here as we recreate mtab fully if successfull.
Roy Marples
2008-01-06 23:58:12 +00:00
789bd6ab09Install the static archive in /usr/lib
Roy Marples
2008-01-06 23:30:20 +00:00
4a4a340967Fix userland einfo when passed with no arguments
Roy Marples
2008-01-06 23:00:26 +00:00
816d566440No need for basename.
Roy Marples
2008-01-06 21:56:13 +00:00
956a867a71No need for basename here
Roy Marples
2008-01-06 21:51:30 +00:00
26f5eeece1Fix branding
Roy Marples
2008-01-06 21:44:26 +00:00
16a2c82bd1We should check we resolved a service before stating it's existance.
Roy Marples
2008-01-06 21:06:47 +00:00
b1540cba5bUse a dynamically expanding buffer for reading config files.
Roy Marples
2008-01-06 19:52:43 +00:00
8afb86a5deSet include paths in Makefile instead of .c files
Roy Marples
2008-01-06 13:47:39 +00:00
da4217fec8Add net config's to have their own depend function per interface.
Roy Marples
2008-01-06 13:06:56 +00:00
62ef80e7f8Add our version maps back
Roy Marples
2008-01-06 11:38:37 +00:00
2b54426bd3librc needs kvm on bsd.
Roy Marples
2008-01-06 00:50:19 +00:00
ddb3ab4704Use LIBNAME for multilib so as not to conflict with LIB
Roy Marples
2008-01-05 21:05:19 +00:00
75815abd6cFix installing pam files
Roy Marples
2008-01-05 20:54:34 +00:00
44d63fdec6Fix installing links
Roy Marples
2008-01-05 20:53:28 +00:00
20b50e57b9Add missing Makefile
Roy Marples
2008-01-05 20:49:48 +00:00
e6c9bdf2a3Add the missing changes from the recent Makefile updates
Roy Marples
2008-01-05 20:43:32 +00:00
c92be49041Move the env whitelists to an rc var and build in the system whitelist.
Roy Marples
2008-01-05 20:43:08 +00:00
ac21d75300Add 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
112fbde453use implicit rules for many things rather than hardcoding our own
Mike Frysinger
2008-01-04 15:57:31 +00:00
f5fb796619We use -W in the loop vars, no don't duplicate in the test.
Roy Marples
2008-01-04 15:47:34 +00:00
339efeb347pmake does not support -C dir :/
Roy Marples
2008-01-04 15:46:52 +00:00
09cf3342d5do not hardcode ar or ranlib
Mike Frysinger
2008-01-04 15:36:56 +00:00
8c4e35e4abfix exit status usage -- one $ means make expands it, $$ means shell expands it
Mike Frysinger
2008-01-04 15:27:46 +00:00
3d163f4548Remove support for static and pam combined - too problematic.
Roy Marples
2008-01-04 15:19:04 +00:00
aa1129a71dMore static building fixes.
Roy Marples
2008-01-04 14:46:45 +00:00
633297a6caSupport static building against a non static PAM.
Roy Marples
2008-01-04 14:01:24 +00:00
3be23bc02dInstead of mirroring correct output, state that we're not running because of RC_SYS.
Roy Marples
2008-01-04 12:50:04 +00:00
455a9105a8Fix clock for XENU.
Roy Marples
2008-01-04 12:39:47 +00:00
c13471f91fFix detection of Xen dom0 vs domU can use the right variable in init scripts.
Roy Marples
2008-01-04 12:39:06 +00:00
d7961bef66Add BIN_LDFLAGS so that we can build static bins without affecting our shared libraries.
Roy Marples
2008-01-04 11:06:58 +00:00
d8019881ddDon't check kernel version for features, check feature existance.
Roy Marples
2008-01-03 20:19:32 +00:00
b349409f7bbr2684ctl can also exist in /usr/sbin, Gentoo bug #204186
Roy Marples
2008-01-03 20:02:27 +00:00
5ce37e1cefEnsure that copyright is unique for rc, librc and libeinfo. Also, fix branding a little.
Roy Marples
2008-01-03 17:23:42 +00:00
f56929ea7dPut branding in version.h
Roy Marples
2008-01-03 17:05:29 +00:00
b717153549Move inittab to the support directorry as the sysvinit package normally owns it, not OpenRC.
Roy Marples
2008-01-03 16:08:45 +00:00
cc96c0933dJuggle the Makefiles so that sh knows about NET_LO
Roy Marples
2008-01-03 15:48:33 +00:00
0176ee89edrc.conf, not rc
Roy Marples
2008-01-03 15:35:10 +00:00
19765f289cMove the linking of files in /etc/init.d into the sh/Makefile so that install -jN works.
Roy Marples
2008-01-03 14:49:34 +00:00
3a1cc82a8dAllow a BRANDING define to be used.
Roy Marples
2008-01-03 13:02:03 +00:00
b6228a987eAllow building without std=c99 defined
Roy Marples
2008-01-03 13:01:43 +00:00
555fe11656If we fail to make, send the error back to parent make.
Roy Marples
2008-01-03 10:12:45 +00:00