Commit Graph

4414 Commits

Author SHA1 Message Date
jmmv
df453a7e8b Add dirs for libpthread tests. 2010-07-16 15:43:23 +00:00
jmmv
5ff82976a0 Add new tests dirs. 2010-07-16 13:56:52 +00:00
christos
7c27588142 make sparc64 search for sparc man pages for now. It might be better in
the long run to choose a different name for shared drivers though. Fixes
PR/18273.
2010-07-09 15:08:09 +00:00
christos
855db0253a add {man,cat,html4}/x86 2010-07-08 20:13:19 +00:00
njoly
d7d48e5d3f +./libdata/firmware/upgt 2010-07-06 23:33:28 +00:00
pooka
143a035ae5 +fs/puffs/h_dtfs 2010-07-06 14:47:48 +00:00
pooka
0fd3db8269 +testdir 2010-07-06 14:10:26 +00:00
mrg
10e130c4e6 add ./usr/libdata/firmware/radeon 2010-07-05 20:57:19 +00:00
njoly
1511eb19e2 Add test program that use sample code from kern/41937, and fs rump
helpers to check currently supported filesystems.

t_rmdirrace (1/1): 5 test cases
    ext2fs_race: Passed.
    ffs_race: Passed.
    msdosfs_race: Passed.
    sysvbfs_race: Passed.
    tmpfs_race: Passed.
2010-07-05 12:53:58 +00:00
pooka
c60e7744b1 the usual testdir boogie-woogie 2010-07-04 19:33:18 +00:00
njoly
8f58c357eb -./usr/libdata/debug/usr/tests/atf/test_programs
+./usr/libdata/debug/usr/tests/atf/test-programs
2010-07-03 15:29:22 +00:00
jmmv
fce55510a6 Adjust directories for atf 0.10. 2010-07-03 08:14:47 +00:00
pooka
9a0b38b6a5 more mtree fun for everyone with testdirs 2010-06-28 19:05:54 +00:00
pooka
2ae8bd1618 tests/lfs 2010-06-28 09:45:47 +00:00
spz
280a89ac22 i.root-servers.net. gained AAAA 2010-06-18 05:53:39 +00:00
pooka
48eab2d7f9 tests 2010-06-16 19:30:11 +00:00
pooka
00ce6b3c83 tests/fs/ptyfs 2010-06-14 14:53:08 +00:00
phx
15666f2d4c Adapted for NAS systems. Use vt100 with 115200bps instead of Pc3 console. 2010-06-13 15:30:37 +00:00
pooka
c46b8723d4 update 2010-06-10 22:04:52 +00:00
phx
39b0fd3abd The sandpoint port is now focussed on 824x based NAS boxes.
Replaced GENERIC by GENERIC.NAS.
Added INSTALL_KURO for KuroBox.
GENERIC.NAS and RAMDISK are no longer needed.
2010-06-09 17:34:32 +00:00
pooka
7560245bb8 arbor days are here again 2010-06-09 12:38:15 +00:00
christos
2ae8ee3aef use modulo instead of logical and. from pooka 2010-06-08 18:04:17 +00:00
christos
a3299c9005 explain why this code is there. 2010-06-08 13:48:58 +00:00
jruoho
f4cbf9faff Add "optional" keyword to rc.d/xdm and rc.d/xfs. Fixes PR misc/43307. 2010-06-07 04:48:47 +00:00
christos
d6169708b4 fix conditional, from dholland. 2010-06-06 12:37:57 +00:00
christos
520fd1e568 print human readable exit code. 2010-06-04 18:42:54 +00:00
christos
6583128e8d Add machine class manual paths. No manual pages have moved yet. 2010-06-04 18:42:32 +00:00
jmmv
b74ee5cefd Remove directories not required by atf-0.9 any more. 2010-06-04 08:35:35 +00:00
wiz
7163aafc26 Fix typo in sdpd, reported by Jukka Salmi in PR 43401.
This also affected bthcid, so I also fixed it there.
2010-06-01 21:08:13 +00:00
phx
d0e01c74e7 Make /dev/satmgr (Sandpoint-MPC824x specific) and /dev/power devices. 2010-05-30 10:17:33 +00:00
ghen
3d292e1813 Update to xkeyboard-config 1.9. 2010-05-28 17:17:12 +00:00
phx
56fbd52613 Make sure tty00 and tty01 are linked to com(4).
The default for the unified PPC devices was to set a hard link to ttyZ*,
which uses the zstty(4) driver (not used on any Sandpoint board so far).
2010-05-26 16:58:13 +00:00
mrg
d7630e6d89 intall libkms.h into the right place. fix some libdrm_radeon issues. 2010-05-22 23:19:44 +00:00
mrg
bd00795b4c deal with libdrm 2.4.40: new / moved headers, libdrm_radeon. 2010-05-22 23:03:13 +00:00
phx
b2b23a924e Excluded KUROBOX from GENERIC.NAS because console is on a different port.
Add INET6 option to GENERIC(.NAS).
Build KUROBOX kernel together with GENERIC and GENERIC.NAS.
Patch submitted by Toru Nishimura.
2010-05-17 22:52:17 +00:00
jmmv
be1bfc9e29 Update directories to match the atf 0.8 layout. 2010-05-08 08:13:12 +00:00
lukem
c786d8f8ac /usr/libdata/debug/usr/X11R6/lib 2010-05-08 05:04:58 +00:00
joerg
0246da9a5b Add a note to run services_mkdb after modifications. 2010-05-05 13:27:17 +00:00
hubertf
7c6ec9ae43 Add RCS ID, per PR 43243 2010-05-03 17:15:58 +00:00
skrll
7d9f1f6afe Allocate a major number for pci and created device nodes. 2010-05-03 08:45:43 +00:00
skrll
020f8ac55b Create tty0[0-3] devices. 2010-05-03 07:11:25 +00:00
lukem
9f5405f793 Fix MKDEBUG=yes for libraries on sparc64 for base. 2010-04-29 14:09:10 +00:00
lukem
617c68913a Fix MKDEBUG=yes library builds for amd64 2010-04-28 09:55:25 +00:00
lukem
a6b1868168 usr/libdata/debug directories for X11R7 2010-04-27 05:34:15 +00:00
dyoung
064e864242 Describe in a comment what the emit_dist_file target is for.
Under some circumstances, ${TOOL_CAT} may refer to an executable
that does not exist.  As a stopgap fix, use cat(1) instead of
${TOOL_CAT} in emit_dist_file.
2010-04-27 03:01:25 +00:00
lukem
cea1219aca add usr/libdata/debug/usr/lib and usr/libdata/debug/usr/lib/i18n 2010-04-27 02:51:04 +00:00
dyoung
ca088e5210 Do not try in postinstall(8) to replicate the code in etc/mtree/Makefile
that assembles /etc/mtree/NetBSD.dist.  Instead, use the Makefile's
new target, emit_dist_file, to assemble the correct NetBSD.dist.

Previously, 'postinstall -m amd64 -s $SRC_TOP' would install a
NetBSD.dist that was missing /usr/lib/i386/ et cetera.
2010-04-23 19:21:08 +00:00
pooka
4c1500491b bend over 2010-04-21 11:11:32 +00:00
pooka
e5f02a189b Also create ugen[123] by default -- my laptop attaches 2 ugens
already with just the builtin devices.
2010-04-19 04:34:42 +00:00
nonaka
b62fc9e203 Added Sharp W-ZERO3 series support. 2010-04-17 13:36:21 +00:00
pooka
994e33429b Build & install msdosfs snapshot test and deal with the happy happy
joy joy setlistdist etcetc. stuff.
2010-04-13 10:27:52 +00:00
nonaka
238763f6ce Added support following boards.
- AlphaNet MS104-SH4
- TAC T-SH7706LAN Ver.3
- TAC T-SH7706LSR Ver.1
2010-04-06 15:54:29 +00:00
pooka
b433d14156 add necessary build bucatini for kernfs tests 2010-03-31 19:18:39 +00:00
mrg
99c2a7aed7 make sure we pickup the powerpc majors file on powerpc64.
from dennis.c.ferguson@gmail.com in PR#43074.
2010-03-30 07:30:03 +00:00
pooka
cd45f4588a add nullfs/umapfs tests to setlists etc 2010-03-30 01:11:17 +00:00
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
snj
f69ea56c7a Move libdrm headers up one level (out of the X11 directory) to match
the rest of the world and fix the inconsistency with libdrm.pc.
Fixes PR xsrc/42126.
2009-10-08 19:06:49 +00:00
tron
8b451badf9 Add proper error reporting via the return code:
Remember if any of the "route" commands failed and return an error in
that case.
2009-10-07 08:06:11 +00:00
tron
9435d86beb Add a "return 0" to avoid incorrect error returns because we ran out of
lines to read from "/etc/route.conf".
2009-10-07 07:51:28 +00:00
haad
cc9255a89b Add support for mounting zfs filesystems to mountall script. ZFS configuration
is stored in /etc/zpool.cache and it is automatically loaded to kernel from
filesystem. Filesystems are then configured accordingly to their properties
loaded from cache file.
2009-10-05 22:39:27 +00:00
christos
875c2ae09f mdnsd home should not be /var/www! 2009-10-04 01:40:53 +00:00
mrg
0086b255f2 don't create xkb/compiled as a directory any more. 2009-10-02 00:00:59 +00:00
tsarna
a4329df0cc mdnsd enhancements and fixes:
- Enhance the built-in drop-privs support and use it instead of
  having the rc.conf do it. Avoids log error on startup.
  From OpenSolaris, with enhancements.
- Add dumping of the unicast server list to the DumpStateLog
  debugging output, a'la Mac OS X.
- Fix a locking botch that caused warnings in the log.
- Fix FILE leak. From OpenSolaris.
2009-10-01 16:36:20 +00:00
tron
65817d0cbb Build the "MONOLITHIC" kernel configuration by default and include
in the release.

Using the modularise "GENERIC" kernel on an existing NetBSD 5.0 system
is difficult and error-prone. The "MONOLITHIC" kernel provides an
easy way to test a new kernel or to upgrade an existing system.
2009-10-01 11:51:03 +00:00
apb
db5a8e6176 Document the fact that wpa_supplicant won't start properly unless
/usr is mounted by mountcritlocal.
2009-09-30 18:17:22 +00:00
tsarna
a8bcd3b5c3 Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. 2009-09-29 23:56:26 +00:00
mrg
00c85a89af add drm to the big comment at the top 2009-09-25 06:06:04 +00:00
pooka
b4d274c027 add regression tests for dlinfo() 2009-09-24 21:33:45 +00:00
apb
27a9530c2c Adapt /etc/rc.d/swap1 and swap2 scripts to the new meaning of
exit status 2 from swapctl(8).
2009-09-24 16:45:48 +00:00
christos
d7866d8f52 fix dri/drm confusiog 2009-09-24 14:53:36 +00:00
dholland
84e9f6e9f9 Make rtsold_flags default to -a as per PR 39657. 2009-09-19 19:47:48 +00:00
tron
ca1f9d61ae Remove "/etc/postfix/postfix-script" as the file was obsoleted by
the upgrade to Postfix 2.6.x.
2009-09-17 11:52:02 +00:00
apb
1e2ed7f3ca Fix some errors in the way scripts with "KEYWORD: interactive"
are handled.  There was an inverted test, and "set $_args"
had the wrong scope (in several nearly-identical blocks of code).
2009-09-14 22:30:30 +00:00
apb
a83419cd12 Check whether a core dump exists before trying to save it. This should
prevent /etc/rc from thinking that /etc/rc.d/savecore failed.
2009-09-14 17:34:56 +00:00
apb
70472a4826 Add the ability for file systems mounted via mount_critical_filesystems()
in rc.subr to be marked as optional.  This means that it's not an
error if the file system is not mentioned in /etc/fstab.  It is
still an error if something else goes wrong.

Change the defaults for these two variables in /etc/defaults/rc.conf:
critical_filesystems_local="OPTIONAL:/var"
critical_filesystems_remote="OPTIONAL:/usr"
2009-09-14 12:05:12 +00:00
degroote
2d48ac808c Import pfsync support from OpenBSD 4.2
Pfsync interface exposes change in the pf(4) over a pseudo-interface, and can
be used to synchronise different pf.

This work was part of my 2009 GSoC

No objection on tech-net@
2009-09-14 10:36:48 +00:00
apb
2fc6cb0baa It's print_rc_metadata, not rc_print_metadata. 2009-09-12 17:40:01 +00:00
cegger
e72611bc37 backout rev. 1.59. Will be re-done differently. 2009-09-11 21:25:07 +00:00
apb
3a49704c6b Adapt /etc/rc.d/cgd script to the new /etc/rc:
Add "KEYWORD: interactive" so that prompting for passwords work, and
use print_rc_normal to print a message that could safely be suppressed.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:18:03 +00:00
apb
bd87591cb3 Adapt /etc/rc.d/bootconf.sh script to the new /etc/rc:
Add "KEYWORD: interactive" so that the script's prompts work,
and use rc_print_metadata to add a message to the log.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:17:43 +00:00
apb
89fd535731 Add a postprocessor to /etc/rc, which logs messages to /var/run/rc.log,
and which can suppress output in silent mode.  Silent mode is enabled
via the new rc_silent variable, which defaults to a value that depends
on the kern.boothowto sysctl.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:17:04 +00:00
he
3da5eccbbc Allow builds without X11 to succeed. The previous change when used
in this situation caused the contents of ${.CURDIR} to be cat'ed
into the generated NetBSD.dist mtree spec file, resulting in
${DESTDIR}/var/yp/binding/<garbage> being created, causing set list
check failure at the end of the build.
2009-09-08 09:57:32 +00:00
cegger
eb4ebcd11a Do not flush routes if root file system is nfs mounted.
Fixes boot problem when the nfs server is in a different subnet.
2009-09-08 08:56:33 +00:00
skrll
8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
mrg
cfb8df7f4f install the fontconfig files into /etc/fonts/conf.avail, and symlink
the default ones into /etc/fonts/conf.d, as per default.

reported by jukka marin on netbsd-users.
2009-09-07 21:07:02 +00:00
mrg
2bd0cf0757 - do not create X11 subdirs always anymore
- we now only create them when building X11, and only create the ones
  we need (X11R6 xor X11R7)

- all these subdirs are now in the xbase set

- move the logic for running mtree into etc/mtree/Makefile

- split NetBSD.dist into 3 files, and have the build and postinstall handle
  creating a possibly merged one.  we still have a single installed file
  called "NetBSD.dist".
2009-09-07 19:34:29 +00:00
sborrill
b88195cfa1 hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio*	at pci? dev ? function ?
hdafg*		at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio
2009-09-06 17:25:55 +00:00
apb
7259650e89 Delete a line that was accidentally included from work in progress. 2009-09-06 12:30:45 +00:00
apb
cd291484dc Change multiple spaces to tabs on one line 2009-09-05 16:45:33 +00:00
apb
89432e7545 * Use functions from rc.subr, and indent the code.
* Add "KEYWORD: nostart", so /etc/rc doesn't try to run this (it would
  have been harmless anyway).
2009-09-05 16:26:07 +00:00
apb
660b31de3a Use functions from rc.subr. 2009-09-05 16:24:03 +00:00
tsutsui
d73f433280 netbsd.org -> NetBSD.org for URLs. 2009-08-26 11:15:25 +00:00
nisimura
43f486267a - add GENERIC.NAS to a standard sandpoint distribution. 2009-08-24 14:17:05 +00:00
mrg
1ef7a9ffe7 install the xorg "protocol.txt" file. 2009-08-23 09:05:44 +00:00
tsutsui
d22727cf79 Build PMPPC kernel on release.
XXX1: distrib/notes/common/contents needs to be updated as noted in comment
XXX2: should we also build VIRTEX kernels?
2009-08-21 16:57:08 +00:00
spz
1d42efedba add morden, mollari, pkgbuild and build
adjust funtion names' keys
add the proper names of hosts too in preparation of their function moving
2009-08-20 16:26:55 +00:00
perry
a8420debfe Explicitly set a BEFORE on ntpd, as this can't run while ntpd is
running.

Apparently it is rare for rcorder to place it after ntpd but there was
previously nothing actually preventing it.

Fixes PR 40707 by Ondrej Tuma
2009-08-03 18:43:48 +00:00
perry
b3d763cf9b ntpdate can't work without named because a modern ntp.conf has dns
names in it. We therefore now depend on it.

However, this would have then created a circular dependency because named
depended on "SERVERS", and racoon was before SERVERS and required kdc,
and kdc needs the time to be right and thus depended on ntp.

Instead, have named depend on NETWORKING (so that there is a network
there), mountcritremote (so we know that named has a directory to work
from) and syslogd (so that named has some place to spew information).

I'm not sure this is perfect, but it is certainly a big improvement
over constantly failing ntpdate runs during boot.
2009-08-03 17:45:48 +00:00
mbalmer
70d654f756 Document recent gpio(4) changes and introduce a new config file for GPIO.
Integrate with the startup scripts in /etc/rc.d.  Introduce new variable
"gpio" for /etc/rc.conf.
2009-07-25 16:20:10 +00:00
christos
6d36a1a3fe sync; adds v6 address for L. 2009-07-24 16:34:02 +00:00
njoly
b5ed1c3306 Add usr/libdata/debug/usr/tests/lib/libc/string for MKDEBUG build. 2009-07-22 14:24:01 +00:00
joerg
974b291a6c Add popcount(3) and the long and long long version. Name is inspired by
gnulib, the implementation goes back to the AMD Software Optimizer
guide. A number of platforms will want to replace the C version with
assembler code using native instructions.
2009-07-21 13:18:43 +00:00
mrg
1cb295e0ed what was usr.bin/ssh is now openssh/bin, not openssh/bin/ssh. 2009-07-21 00:48:29 +00:00
mrg
c0b992d345 enter the right bin/ssh subdir for "configinstall".
HI CHRISTOS!
2009-07-21 00:28:35 +00:00
joerg
d6e219476b Add a fast, platform independent hash function to libc.
The algorithm used is the Jenkins hash.  The name (mi_vector_hash)
reflects the nature of the hash function.
Add glue for libc ATF tests and include a test case to make sure that
(mis)alignment and endianess are handled correctly.

Bump libc minor to 169.
2009-07-20 17:03:36 +00:00
tsutsui
78b680c5cf Revert previous per comment from ad@ in PR 41668, which is no longer orphaned. 2009-07-16 10:43:22 +00:00
tsutsui
73cf34a890 Add MONOLITHIC kernel to i386 release binaries. PR#41668 2009-07-15 14:11:02 +00:00
christos
87fc4e29f5 1. centralize the fsck error handling
2. don't check if root is on nfs
3. reboot -n if root was modified as the manual page suggests
2009-07-10 20:02:21 +00:00
mrg
c4166bec0e fix previous to actually pay attention to the unit number.
noted by drochner.
2009-07-05 21:35:16 +00:00
hubertf
0a18836e5a Make the section on private networks more clear - inspired by RFC.
OK core@
2009-07-03 22:32:55 +00:00
mrg
74a0f508b7 create a /dev/dri/card0. fixes PR#40952. 2009-07-03 06:33:56 +00:00
tron
7d5e451c60 Switch to building Postfix 2.6.2 via "external/ibm-public/postfix". 2009-06-23 17:58:22 +00:00
christos
3baf6d1ea8 now that pwd_mkdb does not change the version, warn if we still have version
0 databases.
2009-06-18 22:00:04 +00:00
christos
7d8bcc8fa4 makedir for real this time. 2009-06-14 21:34:15 +00:00
christos
cf38d7e34a Use makedir, from M. Levinson. 2009-06-14 20:01:04 +00:00
christos
3b863a2f5d absolute paths are not allowed here. from Anon Ymous 2009-06-14 13:18:02 +00:00
pgoyette
fdcbe744db Long-overdue update. Need to handle both {warning,critical}-capacity
events.
2009-06-13 15:35:10 +00:00
mrg
ee5acb3c1c add the new subdirs used by xkeyboard-config. 2009-06-11 05:40:18 +00:00
mrg
02fb05a57b install pci.ids somewhere so that libpciaccess can find it. 2009-06-10 02:20:13 +00:00
bouyer
d478d33fa1 Add support for fr_*.UTF-8 locale. Setting LANG to fr_*.UTF-8 won't get
the message catalog right (they're encoded in iso-8859-1), but other locale
functions should work right.
Proposed on tech-userlevel on 20 May 2009.
2009-06-03 18:47:05 +00:00
pooka
355dcf3a3b Install agr ioctl header and stop putting our hand under the sys skirt
in ifconfig.
2009-05-26 21:58:31 +00:00
ad
63e35cb9ab Create /dev/zfs and /dev/zpool/. 2009-05-23 22:29:14 +00:00
njoly
1ab0e3e71a Remove obsolete ./usr/include/openpgpsdk 2009-05-18 12:50:41 +00:00
ad
35f9ffd80d Clearer wording when nagging about root logins. 2009-05-15 23:57:50 +00:00
roy
da87763c6e Only start dhcpcd per interface if not running the full dhcpcd daemon.
Only stop dhcpcd pre interface if it's running for the interface.

Fixes PR bin/40320
2009-05-14 15:33:36 +00:00
ginsbach
c8da0e5fef Add the getdate(3) function and getdate_err value, conforming to IEEE
Std 1003.1 (``POSIX.1'') and the Open Group Base Specifications X/Open
System Interfaces extension (``XSI'').
2009-05-14 02:37:35 +00:00
elad
a31136d3d3 verified executable -> Veriexec. 2009-05-10 14:19:28 +00:00
pooka
80be26da9a add regression test for module init/fini in rump 2009-05-02 16:02:18 +00:00
tsutsui
0cd2869469 Add necessary files for build.sh -m rs6000 release.
Based on PR port-powerpc/40421 from Wojciech Galazka,
with misc tweaks by me.

Note sysinst part is not pulled because there is
no supported storage device yet on this port.
2009-04-30 12:47:39 +00:00
roy
6bdecd9c27 Add an rc.d script for dhcpcd(8) 2009-04-28 23:30:34 +00:00
apb
49e8137612 Do nothing if root file system has fs_passno=0 in /etc/fstab.
(It might be better to change fsck(8) so that "fsck -p" always checks
fs_passno, whether or not file systems are specified on the command
line.)
2009-04-28 13:08:51 +00:00
reed
9a8032873e Get rid of extra space in Usage statement. 2009-04-28 03:03:52 +00:00
njoly
a6ba76a6cd Add some missing entries to fix MKDEBUG build on alpha.
Looks good from tsutsui.
2009-04-27 14:22:40 +00:00
nonaka
dcb81fa7ce Add sysmon for powerd. 2009-04-27 08:06:02 +00:00
christos
923c91a5d0 handle new directory structure. 2009-04-25 15:46:19 +00:00
christos
61af394aa4 PR/41273: Martin Mersberger: missing '/' in /etc/rc.d/named in section
named_migrate
2009-04-24 14:26:02 +00:00
tsutsui
e2832ec4e0 Create cksums for files in ${MD_INSTALLATION_DIRS}. 2009-04-23 14:38:58 +00:00
apb
aff2f5a7b4 Create DESTDIR using HOST_INSTALL_DIR, not INSTALL_DIR, because
INSTALL_DIR would want to write to the metalog, and it can't do that
if the metalog is inside DESTDIR but DESTDIR doesn't yet exist.
This allows some XXX comments to be removed.
2009-04-23 11:29:29 +00:00
christos
ad38869bc4 Adjust for new default location of the pid file. 2009-04-22 18:27:03 +00:00
joerg
e7f29a3386 Split fsck during boot into two phases. Check the root file system
first, mount root and run the various disk providers. Add swap and
check the remaining file systems after that.
This breaks the dependency cycle for lvm, which needs writeable /dev.
Depend on rndctl in cgd.
2009-04-21 16:08:57 +00:00
nonaka
e4c8dd676a Add ld0 for SD/MMC. 2009-04-21 03:00:58 +00:00
mrg
9a0a6d5470 don't need X11R7 Xprint* directories anymore. 2009-04-20 03:56:59 +00:00
joerg
49451a8f9f Add a small script to visualize the rc dependency graph and point to it. 2009-04-15 22:36:04 +00:00
perry
bb9a479c59 un-uppercase pseudodependency for the moment so as not to break pkgsrc 2009-04-15 22:11:32 +00:00
perry
6b9d40b026 uppercase pseudodependency 2009-04-15 22:03:54 +00:00
joerg
c06d8659e3 Add missing PROVIDE. 2009-04-15 21:33:57 +00:00
haad
94d1f41faa We need writable /dev to get lvm working otherwise lvm devices can't be created. 2009-04-13 18:48:14 +00:00
christos
c7ad9a2170 add the var run lwresd and var run named 2009-04-12 17:35:16 +00:00
joerg
760b4799c4 Add rc_directories to specify where to look for rc scripts.
For the moment all scripts must be in /root and non-existent directories
are skipped.
2009-04-10 16:18:04 +00:00
pooka
408a46214d Add ffs tests in kind of a semiguessed fashion. 2009-04-08 13:32:26 +00:00
martin
58cbc21957 systime() is not needed here - as the man page clearly points out.
Noticed by pooka.
2009-04-08 13:29:59 +00:00