Commit Graph

8647 Commits

Author SHA1 Message Date
tsutsui
c19a11ffc4 Use -mmemcpy to shrink binaries. 2006-01-08 16:05:56 +00:00
tsutsui
88d40f88ec Add /usr/mdec/boot.coff. 2006-01-08 15:35:00 +00:00
apb
b020cbecff Oops, missed a few echo >&2 changes in previous commit. 2006-01-08 10:32:26 +00:00
apb
6942b0e739 Use TARGET_ENDIANNESS (from bsd.endian.mk) to decide whether
to add "-E B" or "-E L" options to ${db_opts}.

Approved by christos.
2006-01-08 10:25:33 +00:00
apb
e386c41eea In the case where there is no metalog, when converting the
PLIST to specfile format, add type=dir for directories.
Fixes a build problem with non-METALOG builds.
2006-01-08 10:24:04 +00:00
apb
2d2afa01d3 regen 2006-01-08 10:22:16 +00:00
apb
309a69d745 Fix cyclic dependency by moving two files from base-local-share
to base-locale-ca and base-locale-sk

Approved by christos
2006-01-08 10:21:04 +00:00
apb
1acb45d44a Detect cyclic dependencies, and abort if any exist.
Approved by christos
2006-01-08 10:20:12 +00:00
apb
99b7c623f6 Document input and output format for syspkgdeps and culldeps.
Approved by christos
2006-01-08 10:19:07 +00:00
apb
c32228d46e When printing messages to stderr, always use
echo >&2 "${prog}: ..."

Approved by christos
2006-01-08 10:10:03 +00:00
apb
69a903d0c3 Prepend etc/mtree/NetBSD.dist to the metalog before passing it to
${TOOL_MTREE}.  Previously this was done by maketars.  In the long
term there should be a better solution.  In the short term, this
should fix the build for people who do unprivileged update builds and
who had an old METALOG from before the recent syspkg-related changes.

Reviewed by christos
2006-01-06 18:08:59 +00:00
apb
b58c0411a8 Disable checking of metalog in checkflist. In future,
this checking should be reinstated, but with proper
handling of obsolete files.

Reviewed by christos
2006-01-06 18:07:56 +00:00
wiz
9b47789852 Obsolete ./usr/X11R6/include/X11/fonts, its contents have been obsoleted
quite some time ago.
2006-01-06 17:00:22 +00:00
tsutsui
1396c646a7 Add /usr/mdec/boot_kernel.gz.
(a bootloader which can include a kernel binary for netboot)
2006-01-06 12:24:07 +00:00
xtraeme
d064eae373 Add rlphy(4) (Realtek 8139/8201L PHY) from OpenBSD. 2006-01-04 21:52:17 +00:00
xtraeme
d9b36aca62 Manpage that explains the i2c framework... from OpenBSD. 2006-01-04 19:14:55 +00:00
apb
c8666f9f0f regen via "make makedeps" 2006-01-04 15:13:17 +00:00
apb
f644cbcf33 Add a "makedeps" target, to update the "deps" file.
XXX: Why is "deps" checked in to the source tree, instead of
just being created as necessary?

Reviewed by agc
2006-01-04 15:11:07 +00:00
apb
52ec81299e * Add a check for consistency between DESTDIR and METALOG, in addition
to the existing check for consistency between DESTDIR and the output
  from makeflist.
* Use egrep instead of awk to ignore differences that are expected.
  This should be easier to maintain, and should also make it easier
  for users to add their own custom exceptions by editing the
  regexp.

Reviewed by agc
2006-01-04 15:08:42 +00:00
apb
29e51821aa Remove the code that used "${MTREE} -C ..." to sanitise the plist. We
can now assume that it's already been sanitised before maketars was
invoked.

Reviewed by agc
2006-01-04 15:03:39 +00:00
apb
5b62001b7b * Add new user-visible "syspkgs" target, and internal "makesyspkgs" and
"makesyspkgsums" targets for it to use internally.
* Add internal "sanitize_METALOG" target that uses "${TOOL_MTREE} -C ..."
  to sanitise the METALOG file before invoking anything that will
  want to parse the METALOG (checkflist, regpkgset, maketars, or
  installsets).  Previously, maketars used to do this itself, but its
  better to do it only once.
* Add internal "checkflist_if_DESTDIR" target, which invokes checkflist iff
  DESTDIR is set and not empty.  Use it where appropriate.
* Add a few more host tools to SETSENV.
* A few minor related changes.

Reviewed by agc
2006-01-04 14:58:58 +00:00
apb
2f132c6998 * Add a special case for sets="all".
* Use dirname, don't try to use a shortcut that doesn't always work.
  This uses the cheap implementation of dirname from sets.subr.
* Fix error in getopts string ("-p" option takes an arg).
* Explicitly use ${HOST_SH} to run culldeps script, because we might
  be on a host where /bin/sh is not a POSIX shell.

Reviewed by agc
2006-01-04 14:44:41 +00:00
apb
6d714d9691 Add cheap implementations of basename and dirname,
using builtin printf, or using echo if printf is not a
shell builtin.

Reviewed by agc
2006-01-04 14:35:03 +00:00
apb
4d96f88bcb Add shell variables for several additional host tools,
required by the new versions of regpkgset and regpkg.
2006-01-04 14:23:22 +00:00
apb
afb2b54a87 * Make regpkgset accept all the new args that regpkg takes.
* Sort the pkgs into dependency order before invoking regpkg.
* Better cleanup.

Reviewed by agc
2006-01-04 14:18:00 +00:00
apb
3df0642b27 * Give regpkg the ability to create binary syspkg packages (*.tgz files).
The new "-t binpkgdir" option requests this action.
* Make it pay attention to DESTDIR.
* Make it work for unprivileged builds using METALOG.
* Add "force" and "update" modes.
* Add "quiet" mode.  There was already a "verbose" mode.
* Add several new command line args in support of the above.
* Make much more use of shell functions.
* Replace the old way of choosing syspkg version numbers.
  The new way gives numbers derived from concatenating the OS
  version [from osrelease.sh or $(uname -r)], a "tiny" version [from
  distrib/sets/versions, default 0], and a date [from RCS time stamps or
  file system time stamps].
* Add @blddep lines to the PLIST (in addition to the @pkgdep lines
  that were previously added).
* Use host tools such as pax, cksum, and db, to do more or less the
  same work that was previously done by pkg_create (which is not a host
  tool).  No longer attempt to use pkg_create.

Reviewed by agc
2006-01-04 14:14:35 +00:00
apb
faa76ace30 Add a new "-I realprefix" arg. When making syspkgs, we need to use
"-P ${DESTDIR} -I /". ("-I" chosen for similarity to pkg_create.)

XXX: makeplist seems to be quite broken, in that it looks at the files
and directories that are actually present in DESTDIR, whereas I
thought its job was to provide an list of what *should* be there,
regardless of what is *actually* there.  Fixing this seems to require
a change to the format of the "lists" files, so that they can
unambiguously identify directories.

Reviewed by agc
2006-01-04 13:57:04 +00:00
apb
1983ec7bd3 Instead of printing "./foo/bar optional" for implicitly required
directories, print "./foo/bar optional type=dir".

Reviewed by agc
2006-01-04 13:46:13 +00:00
apb
267577ae49 Use "$*", not "$@", where we want a space-separated list of words. 2006-01-04 13:40:23 +00:00
apb
0eb2a59a6d . "${rundir}/sets.subr", overlooked in previous commit. 2006-01-04 13:38:18 +00:00
apb
a879495374 Add quotes to some shell variables overlooked in previous commit. 2006-01-04 13:35:55 +00:00
apb
d09e15652b Add apb 2006-01-03 21:34:05 +00:00
apb
0bee96eab7 Ensure that (almost) all shell variables in distrib/sets/* scripts are
used with curly braces and quotes, as in "${var}".

Also ensure that command substitution is quoted, as in "$(command)", and
convert `command` to $(command).

Reviewed by agc
2006-01-03 18:31:09 +00:00
apb
3a0b541193 Add shell variables defined in sets.subr for almost all commands used
by scripts in distrib/sets/*.  This is intended to be useful when cross
building.  Only trivial commands like echo, cat, and rm are excluded
from this treatment.

While I am here, make ${MTREE} and ${DB} follow the pattern used by most
other such variables.

Reviewed by agc.
2006-01-03 16:40:16 +00:00
apb
26d8593b50 Move default values for several shell variables into sets.subr.
Reviewed by agc
2006-01-03 15:42:42 +00:00
yamt
6fce056253 mark /usr/include/nfs/nfs_var.h obsolete. 2006-01-03 12:49:36 +00:00
christos
9708e1086d forgot to commit the bump for libcrypto. 2005-12-31 07:02:05 +00:00
agc
740a95c15f Add Todd Miller's ftw(3) and nftw(3) file-tree walking functionality,
from OpenBSD.

Bump libc minor to 136.
2005-12-30 23:07:31 +00:00
rjs
4e8460804d Add INSTALL_IPAQ kernel and copy hpcboot.exe to correct place. 2005-12-30 11:48:15 +00:00
rjs
ad40527a61 Add miniroot for hpcarm. 2005-12-30 11:47:19 +00:00
rjs
1276ee68fc Fix kernel names. 2005-12-30 11:41:43 +00:00
rjs
447c4d25c9 Initial import of md files for hpcarm. Copied from hpcmips. 2005-12-30 11:40:23 +00:00
rjs
6d2b3c8c7c Build INSTALL_ACPI kernel as well as INSTALL. 2005-12-30 11:30:33 +00:00
tsutsui
5ab9e41287 Add an md list for ews4800mips Xserver. 2005-12-29 16:37:42 +00:00
tsutsui
136993d8c6 Add files for ews4800mips distribution.
XXX sysinst is disabled for now.
2005-12-29 16:01:30 +00:00
tsutsui
1533ae47f8 Add lists for ews4800mips. 2005-12-29 15:26:54 +00:00
tsutsui
1f5055228d Add preliminary support for System V Boot File System.
Written by UCHIYAMA Yasushi <uch@netbsd>.
2005-12-29 14:53:45 +00:00
matt
3fff2406b3 Update man pages for new coredump interface. 2005-12-24 21:07:05 +00:00
jmmv
bb99282370 Merge fstab.tmpfs into fstab.ramdisk so that the file names represent
concepts rather than specific file systems.  Suggested by hubertf@.
2005-12-24 12:59:21 +00:00
christos
4ce197a0c1 remove obsolete programs. 2005-12-22 00:31:04 +00:00
christos
d10f4d6b55 libutil bump. 2005-12-20 21:34:29 +00:00
rpaulo
7d7fe4b786 Adapt man pages to ktrace-lwp. 2005-12-20 19:53:14 +00:00
thorpej
e363cc4a04 Move evcnt definitions into <sys/evcnt.h>. Include this from <sys/device.h>
for compatibility.
2005-12-20 16:28:55 +00:00
thorpej
445cc37106 <sys/tablet.h> is now obsolete. 2005-12-20 05:36:48 +00:00
hubertf
665a7c14de Don't hardcode release numbers, use \*V 2005-12-15 02:34:47 +00:00
hubertf
2ac328de80 Add text for workaround of sysinst not running newfs etc. as described
in PR mac68k/29049. Text for the workaround mostly provided by Hauke Fath.
2005-12-15 02:29:59 +00:00
christos
f131fafcb8 add sony.4 2005-12-13 18:23:31 +00:00
xtraeme
7c0269873e Misc grammar and typos fixes from Enrique Matias Sanchez via
private email.
2005-12-13 14:23:06 +00:00
ghen
401043a782 Add ghen 2005-12-13 10:41:25 +00:00
wiz
828a822d64 Add nologin(5). 2005-12-12 22:27:05 +00:00
riz
e4adbdcd56 Create the configuration files for the 3.0 release ISOs. 2005-12-08 21:13:28 +00:00
riz
ee8f5684fa Correct the filename of the vax ramdisk. 2005-12-08 21:12:18 +00:00
riz
d14fcde891 Add ISO_RELEASE as a tag (by default, same as RELEASE) which is used
to label the .iso image files.

While I'm here, modernize the ports list to what's being released with
3.0, and put them one-per-line to make it easier to comment out a single
port if necessary.
2005-12-08 21:11:46 +00:00
xtraeme
8db4fd7fd6 Misc grammar and typos fixes from Enrique Matias Sanchez via
private email.
2005-12-08 16:51:45 +00:00
mhitch
a45e5aa34b Add xetc to the sets list. 2005-12-07 18:25:43 +00:00
jmc
75b7768eb6 pte.h isn't obsolete on bebox. it's still there 2005-12-07 05:01:21 +00:00
skrll
856be5d817 lmcctl has been replaced by lmcconfig. 2005-12-06 14:02:58 +00:00
skrll
396c76cb52 Correct the includes for lmc. 2005-12-06 11:53:56 +00:00
christos
e97df9dd99 bye lmcctl, welcome lmcconfig 2005-12-06 03:20:27 +00:00
christos
2f1d024ecf deprecate lmcctl, welcome lmcconfig 2005-12-06 03:19:02 +00:00
dsl
2ff7661d8d Fix path of ping6 and rtsol.
lukem fixed the i386 one in July.
Fixes PR/32240
2005-12-04 21:32:11 +00:00
riz
28cb63d856 The sgimips files will be extracted into a different directory if sgimips
is on an image of a different name - compensate.
2005-12-03 01:23:23 +00:00
kardel
69ca862fe2 add myself 2005-11-27 19:12:11 +00:00
dsl
b13289ebc4 We don't want any .eh_frame stuff bloating the ramdiskbin image. 2005-11-27 17:39:46 +00:00
dsl
cc3fb44789 Increase the size of the ramdisk filesystem to that of the (recently
increased) hole in the kernel image
2005-11-27 17:39:01 +00:00
christos
533d086402 mark fips*.h really obsolete. 2005-11-26 22:42:10 +00:00
rpaulo
c6d6417f4f follow libkrb5 bump (you'll be unable to login using PAM if you don't
have this patch).
2005-11-26 12:32:43 +00:00
christos
6451d0b61f more openssl man pages 2005-11-25 21:19:05 +00:00
christos
0fcdffc1c5 bump libradius 2005-11-25 21:18:34 +00:00
christos
b5d3d971cf add more openssl man pages 2005-11-25 21:18:04 +00:00
christos
bab8f4db0f update sets for new openssl 2005-11-25 20:38:22 +00:00
macallan
631f2d878c build the apm utility on sparc since we already build apmd 2005-11-24 15:47:09 +00:00
yamt
224db8bcf4 document workqueue. 2005-11-24 08:20:51 +00:00
yamt
b874a47774 add RUN_ONCE. 2005-11-24 08:16:21 +00:00
christos
a0166828fa add the dnssec and namedb check tool man pages 2005-11-19 02:07:16 +00:00
christos
594da8287c Add dnssec and namedb check tools. 2005-11-19 02:03:43 +00:00
riz
658bb45a8b Add ".cat" to ./usr/share/man/cat8/sti.0 and ".man" to
./usr/share/man/man8/sti.8 so a build with MKCATPAGES=no and MKMAN=no
(respectively) will complete successfully.
2005-11-18 18:51:15 +00:00
itohy
46cdc5bb72 Add missing T:
"T"his product includes software developed by the PocketBSD project
    and its contributors.
2005-11-14 01:57:12 +00:00
spz
1802f2d1d7 Enable build.sh -x building for the usbtablet driver new in xsrc
distrib/sets/lists/xserver/md.* to list the additional files for XFree86
using ports
share/mk/bsd.x11.mk and x11/... for the actual building

Contributes to closing PR xsrc/23964
Reviewed by tron@NetBSD.org
2005-11-12 22:57:46 +00:00
dsl
5bc344755a Mark pxeboot_ia32_com0.bin obsolete.
Serial pxeboot can be generated by applying 'installboot -e' to pxeboot.
2005-11-12 09:41:28 +00:00
jnemeth
e2ee08b710 add myself, jnemeth 2005-11-11 03:45:57 +00:00
dsl
934b882096 Stop make wingeing when the crunchgen binary can't be located. 2005-11-10 21:29:37 +00:00
christos
80ae18a069 add sti 2005-11-10 16:58:18 +00:00
tron
a507881b2e It will be the twelfth release of course. 2005-11-08 09:35:00 +00:00
tron
97ba1641e9 NetBSD 4.0 will the 13th major release (starting at 0.8) of NetBSD-i386. 2005-11-08 09:33:33 +00:00
dsl
8b08a3fc64 We need the absolute path of the crunchgen binary in order to make the
generated makefile depend on the binary.
Needed for USE_TOOLS=no builds
2005-11-07 22:19:34 +00:00
tron
8cdb94228e Sync with changes in the "netbsd-3" branch. 2005-11-06 17:25:55 +00:00
dsl
4fba43286a Rework the checking of the typed size against the limit so we don't error
if the size is too large after we've rounded up to a cylinder boundary.
Stops silly errors (4170 > 4172) when partitions end at the end of the disk.
2005-11-05 09:58:32 +00:00
dsl
f95e28696d Fix check for root being entirely inside the area that can be read on
systems where the bios doesn't support LBA reads.
Due to faked geometries the last few (over 30000!) sectors may not be reported
as being readable, but we expect them to be in swap.  So we don't force a
root+usr install in that case.
2005-11-05 09:55:34 +00:00
yamt
73a46700dc sync with kernel. (yamt-vop) 2005-11-02 14:22:36 +00:00
simonb
17fbcfa746 Mark /usr/include/sys/systm.h as obsolete. 2005-10-30 23:35:55 +00:00
tshiozak
1beef8fe93 fix lib/31874.
- add _citrus_stdenc_get_state_desc() interface to get
  encoding-scheme-independent encoder/decoder state descriptions.
- make sure that iconv_std module uses it to judge whether the last
  sequences forms complete shift sequences.
- bump minor of i18n_module because of get_state_desc().
2005-10-29 18:02:04 +00:00
scw
76bcd7f008 ./usr/sbin/iwictl is now mi. 2005-10-29 08:17:18 +00:00
jmc
2ab5e7c4d7 Move ncdcs to mi 2005-10-27 17:51:48 +00:00
jmc
37d5cb74fc Nuke only md man page in existance (which requires special casing set sharing
for man.tgz unnecessarily)
2005-10-27 17:43:07 +00:00
riz
4df8bb6c9b source is too big for multi-cd3 when pkgsrc is included; substitute
sgimips instead.
2005-10-25 19:43:20 +00:00
riz
47cc213a59 Don't make sgimips images bootable unless EXTFILES.sgimips is defined.
While I'm here, fix so that building from a clean objdir works
properly.
2005-10-22 15:56:16 +00:00
riz
52bd3a4883 Add configurations for the NetBSD 2.1 release. 2005-10-22 15:52:43 +00:00
dsl
0a0a96c37f Don't redisplay the title messages before displaying sub-menus during set
selection (eg selecting the X sets).
libcurses got changed earlier in the year so that the erase (and refresh)
of the message window caused all the unchanged spaces to be redrawn
overwriting most of the main set selection window.
2005-10-22 09:31:50 +00:00
hubertf
3b644e49b3 Per Christos (board):
* move src/etc/COPYRIGHT to src/share/legal/COPYRIGHT and install that
   (in /usr/share/legal)
 * nuke src/share/man/man0/COPYRIGHT
 * mark /usr/share/man/COPYRIGHT as obsolete
2005-10-22 06:04:57 +00:00
jmc
f2a2358139 Whitespace/usage cleanup and a proper exit when done 2005-10-21 04:11:49 +00:00
jld
863d7960b2 Add jld here, too. 2005-10-21 04:06:18 +00:00
jmc
fe18910528 Remove unneeded set of PASSWD 2005-10-21 03:57:07 +00:00
jmc
b0f7601ff1 Insert some missing backslashes 2005-10-21 02:56:27 +00:00
jmc
d5bf52b805 Set default vars so blank and unset both end up w. a reasonable default 2005-10-21 02:41:14 +00:00
dsl
70aacd016c Align header with table 2005-10-16 20:39:52 +00:00
riz
a520767b2c Add /usr/share/examples/veriexecctl/fpgen.sh 2005-10-13 20:30:38 +00:00
jmc
e7233dd596 Fix path for mtree 2005-10-12 02:11:58 +00:00
peter
0cf2f76f79 Use the keyword 'doc' instead of 'share' for the new bind9 entries.
Fixes building when MKDOC=no.
2005-10-11 13:40:21 +00:00
rpaulo
515fd2fe70 Add /usr/share/doc/html/postfix/postfix-logo.jpg. 2005-10-10 15:36:16 +00:00
rpaulo
64bef641c2 Add flist for BIND 9 HTML documentation. 2005-10-10 13:28:07 +00:00
riz
4365df5673 Add /usr/mdec/bootxx_cd9660 . 2005-10-07 23:07:55 +00:00
jmc
4afc9e5b49 Restructure how makesrctars works so it spits out source balls that look like
they would from a release (files owned by root:wsrc, perms set, etc)
2005-10-07 20:00:54 +00:00
jmc
86c0dfe571 Add option to append to existing checksum files 2005-10-07 17:21:36 +00:00
jmc
7c1a989001 Include SHA512 now also 2005-10-07 03:42:47 +00:00
elad
b7218637af Don't remove /usr/include/rmd160.h.
Noted by wiz@.
2005-10-06 23:39:26 +00:00
agc
f0063a2802 My Spanish is somewhat lacking, but make it so that a "make distribution"
will succeed.
2005-10-06 20:47:14 +00:00
dyoung
00d2915456 Build and install /usr/mdec/bootxx_cd9660, a primary boot loader
for ISO9660 filesystems.
2005-10-06 08:22:58 +00:00
xtraeme
fff95ff31d Misc grammar and typos fixes. 2005-10-06 06:46:03 +00:00
jmc
a356b27a84 Add SHA512 into sums lists 2005-10-06 02:22:11 +00:00
jmc
b62b30c668 Correct comments to line up with SHA512 generation now 2005-10-06 02:12:49 +00:00
rpaulo
44fb629a49 Add idea about installing binary snapshots from releng. 2005-10-05 16:44:39 +00:00
hubertf
e533c36a54 Add locate.updatedb(8).
Discovered missing while sorting things out for BSDcertification.org.
Ran through wizd(8).
2005-10-05 06:29:03 +00:00
martin
f531688ba9 Make sgimipscd.iso bootable. 2005-10-04 19:29:34 +00:00
wiz
5219255abf getfsent(3) does not contain any information about the (nonexisting)
function getfstype(), so don't MLINK it. Remove getfstype from other
places that reference it too.

Noted by jmc@openbsd.
2005-10-03 14:56:32 +00:00
shige
18dc3d6415 Break infinite-loop at md_check_partitions. 2005-10-02 22:42:09 +00:00
macallan
09bc805fb6 Build XFree86 on NetBSD/sparc.
Tested on Krups and a SPARCbook 3GX
Works only with wscons kernels, currently there's official support on Krups
with igsfb and more or less official support for SPARCbooks with pnozz and
SPARCstations with cgsix.
2005-10-01 22:51:31 +00:00
scw
3882892ca2 Update for wpa_cli and wpa_supplicant. 2005-10-01 18:51:15 +00:00
scw
61ea4bf0aa Bump libpcap minor number. 2005-10-01 09:56:39 +00:00
yamt
a13c4821e3 mark runtime obsolete. 2005-10-01 04:11:19 +00:00
rpaulo
57f605ecda Add sysexits.3 man page. 2005-09-30 20:57:15 +00:00
jmmv
3d17d70f0c Add a fstab.tmpfs sample file showing simple but common sample entries.
Suggested by martti@.
2005-09-29 21:06:43 +00:00
perry
720c10e2b5 Add trademark notice. 2005-09-29 17:15:52 +00:00
jmcneill
00e0f7867d Add gscpcib(4) man page as requested by wizd(8). 2005-09-27 10:59:45 +00:00
jmcneill
4d7c3832dc Add gpioctl to set lists. 2005-09-27 02:55:15 +00:00
jmcneill
8a4ae7b995 Add gpio man pages. 2005-09-27 02:38:41 +00:00
jmcneill
9292caa332 Add sys/gpio.h 2005-09-27 02:37:03 +00:00
tron
074df7771e Add manual pages MD2FileChunk(3), MD2Transform(3) and SHA1FileChunk(3). 2005-09-26 12:24:13 +00:00
christos
395c3f1569 getenv_r and ttyname_r 2005-09-25 20:11:03 +00:00
elad
1831cf63ac New home for rmd160.h. 2005-09-25 14:27:26 +00:00
jmmv
b0085cab71 Kill the tmpfs(9) manual page; it was just documenting internal details of
tmpfs' "API" and was already rotting.

Instead, merge all the relevant comments into the code.  This includes
acknowledgements to Google's Summer of Code 2005 program (they were in the
AUTHORS section of tmpfs(9) before), so all the files need to be changed
to include this sentence alongside the title.  (Note that this was not a
requirement of the program.)
2005-09-23 15:36:15 +00:00
jmmv
2a3e5eeb7c Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 12:10:31 +00:00
christos
992367dcfc un-obsolete tetris. 2005-09-23 00:31:42 +00:00
salo
4db8c20f4c Mark tetris as obsolete. (hi christos!) 2005-09-22 17:25:01 +00:00
chs
1c08e0e246 avoid another divide-by-zero while computing geometry. 2005-09-22 15:41:14 +00:00
dyoung
f6fb08f361 Add the manual page for geodewdog(4), the driver for the AMD Geode
SC1100's integrated watchdog timer.
2005-09-22 07:31:10 +00:00
joerg
ecd31e06aa Add joerg@netbsd.org. 2005-09-21 14:25:09 +00:00
tsarna
4019a4212f pam_afslog is used in conjunction with pam_krb5 to obtain AFS tokens and
create a PAG if necessary.

Especially important for home directories on AFS.
2005-09-21 14:19:08 +00:00
simonb
5de1cebf91 Mark <sys/tprintf.h> as obsolete. 2005-09-19 03:16:40 +00:00
rpaulo
0c7a413532 /usr/share/examples/postfix/TLS_LICENSE should be installed even when
MKDOC=no. Noticed by Ralf Huvendiek <netbsd@kaervek.net> on current-users.
2005-09-17 19:33:00 +00:00
wiz
c4b850a8a6 Add man page for l{,l}rint{,f}(3), very loosely based on the FreeBSD one.
Requested by martin@
Reviewed by drochner@
2005-09-16 15:26:47 +00:00
nonaka
f4b01f6f22 Added rs5c372rtc, shpcic man pages. 2005-09-15 15:04:55 +00:00
elad
30cf53ba56 Fix copy/paste.
From Ralf Huvendiek, thanks!
2005-09-14 19:58:57 +00:00
elad
95a8b0810d Update entry for /usr/lib too.
From Hisashi T Fujinaka, thanks!
2005-09-14 18:14:51 +00:00
drochner
a8675b3763 emulate getgrouplist() directly, no need to pull in
the wrapper from libc
2005-09-14 15:54:53 +00:00
he
ea19769e49 pty.o in libutil.a wants to call getgrent_r(), so provide a cheesy
non-reentrant version here in order to avoid linker conflicts when
the rest of this file is attempted linked together with libc's
getgrent.o.

Reviewed by christos.
2005-09-14 15:31:18 +00:00
elad
8d6270e665 Introduce pw_policy(3), an easily extendable way of defining password
policies and enforcing them in programs.

Man-page written with much help and tips from David Maxwell, Hubert
Feyrer, and Thomas Klausner.

This bumps libutil minor to 7.

XXX: Need default policy to go in /etc/passwd.conf, and integration
     into local/yp/PAM password changing code.

PR/10206.
2005-09-14 11:36:52 +00:00
lukem
3b87ff7e46 Add a note explaining why we don't "obsolete" end-user configuration files.
Inspired by the fallout from the recent named.conf move.

XXX: consider fixing spamd.conf in a similar manner.
2005-09-14 00:38:39 +00:00
lukem
36476eed8b Don't mark /etc/namedb/named.conf as "obsolete" since that will cause
a file that has end-user configuration to be unconditionally removed.
Instead, remove the entry from the set list, and add a note to UPDATING
reminding users of MKUPDATE=yes to manually rectify the problem in
their DESTDIR.

The "named" fix in postinstall(8) will migrate /etc/namedb/named.conf
to /etc/named.conf if the latter doesn't exist.
(The need for these style of migrations was why I implemented postinstall(8)
in the first place.)
2005-09-14 00:32:26 +00:00
jdarrow
95cef3f6e6 Change default countdown time to 5 seconds to match i386 bootblock
defaults in sys/arch/i386/stand/lib/boot_params.S

Fixes PR install/30422 by me.
2005-09-13 23:43:22 +00:00
elad
1a75cd7fa5 - cksum -m -> cksum -a md5.
- Generate SHA512 checksums too.

Is there any reason to still generate MD5 checksums?
2005-09-13 16:38:01 +00:00
christos
f9e066d346 Prettier /etc/fstab generation (from Liam Foy) 2005-09-12 15:47:09 +00:00
macallan
dc24724129 man page for the adt7467c driver 2005-09-12 03:19:50 +00:00
dsl
0c7751d999 Don't display 'Yes' under 'Newfs' for swap 2005-09-11 20:38:26 +00:00
xtraeme
42d70a8cf2 Revert my previous commit, and put back the scan_lfs manpage... it
was removed, but now a link is created.
2005-09-11 17:39:12 +00:00
martin
5b3beb916c Reword "fullpart" message to make it shorter. Should fix PR install/31292. 2005-09-11 16:43:11 +00:00
dsl
747d6ff347 Float the menu box of menu_fullpart (all mbr disk) below the text message.
Stops the German text flowing into the box, should fix PR/31292
2005-09-11 16:42:39 +00:00
dsl
297a2f78a6 Fix a couple of md translations that seem to have got awry. 2005-09-11 08:39:08 +00:00
he
7f48103418 Provide translaqtion for set_kernel_3 via cut+paste from #2. 2005-09-11 08:03:05 +00:00
xtraeme
155bec8f6a Mask scan_lfs manpage as obsolete, now it has been removed. 2005-09-10 23:19:54 +00:00
he
b80a4384df Provide a translation for set_kernel_6 as well (cut+paste from #5). 2005-09-10 22:03:22 +00:00
dsl
e7fbd19237 Correct some messages which had the wrong number of format specifiers. 2005-09-10 21:51:12 +00:00
dsl
215bb0cb56 Count the number of '%' characters in every message and ensure the
translations have the same number as the english messages.
A quick nasty check that the messages uses as printf formats are sane.
2005-09-10 21:38:40 +00:00
he
e3c135df31 Provide a translation for set_kernel_2, copied from set_kernel_1. 2005-09-10 20:00:02 +00:00
jmmv
5404fece05 Place mount_ptyfs.8 in man-sysutil-man (instead of man-miscfs-man) to
match mount_ptyfs.0, which is in man-sysutil-catman.
2005-09-10 19:26:18 +00:00
jmmv
ec93365612 Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +00:00
dsl
0437903aaf The 'padded by' number displayed for multi-floppy images has been out by 8k
per floppy for a while.  (The rest of the sums are ok).
Change the 'padded' size to include all the space in the last 8k block
of the tar file.
Similarly if the image doesn't fit, report the exact amount of overflow.
2005-09-10 18:05:51 +00:00
dsl
2a363c8fef Add the dmesg() program to all the i386 ramdisk images and remove the
shell function implemented dmesg using 'cat /kern/msgbuf'.
This means we don't need kernfs.
2005-09-10 14:50:08 +00:00
dsl
77b0988bd6 Generate a cross-reference map file for the crunched binary. 2005-09-10 14:47:15 +00:00
dsl
f72d3abd91 For some reason this makefile descends into all the x_<prog> directories.
Since all the x_<prog> get build into crunched binaries (which does a
reachover build these days) I suspect this is entirely unnecessary.
But having deleted x_dmesg we must ensure it doesn't go there.
2005-09-10 13:24:38 +00:00
dsl
b15df8278a Nothing tries to build x_dmesg (aka dmesg with -DSMALL) any more. 2005-09-10 13:10:23 +00:00
dsl
f9535a65ed Delete the:
SPECIAL        dmesg           srcdir  distrib/utils/x_dmesg
line from all the ramdisk 'list' files.  dmesg/Makefile will add -DSMALL
if SMALLPROG is defined (which it is by Makefile.crunch).
2005-09-10 13:09:01 +00:00
jmmv
e4f5206ced Add xge.{0,4}. Hi, ragge@! 2005-09-10 10:35:25 +00:00
dsl
d1c526b434 Change the message above the selection menu for root's shell to show
the correct default (ie what happens if you type enter) of /bin/sh.
Fixes PR install/32159
2005-09-09 23:20:33 +00:00
dsl
7dfd3d6a2d Add a SMALL dmesg, should allow KERNFS to be removed 2005-09-05 20:58:35 +00:00
dsl
c7c436e94e Fix breakage from yesterday!
Don't pass crunchgen the name of its own binary as an extra argument.
(make must have silently done this when the extra argument was .PHONY)
2005-09-05 20:14:08 +00:00
kiyohara
17587c6104 Support LCD screen driver for PERSONA SH3 machines. 2005-09-05 18:54:10 +00:00
dsl
0132bc8a19 Report the exact number of free bytes in the install floppy images. 2005-09-04 19:29:31 +00:00
dsl
3047ebb391 Make ${CRUNCHBIN}.mk depend on ${TOOL_CRUNCHGEN:[-1]} instead of .PHONY.
Recreating the makefile when the crunchgen program has changed is probably
adequate, and it allows a lot of later optimisations to still apply.
In particular:
- the final link for ramdiskbin
- the create of the embedded filesystem
- the inclusion of the ramdisk into the kernel
- compressing the kernel
Unless something else actually requires one of the above.
2005-09-04 19:00:40 +00:00
kiyohara
f6c9a2641f Set variable MAKEDEVTARGETS. 2005-09-04 16:34:45 +00:00