Commit Graph

4025 Commits

Author SHA1 Message Date
apb
04973974b4 * When testing whether the fdesc file system is mounted, parse the
output from mount(8) rather than df(1), because mount is more likely
  to be available on install media.  mount is invoked in a way that
  always prints an error message, and the content of the error message
  tells us whether fdesc is mounted.  This should fix PR 40316 from
  David Ross.
* Don't use negative variable names.  Instead of nofdesc=false, use
  fdesc_mounted=true.
* Add a comment explaining that MAKEDEV may be executed in an environment
  that is missing some common commands.
2009-01-03 08:49:03 +00:00
tnozaki
52ed7b035f Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
  new locale-db implementation using citrus_db backend,
  see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
  internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].

[tools]
- mklocale(1): add new option ``-t'' that generates new style
  LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().

[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
    en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
    zh_CN.eucCN -> zh_CN.GB18030
    and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
  for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
  i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<

old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 00:20:18 +00:00
isaki
cf59801230 x68k pow(4) now uses MI sysmon_pswitch framework. suggested by tsutsui@.
- Make MD poffd(8) retire, and use MI powerd(8) instead of it.
- Make /dev/pow1 retire, because nobody holds /dev/pow0 any longer.
  Use /dev/pow0 for pow(4) ioctl.
- POWIOCSSIGNAL ioctl which is for poffd(8) is also obsoleted.
2008-12-20 13:20:58 +00:00
macallan
1cbbd12ac0 do as sparc64 does 2008-12-14 03:37:21 +00:00
christos
4cc3f6a334 add clear=1 2008-12-13 23:30:03 +00:00
mishka
43e91ff9f2 Import rc.d/httpd script for httpd(8) daemon control.
See rc.conf(5) for options explanation.
2008-12-11 13:55:16 +00:00
salo
74bbb8ef72 A very old patch sitting in my tree..
When rc scripts are started from interactive shell, be nice and when user
tries to start an unconfigured service, point him to rc.conf(5) and tell
him about the one* keyword.  Also be more user friendly when an unknown
argument is entered.

Example:

 # /etc/rc.d/cron start
 $cron is not enabled - see rc.conf(5).
 Use the following if you wish to perform the operation:
   /etc/rc.d/cron onestart

 # /etc/rc.d/cron nonsense
 /etc/rc.d/cron: unknown directive 'nonsense'.
 Usage: /etc/rc.d/cron [fast|force|one](start stop restart rcvar  status poll)


Inspired by discussion on tech-userlevel:

 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0010.html
 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0011.html
 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0012.html

Reminded about it and reviewed by <lukem>
2008-12-06 23:21:32 +00:00
cube
4edff860d5 - Generate xdm and xfs depending on the value of X11FLAVOUR
- Only generate and install them for MKX11 builds
2008-12-05 18:55:22 +00:00
cube
2a5b955aa9 Let the build descend in rc.d during "build" and not just use it for
"distribution".
2008-12-05 18:52:59 +00:00
tsutsui
63156ee6a4 /etc/rc.d/mountall should obviously REQUIRE mountcritremote, and
may also REQUIRE named and ypbind for NFS hostname in fstab(5).
2008-12-01 14:47:14 +00:00
tsutsui
587f6b4f8e Add RCS Id. 2008-11-30 08:49:25 +00:00
joerg
d235df969a Change the formula for tmpfs size. The per-inode memory usage is
higher than old estimate on 64bit platforms and the resulting tmpfs
wouldn't be able to hold the required number of devices.
2008-11-28 16:04:31 +00:00
tsutsui
3381903ec0 Add "bootconf" to REQUIRE: lines which had beforenetlkm
since removed beforenetlkm required bootconf.
2008-11-22 20:23:33 +00:00
ad
bf92e35013 Don't warn about missing MAKEDEV.local. It doesn't exist in some
environments.
2008-11-21 11:44:38 +00:00
cube
b2c01596ed Sprinkle /usr/X11R7 where relevant. rc.d/x{fs,dm} are left to be done. 2008-11-19 18:07:19 +00:00
uch
7d97b81648 add dialout device for scif, sci 2008-11-17 12:54:57 +00:00
abs
845c5d6f11 Add a 'reload' option - from Peter Bex 2008-11-17 11:34:04 +00:00
hubertf
a414fb10be Also search /usr/X11R7, and do it before X11R6 2008-11-17 01:31:35 +00:00
tsutsui
7181375540 Create USB devices on all_md target. 2008-11-12 15:57:29 +00:00
tsutsui
c65516ce24 Create audio devices on all_md target. 2008-11-12 13:54:10 +00:00
jmcneill
9533ff8b39 My previous change should have read 'makedev video', not audio. 2008-11-12 13:14:28 +00:00
ad
0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
agc
d36ba31209 Fix csh syntax in last 2008-11-11 01:05:48 +00:00
joerg
0a197de3d4 Add commented out example of PKG_PATH to make using binary packages
easier.
2008-11-10 23:17:13 +00:00
mrg
9c8df5ee67 - retire MKXORG from public use
- introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg
  for the X11 to build if MKX11=yes is set.  it takes the values
  of either Xorg or XFree86.
- default to Xorg on alpha, i386, macppc, shark, sparc and sparc64
- remove MKXORG_WITH_XSRC_XSERVER, unused and never useful
2008-11-09 23:02:28 +00:00
abs
ee60a76c5e The NetBSD/atari installer can use md2a as a root device, so ensure the
'floppy' target creates md2
2008-11-08 22:34:57 +00:00
joerg
d490657a1e Now that the installation floppies are including tmpfs as well, stop
distinguishing MAKEDEV init and MAKEDEV all for x86.
2008-11-04 14:25:10 +00:00
tsutsui
b7bfe94ded Create bpf(4) device node on ramdisk for sysinst. 2008-11-01 08:01:29 +00:00
joerg
3c39079d4a Create 8 dk instances by default. 2008-10-31 16:26:47 +00:00
joerg
3ecd0576c6 Can't type. xkbd -> xbd. 2008-10-31 16:25:29 +00:00
joerg
0a4bf6163b Create 4 Xen disks by default and all three Xen devices to make it
usable out-of-the-box.
2008-10-31 16:14:23 +00:00
christos
f8537c96cf don't keep building the directories for old vi. 2008-10-30 21:45:55 +00:00
cliff
a9ea660409 add GEMINI to EVBARM_BOARDS list 2008-10-30 15:41:33 +00:00
joerg
68ab5fbb16 Add glue to ship Intel firmware images. For ipw and iwi require user to
accept the EULA via sysctl as discussed with core@.
2008-10-30 00:27:31 +00:00
christos
f2fd40685c add /usr/share/examples/pppd 2008-10-25 17:44:32 +00:00
matt
4e381b86bf Build TISDP2420 kernels 2008-10-21 23:46:10 +00:00
apb
96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
tsutsui
f7ae49faa5 Create audio devices on all_md. 2008-10-19 04:53:41 +00:00
tsutsui
51a50a798f Create ld, altq and nsmb devices on all_md. 2008-10-18 16:52:35 +00:00
mrg
f4084919ef catch up with share/ldscripts -> libdata/ldscripts. 2008-10-12 23:35:38 +00:00
christos
6536944397 eval arguments one more time so that quoting works. 2008-10-11 17:28:03 +00:00
abs
3388ad407f Add a constty entry, marked 'off', with otherwise the same settings
as the console. Now when coming up in single user mode the tset in
/.profile can set the terminal type correctly.
Note: I believe constty should be 'on' and console 'off', but thats a
separate discussion
2008-10-07 10:00:00 +00:00
apb
9b7231008d Move default route configuration after interface alias address
configuration, in case people have default routes over aliased
addresses.
2008-09-26 10:31:46 +00:00
rtr
01313ea852 install font configurations to /etc/fonts/conf.d 2008-09-26 07:02:57 +00:00
cube
2cb1e2f875 Add the directory in which the DRI modules are installed. 2008-09-21 00:48:44 +00:00
apb
c44f01fe5d remove an unecessary "eval" 2008-09-20 14:22:57 +00:00
apb
94f952dfe5 * Allow multiple commands in $ifconfig_xxN variables in rc.conf(5).
This may be done either by embedding newlines in the value,
  or by using semicolons to represent line breaks (but not both at once).
* Allow shell quoting insode $ifconfig_xxN variables or /etc/ifconfig.xxN
  files.  This allows something like ifconfig_wi0="ssid 'my network'; dhcp"
2008-09-20 12:12:38 +00:00
tsutsui
3e414a4b6b Invoke ${MAKESUMS} for ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation files
as snap_md_post target in etc/etc.${MACHINE}/Makefile.inc rather than
as release target in distrib/${MACHINE}/Makefile so that builds for
release in distrib/${MACHINE}/Makefile don't have to be serialized.

XXX: maybe ramdisk kernels should be installed into binary/kernel dir
XXX: as other ports rather than installation dir, and
XXX: kernel config names should be preserved in their filenames.
2008-09-19 17:38:43 +00:00
tsutsui
56f85b37f1 - add INSTALLATION_DIRS+=installation/miniroot so that miniroot.fs.gz
image is installed properly
- INSTALL_IPAQ should be in BUILD_KERNELS rather than KERNEL_SETS
  since it requires ramdisk image by mdsetimage(8) in src/distrib
2008-09-19 16:58:26 +00:00
jmcneill
76996204b2 Create /dev/videoN with all target 2008-09-14 13:59:54 +00:00