Commit Graph

4209 Commits

Author SHA1 Message Date
pooka
e7c0f40884 .. then jump through the mtree hoops for adding a test 2010-03-29 18:21:29 +00:00
jakllsch
4af989b1cc Make device node for altq JoBS.
Should fix palindromic PR/43034.
2010-03-23 19:22:41 +00:00
pooka
3a8a23ba3e don't create obsoleted directories 2010-03-21 13:26:10 +00:00
jmmv
8199472ae1 Add the /usr/tests/sys/rc directory. 2010-03-15 19:00:53 +00:00
jmmv
bff64ddc47 Allow the run_rc_command function in rc.subr to pass extra parameters to
the command being executed.  This is to allow rc.d scripts to do:

    run_rc_command "${@}"

instead of:

    run_rc_command "${1}"

and let the command handler (start, stop, etc.) receive the arguments after
the command name.

None of the default commands allow extra arguments, and they will error out
if any are given.  This is mostly useful for script-specific commands that
are only supposed to be used through the command line and, therefore, need
to provide a friendly interface.

Proposed in tech-userlevel@.  No major objections except for some minor
concerns regarding whether this should be allowed or not at all.  Note that
I'm not touching any of the rc.d scripts in the base system, so this is
effectively a no-op from the user point of view.
2010-03-15 18:59:47 +00:00
mrg
4b35b5643b convert sparc64 to MULTIPROCESSOR kernel by default, and introduce
s/MP/UP/ kernels were otherwise in place.

in my testing on a U60, i couldn't really notice any different in
speed, but we need testing on a U1/U5/U10 systems to be sure that
GENERIC.UP isn't necessary.

for sparc64, this is some what required as USIIIi systems have the
memory controller on the CPU, and unless the CPU is spunup, a UP
kernel will not function on these systems.  (we obviously need to
join the NUMA-for-netbsd camp now, too! :-)


this should enable the installer to function on all systems that we
support, but also give the option for people to install GENERIC.UP
on their single-cpu systems if they choose.


XXX: i haven't actually tested sysinst with this, but i have built
both sparc and sparc64 release iso's successfully with this change
(sans having to comment out kern_ctf.c.)
2010-03-13 08:36:06 +00:00
roy
f4a46cfc64 Change the default console from wsemul_sun/sun-ss5 to wsemul_vt100/wsvt25.
This allows for a colour console, fixes home/end keys not working and
works with the embedded wsvt25 description in libterminfo.
2010-03-12 14:50:54 +00:00
plunky
cb3859a13e include ttyHS0 in usbs target [for uhso(4)] 2010-03-06 21:33:20 +00:00
plunky
800cedea24 Add uhso(4) driver and manpage for Option N.V. Wireless WAN modems 2010-03-06 21:05:36 +00:00
christos
55499e9fb3 Exclude root, since that is done in fsck_root. 2010-02-17 23:32:07 +00:00
mrg
c291955dfd only fsck / if we find it in /etc/fstab. diskless systems don't need
a / entry.

XXX: still get an error from "mount /" in etc/rc.d/root itself.
2010-02-16 02:46:02 +00:00
pgoyette
82c7774043 Add cases for new {high,maximum}-capacity events 2010-02-15 22:56:13 +00:00
jmmv
53cb2117e8 Deprecate the pkgdb_dir settings from daily.conf and security.conf in
favor of the PKG_DBDIR variable in /etc/pkg_install.conf.  The purpose
of this is to only have to define the location of the packages database
in a single place and have all other system components pick it up.

pkgdb_dir is still honored if defined and the scripts will spit out a
warning in that case, asking the administrator to migrate to the
PKG_DBDIR setting.  We can't remove this compatibility workaround until,
at least, after NetBSD 6 is released.
2010-02-05 16:29:02 +00:00
roy
89d790bdbe Move the emergancy terminfo database from /root to /rescue. 2010-02-05 09:44:23 +00:00
roy
70f7be699b Install a minimal .terminfo and .terminfo.db in /root.
This allows terminfo to be used when /usr is not available.
Fixes PR misc/6879.
2010-02-04 21:01:16 +00:00
jmmv
224ba7b2c8 Reset the umask while refreshing the vulnerabilities database so that it
remains world-readable.  Otherwise, it ends up with 600 permissions which
make it unusable for building pkgsrc packages as non-root.

Problem found by wiz@.
2010-01-27 16:22:41 +00:00
wiz
ad9684dee2 Install mom macro sets again, per request from Petar Bogdanovic.
Don't install generated PostScript files that were part of the reason
for the removal.

Based on a patch by him with slight changes.
2010-01-26 15:11:56 +00:00
joerg
1ca41e3237 Add a regression test for the SHA2 family that also checks for unaligned
accesses.
2010-01-24 21:12:17 +00:00
drochner
9b670cd37e fix an obvious typo in directory check 2010-01-23 17:44:44 +00:00
jmmv
8026500970 Default fetch_pkg_vulnerabilities to NO and complain if it is set to that
value when packages are found (so that the user knows he is not getting the
vulnerability checks).

Why?  People is complaining.  (And somehow, the argument that NetBSD doesn't
do any network operation by default convinces me that it should continue to
do so.)

But still, I will be adding a question to sysinst to enable/disable this.
2010-01-20 22:19:20 +00:00
jmmv
497b5f8044 Add the fetch_pkg_vulnerabilities option to the daily script to keep the
packages vulnerability database up to date.  This will only fetch the
file from the server if it has changed since the last run.

Add the check_pkg_vulnerabilities and check_pkg_signatures options to the
security script to check that the installed packages are sane.

All of these options are enabled by default but they will only run if
there is, at least, one installed package.
2010-01-19 22:08:11 +00:00
ahoka
f582d2426d Add examples to make switching wscons to ISO 8859-2 as easy as removing
some hashmarks.
2010-01-18 17:10:29 +00:00
jdc
568b4a7807 Add RSC ports (ttyh2, ttyh3) to all_md. 2010-01-18 10:35:18 +00:00
plunky
2ad83ccc31 also clean up NetBSD.dist.tmp as if a second build is done without the
NetBSD.dist changing, the tmp file will remain.
2010-01-18 10:25:29 +00:00
dholland
fd438cf632 Fix previous: use correct mode as well as owner/group.
My bad. PR misc/41544.
2010-01-12 04:44:06 +00:00
dholland
39f1d3fefb Fix installation permissions of /var/db/locate.database as per PR misc/41544. 2010-01-10 06:13:25 +00:00
elad
4fc2067c9d Securelevel might not be present, properly complain instead of printing
error messages from sysctl(8).
2009-12-29 17:06:10 +00:00
nonaka
bec75c8a18 delete makedev init from all_md entry. 2009-12-22 11:12:40 +00:00
uebayasi
ba7d4fb746 Make sure NetBSD.dist is updated when MKX11 is changed across update builds. 2009-12-18 04:12:36 +00:00
uebayasi
db427a195a NetBSD/mips64e[bl] userland is default to N32 ABI. It needs /usr/lib/o32
for O32 ABI and /usr/lib/64 for N64 ABI.
2009-12-14 13:23:56 +00:00
matt
1819481222 Merge from matt-nb5-mips64 2009-12-14 01:11:02 +00:00
nonaka
f97268b43d Added keyboard config files for Sharp Zaurus SL-C3x00. 2009-12-13 04:57:16 +00:00
mrg
c7b40f92d5 create /usr/lib/{i386,sparc}{,/security,/i18n} here, where they belong. 2009-12-13 01:02:25 +00:00
mrg
68657e0e89 replace NETBSD_DIST_X11_FILE and NETBSD_DIST_EXTSRC_FILE with EXTRA_DIST_FILES 2009-12-12 01:32:10 +00:00
he
66597865fb Move the test for evbppc out of sets.subr and into bsd.own.mk, to
decide whether to make kernel modules: set MKKMOD to no for evbppc.
Use this in etc/Makefile to decide whether to do the "modules"
obsolete sets.  Move the ./var/db/obsolete/modules entry from the
"mi" to the "module.mi" file set.

Fixes the build for evbppc.

Discussed with uebayasi@
2009-12-11 15:22:33 +00:00
nonaka
5210b539fa remove init entry.
add floppy entry.
2009-12-07 10:03:37 +00:00
pooka
70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
pooka
4098e2664f Install obsolete lists for modules. 2009-12-05 19:14:39 +00:00
pooka
d6224f4507 Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
uebayasi
d166c4bf28 Support "extsrc", externally added programs and libraries. Users can write
their own reach-overs, cross-build, install, and get set files just like base
and X11 / X.org.  (These sets are not included as TNF releases.)
2009-11-30 16:13:22 +00:00
roy
dae79facc9 Hook openresolv into build. 2009-11-21 03:24:30 +00:00
drochner
9589066022 remove some unnecessary .OBJDIR prefixes in make targets
being here, add NetBSD.dist to CLEANFILES
2009-11-19 19:57:40 +00:00
tsutsui
468a515b3b Add a commented out "encoding us.swapctrlcaps" line as a popular example. 2009-11-15 07:43:13 +00:00
is
cc125f84ea Install a.out version of INSTALL kernel in release. Slightly modified
from a patch provided by Izumi Tsutsui as response to PR 41672.
2009-11-06 12:31:44 +00:00
stacktic
8acc973dc4 Fixed NetBSD.dist target 2009-11-02 10:23:40 +00:00
plunky
b2965573f9 add ATF tests for libevent 2009-11-02 10:15:45 +00:00
tsarna
6022b5b8d4 Major enhancements to mdnsd nsswitch support:
- nss_mdns renamed to nss_multicast_dns for clarity and less chance of
   confusion with nss_mdnsd (see next).
 - Support using mdnsd for all unicast too with new nss_mdnsd module
   (note: this mode requires an updated mdnsd too, not yet committed)
 - Implement resolv.conf "search" directive support. Needed for nss_mdnsd,
   potentially useful with nss_multicast_dns (you could now do
   "search example.com local" in resolv.conf if you wanted to and it would
   act as you might expect)
 - Add references in nsswitch.conf man page and sample file
 - Implement AI_CANONNAME
 - Various bug fixes
2009-10-25 00:17:06 +00:00
haad
f6e34e608b Add zfs volinit command, suggested by tnn@ this will initialize all zvols
defined in a system. So they can be mounted from fstab as regular block
devices.
2009-10-18 21:58:37 +00:00
stacktic
bafb6c06d9 Fixed build with read-only source tree. 2009-10-18 12:41:06 +00:00
tron
2af3a92c12 Add directory "/etc/zfs". 2009-10-12 08:54:19 +00:00