Commit Graph

5553 Commits

Author SHA1 Message Date
lukem 17d72c8a6b use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
thorpej 3b08abd277 * Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into
two variables:

  TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
  no working in-tree toolchain (hppa, ns32k, sh5, x86_64).

  EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
  an external toolchain (e.g. /usr/local/gnu).  This enables the cross-build
  framework even for TOOLCHAIN_MISSING platforms.

  If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
  unconditionally set to "no", since the bits are not there to build.

  If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
  since the external toolchain's compiler is not in-sync with the
  in-tree compiler support components (e.g. libgcc).

* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
  that file can use it.
2002-09-17 23:18:25 +00:00
manu a9fed43086 Initial support for APM on hpcarm (just enough to get battery state) 2002-09-16 19:58:58 +00:00
thorpej 9aa45a9c40 Fix typo (sigh). 2002-09-16 00:12:54 +00:00
thorpej 677d45a6a2 The new comment in the file says it all:
# UNDER NO CIRCUMSTANCES SHOULD THIS MAKEFILE TEST THE OUTPUT OF uname!!
# DOING DO BREAKS CROSS COMPILING.
2002-09-15 23:56:57 +00:00
thorpej 3b1c84c6b5 Resolve rpcgen's path in a way that works with other shells. 2002-09-14 05:35:13 +00:00
mycroft a939a62069 config.[ch] -> manconf.[ch] 2002-09-13 20:40:04 +00:00
itojun 0319b78e54 copyright clarification. from openbsd
1.
Paul Mackerras and the Australian National University have worked things
out, and as a result, Paul now owns copyright on all these files, with the
proper terms.

2.
and... we managed to contact "Eric Rosenquist" <eric@rosenquist.com> through
the help of people who found him: first one was nick.stott@cogeco.ca
This now has a better license.  Two authors left to go.
2002-09-13 14:32:11 +00:00
pooka 87a8e425d5 make usrdevicenames match reality better
from Ilpo Ruotsalainen
2002-09-13 14:29:15 +00:00
christos d0deebbba7 Add a simple test to see if the whoami functionality works. 2002-09-11 18:19:42 +00:00
enami 78948a7123 Salvage pre-devsw config support so that one can config such as other
branch's kernel.
2002-09-11 06:20:09 +00:00
itojun 2237adde2a use HUGE_VAL defined in <math.h> instead of 1e500 for positive infinity.
gcc -pedantic audit by deraadt@openbsd.org
2002-09-08 09:28:23 +00:00
itojun bdbbb53d75 signal handler must take "int" arg. from deraadt, sync w/kame 2002-09-08 01:42:55 +00:00
itojun 52c469ffaa socklen_t audit. from deraadt, sync w/kame 2002-09-08 01:41:12 +00:00
itojun 1ddc65b732 socklen_t audit. KNF. signal handler must use _exit(), not exit().
from deraadt, sync w/kame
2002-09-08 01:40:08 +00:00
junyoung b255e80b6f Make this compile. 2002-09-06 13:59:09 +00:00
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
agc 2f14b22182 Describe what this utility does a bit better. Pointed out by Curt Sampson. 2002-09-06 08:59:25 +00:00
abs 2cbe5b958f Add back __attribute__() data for pstatus() removed by error in last commit.
Noted by wiz.
2002-09-04 13:49:20 +00:00
abs 8531949548 When -r is given actually pass the file through of, and also enable if. 2002-09-03 18:35:11 +00:00
atatat 692fefdd0e Move pmap(1) to /usr/bin (from /usr/sbin) where it belongs. 2002-09-01 20:32:43 +00:00
atatat fd654ccfe7 One more spelling fix 2002-08-31 19:44:59 +00:00
wiz 2422729483 Mdoc, grammar, and typo fixes. Remove trailing whitespace. 2002-08-31 19:33:58 +00:00
atatat 1a3525a866 Add pmap(1) command 2002-08-31 19:11:16 +00:00
atatat 0df8113ba6 Add a pmap(1) command that is effectively the same in function as the
Solaris command by the same name.  pmap(1) prints out the given
process's address space, each vm_map_entry at a time, with several
different output formats.

I wrote this tool as an autodidactic means of learning something about
UVM.
2002-08-31 19:09:30 +00:00
onoe b719e19a2f Fixed trivial bugs in previous commit:
unnecessary socket is opened, and non-root user failed to execute...
2002-08-30 04:02:44 +00:00
onoe 4a58d16e34 Add -I (use icmp) option as traceroute.
sync w/kame
2002-08-30 03:57:20 +00:00
abs acfcf99e58 Do not prepend '.' to path when looking for dependencies for a package
specified without any path components. (Pointed out by Takashi Yamamoto)
Rename path_remove_first() to path_prepend_clear().
2002-08-29 21:46:33 +00:00
itojun 34eb7e98f4 no need for -I/usr/include/openssl (in fact, it is discouraged) 2002-08-29 14:35:45 +00:00
wiz 9236a5071b Some grammar and mdoc improvements. 2002-08-29 11:07:11 +00:00
abs b3c9314a54 crank PKGTOOLS_VERSION to 20020827 for last change to lib/path.[ch] 2002-08-27 17:35:05 +00:00
abs 374ff93c9c Introduce path_prepend_from_pkgname() and path_remove_first() and
use in pkg_add to ensure the location of the package being added is
checked first for any additional packages.
2002-08-27 17:27:27 +00:00
lukem ed401558f2 Implement MKDYNAMICROOT, which currently defaults to "no", but will
be changed in the future to "yes".

If MKDYNAMICROOT == "no", there is no change from existing behaviour
of a static /bin and /sbin (and a few programs in elsewhere).

If MKDYNAMICROOT == "yes", the following changes occur:
    in <bsd.own.mk>:
	SHLIBDIR?=     /lib
	SHLINKDIR?=	/lib
    in various Makefiles, the following entry is DISABLED.
	LDSTATIC?=-static
This results in all programs (except those "standalone" programs built
in sys/arch/*/stand) are linked dynamically, the shared linker is moved
from /usr/libexec to /lib (with a compat symlink), and the shared
libraries used by /bin and /sbin programs are moved from /usr/lib to
/lib (with compat symlinks).
2002-08-27 14:46:11 +00:00
takemura b8ce6e8201 Added touch panel calibration utility. 2002-08-27 14:12:09 +00:00
agc 18e50dcd89 Use syslog(3) to log new users and groups, deletions of users and groups,
and modification of user and group information.

Syslog priority is LOG_INFO, facility is LOG_USER (there is no need to
do this via LOG_AUTH, since the password and group files are world
readable).

Suggested by Hubert Feyrer, after a similar facility in Linux.
2002-08-27 12:38:02 +00:00
agc 051f76f577 Generalise the function which checks if a user is local to work for groups
as well.

Use the new function when modifying a group's information.
2002-08-27 11:25:29 +00:00
itojun dcbc05cef8 warn if multiple addresses are returned from DNS, like traceroute(8) does.
sync w/kame
2002-08-27 00:34:52 +00:00
ad 37fdff48de Re-word a sentence. 2002-08-26 17:05:43 +00:00
ad 7a2589c16e - Must now get some info from the kernel, not the board.
- Don't try to do things that the firmware can't handle.
2002-08-26 17:04:17 +00:00
itojun ea854da625 string manipulation fixes. from openbsd 2002-08-22 07:18:42 +00:00
itojun 9e8e6611e8 suppress output on dump request if -q is specified. sync w/kame 2002-08-21 16:26:12 +00:00
itojun 00975d3872 die if fd_set overrun. explicitly turn off use of IPv4 mapped addr on AF_INET6
socket.
2002-08-20 23:02:44 +00:00
christos 5cefaa7349 PR/17402: Julio Merino: better fine tuning for both x and y. 2002-08-20 16:55:28 +00:00
hubertf dfa4cb8d4d Fix a few comments, and add some others to outline what's missing
in the pkg upgrade case (two TODOs :)
2002-08-16 00:47:39 +00:00
wiz f4813ef403 Drop trailing whitespace. 2002-08-15 03:26:38 +00:00
hubertf 3ddcffd0a9 document -u 2002-08-15 02:34:53 +00:00
pooka a1c35451a3 move curses initialization higher in main to prevent the curses
error function from being called before curses is initialized
2002-08-13 18:21:25 +00:00
pooka d19d334a86 don't report curses initialization failure using curses 2002-08-13 18:16:31 +00:00
itojun e042104e12 document that access control is provided by libwrap. 2002-08-12 18:47:07 +00:00
wiz a05630c34e Minor mdoc nit. 2002-08-12 18:08:13 +00:00