Commit graph

107 commits

Author SHA1 Message Date
Thomas Cort a501098bf5 Importing usr.bin/ul
No Minix-specific changes needed.

Change-Id: I7b8f970b8b2bbdeb5cf88ab5163d1a80c4279c4b
2013-11-13 19:58:24 -05:00
Thomas Cort 288e6864c8 Importing usr.bin/deroff
No Minix-specific changes needed.

Change-Id: I87c3629238b7bfdbff3b64682fcdb245a7ce740c
2013-11-12 19:04:27 -05:00
Thomas Cort 9742ba2568 Importing usr.bin/fpr
No Minix-specific changes needed.

Change-Id: I2169284c68309de78d89d9f3c678f340ff066c7e
2013-11-12 14:11:32 -05:00
Thomas Cort a0e6850f82 Importing lib/libform
No Minix-specific changes needed.

Change-Id: Ia8ddbdb57ac04dfb42d79c374b9e25b189f9dc3b
2013-11-12 07:56:07 -05:00
Thomas Cort b618a1ee0b Importing lib/libmenu
No Minix-specific changes needed.

Change-Id: Ifab9a44bd401aebf99ab019697937620d88d47de
2013-11-12 07:39:59 -05:00
Thomas Cort 37fc2fa18f Importing usr.bin/calendar
No Minix-specific changes needed.

Change-Id: I9e68983104efb20ab8e946df3bce189d99ab2deb
2013-11-12 06:18:01 -05:00
Thomas Cort 9a00643262 Importing usr.sbin/unlink
No Minix-specific changes needed

Change-Id: Iab2345f6a661e1c1f21f8ae1a414b88762de26fc
2013-11-09 20:37:49 -05:00
Thomas Cort a852ef4bac Importing usr.sbin/link
No Minix-specific changes needed

Change-Id: If202c617d5fa72b1c4ad5515637cdc0ee6f2d6ca
2013-11-09 20:37:43 -05:00
Thomas Cort 075dbe55f3 Importing usr.bin/jot
No Minix-specific changes needed.

Change-Id: I0f45ea7f45d6a254de9383fc4f9ff5e35a013d6b
2013-11-06 17:23:38 -05:00
Thomas Cort d44a5ed1c1 Importing usr.bin/msgc
Minix-specific changes were needed in msg_sys.def:

 * use minix_mmap()/minix_munmap() since mmap()/munmap() aren't
   defined on Minix.

 * use MAP_PRIVATE flag since MAP_SHARED isn't defined on Minix.

Tested with usr.bin/menuc/testm.

Change-Id: I1c463e7b0623036050adb6a9079c6747e1c1e084
2013-11-06 11:46:22 -05:00
Thomas Cort 525a267e81 Importing usr.bin/menuc
No Minix-specific changes needed.

Change-Id: Ie663e08a515a393efaaeecacea15ef807aa8ecfb
2013-11-06 10:44:51 -05:00
Thomas Cort 4483d188f9 Importing usr.bin/colrm
No Minix-specific changes needed.

Change-Id: I3e1b8fd433ab976e1041575e9e654a5205277a29
2013-10-31 08:30:30 -04:00
Thomas Cort 5959d954ea Importing usr.bin/what
No Minix-specific changes needed.

Change-Id: I08ee48e2ebcdf5c87b557b44a5046b7382b120e5
2013-10-30 13:32:55 -04:00
Thomas Cort 1ac41e3f19 Importing usr.bin/lam
No Minix-specific changes needed.

Change-Id: Ib3b0f922be8e170153660d308b541036507c0251
2013-10-30 12:09:54 -04:00
Thomas Cort ce982eb757 Importing usr.bin/sdiff
No Minix-specific changes needed.

Change-Id: Idbe7dcab6024d616022951f7942287fddecc3719
2013-10-30 10:11:02 -04:00
Thomas Cort 152a15652d Importing usr.bin/shlock
No Minix-specific changes needed.

Change-Id: I34fb2911de21f91b0c02387e57c3d6fd4502cd43
2013-10-30 08:44:09 -04:00
Thomas Cort b6f0c43626 Importing usr.bin/unifdef
No Minix-specific changes needed.

Change-Id: Icb828fb19f5f3a411a3f2e9dde35c2da30a04342
2013-10-30 07:47:20 -04:00
Thomas Cort 69ccf97d12 Importing usr.bin/mkstr
No Minix-specific changes needed.

Change-Id: I58a8e61dc300d9f54588526613dbc7aa54bf627b
2013-10-29 11:54:01 -04:00
Thomas Cort 3179b9b918 Importing usr.bin/xstr
No Minix-specific changes needed.

Change-Id: I1aa24aa9293ce56c732bff94b17faeb0f7c232a0
2013-10-29 11:54:00 -04:00
Thomas Cort ed31a90dd5 Importing usr.bin/pathchk
No Minix-specific changes needed.

Change-Id: Ieff3f98a35f93f3e2fa613802327c37ce4878b86
2013-10-28 11:12:27 -04:00
Thomas Cort 4e1bec4a1a Importing usr.bin/unvis
No Minix-specific changes needed.

Change-Id: I4308c729e1b392ab7d061d15fb901cbba60c6dd0
2013-10-28 09:28:17 -04:00
Thomas Cort 06f01a55d2 Importing usr.bin/vis
No Minix-specific changes needed.

Change-Id: I52e7a0b15553b6f067d82d568f3793c5b6ac2a77
2013-10-28 09:28:17 -04:00
Thomas Cort f3c74513eb Importing usr.bin/lock
No Minix-specific changes needed.

Change-Id: Ib1582e594ce6928b0725f41b51f8bca678d4b11b
2013-10-27 19:10:17 -04:00
Thomas Cort 97b7aef1ba Importing usr.bin/fsplit
No Minix-specific changes needed.

Change-Id: I78021e6485b40a5b9f98b5d0e5ce0dc82b1ae46a
2013-10-27 16:55:12 -04:00
Thomas Cort a15f368b9d Importing usr.bin/csplit
No Minix-specific changes needed.

Change-Id: Id5d5deb380208ba9fccf404eab5128f8d892c255
2013-10-27 16:55:12 -04:00
Thomas Cort 2f85279772 Importing usr.bin/whois
No Minix-specific changes needed.

Change-Id: Ia255774b1389a838714dc67be808b31258bab050
2013-10-27 14:50:20 -04:00
Thomas Cort 539d1e306a Importing usr.bin/asa
No Minix-specific changes needed

Change-Id: Ib83606334a487ab2e35c475dd591e29d0ebef7a5
2013-10-27 11:09:15 -04:00
Thomas Cort a86753f3fd Importing usr.bin/renice
No Minix-specific changes needed.

Change-Id: Ib698cef1dfa6b386cf658b6026409e0336a8b1c4
2013-10-26 08:25:06 -04:00
Thomas Cort 93ce9b1174 Importing usr.bin/pwhash
No Minix-specific changes needed.

Change-Id: I7de666c3e010fef710805942c79b5674fea1d63c
2013-10-25 11:52:05 -04:00
Thomas Cort f0f2dcddaa Importing usr.bin/uuidgen
No Minix-specific changes needed.

Change-Id: I8ab26f911ff9af2a41c3866badd66c16ed82b509
2013-10-24 12:14:43 -04:00
Thomas Cort 2106ea4754 Importing usr.bin/units
No Minix-specific changes needed.

Change-Id: I2a3411bf78d5e31875d577dcd6df68f76da98137
2013-10-23 19:24:43 -04:00
Thomas Cort dbbd766d59 Importing usr.bin/leave
No Minix-specific changes needed.

Change-Id: I2cd3f75255168a553ec5f9dd722ba1c51c09a0c1
2013-10-18 23:16:59 -04:00
Thomas Cort 92b8e9ac1a Importing usr.bin/printenv
Replaces printenv from commands/env. No Minix-specific changes
needed.

Change-Id: I64e63c9d0ca94faadc71906cf78d18fed5905e90
2013-10-18 09:15:28 -04:00
Thomas Cort 2cb302057c Importing usr.bin/column
No Minix-specific changes needed.

Change-Id: Ia883c948f6b9e5602f29fbf28f87646529563a84
2013-10-17 17:22:40 -04:00
Thomas Cort e816d08843 Importing sbin/nologin
No Minix-specific changes needed.

Change-Id: I727432c4a28654e351a9289b3e03f143a1c26a7b
2013-10-17 08:40:33 -04:00
Thomas Cort 401bad1a4d Importing usr.bin/users
No Minix-specific changes needed.

Change-Id: I886ff43d1ec63c6c3393bc1307425676b107a274
2013-10-16 13:18:59 -04:00
Thomas Cort 40b23ce476 Importing usr.bin/unzip
No Minix-specific changes needed.

Change-Id: Ib0b2bf2254acf3d8704bd6acda83af997240ebcf
2013-10-14 23:53:26 -04:00
Thomas Cort 1e69cb63f4 Importing usr.bin/nl
* Add _SC_LINE_MAX to unistd.h (value of 15 from NetBSD).
 * Add _SC_LINE_MAX case to sysconf(3) in libc.
 * usr.bin/nl itself required no Minix specific changes.

Change-Id: I10f056ccdf4f212beb1272f735f41303e5036c05
2013-10-14 18:06:05 -04:00
Thomas Cort b50dbb4d24 Importing usr.bin/machine
Change-Id: I7dd97073e94cbb75fdac7f15c73437c8ce44a606
2013-10-02 14:58:25 +02:00
Thomas Cort 79cc8b683f Importing usr.bin/rev
Change-Id: I73c661eb9d4cca5c17b969bb3831541c1f7f9319
2013-09-30 15:19:38 +02:00
Ben Gras b6d951df17 arm_sdimage.sh: use native minix partition util
. make filesystems on primary partitions to make it
	  easier on the minix partition util
	. so sfdisk isn't required as an external tool
	. also make partition and hitherto x86-only utilities
	  arch-independent

Change-Id: Ib4e07e45d038d084dde1858917d3deb7f0616532
2013-09-27 14:13:43 +02:00
Lionel Sambuc 0b8a9e801d Importing usr.bin/basename
Change-Id: I2c71c83bc6a420390c4aed015373f78ebf425903
2013-08-25 18:51:36 +02:00
Lionel Sambuc 17120a359b Fix testsh1 execution in /usr/tests/minix-posix
Change-Id: Ib9ee7d9af72b5da2c6585cc11f80feefd4de5844
2013-08-24 15:08:21 +02:00
Antoine Leca cfc36e5fd3 Drop obsolete <minix/compiler.h> and <minix/crtso.h>
Change-Id: I05da32bd2bdf014b6fd5c39d6e808d3c73812dc0
2013-08-07 16:28:39 +00:00
Antoine Leca da82f9b2e8 <a.out.h>, MINIX style: remove as obsolete
Change-Id: Icc8b7210d60a93ac9cc4610d676dcba270756410
2013-08-06 11:43:35 +02:00
Antoine Leca 14f89a8efe Remove unmaintained "ack" size nm mdb
Change-Id: Iba84fd51f16577e6123148d4505c7687ea1c071d
2013-08-06 10:14:09 +02:00
Thomas Cort 09db2a8c67 readclock: add support for am335x RTC
Add support for getting/setting the am335x SoC's internal real
time clock. Also, allow the power off alarm to be set.

Make readclock an "always on" driver. This is needed for setting
power-off alarms whenever the power button is pressed on the BBB.

Replace the readclock.sh script & single run driver with a
readclock program that takes the same arguments and forwards
the requests on to the always up readclock driver.

Change-Id: Ifd6c2acd80ae4b5e79d83df510df445c24e24a71
2013-08-05 08:37:51 -04:00
Lionel Sambuc 11be35a165 Importing NetBSD "Kyua" test framework
To do so, a few dependencies have been imported:

 * external/bsd/lutok
 * external/mit/lua
 * external/public-domain/sqlite
 * external/public-domain/xz

The Kyua framework is the new generation of ATF (Automated Test
Framework), it is composed of:

 * external/bsd/atf
 * external/bsd/kyua-atf-compat
 * external/bsd/kyua-cli
 * external/bsd/kyua-tester
 * tests

Kyua/ATF being written in C++, it depends on libstdc++ which is
provided by GCC. As this is not part of the sources, Kyua is only
compiled when the native GCC utils are installed.

To install Kyua do the following:

 * In a cross-build enviromnent, add the following to the build.sh
   commandline: -V MKBINUTILS=yes -V MKGCCCMDS=yes

WARNING:
  At this point the import is still experimental, and not supported
  on native builds (a.k.a make build).

Change-Id: I26aee23c5bbd2d64adcb7c1beb98fe0d479d7ada
2013-07-23 20:43:41 +02:00
Thomas Cort 8a643e5128 libi2cdriver: library for i2c device drivers
Change-Id: Ib6d5617e4b62e0bc5b25e6fa92b44baf536b1961
2013-07-15 17:02:57 -04:00
Thomas Cort 3c59273c97 Importing usr.sbin/i2cscan
Change-Id: I7b776d6e5f3fe4f7a1af353b995ef9e2e752c7ea
2013-07-15 11:11:13 -04:00