Commit graph

247 commits

Author SHA1 Message Date
Evgeniy Ivanov 72eca0eb1e update_bootcfg improvements.
- Fix a glitch (don't glob '*' in for).
- update_bootcfg should be a /bin command.
- update_bootcfg should not add menu entries for missing kernels.
2012-03-14 18:19:28 +01:00
Andy Kosela 24f1e18846 Import NetBSD cat(1) 2012-03-14 16:54:30 +01:00
Andy Kosela 7e81b07cc5 Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
David van Moolenbroek 4aaa5377b3 Import NetBSD du(1) 2012-03-05 22:32:33 +01:00
Ben Gras 957f4181c0 /usr/lib/cpp script to invoke clang -E
. mainly to keep X working
2012-02-17 15:15:31 +00:00
Antoine Leca 3fb8cb760c More cleaning up 2012-02-15 19:04:58 +00:00
Evgeniy Ivanov 9ab3cf37ce updateboot script for netbsd bootloader 2012-02-15 03:51:27 +01:00
David van Moolenbroek 342171fa9e Remove elle(1) editor, due to an incompatible license 2012-02-14 19:13:17 +01:00
Ben Gras 2fe8fb192f Full switch to clang/ELF. Drop ack. Simplify.
There is important information about booting non-ack images in
docs/UPDATING. ack/aout-format images can't be built any more, and
booting clang/ELF-format ones is a little different. Updating to the
new boot monitor is recommended.

Changes in this commit:

	. drop boot monitor -> allowing dropping ack support
	. facility to copy ELF boot files to /boot so that old boot monitor
	  can still boot fairly easily, see UPDATING
	. no more ack-format libraries -> single-case libraries
	. some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases
	. drop several ack toolchain commands, but not all support
	  commands (e.g. aal is gone but acksize is not yet).
	. a few libc files moved to netbsd libc dir
	. new /bin/date as minix date used code in libc/
	. test compile fix
	. harmonize includes
	. /usr/lib is no longer special: without ack, /usr/lib plays no
	  kind of special bootstrapping role any more and bootstrapping
	  is done exclusively through packages, so releases depend even
	  less on the state of the machine making them now.
	. rename nbsd_lib* to lib*
	. reduce mtree
2012-02-14 14:52:02 +01:00
Thomas Veerman e35528ae79 New zoneinfo port from NetBSD 2012-01-16 11:03:25 +00:00
Thomas Veerman e257c999b8 Replace rm and rmdir with NetBSD version 2012-01-16 10:46:14 +00:00
David van Moolenbroek e7db2d3588 Add fbd -- Faulty Block Device driver
This driver can be loaded as an overlay on top of a real block
device, and can then be used to generate block-level failures for
certain transfer requests. Specifically, a rule-based system allows
the user to introduce (overt and silent) data corruption and errors.

It exposes itself through /dev/fbd, and a file system can be mounted
on top of it. The new fbdctl(8) tool can be used to control the
driver; see ``man fbdctl'' for details. It also comes with a test
set, located in test/fbdtest.
2011-12-11 22:45:46 +01:00
David van Moolenbroek fd4c2b74f3 Add block device tracing facility
The implementation is in libblockdriver, and works transparently for
all block drivers. The new btrace(8) tool can be used to control block
tracing; see ``man btrace'' for details.
2011-11-25 13:47:21 +01:00
Adriana Szekeres c30f014a89 gcore command to coredump a process 2011-11-22 22:07:41 +01:00
Ben Gras f379b3eecb remove ftpd200 2011-11-18 12:19:50 +01:00
Vivek Prakash 79bfef9aab import NetBSD bzip2 and libbz2 2011-11-18 11:11:04 +01:00
Ben Gras 5c00743626 Switch to NetBSD passwd format
Based on work by Vivek Prakash and Gianluca Guida.

See UPDATING about caveats on currently existing accounts.

	. restores netbsd libc pwcache functions
2011-11-14 14:47:42 +00:00
Ben Gras cedeabb357 mainstream-format fstab format
. detect both formats in /etc/rc
	. generate new format in setup
	. obsoletes /etc/fstab.local: everything can go in /etc/fstab
	. put shutdown/reboot/halt and a copy of /usr/adm/wtmp
	  (/etc/wtmp) on root FS so that we can do shutdown checks before
	  mounting /usr
	. new fstab format makes getfsent() and friends work
2011-11-14 14:47:28 +00:00
Ben Gras 0c3983b25a update/fix manpage support
. add bsd-style MLINKS to minix man set, restoring aliases
	  (e.g. man add64 -> int64)
	. update daily cron script to run makewhatis and restore makewhatis
	  in man Makefile (makedb), restores functionality of man -k
	. netbsd imports of man, mdocml, makewhatis, libutil, apropos
	. update man.conf with manpage locations, restoring man [-s] <section>
	. throws out some obsolete manpages
2011-09-28 15:24:15 +00:00
Ben Gras bc0a39238e worldstone benchmark script
. also imports seq(1) to help it
	. add -C option to time(1) to print tsc difference
	. increase col width for ministat for tsc numbers
2011-09-24 14:49:55 +00:00
Vivek Prakash 12d9a08f0d import NetBSD mkdir
. add symlink from old location /usr/bin/mkdir for
	  for compatability
2011-08-25 14:35:12 +00:00
Ben Gras f984dbba70 increase system-wide filename limit to 255
. move mfs-specific struct, constants to mfs/, so
	  mfs-specific, on-disk format structs and consts are
	  fully isolated from generic structs and functions
	. removes de and readfs utils
2011-08-17 16:00:01 +00:00
Arun Thomas 3ca141ab81 Remove legacy swapfs utility 2011-07-27 17:16:17 +02:00
Arun Thomas 93bb4036ce Remove bigmake, binsizes, packman 2011-07-26 13:38:27 +02:00
Arun Thomas 2a9322a117 Remove advent and ttt 2011-07-26 11:37:18 +02:00
Ben Gras 51ffecc181 import elf-only -lcurses
. abandons mixer, gomoku, talk, talkd, top from base system
	. compile top with clang so no ack-compiled program
	  needs -lcurses any more
2011-07-25 11:08:17 +02:00
Vivek Prakash 1ea07af9da Replace uniq with NetBSD version 2011-07-24 21:40:02 +02:00
Arun Thomas 06617e7fdf Import NetBSD mkdep 2011-07-22 17:28:27 +02:00
Arun Thomas db5c83c918 Remove strings(1) 2011-07-21 19:06:06 +02:00
Ben Gras 1341e4aa02 rename size to acksize
.  in keeping with the pattern: elf/binutils tools have
	   regular names, ack tools have 'exceptional' names
2011-07-21 14:31:17 +02:00
Vivek Prakash 49cab1c73c import NetBSD stat 2011-07-18 16:16:57 +02:00
Vivek Prakash 97c7d358ea Replace indent with NetBSD version
- minix-port.patch is empty as it compiles unchanged
2011-07-05 12:37:57 +02:00
Arun Thomas 2e8d1eda1b Replace m4 with NetBSD version
-Create usr.bin hierarchy
-Update minix-port.patch to include m4
2011-06-29 09:33:30 +02:00
Arun Thomas 67c2d2fa54 Remove obsolete mkdist script 2011-06-22 11:15:00 +02:00
Ben Gras 659dd75c78 elf2out from netbsd (ported for minix aout) 2011-02-23 12:21:21 +00:00
Ben Gras e912f6ac38 take pkg_install out of the base system and pre-install it using the
pkgsrc binary packages.

rationale:
  . pkg_install (which is the pkg_* tools) is entangled with pkgsrc,
    not with minix, so tracking it from pkgsrc (easier than with
    base system) makes more sense
  . simplifies upstreaming minix specific changes for pkg_* tools
  . reduce pkgsrc-in-basesystem maintenance burden
2011-01-28 00:02:27 +00:00
David van Moolenbroek 561acfb618 remove fsck1 altogether 2010-12-21 11:00:13 +00:00
Arun Thomas 8f0846e68c Import mktemp(1) from NetBSD 2010-11-06 20:41:51 +00:00
Ben Gras 98ddbffe6e dis386 - a disassembler for ack
- it can disassemble object files (dis386o) and executables
    (dis386a)
  - only useful for as long as we still have ack
2010-10-04 13:26:53 +00:00
Arun Thomas 677d80b781 Remove urlget
This patch gets rid of urlget. It's not used for anything now, since pkgin
uses fetch.

Arun
2010-10-02 18:24:53 +00:00
Arun Thomas 207e88d3c4 Update release script for pkgsrc 2010-09-10 17:00:30 +00:00
Erik van der Kouwe 18ad0b52d3 Make hexdump ACK-compilable and add it to the base system 2010-09-03 07:37:31 +00:00
Arun Thomas 9e4e26e0c8 No more packman, easypack, packit
-Create a dummy packman script that tells users about pkgin
2010-09-03 07:27:39 +00:00
Ben Gras 5d6c2aae0a gcov support, based on work contributed by Anton Kuijsten. 2010-08-25 13:06:43 +00:00
Arun Thomas c9d500e9fd Import hexdump(1) from NetBSD 2010-08-21 13:24:09 +00:00
David van Moolenbroek 5a377144b0 diskctl(8) into commands makefile 2010-08-12 14:21:55 +00:00
Ben Gras 56770462c2 merge datasizes and unstack 2010-08-05 14:09:06 +00:00
Thomas Veerman 5bf3967f26 Rename mkfs to mkfs.mfs and fsck to fsck.mfs. Add /sbin to root's PATH. 2010-08-05 12:35:00 +00:00
Ben Gras 453be3b530 rename nm and strip to acknm and ackstrip
this is to force invocations of these utils for ack to be
explicitly named such, so in the future binutils can be installed
in /usr/pkg without the g- prefix.
2010-08-02 16:09:19 +00:00
Erik van der Kouwe 9212eab21f Add padtext utility (needed for Multiboot) 2010-07-23 14:22:49 +00:00
Ben Gras 7e8ed05df4 pkgsrc pkg_install tools, ported by Gautam Tirumala. 2010-07-16 00:15:25 +00:00
Arun Thomas e41c0b1a2d Replace paxtar with bsdtar 2010-07-13 21:35:58 +00:00
Ben Gras ba759ef03e new command: bsdtar. 2010-07-13 19:28:09 +00:00
Erik van der Kouwe b5ae3961bb Fix unintended changes in r7614 2010-07-01 11:56:02 +00:00
Erik van der Kouwe 23284ee7bd User-space scheduling for system processes 2010-07-01 08:32:33 +00:00
Ben Gras 47b58b2ebb fetch command 2010-07-01 00:06:41 +00:00
Ben Gras 831edb6614 no makewhatis. 2010-06-27 23:38:17 +00:00
Ben Gras f1faf0d327 no more minix whoami 2010-06-27 14:07:43 +00:00
Ben Gras a187743e75 netbsd man 2010-06-26 02:35:08 +00:00
Ben Gras 24cb4e60fc no more minix man 2010-06-26 02:33:49 +00:00
Ben Gras 3f22092d45 import mdocml. 2010-06-26 02:20:06 +00:00
Ben Gras 74c06cfc43 commands: less is more. 2010-06-26 01:41:19 +00:00
Ben Gras 6ebe0cdf82 no more minix more, *whatis 2010-06-26 01:08:31 +00:00
Arun Thomas c0c8d25799 Rename mkfiles from minix.*.mk to bsd.*.mk
Makes things easier for pkgsrc
2010-06-25 18:29:09 +00:00
Ben Gras 373aecf3cd commands: id from netbsd; touch from bsd-utils port 2010-06-25 17:14:56 +00:00
Ben Gras bfeecdbf62 no more minix touch, id 2010-06-25 17:13:57 +00:00
Ben Gras 988b95f150 minix cut, printf from netbsd 2010-06-22 21:22:53 +00:00
Ben Gras 2ac57865cb no more minix cut, printf 2010-06-22 21:19:42 +00:00
Ben Gras 556faf0d3a minix netbsd diff 2010-06-22 09:38:20 +00:00
Ben Gras 4c0a9db684 no more minix diff 2010-06-22 00:46:55 +00:00
Ben Gras 4269db3991 minix patch port 2010-06-22 00:41:23 +00:00
Ben Gras 6657c0e58e no more minix patch 2010-06-22 00:39:57 +00:00
Ben Gras 582c0ed74d netbsd sed for minix 2010-06-22 00:36:21 +00:00
Ben Gras 1b2189c205 no more minix sed. 2010-06-22 00:32:21 +00:00
Ben Gras 28663f45d6 fixes for minix grep 2010-06-20 11:55:19 +00:00
Ben Gras 5b40436aaf remove minix greps. 2010-06-20 11:48:00 +00:00
Ben Gras 6704520919 commands: import of netbsd find 2010-06-09 12:27:36 +00:00
Ben Gras 13d50be356 commands, man: remove minix find 2010-06-09 12:17:42 +00:00
Arun Thomas b48b037fbe Reorganize some directories
servers/hgfs/hgfs_server => servers/hgfs
servers/hgfs/libhgfs => lib/libhgfs
servers/rs/service => commands/service
drivers/memory/memory_driver => drivers/memory
drivers/memory/ramdisk => drivers/ramdisk
2010-05-26 22:49:57 +00:00
Arun Thomas 5706670029 Convert boot/ and commands/ over to bsdmake 2010-05-12 16:28:54 +00:00
Kees van Reeuwijk 74177b215d Also remove awk.old from makefile. 2010-04-22 14:18:35 +00:00
Kees van Reeuwijk 4683d6b713 Let awk.old install its awk as /usr/bin/awk.old.
Add one-true-awk as the new awk that installs to /usr/bin/awk.
2010-03-17 16:16:52 +00:00
Kees van Reeuwijk 365495b530 Moved current awk sources to awk.old. 2010-03-17 16:11:48 +00:00
Ben Gras 8c88a0219b add swifi to the build/install. 2010-02-19 16:16:28 +00:00
Ben Gras 0985235ba0 forget difference between big and small commands - obsolete with vm. 2010-02-03 14:16:51 +00:00
Tomas Hruby ae75f9d4e5 Removal of the executable flag from files that cannot be executed
- 755 -> 644
2009-11-09 10:26:00 +00:00
David van Moolenbroek 1defc4fc3a compile and install mdb(1) by default again 2009-08-11 09:08:33 +00:00
Ben Gras 54b3f50b05 actually build and install zoneinfo. 2008-12-21 04:33:50 +00:00
Ben Gras c078ec0331 Basic VM and other minor improvements.
Not complete, probably not fully debugged or optimized.
2008-11-19 12:26:10 +00:00
Ben Gras ac41dcd35f bc and mtools out of the base system (gpl) 2007-04-20 12:06:14 +00:00
Ben Gras 0be7f44224 . added zoneinfo to build, with fixes for minix
. now using zoneinfo date command, instead of commands/simple/date.c
2007-03-30 15:32:55 +00:00
Ben Gras 1030187965 Revert back to previous minised 2006-11-17 16:12:08 +00:00
Ben Gras f6436dc1a0 old sed out, new sed in 2006-11-02 16:48:47 +00:00
Ben Gras 7195fe3325 System statistical and call profiling
support by Rogier Meurs <rogier@meurs.org>.
2006-10-30 15:53:38 +00:00
Ben Gras 4933f34715 Don't do make clean if flex Makefile doesn't exist. 2006-10-24 14:20:59 +00:00
Ben Gras 1f3560229d Fix for clean target. 2006-10-06 15:44:41 +00:00
Ben Gras b5a6e7bbb0 make clean in ibm subdir too 2006-10-05 09:56:17 +00:00
Ben Gras 4d7f2af576 big for big commands 2006-07-27 16:05:17 +00:00
Ben Gras e6076e2c95 Don't give an error message for usage. 2006-07-24 13:27:17 +00:00
Ben Gras 4033ccc08d 'zmodem' is 'big'. remove unused bits from autopart. This unbreaks
the commands build.
2006-07-17 17:05:54 +00:00
Philip Homburg 08bb0f7708 No longer build Michael Temari's httpd. Install a httpd from ports. 2006-06-22 11:53:03 +00:00
Ben Gras 6ef5aa4fb2 . flex back into the base system
. imports of Michael Temari's httpd and ftp
2006-06-19 14:58:20 +00:00
Ben Gras 103f18cb1f (1) remove ftpd in favour of ftpd200
(2) add /etc/rc.daemons.dist, can be copied to /etc/rc.daemons
    if user wants the standard daemons to run, which are no longer run
    by default
2006-04-11 11:55:45 +00:00
Ben Gras 9ee6aa8b7b Kludge for 1586 processor id. 2006-04-05 11:56:05 +00:00
Ben Gras 6367fcdf51 Include syslogd 2006-04-04 12:55:20 +00:00
Ben Gras 997d2dcbd3 Throw elvis out of the base system 2006-02-17 13:27:01 +00:00
Ben Gras c162654310 Kick nvi out of base 2006-02-17 12:36:53 +00:00
Ben Gras 832bba4a56 Removed flex from base. 2006-02-03 15:52:12 +00:00
Ben Gras 1bec73d61c fix builds not to do bigmakes
gzip is out of the base system
2006-02-02 17:13:07 +00:00
Ben Gras 972dc358f5 cleanup 2006-01-27 14:44:05 +00:00
Ben Gras d292ba7d21 build scripts accept 'build' argument to not install 2006-01-27 14:38:23 +00:00
Philip Homburg 3ef1d71b75 Fail when make in a subdirectory fails. 2006-01-27 14:14:51 +00:00
Ben Gras bea0bcc2eb Port of freebsd pax. 2006-01-20 14:45:27 +00:00
Ben Gras 303eba31a4 Removed bits from Makefile that are now in 'bigports' 2006-01-17 11:25:29 +00:00
Ben Gras fd63815169 *** empty log message *** 2005-10-21 11:18:41 +00:00
Ben Gras 899d78ef0d Don't build vim tools 2005-10-12 09:57:09 +00:00
Ben Gras 9bfad61c9e emacs and python last of the big ones 2005-09-26 11:43:01 +00:00
Ben Gras 0b386e072d First the small ones 2005-09-26 11:42:23 +00:00
Ben Gras 2f55a065d7 clean bug 2005-09-20 14:11:29 +00:00
Ben Gras 9b1ea0aa12 small, big, all targets. 2005-09-20 13:04:52 +00:00
Ben Gras 9e8290720e ack is makeable/installable too now. 2005-09-19 13:21:02 +00:00
Ben Gras b743d5b2fe Fixes for move to commands/ of contrib/ 2005-09-16 15:28:29 +00:00
Ben Gras 5d8f18a091 Added Michael Temari's httpd 2005-09-16 13:37:29 +00:00
Ben Gras 6f140bbb79 elvis is connected, but not installed as vi any more. 2005-09-12 12:53:17 +00:00
Ben Gras a54ce8cf1d Fix for starting without gzip/makefile 2005-09-08 16:36:27 +00:00
Ben Gras 7f5e1d2b05 Other bigmake message
Elvis no longer connected to build
2005-09-08 13:09:03 +00:00
Ben Gras d2bb98e7b2 Change in how we handle big programs.. 2005-09-08 11:59:52 +00:00
Ben Gras 5f2d97dfe6 Use exec cc instead of cc (ast) 2005-09-07 08:43:25 +00:00
Ben Gras 2268945088 Fix for ./configure scripts that try to use gcc if any kind of gcc command
is found
2005-08-31 11:56:16 +00:00
Ben Gras 72cc59fcbd big/regular make business 2005-08-30 16:23:32 +00:00
Ben Gras 41a960c9b3 *** empty log message *** 2005-08-30 12:02:34 +00:00
Ben Gras 562671cf78 Splitting commands and big commands 2005-08-29 19:39:06 +00:00
Ben Gras ed84c34c6b Remove older kermit 2005-08-29 15:11:26 +00:00
Ben Gras 7508c1c0ea Don't assume configure is executable 2005-08-22 11:16:02 +00:00
Ben Gras 5e3b213f05 import of mdb (minix debugger), some ptrace and signals unbreaking
seem to have made it work (runtime debugging and core reading).
2005-08-04 08:44:16 +00:00
Ben Gras acf6df8b04 Setup tweaks; bzip import 2005-08-02 08:57:26 +00:00
Ben Gras b9e585c81c autopart, setupcd updates 2005-07-22 18:30:40 +00:00
Philip Homburg 054e68baf6 Flex-2.5.4. 2005-07-11 12:54:10 +00:00
Ben Gras b1fe0aa86f Gave sh more space for configure scripts; connected python to build;
fixed nit in python confused about select definitions
2005-06-27 10:04:55 +00:00
Ben Gras d31aba5ee3 Renamed kermit_211 to kermit-2.1.1
Fixed compile bug in postmort.c
2005-06-27 09:46:55 +00:00
Ben Gras c0f83b4033 Fix for gzip make clean if Makefile doesn't exist.. 2005-06-20 13:30:24 +00:00
Ben Gras e40c757038 connected ps and ftpd200 to commands build
disabled verbose message in readclock
2005-06-20 12:01:15 +00:00
Ben Gras 5e17902a0d Connected ps to build 2005-06-20 09:23:55 +00:00
Ben Gras f81ac6ae5c Various compile fixes.
Imported gzip.

Changed setup script not to insist cwd is / when running from cd.
2005-06-17 13:42:53 +00:00
Ben Gras e44e9ad261 small compile fixes; initial select() stubs; release.sh script doesn't
need /tmp any more since 16MB root device; increase to 3.0.5 to make new
CD with working FXP driver. (not tagged 3.0.5 yet as at driver bios-copy
workaround hasn't been done.)
2005-06-06 11:40:32 +00:00
Ben Gras fcd113da7b Imported kermit v2.11 2005-05-30 10:55:32 +00:00
Ben Gras 9865aeaa79 Initial revision 2005-04-21 14:53:53 +00:00