Commit Graph

1869 Commits

Author SHA1 Message Date
wiz
5df0fc93e4 Remove /usr/share/examples/usermgmt and /usr/share/skel, since they
have been obsoleted by /etc/skel some time ago.
2000-11-18 06:05:10 +00:00
lukem
84fed31e23 start all raid[0-9].conf and raid[0-9][0-9].conf, not just raid[0-3].conf.
do in order, so that raidN.conf is started before raidNN.conf.
2000-11-17 05:43:46 +00:00
lukem
616bd9bad1 - replace IFS='.'; set -- $int; echo $2 with ${int##*.}
- can't use $configured_interfaces in network_stop(), so use `ifconfig -lu`
  instead
2000-11-17 04:19:06 +00:00
lukem
be9b3eeabc * always run status'; i.e, ignore the setting of $rcvar just like rcvar' does.
* don't barf if `force' is used and $rcvar isn't set by the script
* only do the guts of `restart' once, by setting _rc_restart_done after the
  first run through. this stops scripts which call run_rc_command more than
  once (such as nfslocking) from doing the ``stop everything/start everything''
  sequence n times.
2000-11-17 03:47:43 +00:00
matt
8c16eca0e9 Add /dev/openfirm 2000-11-14 21:21:31 +00:00
matt
7308e15009 Add support for /dev/openfirm 2000-11-14 06:55:38 +00:00
tsubai
e7cf39d85e Add wscons. 2000-11-13 19:30:56 +00:00
matt
4f839c4a48 Do the makesums out of the right directories. Create the installation
directories.
2000-11-12 00:59:05 +00:00
matt
148061c7a6 INST kernel should be under BUILD_KERNELS 2000-11-11 22:47:57 +00:00
matt
890463ed5e Add the install kernels 2000-11-11 20:56:46 +00:00
wiz
1c35e133b0 Install html documentation for libbz2/bzip2.
Reviewed by Simon Burge.
2000-11-10 02:00:09 +00:00
jdolecek
8b43f30672 Call pwd_mkdb with proper flag, so that it creates database in same
endianness as compile target. This is primarily for cross compiles.
Hopefully this method (looking into
${DESTDIR}/usr/include/machine/endian_machdep.h) is okay.

Patch sent by Andrew Brown in bin/11454.
2000-11-09 20:01:54 +00:00
jdolecek
cb5786ecbe make this REQUIRE also cleartmp, so that it's started after /tmp
is cleared, otherwise the xfs's socket might get removed
This fixes misc/10310 by Alasdair Baird
2000-11-09 00:05:31 +00:00
lukem
2775f3b901 remind people to edit /etc/*.conf instead of /etc/defaults/*.conf 2000-11-08 23:17:50 +00:00
lukem
e7241e79df remove etc/disklabels; refer to /var/backups/disklabel.* instead 2000-11-08 02:48:12 +00:00
matt
85567a9983 Make cd0c instead cd0d? 2000-11-07 23:17:41 +00:00
lukem
fa16fd6f70 when doing `status', return non-zero if the program isn't running.
request by thorpej.
2000-11-06 00:08:30 +00:00
lukem
9046e7c099 when running forcerestart', call the underlying stop' and `start'
with the `force' prefix as well
2000-11-05 23:48:14 +00:00
thorpej
0c8f484437 Make the `watchdog' device node. 2000-11-05 02:13:35 +00:00
leo
aa52914022 Commit this on HEAD as intended....
Add and md_post rule that handles the miniroot and notes goop.
2000-11-04 21:15:36 +00:00
tsutsui
bf2f674e8c Make ccd(4) and vnd(4) device files on "MAKEDEV all". 2000-11-03 11:37:56 +00:00
tron
ab161cd2e1 Add missing directories "/usr/share/locale/no@nynorsk" and
"/usr/share/locale/no@nynorsk/LC_MESSAGES".
2000-11-02 22:43:43 +00:00
tron
8203edc73c Fix typo in last commit. 2000-11-02 22:33:10 +00:00
veego
a5c364efbb Add /usr/share/locale/{da,pt}/LC_MESSAGES used by gettext. 2000-11-02 20:49:10 +00:00
pk
63a0bbd711 * Add installation/floppy' and installation/tape' directories to the
release(7) hierarchy and populate them with links to images in `bootfs'

* Remove miniroot scripts from `installation/netboot'; these are contained
  in the instfs.tgz which can be used to setup an NFS root directory (for
  installation purposes).

* Make the bootable cd-rom image using the `bootfs' filesystem, since a bug
  in the cd driver prevents us from running directly from a CD filesystem.
2000-10-31 21:18:36 +00:00
thorpej
a84221b9db Just nuke the "build aliases.db" stuff from here. It's not
necessary, as /etc/rc.d/sendmail will already rebuild DB files
automatically if necessary, and doing aliases.db here just
totally breaks cross-compiling.
2000-10-30 21:48:20 +00:00
tsutsui
90ac46632d Make md(4) device files on "all" target. 2000-10-29 13:03:37 +00:00
veego
0332a5d899 Remove some spaces at the end of the line and replace the space after
kerberos-master with an tab.
2000-10-29 07:59:07 +00:00
jmc
52645e1ee3 Moved comment about rm out of shell command area. (typo) 2000-10-29 05:16:53 +00:00
abs
977a131f8e Switch back to vt100 by default, plus comment that shark should use pc3 2000-10-26 09:55:50 +00:00
jmc
6349db47e1 Ignore errors from the rm in snap_pre. RELEASEDIR could be a mountpoint and
rm complains because it can't actually nuke the mount point. Anything serious
like permissions or I/O errors will get caught in the install's after this
anyways.
2000-10-23 01:50:37 +00:00
pk
ccbcb60028 Do `make release' in distrib/sparc/instfs. 2000-10-22 14:22:08 +00:00
pk
b3aa184674 Add target to make a bootable CD-R image. 2000-10-20 14:13:12 +00:00
pk
8d8ff0fb3f Remove references to {bootfs,ramdisk}.sysinst. 2000-10-20 14:12:01 +00:00
garbled
b1fd9718d4 When building kernels for a release (snap_kern) use "distclean" instead of
"clean" to get rid of any .depend files that might be lying about in the
kernel build directory.
2000-10-19 17:53:41 +00:00
ad
23f6f01a0d ca -> lsu 2000-10-19 14:35:41 +00:00
simonb
654fd3b749 cd to skel during "make distribution".
Part of fix for PR bin/10985.
2000-10-16 13:18:36 +00:00
simonb
964e9f16fe For "make distribution", install skel files in /etc/skel.
Part of fix for PR bin/10985.
2000-10-16 13:14:57 +00:00
simonb
5e1d11c2df Copy skel files from sharesrc/share/skel.
Part of fix for PR bin/10985.
2000-10-16 13:12:26 +00:00
kim
e26a7ce86b Setting rebuild_locatedb=NO should not tell you it didn't rebuild the db
because there is no /var/db/locate.database; it should be quiet.

Unified the use of `echo ""'.
2000-10-15 17:32:38 +00:00
wiz
e2d9ed5833 fix typo in comment 2000-10-14 17:01:29 +00:00
hubertf
144164c6e4 Fix typo in iso-image target that led to the cdrom-directory not being
excluded in the iso image (nothing harmful).
2000-10-14 16:45:42 +00:00
augustss
517687da81 Get the major no right for uscanner. 2000-10-14 12:36:05 +00:00
nisimura
585c4dc3e6 Add missing -n option of sysctl(8) booted_kernel name retrival. 2000-10-14 07:33:39 +00:00
nisimura
17e8cec25b Use && and || for logical concatenations instead of -a/-o test operators. 2000-10-09 06:11:38 +00:00
nisimura
15bcada9c3 - Remove extra 'rm -f' since file redirect safely clobbers existing files.
- Remove one sed invocation replacing it with shell internal construct.
2000-10-09 06:01:18 +00:00
nisimura
a1cd6987aa Use find(1) to search files in straight fashion with the cost of external
command invocation.
2000-10-09 05:33:53 +00:00
nisimura
fb62520419 Avoid extra command invocation as possible, and use smart variable
substitution instead.
2000-10-09 05:30:17 +00:00
nisimura
e4d2a57704 - avoid -a or -o logical operator of test command as possible. They would
introduce syntaxical ambiguousity, and having concatenation with && or
  || costs nothing because our sh(1) has test(1) builtin.
- use elif construct to avoid dungling else-ifs.
- while-read construct does not need enclosed by a sub-shell.
- variable detection could be done in eval args=\$ifconfig_$int
- smart variable substitution occationally saves lines and extra command
  invocations.
2000-10-09 05:02:14 +00:00
lukem
0c70e530af use ${foo##*/} instead of basename $foo. as suggested (with minor variation)
by Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
2000-10-07 07:36:56 +00:00
hubertf
68da9ad9ab As we ship ssh in-tree now, replace the ssh startup example with one
for apache.
2000-10-07 00:22:44 +00:00
itojun
d745652834 add ripng (521 tcp/udp). PR 11139. 2000-10-05 15:19:58 +00:00
hubertf
316c9bbfc5 the ssh pkgs now install a /usr/pkg/etc/rc.d/sshd, not
/usr/pkg/etc/rc.d/sshd.sh.

Whether the existence of this lines is useful with ssh in tree is
a seperate issue.
2000-10-05 12:46:34 +00:00
fvdl
2e9564263d Enable building of additional kernel sets. 2000-10-02 12:51:33 +00:00
thorpej
bf69b1a900 Do the `distribution' target for usr.bin/ssh, too. 2000-10-01 22:31:04 +00:00
lukem
60d3ee1b34 remove unnecessary leading `$' on warnings printed for $required_dirs
and $required_files.
2000-10-01 10:10:18 +00:00
lukem
641a3c9378 support loading ipf6.conf as well as ipf.conf.
inspired by [misc/11033] by Gregory McGarry <g.mcgarry@ieee.org>
2000-10-01 05:58:06 +00:00
lukem
b5b6e95c7b move default config files from /etc/default -> /etc/defaults, to be
consistent with what FreeBSD uses /etc/defaults for, and since SVR4
uses /etc/default for another purpose.
as discussed on tech-userlevel, and no objections were made.
2000-10-01 05:49:26 +00:00
lukem
6d52152500 move default config files from /etc/default -> /etc/defaults, to be
consistent with what FreeBSD uses /etc/defaults for and since SVR4
uses /etc/default for another purpose. as discussed on tech-userlevel,
and no objections were made.
2000-10-01 05:46:03 +00:00
simonb
ad22c8ecf6 Remove the udp entry for rsh-spx and the tcp entry for amanda. 2000-10-01 03:02:46 +00:00
fvdl
5927169fa7 Mention "a.out" in the start message to be clear about the purpose of
this script.
2000-09-29 17:49:25 +00:00
wdk
ff795bd7a3 Add "MAKEDEV minimal" target for ramdisk builds
Tidy up a few comments at the same time.
2000-09-29 11:43:48 +00:00
simonb
01c5215d95 Fix typo in comment. 2000-09-29 00:53:41 +00:00
thorpej
c949d8af3c Always install sshd. 2000-09-28 22:16:15 +00:00
abs
5aa0a5abb1 Prior art in naming would suggest INSTALL_SYSINST rather than INSTALL-SYSINST. 2000-09-28 12:46:43 +00:00
fvdl
a912989e45 Add INSTALL_LAPTOP to kernels to be built. 2000-09-27 20:05:54 +00:00
tsutsui
c725dcdb09 RAW_PART == 10 on sgimips, so adapt memory disk entry for it. 2000-09-27 10:50:37 +00:00
tsutsui
03076560df Fix memory disk entries (md?c -> md?d)
since RAW_PART == 3 on these ports.
2000-09-27 10:33:27 +00:00
itohy
60026b334e rcd0d -> rcd0c since x68k port uses c for the ``raw'' partition 2000-09-27 03:41:12 +00:00
simonb
2dfc419b59 Add rsh-spx and amanda from the IANA list. 2000-09-25 12:42:57 +00:00
augustss
8e735041d9 Prepare for USB scanners, and add Rio 500 support while messing. 2000-09-23 04:27:17 +00:00
ad
d43acf7d93 Provide the option of running newsyslog at boot time; mainly for laptop
people.
2000-09-21 10:36:02 +00:00
hubertf
6a676a7bb4 Note that rpcbind was formerly known as portmap. See PR 11055. 2000-09-21 10:15:33 +00:00
lukem
bd11504cb2 - only perform the checkyesno on the variable named in $rcvar (rather than
implicitly using $name if $rcvar isn't set), and always perform this check,
  even when using start_cmd (et al).
  this check is performed before the pidcmd
  is run, speeding up scripts that weren't going to be run anyway.
  this should speed up booting slow systems.

- take advantage of the above and remove
	start_precmd="checkyesno foo"
  in scripts that use start_cmd.

- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent
  rc.conf entry

- fix `rcvar' and `restart' when $rcvar isn't set.
  these above changes fix PR [bin/11027].

- when doing `force*', ignore the return value of *_precmd.
  this fixes PR [bin/10781].

- rename what sysdb provides from `databases' to `sysdb', to reflect
  the name of the script.

- improve the comments in rc.subr
2000-09-19 13:04:38 +00:00
msaitoh
7d8e2a2ecb etc files for evbsh3 2000-09-18 12:58:55 +00:00
wdk
82951d0f48 MD files for NetBSD/mipsco 2000-09-18 11:00:33 +00:00
is
eefbc5a70e When building a release, build miniroot and installation notes automatically,
too. Patch by Michael Hitch.
2000-09-17 19:04:39 +00:00
jdolecek
1c61a5d083 On sendmail start, check modification time of /etc/mail/aliases
and couple of other common map files and regenerate appropriate
*.db files as needed.
Idea taken from RedHat 6.2.
2000-09-14 21:03:17 +00:00
abs
9b2fc1ecc4 Create two devices for framebuffers that can have more than one card installed
Now a dual head cgsix box (for example) will work in X by default.
2000-09-14 10:00:32 +00:00
fvdl
31d5237f30 Now that kpasswdd works from inetd, also correct the entry: kpasswdd is an
udp service, not tcp.
2000-09-13 11:34:57 +00:00
minoura
ff4b8473ae Enable sram device, which is used by memswitch(8). 2000-09-12 15:00:06 +00:00
matt
fd779f8fc8 Deal with the fact the local directory may not be writeable. 2000-09-12 05:11:10 +00:00
hubertf
b4b75848de Add standalone "iso-image" target that can be run with DESTDIR and RELEASEDIR
set in src/etc after a "make release" in both "src" and "xsrc", to create a
ISO-image of the release in $RELEASEDIR/installation/cdrom.

Hook for architecture dependent pre/post-processing in etc/etc.*/Makefile.inc
are available as 'iso-image_md_post' and 'iso-image_md_pre', see
etc/etc.i386/Makefile.inc as an example. Might be useful for setting up
bootable CDs on alpha, sparc, ...

Reviewed by Todd Whitesel and Thomas Klausner.
2000-09-11 21:53:30 +00:00
augustss
2605399d1e Create ./usr/share/examples/kerberos so that `make install' works again. 2000-09-11 03:00:29 +00:00
matt
eb47049370 We actually do know about KERNOBJDIR so use it. 2000-09-10 22:04:27 +00:00
christos
b4266bbcb7 PR/10982: kilbi@rad.rwth-aachen.de: Don't confuse printf with usernames
that start with -.
2000-09-10 21:27:50 +00:00
jdolecek
cd0b41e240 modload: use kernel name obtained via sysctl machdep.booted_kernel if the sysctl
is available and file it points to is readable
2000-09-10 16:50:05 +00:00
joda
9482480921 rename the old BSD kpasswd' to it's secondary name kpwd', since
`kpasswd' is officially assigned to another port
2000-09-10 14:43:28 +00:00
lukem
42655f8ee9 REQUIRE ipnat and mountd.
fixes PRs [misc/10958] and [misc/10959] by Mike Santos <mike@ethmoid.org>
2000-09-06 01:05:43 +00:00
enami
f35cb8ff6d Add an entry for optional dumpdates. 2000-09-05 05:48:54 +00:00
abs
23551b0530 Run 'make release' in sysinst distrib dirs 2000-09-04 16:34:13 +00:00
is
0a7489b1e8 Enlarge RAMDISK to make it fit the installation fs again.
By Mike Pumford per port-arm32 mailing list..
2000-08-30 21:29:16 +00:00
is
e2f977d871 Add smaller install kernels. 2000-08-29 21:14:31 +00:00
hubertf
389581c1cf run skeyaudit, if run_skeyaudit is set to yes 2000-08-25 01:11:42 +00:00
jhawk
2ea44b1dd4 install dosboot.com in the release(7) hierarchy. 2000-08-23 21:00:46 +00:00
jhawk
3635b53ea7 As .ifndef RELEASEDIR checks for targets:
snap_pre snap_md_pre snap_md_post
so should .ifndef DESTDIR
2000-08-23 20:48:42 +00:00
jdc
6e3eddc4dd Make the 3rd and 4th serial ports on a 4/300 work again - ttyc and ttyd are
now minors 2 and 3 respectively.
2000-08-23 10:43:08 +00:00
abs
671e8ba97c unxexpand -a 2000-08-22 11:31:28 +00:00
mrg
7396e4ef69 for PCIIDE users. 2000-08-22 05:33:27 +00:00
lukem
ebc99afce8 sort lines. add nonlocalswap, securelevel 2000-08-21 23:39:07 +00:00