Commit Graph

90 Commits

Author SHA1 Message Date
Hiltjo Posthuma
67220cf2e8 make rule: ubase-box-install
rule to make ubase-box and setup symlinks for $BIN

some (maybe) interesting info:

$ make LDFLAGS="-s -static" CFLAGS="-Os" PREFIX=/ DESTDIR=`pwd`/static-normal install
$ make LDFLAGS="-s -static" CFLAGS="-Os" PREFIX=/ DESTDIR=`pwd`/static-box ubase-box-install

$ du -sk static-normal/ static-box
1776    static-normal
356     static-box
2015-03-03 13:32:43 +00:00
Hiltjo Posthuma
363ac46766 Makefile: make man pages with ubase VERSION 2015-02-06 15:16:23 +00:00
Eon S. Jeon
6253da55c1 support llvm-ar
llvm-ar doesn't understand flags prefixed with dashes.
2015-02-03 11:56:06 +00:00
sin
b0b8579eb3 Add vtallow.1 2014-12-05 15:41:13 +00:00
sin
4269d523e2 Add vtallow(1) to enable or disable VT switch 2014-12-05 15:16:07 +00:00
sin
7819662024 Break out libs into LDLIBS 2014-11-30 12:31:22 +00:00
sin
0c008b65ee Bring in the sbase Makefile updates to ubase 2014-11-30 12:18:54 +00:00
sin
ae7aafc127 Rename util/ to libutil/ 2014-11-29 21:46:47 +00:00
Jan Tatje
aed9e3f6fa Add swaplabel(8) 2014-11-29 21:22:56 +00:00
sin
6e3c035db8 Properly signal failure if command fails in ubase-box
Similar fix as the one provided by emg for sbase.
2014-11-10 23:40:00 +00:00
Roberto E. Vargas Caballero
82500097cf Update only the modified objects in util.a 2014-10-16 11:29:38 +01:00
Roberto E. Vargas Caballero
2f03742e05 Add last and lastb 2014-10-16 11:28:01 +01:00
sin
deb4fa8044 Nuke last EXIT_SUCCESS 2014-10-02 23:50:19 +01:00
Roberto E. Vargas Caballero
e4677f290b Add lastlog(8)
At the moment this does not work with ubase login(1).  We should
add support to login(1) to write the lastlog entries.

Minor modifications by sin.
2014-08-18 18:29:38 +01:00
sin
af274ce48a Add mesg.1 2014-08-04 21:01:00 +01:00
sin
47092bd9b6 Add mesg(1)
No manpage yet.
2014-07-26 15:33:13 +01:00
Hiltjo Posthuma
f48d545c77 passwd: improvements
- add shadow support.
- allow passwd without argument, prompt which user password is changed.
2014-07-10 22:04:06 +01:00
sin
4cce54b8e9 Add readahead.8 2014-06-30 14:19:57 +01:00
sin
f5ebc6350b Import sys/queue.h and move over existing tools
We should stop rolling data structure implementations in every
tool.
2014-06-30 13:06:07 +01:00
sin
debcf4447d Add readahead(8) 2014-06-27 17:07:56 +01:00
sin
c88ba3750e Add freeramdisk(8) 2014-06-26 16:26:14 +01:00
sin
c1a96ddb4c Add fsfreeze.8 2014-06-26 16:07:11 +01:00
sin
5d85bb0cfe Add fsfreeze(8) 2014-06-14 16:49:43 +01:00
sin
c80061b08f Add dd(1) manpage
Formatting is a bit weird, will need fixing.
2014-06-11 11:54:38 +01:00
sin
ed5167e2c1 Add passwd.1 to MAN1 2014-06-09 16:47:08 +01:00
sin
1ec996439a Add initial implementation of passwd(1)
No shadow support yet.
2014-06-05 16:57:27 +01:00
sin
6ea2b1aa53 Use estrtoul() in dd(1)
Allow specifications in hex and octal as well.
2014-06-04 13:13:00 +01:00
sin
207ba019fd Add initial version of dd(1).
This code was written by Sebastian Krahmer and you can find
the original version at https://github.com/stealth/odd.git.

Permission has been granted to release this code under MIT/X
for ubase.  It has been simplified by sin@2f30.org.

Thanks Sebastian!
2014-06-04 11:47:38 +01:00
sin
0d09df4645 Add hwclock(8) manpage 2014-06-03 16:25:18 +01:00
sin
dacfb76c75 Add initial version of hwclock(8) 2014-06-03 14:52:14 +01:00
sin
1988901b7d Add login(1) manpage 2014-06-02 16:45:29 +01:00
sin
0a3ed68d25 Add initial implementation of login(1)
No shadow support atm.
2014-06-02 16:17:33 +01:00
sin
550b655d98 Add ealloc.c with wrappers for emalloc() and friends
Re-organize util.h as well.
2014-04-30 13:11:57 +01:00
sin
1920516abf Add explicit_bzero() in util/ 2014-04-30 12:30:10 +01:00
sin
8b32decb6f Add initial implementation of sysctl(8)
Needs a bit of cleanup (avoiding magic numbers etc.).
2014-04-17 15:31:42 +01:00
sin
c4ff95798c Add respawn 2014-04-17 14:08:35 +01:00
sin
e8b61e9b7e Add manpages to Makefile 2014-04-14 15:20:09 +01:00
FRIGN
c7d72a8a56 Implement switch_root 2014-04-14 09:44:38 +01:00
sin
a32345028e Add initial version of killall5(8) 2014-03-06 12:13:49 +00:00
sin
02e0a1de08 Import id(1) from sbase 2014-02-27 14:30:30 +00:00
sin
3f98a7abc8 Convert mount(8) to mntent and kill grabmntinfo.[ch] 2014-02-24 13:44:15 +00:00
sin
422f400c21 Import who from sbase 2014-02-14 15:07:43 +00:00
sin
5c1c8d60be su is after stat 2014-02-10 15:50:11 +00:00
sin
adc7ff7d04 Add initial version of getty 2014-02-10 12:15:58 +00:00
sin
2033ecb340 Use config.def.h 2014-02-09 12:30:22 +00:00
sin
30824954f8 Add ctrlaltdel tool 2014-02-07 16:38:53 +00:00
sin
9dbc997058 Import stat(1) from sbase
This utility uses major()/minor() which are not portable.  It
belongs in ubase.
2014-01-30 16:24:03 +00:00
sin
1f7b76f6f2 Import mknod(1) from sbase
mknod(1) is not POSIX and it is not portable so it should be
in ubase instead of sbase.
2014-01-28 16:52:37 +00:00
sin
97975ff092 Add pagesize(1)
This program is useful in constructing portable shell scripts.
2013-10-29 15:37:42 +00:00
sin
5f3c183b85 Setup a sane PATH across su(1)
Also added a config.h for the basic configuration of ubase.
2013-10-19 19:11:14 +01:00