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
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
f5fb796619
We use -W in the loop vars, no don't duplicate in the test.
Roy Marples
2008-01-04 15:47:34 +00:00
339efeb347
pmake does not support -C dir :/
Roy Marples
2008-01-04 15:46:52 +00:00
09cf3342d5
do not hardcode ar or ranlib
Mike Frysinger
2008-01-04 15:36:56 +00:00
8c4e35e4ab
fix exit status usage -- one $ means make expands it, $$ means shell expands it
Mike Frysinger
2008-01-04 15:27:46 +00:00
3d163f4548
Remove support for static and pam combined - too problematic.
Roy Marples
2008-01-04 15:19:04 +00:00
aa1129a71d
More static building fixes.
Roy Marples
2008-01-04 14:46:45 +00:00
633297a6ca
Support static building against a non static PAM.
Roy Marples
2008-01-04 14:01:24 +00:00
3be23bc02d
Instead of mirroring correct output, state that we're not running because of RC_SYS.
Roy Marples
2008-01-04 12:50:04 +00:00
455a9105a8
Fix clock for XENU.
Roy Marples
2008-01-04 12:39:47 +00:00
c13471f91f
Fix detection of Xen dom0 vs domU can use the right variable in init scripts.
Roy Marples
2008-01-04 12:39:06 +00:00
d7961bef66
Add BIN_LDFLAGS so that we can build static bins without affecting our shared libraries.
Roy Marples
2008-01-04 11:06:58 +00:00
d8019881dd
Don't check kernel version for features, check feature existance.
Roy Marples
2008-01-03 20:19:32 +00:00
b349409f7b
br2684ctl can also exist in /usr/sbin, Gentoo bug #204186
Roy Marples
2008-01-03 20:02:27 +00:00
5ce37e1cef
Ensure that copyright is unique for rc, librc and libeinfo. Also, fix branding a little.
Roy Marples
2008-01-03 17:23:42 +00:00
f56929ea7d
Put branding in version.h
Roy Marples
2008-01-03 17:05:29 +00:00
b717153549
Move inittab to the support directorry as the sysvinit package normally owns it, not OpenRC.
Roy Marples
2008-01-03 16:08:45 +00:00
cc96c0933d
Juggle the Makefiles so that sh knows about NET_LO
Roy Marples
2008-01-03 15:48:33 +00:00
0176ee89ed
rc.conf, not rc
Roy Marples
2008-01-03 15:35:10 +00:00
19765f289c
Move 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
3a1cc82a8d
Allow a BRANDING define to be used.
Roy Marples
2008-01-03 13:02:03 +00:00
b6228a987e
Allow building without std=c99 defined
Roy Marples
2008-01-03 13:01:43 +00:00
555fe11656
If we fail to make, send the error back to parent make.
Roy Marples
2008-01-03 10:12:45 +00:00