aboutsummaryrefslogtreecommitdiff
path: root/README.sh
blob: fd31ba88383b702ac514d72ae779206692ae855e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
cat <<!
lobase
======

lobase is a port of the OpenBSD userland to Linux.

Installation
------------

	$ autoreconf -fi
	$ ./configure
	$ make
	# make install

Dependencies
------------

- autoconf
- make (GNU Make)
- cc (gcc, clang)
- yacc (byacc, bison)
- lex (flex)

- libedit (bc)
- libevent (cu)
- libressl
  - libcrypto (bc,dc)
- ncurses (bc,ul)
- zlib (grep)

Debian:

	# apt-get install libedit-dev libevent-dev libssl-dev libz-dev

Void Linux:

	# xbps-install libedit-devel libevent-devel libressl-devel zlib-dev

Not included
------------

Some projects already have portable versions and are not included in lobase.

- acme-client	https://github.com/kristapsdz/acme-client-portable
- cwm		https://github.com/chneukirchen/cwm
- file		https://github.com/brynet/file
- libressl	https://www.libressl.org/
  - nc
- mandoc	http://mandoc.bsd.lv/
  - man
  - apropos
- sndio		http://www.sndio.org/
  - aucat
  - aucatctl
- smtpd		https://www.opensmtpd.org/
- ssh		https://www.openssh.com/

Broken
------

- cu		should be simple to fix
- ftp


TODO
----

- mk/bsd.prog.mk
  - add DPADD support

- mk/bsd.lib.mk
  - install headers
  - build shared libraries?

- usr.bin/tail
  - import, rewrite -F or add a shim for kqueue?

- libtool?

lib
---

liboutil	Parts of OpenBSDs libutil
libopenbsd	Parts of OpenBSDs libc
!

mklist() {
	(
	cd $1
	for f in */; do
		printf '%s' "${f%*/}"
		[ -f "$f/PORT_NOTES" ] && cat "$f/PORT_NOTES"|sed 's/^/	/' || printf '\n'
	done
	) | expand -t 16
}

cat <<!

bin
---

!

mklist bin

cat <<!

sbin
----
!

mklist sbin

cat <<!

usr.bin
-------

!

mklist usr.bin

cat <<!

usr.sbin
--------

!

mklist usr.sbin