Commit Graph

7020 Commits

Author SHA1 Message Date
dsl b42a6fa21a Stop (attempted) coredump when ftp/nfs install attempted.
(incorrect empty strings check for active interfaces)
2003-07-27 21:09:57 +00:00
dsl d0bba60fad Default boot blocks to those used to install the system.
Add 19200 baud and serial ports com1, com2 and com3.
Fixes PR install/21418
2003-07-27 20:25:07 +00:00
dsl faefcd3805 Force localfs_dir to be an absolute path - fixes PR install/14130.
Put disklabel info into /tmp/disktab in case / isn't writable,
fixes PR 17347.  Note the /etc/disktab isn't the target /etc anyway...
2003-07-27 08:57:27 +00:00
dsl 96ace5d58c Remove 'menu_ent' parameter from action routines.
Add menu for all disklabel partition types.
Default 'partition type' and 'sizechoice' menus to current value.
Change 'standard/use existing' to 'set sizes/use existing'.
2003-07-27 07:45:08 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
he faae8634e1 Add newly added crypto/cryptodev.h header. 2003-07-26 14:23:19 +00:00
he 92515d797d Include new g++/backward, g++/bits, and g++/ext directories. 2003-07-26 14:22:37 +00:00
dsl e141360764 Obsolete i386/amd64 /usr/mdec/biosboot*.sym and /usr/mdec/installboot 2003-07-26 08:43:02 +00:00
dsl 7ea6661b7f Fix serial boot floppy (sync with i386) 2003-07-26 08:32:18 +00:00
dsl ebaaf5a296 Use ${TOOL_INSTALLBOOT} - it does work on ustarfs filesytems.
Pass correct option to installboot for bootfloppy-com (serial bootfloppy).
2003-07-26 08:26:07 +00:00
dsl 34f6042f4f Remove dependency on biosboot-com0.sym 2003-07-26 07:52:03 +00:00
wiz 7455c20783 Perry added openssl_CA.pl.1 to man/mi, which looks like a better place.
Remove the lines for it here.
2003-07-25 22:22:44 +00:00
perry 507b7df779 add entries for openssl_CA.pl.1 man page.
Maybe I'll finally be able to build the world now.
2003-07-25 21:48:36 +00:00
dsl 18d1abfb17 Put in boot files that sysinst needs - matches i386 2003-07-25 21:31:17 +00:00
dsl 1d61f8f341 Update amd64 to match latest i386 2003-07-25 21:24:37 +00:00
dsl 6c8c94d8a7 Switch boot floppies to 'new' i386 bootcode. 2003-07-25 21:19:48 +00:00
he 4db75bc189 My mistake; openssl/rsaref.h wasn't supposed to be there. 2003-07-25 15:23:11 +00:00
he f275d4828e Sync with current reality: openssl/rsaref.h, {man,cat}1/openssl_CA.pl.{0,1}. 2003-07-25 15:11:39 +00:00
hannken ba886242fe Typo: cat1/openssl_ocsp.1 -> cat1/openssl_ocsp.0 2003-07-25 09:18:21 +00:00
dsl 7f5beafa6b Sprinkle a load of consts, and change a few variable names.
Now compiles with WARNS=3.
2003-07-25 08:26:21 +00:00
itojun f4401cd869 upgrade openssl to 0.9.7b. (AES is now supported)
alter des.h to be friendly with openssl/des.h (you can include both in the
same file)
make libkrb to depend on libdes.  bump major.
massage various portioin of heimdal to be friendly with openssl 0.9.7b.
2003-07-24 14:16:30 +00:00
itojun de65f66923 sort 2003-07-24 13:04:19 +00:00
dsl dddd3e09c5 Remove /lib/libdes.so, /lib/libdes.so.7.0 and /lib/libdes.so.7
have already been removed by itojun.
2003-07-24 10:42:40 +00:00
wiz 75dfbc138b Add pthread(3). 2003-07-24 07:51:01 +00:00
itojun 6040fd8db9 no /lib/libdes any more. from Havard 2003-07-23 22:44:27 +00:00
itojun d18a2f47e0 kafs.h moved from kerberosIV to krb5 2003-07-23 21:57:19 +00:00
itojun cc129b0c9b need lint entry for libdes 2003-07-23 21:56:35 +00:00
itojun 4e1706e9af kerberosIV/des.h is not needed, Love says 2003-07-23 20:30:34 +00:00
itojun 9f89c3577c split libdes from libcrypto. libdes bumps shlib major.
(no dependency in libraries)

libdes provides des_xx functions based on openssl 0.9.6j.
2003-07-23 05:20:17 +00:00
dsl f8beccb8d0 Ask for sets when doing 'install more sets' 2003-07-22 12:18:39 +00:00
mrg 84813a0362 note SMP & xfree4 update. 2003-07-22 11:59:49 +00:00
mrg 11569a7f9b support XF4 on sparc. had to move parts of x{base,comp}4/mi into the
relevant ports as they do not apply to sparc (or other non-"hw/xfree86"
ports.)
2003-07-22 11:46:52 +00:00
dsl 92c7597c91 Specify username+password to ftp even when username is 'ftp'.
Only use 'ftp -a ...' when the username is ftp and the password is null.
Fixed PR install/13656
2003-07-22 11:45:16 +00:00
dsl bdd53bdf93 Output a messge before the 5 second delay while the network comes up.
Ask user before deleting set files (fixes PR/7190).
2003-07-22 08:30:10 +00:00
tshiozak 8506e58599 add new locales - bg_BG.CP1251 el_GR.ISO8859-7 hy_AM.ARMSCII-8 lt_LT.ISO8859-13 2003-07-21 17:45:50 +00:00
tshiozak 6c85e3334a add KOI8-U encoding support for iconv. 2003-07-20 19:26:55 +00:00
abs ef8e75ce98 Make net_namesvr6 extern again to fix compilation if INET6 is defined. 2003-07-19 22:07:36 +00:00
tshiozak 173e5850f7 - add converter for EUC-JP-MS.
- apply MS conversion rule to JISX0208 part of CP932.
c.f.:
  http://www.opengroup.or.jp/jvc/cde/ucs-conv-e.html
2003-07-19 20:20:39 +00:00
mbw df3fae3530 pk posted that a longstanding MMU problem with sun4c systems has been
fixed.  Benefits primarily stability and SS1, SS1+, and IPC system speed.
2003-07-18 17:56:48 +00:00
dsl 195bdd51af Tested version of code to get local directory (I'd got waylaid by etc.old)
Messages for net.c changes.
2003-07-18 10:29:36 +00:00
dsl 0bf9a036c9 Remember which sets we sucessfully installed (so we know when to
restore /etc).
Improve handling of absent directories in get_via_localdir.
distname[] isn't needed (twice)
2003-07-18 09:49:18 +00:00
dsl da36837548 Copy /etc.old back to /etc if it was saved, but we didn't actually
install the ETC set.
2003-07-18 09:46:11 +00:00
dsl 6e575ea980 Network info has gone to net.c and is now static.
Stuff to put /etc back in upgrade aborted.
2003-07-18 09:44:20 +00:00
dsl 9a9b340a64 Pull local data here and make it static.
Remove one or two fixed length strings (use malloc etc instead).
Change a lot of 'if (strlen(x) == 0)' to 'if (x[0] === 0)'.
Let user skip network config if any non-loopback interfaces are UP.
Always free() buffer allocated by collect(), could be a massive leak.
Whitespace changes.
2003-07-18 09:42:59 +00:00
dsl 6684cadd5e Remove some fixed length strings.
Do limited filename globbing.
2003-07-18 09:34:42 +00:00
lukem f134f3dc38 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
2003-07-18 08:26:01 +00:00
tron c658ee6379 NetBSD-sparc supports SMP for a while now. 2003-07-18 06:33:45 +00:00
lukem be22974820 deprecate; i replaced this with distrib/common/sunbootcd.sh a while ago 2003-07-18 00:37:35 +00:00
dsl 9c3018b9f2 Remove the endwin() and refresh() pair which caused the screen to flash
whenever a command was run.  Maybe a screen redraw is required if the
command is able to corrupt the screen - but the refresh was happening
much too early to fix that, and it would be better to collect/discard
the commands output anyway.
2003-07-17 19:44:53 +00:00
matt e648c959cb No need for libtelnet.ln anymore 2003-07-17 02:26:18 +00:00
itojun 8fece4c5f9 libtelnet no longer installed (redo) 2003-07-16 19:39:05 +00:00
he d003f425a8 Despite claims of the contrary, libtelnet in its various forms
is still being installed, so make the set lists match reality for now.
2003-07-16 19:03:11 +00:00
itojun 1463d5f4f4 add libtelnet non-shared portion 2003-07-16 16:23:21 +00:00
dsl 118b95f75d Add old location of mbr(8) and bootselect(8) pages. 2003-07-16 11:57:15 +00:00
dsl c0bc37d706 Move mbr(8) and bootselect(8) into i386 subdir (source moved from sbin/fdisk
to src/share/man/man8/man8.i386)
2003-07-16 11:21:33 +00:00
itojun 71f683ba4a oops, too early (PF) 2003-07-16 08:53:42 +00:00
itojun 128a9bd8d5 add X11 CTEXT encoding
XXX add more charsets
2003-07-16 08:25:17 +00:00
itojun 2074f56f8d no longer install libtelnet 2003-07-16 06:18:32 +00:00
he b1597d221a Cobalt installs a boot loader now, so list it here. 2003-07-15 14:00:20 +00:00
itojun 427af575fe use bounded string op. bump shlib major for libtelnet due to API change. 2003-07-15 10:14:54 +00:00
dsl 6445d05466 Add explicit msg_string() call to MSG_hidden to stop core dump
when the password is set and the usename not ftp.
Whitespace changes.
2003-07-14 10:53:42 +00:00
dsl a2d5357066 Fix code that guesses bios geometry from mbr info.
When asking for bios geometry, ask for sectors per track and heads
then calculate cylinders from volume size.
Write MBR_MAGIC into correct place when writing extened partitions.
2003-07-14 09:59:00 +00:00
dsl e64fcd4452 Use a menu when asking for the install disk (fixes PR install/20121).
Make disk_desc[], disk and numdisks local to get_disks (instead of globals).
Fix a little fallout from the above.
A bit of mbr.c was missing #ifdef BOOTSEL...
2003-07-11 15:28:58 +00:00
dsl 8e56a9f2a2 Delete code that did nothing!
The disk parameters it fetched were overwritten by those obtained (from
the default label) in get_disks.
2003-07-11 14:48:42 +00:00
pk edb01b1198 Pass explicit device to eject(1), since it doesn't know about the floppy
driver's "partition" scheme..
2003-07-11 12:16:56 +00:00
he e0e6a115ce Adapt to the new layout of files under /usr/mdec, so that this
builds again.  However, the install program most probably needs
adaptation for this to work as intended.
2003-07-11 11:54:10 +00:00
dsl 0f636f6d49 Ensure correct curses tty settings are restored after a program runs.
Remove the abberant call to endwin() in i386 md_update() that caused
echo to be left on. I've not removed the endwin from the other ports.
Only run MAKEDEV if etc.tgz installed.
Some extra sanity checks on an 'rm -rf %s'.
2003-07-10 13:36:48 +00:00
wiz 69807edb27 Add old milter includes. 2003-07-10 13:27:27 +00:00
atatat ccf314363b Move the libmilter headers to where they belong. 2003-07-10 13:07:24 +00:00
lukem eec954fd77 explicitly pull in <bsd.own.mk> for NETBSDSRCDIR (to be safe) 2003-07-10 11:23:53 +00:00
lukem 94830d866e revert previous accidental commit (just whitespace tyop in this case) 2003-07-10 10:36:03 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
lukem aedc125774 change test to skip metalog to be a case,
to easily allow other entries to skip to be added.
2003-07-10 03:19:15 +00:00
dsl 5a411fd464 Create mount point used for target system. 2003-07-09 20:02:35 +00:00
wiz 68cbd06b9e Remove installboot/i386(8) man page too, and add it and the catted version
to the obsolete list.
2003-07-09 09:38:05 +00:00
dsl f496a8be1b Remove i386/installboot(8) 2003-07-09 09:35:42 +00:00
dsl 6da321c1aa Sort out (and remember) the disk partition we will install into.
This should stop the i386 code splatting all over the start of the disk
during upgrade.
Upgrade will still use partition 'a' (unless you loop through the install
far enough first!)
2003-07-08 17:38:54 +00:00
dsl a72609cec0 Only save and merge /etc if the /etc set is being installed.
Actually this needs changing to use /usr/sbin/etcupdate (or similar),
but the script needs fixing first.
Might be better for sysinst to have its own copy, gets to be fun to run
because you have to pull the commands from the target FS.
2003-07-08 16:12:18 +00:00
dsl 294dd49644 Stop timezone submenu exploding (strcmp of MSG_xxxx).
Allow mbr partition type to be changed without losing disklabel info
for same area of disk (allows type to be changed from 165 to 169).
2003-07-08 11:58:57 +00:00
seb cbcb286ff0 Add missing mlinks for tree(3).
Approved by wiz@.
2003-07-08 11:34:17 +00:00
itojun 861516eeb7 install more postfix README files. based on PR 22086 2003-07-08 05:17:12 +00:00
dsl 4314639609 Remove some messages that are not used and are unliklely to be needed. 2003-07-07 21:26:32 +00:00
yamt 0a7c59f953 tree(3) manpage from OpenBSD. 2003-07-07 14:39:25 +00:00
dsl 33ae7b798b Fix non-i386 builds 2003-07-07 12:55:48 +00:00
dsl 0e919832bd Another pass of the rototiller. Mainly:
1) New MBR editor
2) Hierarchic timezone menu
2003-07-07 12:30:19 +00:00
jdolecek 7dd3186418 add Dreamcast intro(4) and boot(8) 2003-07-05 06:28:00 +00:00
nonaka 95b69aec78 add the txp(4) manual pages. 2003-07-05 01:00:24 +00:00
agc 39a1106ac1 add the locale(1) manual pages. 2003-07-04 17:55:58 +00:00
tshiozak 6a491b80a2 add manpage for iconv(1). 2003-07-04 06:59:52 +00:00
tshiozak a781221f36 add iconv.3 manpage. 2003-07-04 06:05:28 +00:00
tshiozak fab9a2fdc1 add locale(1) utility.
Originally written by Alexey Zelkin <phantom@FreeBSD.org>.
So, obtained from FreeBSD with gratitude.  (suggested by wiz.)
2003-07-04 05:41:49 +00:00
atatat 2b1f20983c Two milter libraries from sendmail, two headers, one directory for the
headers to live in, and the README file from the milter stuff.
2003-07-04 04:56:27 +00:00
wiz 8b0aec9020 Add Romanian locale dir and texinfo.mo inside. 2003-07-03 15:18:54 +00:00
lukem ed18469ce3 if the mtree parse of METALOG fails, exit. 2003-07-03 06:43:02 +00:00
tshiozak 9badb7d5a5 add KOI8-R support for iconv.
(A simple example of adding a new conversion)
2003-07-01 12:16:23 +00:00
wiz bb5a88b9e0 Actually, mdoc(7) is not obsolete. Reinstate it. 2003-07-01 10:05:46 +00:00
tshiozak 58db2e99e2 add iconv_t cache.
- separate shared part and context part from iconv_t.
  - add cache of shared part.
and, bump shlib_version minor of i18n modules because iconv i/f is changed.
2003-07-01 09:42:15 +00:00
wiz e8ea74be99 Update for groff-1.19. 2003-06-30 19:09:06 +00:00
bouyer f740fc9ae3 Note ICH5 support. 2003-06-30 07:24:57 +00:00
he ac99092862 Catch up with the reorganization of the atari boot code. 2003-06-28 15:17:59 +00:00
dsl d46341db86 Add French and Polish message file to i386 ramdisk.big
Change dummy dependancy for sysyinst message files so they get built
by the crunched makefile.
2003-06-28 08:25:07 +00:00
dsl 16a2d1e961 Add run-time selection of installation language.
Make 'doingwhat' an argument to find_disks() instead of a global.
2003-06-27 22:20:14 +00:00
dsl 5363c7e2ee Pull texts from MI menus into language dependant text files.
Minor change to name of some strings (eg: MSG_yes -> MSG_Yes == "Yes")
2003-06-27 13:36:04 +00:00
tshiozak 1d910e61f7 Citrus iconv support(5)
add iconv data files.  now ready to use iconv stuffs.
TODO:
- manpages.
- enrich mapper/esdb.
2003-06-27 08:39:59 +00:00
tshiozak 284734d7ec bump libc version because of iconv. 2003-06-27 06:05:08 +00:00
tshiozak ff5c3e6895 Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
  - bump libc minor.
  - add iconv data files.
  - create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
    mkesdb(1)/mkcsmapper(1).
2003-06-27 05:21:49 +00:00
wiz 71a2c91273 Add some dirs to be used by groff-1.19 (coming soon). 2003-06-26 09:24:25 +00:00
tshiozak e376aa8308 Citrus iconv support(3)
add host tools : mkcsmapper and mkesdb
  mkcsmapper - coded character set mapping table compiler
  mkesdb - encoding scheme database compiler
2003-06-26 06:30:07 +00:00
dbj 68c6633b6a avoid complex regular expression features not available in older awks 2003-06-25 22:08:30 +00:00
tshiozak 9794164a09 - correct my last commit : ./usr/lib/i18n/*.* -> ./usr/lib/i18n/lib*.*
- correct obsolete :  ./usr/lib/runemodule/*.so.4.* -> ./usr/lib/i18n
2003-06-25 18:58:23 +00:00
dsl 9ef6b561d7 Add a -D (debug) option for testing.
Ignore inability to remove swap if -D specified.
Select disk before sets (but label after)
Let mac68k sysinst run on i386.
2003-06-25 15:45:21 +00:00
dsl 4652a607d7 French messages - from Adrien Auzanneau 2003-06-25 15:41:16 +00:00
tshiozak d710132b4b Citrus iconv support(2)
add new plugin modules and bump minor (because of some new I/Fs).
2003-06-25 10:38:01 +00:00
thorpej 93b30f2130 Add <machine/elf_machdep.h>. 2003-06-23 13:00:21 +00:00
agc d1c3d8e4e7 Add comments and descriptions for the following system packages:
base-magic-share
	base-ppp-lkm
	base-rescue-root
	base-termcap-share
	base-vfs-lkm
	comp-c-shlib
	comp-fortran-shlib
2003-06-23 11:19:44 +00:00
dyoung fe803a4b84 Split base-reference-share into base-magic-share (containing magic
files for file(1)), base-termcap-share (containing terminal
capabilities), and base-reference-share (containing area codes,
airports, et cetera).
2003-06-23 09:28:52 +00:00
dyoung b8eacf60d4 Optimization: invoke make fewer times.
Fix typo: osreleasese -> osreleases.

Write @pkgdep directives, drawing package dependencies from
distrib/sets/deps.

When regpkg is finished, now it removes the packing list temporary
file from /tmp.
2003-06-23 09:25:34 +00:00
dyoung 4b48743aa1 Stop duplication of makeflist, regpkg, makeplist code. Use routine
in sets.subr, instead.
2003-06-23 09:20:55 +00:00
dyoung 2a44e65d9c Don't duplicate code for listing sets used by makeplist, regpkg.
Instead, use the routine in sets.subr.
2003-06-23 09:18:45 +00:00
dyoung 48171b2e00 Fix typo: osreleasese -> osreleases.
Optimizations: do not re-invoke make(1) unnecessarily, it takes a
full second to bootstrap it on my on my anemic PC. Also, use
xargs/find instead of awk/system()/shell to classify each package
path as a file or directory.

For consistency, adopt similar variables names as makeflist uses.

Use the set-list routines in sets.subr instead of duplicating code.
2003-06-23 09:17:04 +00:00
dyoung 4d23e6d82c For System Packages, two new utilities, a subroutine library, and
a new list:

sets.subr -- The set-listing code that is common to makeplist,
	     makeflist, and regpkg has moved here.

syspkgdeps -- Compute naive dependencies for system packages based
	      on directory containment. I.e., if package A contains
	      path /p/q, and package B contains path /p, then B is
	      considered a dependency of A. As Jim Wise remarks,
	      this is not quite right: system-package dependencies
	      should indicate a functional dependency. Nevertheless,
	      these naive dependencies protect us from orphaning
	      files when pkg_delete'ing system packages.

culldeps -- Helper for syspkgdeps. Removes redundant dependencies
	    from a dependencies table.  Essentially does the opposite
	    of a transitive closure on a dependencies table: if
	    the table contains A depends-on B, B depends-on C, and
	    A depends-on C, then A depends-on C is removed because
	    it can be derived from the prior two dependencies.

deps -- Dependencies computed by syspkgdeps.
2003-06-23 09:02:31 +00:00
jdc c81dad62ca Add curses keyname, noqiflush and qiflush manual pages. 2003-06-20 07:06:48 +00:00
jdc 094b2f993c Increment libcurses minor to 9 for addition of keyname(), noqiflush()
and qiflush().
2003-06-20 07:05:39 +00:00
mbw 5775eabd29 iBook (14.1 LCD 32 VRAM) is reported to work by David Friggens
PowerBook G4 (12-inch) and PowerBook G4 (17-inch) supported thanks to
  HAMAJIMA Katsuomi
2003-06-19 18:20:02 +00:00
agc db2a7d9a58 Bump the version number for the base-fstab-examples package. 2003-06-18 12:40:55 +00:00
agc 18a83afa36 Put the example fstab files into their own system package in the misc
category (since they're listed in the misc/mi set list), rather than
a system package under base.

Add a comment and a description for the new system package.
2003-06-18 12:39:03 +00:00
agc 1802ef39d2 Clean up editing of the original regpkg script in the previous.
+ use "uname -r" if osrelease.sh isn't available

+ if SYSPKG_DATES is set in the environment, use the date for the
  version.  For some reason, this is controversial, so the default is
  to use NetBSD kernel versions.  Re-instate the code to calculate the
  date, but only use it if the date cannot be gleaned from the RCS Ids
  of the constituent parts.

+ re-work the versions file, since it was committed in an incomplete
  state - there were version numbers without package names in there.
  Instead, get the version number by exception - i.e. assume it's "0"
  unless specified in the versions file.  This means less independent
  maintenance when a kernel version number is bumped, and less
  duplication of work (since any new system packages will now have the
  correct version number by default)

+ lose the section which duplicated the calculation of "tiny version"
  which was never used (and which didn't work correctly)
2003-06-18 10:53:52 +00:00
dsl 217d84900a Fix stupid typo 2003-06-16 20:12:44 +00:00
dsl 24a3da65f0 Fix some typos 2003-06-16 20:11:40 +00:00
dsl 855d662c15 Whitespace fixes 2003-06-16 20:10:02 +00:00
dsl 08fc1c1957 A load of KNF changes, plus a couple of strnxxx => strlxxx my fingers did
on the way through.
2003-06-16 19:42:13 +00:00
dsl 430c90c3f6 Correct check for active swap on install disk.
Use swapctl() for all swap operations.
Remove md_upgrade_mbrtype() from arc and hpcmips ports.
(I haven't finalised what I'm doing about type 165 partitions, but the
existing code is borked.)
2003-06-16 10:42:47 +00:00
dsl 17ae477780 Implement a limit on the size of / so that its guaranteed readable by the boot code.
Remove pointless 'len' parameter from read_mbr and write_mbr.
Make read_mbr initialise mbr if it can't be read (delete MD code).
Make i386 always ask at least once about the bootcode.
Move LIB_MOVE and LIB_COUNT from md.h to aout2elf.c
2003-06-14 12:58:45 +00:00
nonaka 74db466478 Add some files for libevent. 2003-06-14 08:04:42 +00:00
dsl deef134ca4 Fix code that determines BIOS CHS from MBR - used to get confused by big disks.
Make same function return useful defaults if it can't find an answer.
Make all ports default to the useful defaults if bios geometry is unknown.
Move some messages to mbr set from mi set.
Fix i386 code that selects which bios disk, simplify interface to menus.
Remove now unnecessary global data from many ports.
2003-06-13 22:27:03 +00:00
dsl bc119f42a4 Remove all references to minfsdmb and STDNEEDMB - neither are used any more. 2003-06-13 11:57:28 +00:00
dsl 88e7a0c7dc Report actual minimum size of partitions (instead of a number that is
4 times system memory). (These numbers need moving to a different menu still.)
Remove size of /usr from default sized / when /usr created.
Shrink swap in order to get partitions into available disk space.
Add twice ram size to / if space available (for system dumps).
Keep all but last partition cylinder aligned when the disk isn't a whole
number of cylinders.
2003-06-13 11:45:49 +00:00
itojun 59a8ea6cd4 set lists for libevent. sort. niels ok. 2003-06-13 04:12:53 +00:00
jwise 3ef0e39473 Recreate the ability, which has existed in syspkg since first implementation,
to explicitly version syspkgs.  See discussion on source-changes@netbsd.org.

If we want to lose this functionality, we should discuss this on the appropriate
lists...
2003-06-13 02:32:26 +00:00
provos d8cea27f17 update sets for libevent 2003-06-12 23:23:05 +00:00
tron 6933a49a87 Add international fonts. 2003-06-12 22:49:40 +00:00
agc 72aa9a9ed1 Add the comments file, which is a single file containing all the COMMENT
file entries from the syspkg hierarchy, brought up to date to include some
that had been missed out.

Add the descrs file, which is a single file containing all the DESCR
file entries from the syspkg hierarchy, brought up to date to include some
that had been missed out.

Thanks to Jim Wise for all the work that went into the syspkg sets.

Add the attrs file, which is a single file to which can be added
attributes (like preserve).

Add a regpkg script, which allows a single system package to be
registered, based simply on its setname and syspkg name.  All the
information is gleaned from the lists files by means of scripts, no
source tree is needed.  The version number for the system package is
calculated automatically, based on the most recent mtime of the files
that constitute a system package.

Add a regpkgset script, to register all the system packages in a set.
The set names recognised are "all", "base", "comp", "etc", "games",
"man", "misc", "text".
2003-06-12 20:04:00 +00:00
agc 87171e96eb Bring the machine and arch-level decision of shared libs vs none up to date,
and also bring up to date the ELF vs a.out knowledge.

Also, sort the directories into reverse alphabetical order, and add them to
the generated PLIST file after any file entries.

Grab the comments into a single file from the individual syspkg set entries.

Grab the descriptions into a single file from the individual syspkg set entries.

Add an attributes file to which can be added attributes for system packages.
The "preserve" attribute has been implemented.

Add extra comments and descriptions for system packages which were missing.
2003-06-12 19:55:18 +00:00
dsl 52e8cddd9b KNF 2003-06-12 16:48:43 +00:00
agc e61a0cb520 Correct a typo in a system package name 2003-06-12 13:37:21 +00:00
dsl 84bdf1950e kernel names mixed up on i386/amd64 port
Default to TINY, LAPTOP or PS2 if running from such a kernel.
Do wscons stuff unless we installed a TINT kernel (not if running one)
2003-06-12 12:41:55 +00:00
dsl d7bcb6d75d Move emulbackup message to MI set (conditional on AOUT2ELF marker).
Remove abberant dependencies of fdisk.o and md.o against menu/msg_defs.h
(nbmake depend gives the correct dependencies)
2003-06-12 11:20:00 +00:00
dsl 6a7cda9698 Move a couple of messages into msg.mbr.??
Remove some unused menus and messages from the ports that use mbr.c
(I'll re-implement the 1024 cylinder limit properly soon...)
2003-06-12 10:51:37 +00:00
dsl c9b8d8909b make rammb sum correct for memory sizes between 2GB and 4GB.
Fixes sysinst/17551
2003-06-11 23:06:15 +00:00
dsl 31a2215cd0 Fix window size when asking for partition mount pt and size.
Hack to give free space to a default sized /usr
Add extra space to / and /usr is any of the X sets are included.
Remove last reference to 'layoutkind == 3'.
2003-06-11 22:17:03 +00:00
dsl 608254d0b8 rototil of the set selection menu
I've also made the set selection happen first.  This lets me test it!
also measn the selected sets could be used in the disk partition code.
Removed the 'with X' disk layout question (now too late to change the sets).
2003-06-11 21:35:35 +00:00
dsl 8fc9389e15 KNF 2003-06-11 11:00:39 +00:00
dsl df45325b8e Make French and Polish compile (many missing translations though) 2003-06-11 09:03:32 +00:00
dsl 3316b2a3d8 Use dynamic menu for final editing of partition stable 2003-06-10 17:47:15 +00:00
dsl 44fa8ce69d Use dynamic menu to select partition to edit 2003-06-09 19:06:48 +00:00
dsl 99d1eb21d4 Add (back) support for mfs /tmp
Fix menu size so that user defined partitions can be allocated instead of
standard ones (need > MAXPARTITIONS entries in menu).
Make partition size info static - with a view to including it in a longer loop.
2003-06-06 21:37:13 +00:00
dsl 8e9ba8b898 Fix build if MAXPARTITIONS is 8 2003-06-06 19:04:55 +00:00
dsl 783c7d4424 Delete more messages that are never output 2003-06-06 18:57:13 +00:00
dsl 456a798f32 Remove a cpuple of unused buffers 2003-06-06 17:05:02 +00:00
dsl 32fda96392 Remove a load of messages that are no longer used.
Make the French and Polish versions compile (seems I didn't fix it last time)
2003-06-06 14:31:22 +00:00
jwise 3a7267eb8a Split comp-krb5-* and comp-krb4-* from comp-c-* to mirror division of libraries
among syspkg in base set.
2003-06-05 16:38:06 +00:00
jwise 032e1bfe70 Two kerberos admin-related man pages got put in comp. move them. 2003-06-05 15:59:39 +00:00
jwise f341162442 Fix syspkg names on some libraries (these are under comp-, not base-). 2003-06-05 15:45:17 +00:00
dsl 7504698df3 Change i386 sysinst to use my new boot code.
Update lists for ramdisks to include the required files.
NB /usr/sbin/installboot is not used by sysinst and is only in ramdisk-big.
Increase the sizes of the ramdisks, there is plenty of space in all the
boot floppies except rescue-tiny (2k) and boot-tiny (32k).
2003-06-05 14:30:11 +00:00
scw f9d932e99b Add me as evbsh5 maintainer. 2003-06-05 12:40:23 +00:00
agc cd7305a144 Remove the leading "./" from all entries in the generated PLIST.
Make awk do more of the work - remove two egrep invocations.
2003-06-05 11:18:08 +00:00
matt f85c58d78d Add msg_prompt_win.? XXX why does msgc install man pages into section 1?? 2003-06-04 22:50:19 +00:00
dsl d19795892c A rototil of the partition size requesting code. 2003-06-04 20:05:12 +00:00
dsl 8376bdad86 Add extra parameter (exit text) to new_menu() calls 2003-06-04 19:09:50 +00:00
nathanw e17390a3e3 Add pthread man pages. 2003-06-03 21:34:24 +00:00
dsl 19b2fb2fb0 Add NULL to all process_menu() calls - value is passed through to the
action routine.
Make the french and polish versions compile.
NB needs a new version of menuc - so need 'build.sh tools'
2003-06-03 11:54:48 +00:00
mbw efb909e26f Return accidentally deleted info about multiprocessor systems 2003-06-02 21:45:37 +00:00
grant bc91866ddf add cec, cs80bus and gpib man pages (hi, gmcgarry) 2003-06-02 14:45:09 +00:00
mbw 6bcce23d5d detab a few lines, and in general try to make it better for 80 column
printout
2003-06-01 17:57:12 +00:00
mbw 05db79582e misc small typos and wording cleanup
PowerBase is actually Open Firmware 2.0.x
add iBook (16VRAM) and iBook (Summer2002) as supported models
mention next release of NetBSD will support multiple CPUs
mention that some L3 caches on CPU upgrades may not be enabled by default
PowerMacintosh G4 (FW 800) model is reported to work with 1.6.1
macppc uses gem driver instead of gm ethernet driver now
macppc uses tlp driver instead of de ethernet driver now
AirPort Extreme is unsupported
full wscons capabilities not supported (virtual terminals and color)
keyboard problems with iMac and B&W G3 seem to have been cleared up
2003-06-01 17:50:37 +00:00
mbw be4a717337 misc small typos and wording cleanup
fix links to newly updated Partitioning HOW-TO and mention use of pdisk
can't view files on official ISO image or floppy from Open Firmware
keyboard problems with iMac and B&W G3 seem to have been cleared up
2003-06-01 17:48:48 +00:00
mbw 5033eb1c99 misc small typos and wording cleanup
fix links to newly updated Partitioning HOW-TO
OF 3 firmware update 4.1.7, mention that it's not much of a problem anymore
point to ZTerm home page
redo partitioning section
update now that there's a pair of boot floppies
change MS-DOS floppy section to be Zip disk
2003-06-01 17:41:02 +00:00
mbw 9d052bccc2 clean up wording of quickstart section on macppc partitioning
in quickstart, rearrange to account for macppc having two floppies now
2003-06-01 17:37:23 +00:00
mbw f4773aae19 fix a macppc TOC heading to be a little shorter 2003-06-01 17:36:07 +00:00
mbw 48a00ee0fb mention macppc has two floppies now 2003-06-01 17:34:48 +00:00
uwe 95af8c21e9 Add igsfb(4). 2003-06-01 11:38:16 +00:00
dyoung 51d337164f Fix typo to show correct prefix for PLIST, s/\$plist/\$prefix/. 2003-05-31 23:17:29 +00:00
dyoung 34603cbe81 Spelling fix, s/makeflist/makeplist/ 2003-05-31 22:56:37 +00:00
thorpej 17cf73bbb5 Add <bsd.gcc.mk>. 2003-05-31 20:34:09 +00:00
dsl d800ee579a No need to #include "bsddisklabel.c" into md.c, add to Makefile instead. 2003-05-31 08:09:59 +00:00
dsl b62cbc21e9 Make all architectures (except amiga and mac68k) use the MI make_bsd_partitions.
This does change the default size of /, but I'm going to rewrite
make_bsd_partitions next to make it less user-hostile.
(I'm not sure adding in 2 * ram is actually useful! Especially size it left
/usr with a -ve size on all my test installs with 256MB ram and 1GB disk)
Make bootsel code delete menu names if the partition is unused.
Use raw device for cdrom access (I've a kernel that doesn't report an invalid
label so /dev/cd0a dosn't work).
2003-05-30 22:17:00 +00:00
dsl b0b2a88fe2 KNF 2003-05-30 17:34:31 +00:00
dsl 028c9f0a91 KNF 2003-05-30 17:24:13 +00:00
dsl 127236bc6a KNF 2003-05-30 13:58:25 +00:00
dsl 291768820b KNF 2003-05-30 13:34:58 +00:00
dsl ad480b2e44 KNF 2003-05-30 13:23:26 +00:00
dsl 4948e51933 layout changes 2003-05-30 13:13:30 +00:00
dsl 4b8e98ee2a Further collapsing of MD code:
- make_bsd_partitions() correctly handles PART_BOOT
- use bsddisklabel.c for pc532 and sgimips (this does change the default size
  for the root partition, as it no longer includes twice the memory size).
- Change way ports define disk_names[] (in particular this lets me add "vnd"
  for testing), also ensures all ports pick up new drivers.
  I've make most ports use the default "wd", "sd", "ld".
  Abort the search for disk units if we get ENOENT (ie no /dev entry) to
  speed up the case where we are looking for a disk type that isn't
  supprted by the port.
  (it is possible we could just check all possible disks on all ports...)
2003-05-30 11:56:23 +00:00
dsl c522fd9f62 partsize and partstart don't need to be globals 2003-05-29 17:54:22 +00:00
dsl 4ed96ba68a Use local partstart and partsize.
Add code that might let this code add the boot partition for the 2 ports that need it.
2003-05-29 17:53:24 +00:00
dsl 83067f27c6 psrtsize and partstart are only over used inside md_make_bsd_partitions,
use locals instead of globals.
2003-05-29 17:51:26 +00:00
he 3812b817f3 Add back in man3/readdir.3 lost in previous commit. 2003-05-29 11:11:40 +00:00
christos 04413cc928 readdir_r + libc bump. 2003-05-28 20:07:46 +00:00
yyamano c7bcda3906 Fix broken link. Pointed out by Ray Phillips on www@.
http://asu.info.apple.com/ has been replaced by
http://www.info.apple.com/support/downloads.html.
2003-05-26 17:36:07 +00:00
thorpej 846d276e6f Don't build a big-endian image on platforms which don't run big-endian. 2003-05-26 15:46:48 +00:00
thorpej a5b0016311 Platform dependent set list for big-endian evbarm. 2003-05-26 15:43:14 +00:00
thorpej 01017edd1b Check if md.${MACHINE}.${MACHINE_ARCH} exists and prefer it over
md.${MACHINE}.
2003-05-26 15:42:34 +00:00
lukem 77dcdf1ded add rescue/ftp 2003-05-26 10:38:48 +00:00
lha 47cfb027a2 install more man pages 2003-05-26 09:22:29 +00:00
lha 4a1a2b48c6 install more man pages 2003-05-26 01:11:55 +00:00
jmc b12af590af vax rx man pages were updated in 1.555 of mi but never added to obsolete. Fix 2003-05-25 20:01:35 +00:00
grant 59a27f0ae9 portmasters: +amd64 (fvdl)
releng: -tv +jmc
2003-05-25 05:30:11 +00:00
nakayama 255093b58e Add myself. 2003-05-25 05:20:35 +00:00
dan 4b8869230b Add myself. 2003-05-25 04:32:10 +00:00
epg 7424146bb6 Add myself. 2003-05-25 02:08:39 +00:00
lukem 0622a0d6dd update to libcurses.so.5.8 2003-05-22 07:20:28 +00:00
jdc 8b782b08d1 Increment libcurses minor for addition of addchstr() functions. 2003-05-21 21:21:14 +00:00
dsl 6fb33c4537 Reduce the number of global variables slightly, use the ones that are
left consistently.
Make the i386 install let you partition a disk beyond the CHS limit if the
system bios doesn't support LBA reads (the checks aren't ideal yet).
Make the bsddislabel.c code usable onan i386 system - but don't use it yet.
2003-05-21 10:05:20 +00:00
jdc ad216762c8 Add missing *printw manual page links.
Patch provided in PR lib/21446 by Douwe Kiela.
2003-05-21 06:46:51 +00:00
agc 15f7e07a41 Correct the directory for a manual page. 2003-05-20 09:49:06 +00:00
jdc 2e4b986118 Add missing manual page links. 2003-05-20 06:54:44 +00:00
dsl 09746cd0ad Stop double-inclusion being an error.
Adjust whitespace and remove names from prototypes
2003-05-18 20:40:09 +00:00
dsl 1d6ff8632d White-space, buffer-overrun and long-line police,
Correct code that selects one of the available disks.
2003-05-18 20:04:21 +00:00
dsl 33180ff44d Use MD menus and msgs for mbr code.
Remove a couple of unused variables.
Use actual raw partition when looking for disklabel in sparc code
2003-05-18 18:54:05 +00:00
martin f799459a60 List more supported systems. 2003-05-18 16:29:57 +00:00
lukem 20b9064eac Don't force "make -j 1" any more, since David Laight appears to have
fixed the parallel-make issues in crunchgen generated Makefiles.
2003-05-18 11:25:33 +00:00
dsl b1389a6fef md menus and messages are taken from the i386 directory.
mbr stuff is now mi
2003-05-18 08:00:38 +00:00
dsl 04a7d9497e Use same code as i386 2003-05-18 07:58:10 +00:00
dsl 2de0c528b3 Remove some unused definitions 2003-05-18 07:57:28 +00:00
dsl 949c967305 Pull md menus and msgs from i386 port.
Enable BOOTSEL stuff from mbr.c
2003-05-18 07:56:30 +00:00
dsl 9a5b2e3d2a Use snprintf just in case target_expand() generates some long strings.
#if the bootmodel stuff so that the amd64 port can use the same file
2003-05-18 07:52:57 +00:00
dsl 633389164c Fix typo in previous 2003-05-18 07:44:41 +00:00
dsl adaf65b7b4 Language dependent menus are no longer pertinent 2003-05-16 20:08:01 +00:00
dsl 3db1aaa735 Don't overwrite existing bootsel config when reading new bootcode.
configure_bootsel moved to MI code (I have plans for it...)
Make menu file language independant.
Move menus and message for MBR to MI files.
2003-05-16 19:48:29 +00:00
dsl d41b09d182 Report number for unknown MBR partition types.
Correct bootseect default for new mbr code.
Add bootsel config code (from arch/i386/md.c)
2003-05-16 19:44:23 +00:00
dsl 17f917ce63 Move definition of BOOTSEL to MD Makefile 2003-05-16 19:38:18 +00:00
dsl 74b0587c5b Use sizeof() to be absolutely certain there are no buffer overruns.
Use strlcpy() instead of strncpy() where appropriate.
Recode timezone menu so that it can stand opt_name being const char *
and to only do the fts_read() once (there were problems if the filestore
changed between passes!).
Remove stupid check for errno != 0 which probably stopped the tomezone
menu being displayed!
2003-05-16 19:34:00 +00:00
dsl 0c692843f6 Add missing messages (need translating) 2003-05-16 19:29:18 +00:00
dsl a79e0abb89 Remove language independant header (now in its own file).
Add missing menus to french file (need translating)
2003-05-16 19:28:10 +00:00
dsl ccdfb7c4d2 Add a language independant header to the menu file.
Let MD Makefile specify the required MD menu and message files.
Pass menu and message files though a script to remove conditionals.
2003-05-16 19:25:24 +00:00
dsl 9fb220ed6a Pull menu/msg files for setting up the mbr out of the md set.
The md code will pull in the correct set of menu and messages.
(the msg.mbr.fr has an untranslated message - volunteers?)
2003-05-16 19:15:00 +00:00
dsl 17c72be2df Add a '}' that has been missing since september 2000 2003-05-16 16:28:10 +00:00
lha f66ab28ab4 bump minors appropriately 2003-05-15 20:58:43 +00:00
wiz 2b0b925316 Add /dev/mouse-qms0 and /dev/qms0. 2003-05-15 19:11:28 +00:00
wiz 17abf3da10 Add /dev/lms0 and /dev/mms0. 2003-05-15 19:10:00 +00:00
wiz 717b2b1474 Remove i386/busmouse(4); it's not supported on i386 any more. 2003-05-15 18:53:34 +00:00
wiz 8381108e2a Don't install machine/mouse.h on i386 and prep; there are no users for
the old busmouse interface any longer, we use wsmouse now.
2003-05-15 18:51:18 +00:00
dsl adb2f69a2f Avoid building the xxx.mk file (etc) multiple times in a parralel build.
Change name of target build from xxx.mk from 'all' to xxx.crunched to avoid
picking up baggage from bsd.own.mk and bsd.prog.mk.
Fixes toolchain/21563 (with new crunchgen binary)
2003-05-15 17:52:32 +00:00
fvdl 8ec5ed33f8 Adjust ramdisksize downwards to match kernels. 2003-05-15 14:02:37 +00:00
wiz ee6d7b94d4 Remove last traces of obsolete olms and omms drivers.
Ok'd by drochner and fvdl.
2003-05-15 13:13:21 +00:00
dsl 259e7b9bcc Fix typo in previous,
Delete some unused variables
2003-05-15 08:09:51 +00:00
wiz ff96d1c6d3 Remove opms(4). Addresses PR 21578 by Felix Geller. 2003-05-15 06:14:14 +00:00
he 602160f281 Add messages "mbrpart_start_special" and "mbrpart_size_special" to
those ports which are using the now-modified MI mbr.c file which
was recently modified to use those messages.  French translation
courtesy of Manuel Bouyer, Polish copied from the i386 port.
2003-05-14 22:11:42 +00:00
wiz 94f0902dae machines with e, uppercase PCMCIA. 2003-05-14 14:31:48 +00:00
martin 733238f573 Sync with recent sparc64 changes. 2003-05-14 14:06:06 +00:00