Commit Graph

6833 Commits

Author SHA1 Message Date
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