| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | $NetBSD: README,v 1.25 2020/05/24 21:51:54 nia Exp $ | | 1 | $NetBSD: README,v 1.26 2023/02/17 21:20:12 khorben Exp $ |
2 | | | 2 | |
3 | 0 Introduction | | 3 | 0 Introduction |
4 | ============== | | 4 | ============== |
5 | | | 5 | |
6 | libnbcompat builds and installs a portable NetBSD-compatibility library | | 6 | libnbcompat builds and installs a portable NetBSD-compatibility library |
7 | that supplies routines missing on operating systems that are used by | | 7 | that supplies routines missing on operating systems that are used by |
8 | the family of pkgsrc bootstrap tools. Note that libnbcompat is very | | 8 | the family of pkgsrc bootstrap tools. Note that libnbcompat is very |
9 | much a work-in-progress. Only the functions that are directly used | | 9 | much a work-in-progress. Only the functions that are directly used |
10 | by the bootstrap tools are implemented in the library. At the moment, | | 10 | by the bootstrap tools are implemented in the library. At the moment, |
11 | this includes the following packages: | | 11 | this includes the following packages: |
12 | | | 12 | |
13 | archivers/pax | | 13 | archivers/pax |
14 | pkgtools/mtree | | 14 | pkgtools/mtree |
| @@ -34,106 +34,103 @@ breakage seep in. Proper methodology fo | | | @@ -34,106 +34,103 @@ breakage seep in. Proper methodology fo |
34 | | | 34 | |
35 | (3) Fix any breakage on non-NetBSD operating systems before | | 35 | (3) Fix any breakage on non-NetBSD operating systems before |
36 | committing. | | 36 | committing. |
37 | | | 37 | |
38 | | | 38 | |
39 | 2 Tested operating systems | | 39 | 2 Tested operating systems |
40 | ========================== | | 40 | ========================== |
41 | | | 41 | |
42 | *NOTE* | | 42 | *NOTE* |
43 | *NOTE* This section should be kept up-to-date with the results for | | 43 | *NOTE* This section should be kept up-to-date with the results for |
44 | *NOTE* the most recent libnbcompat. | | 44 | *NOTE* the most recent libnbcompat. |
45 | *NOTE* | | 45 | *NOTE* |
46 | | | 46 | |
47 | libnbcompat-20040911 has been tested to build and install correctly | | 47 | libnbcompat-20200524 has been tested to build and install correctly |
48 | on the following operating systems: | | | |
49 | | | | |
50 | FreeBSD-4.8/i386 <jlam@NetBSD.org> | | | |
51 | NetBSD-1.6.2/i386 <jlam@NetBSD.org> | | | |
52 | Solaris 9/sparc <salo@NetBSD.org> | | | |
53 | | | | |
54 | libnbcompat-20041024 has been tested to build and install correctly | | | |
55 | on the following operating systems: | | 48 | on the following operating systems: |
56 | | | 49 | |
57 | FreeBSD-4.11/i386 <jschauma@NetBSD.org> | | 50 | NetBSD/amd64 9.0 <nia@NetBSD.org> |
58 | FreeBSD-6.1/amd64 <jschauma@NetBSD.org> | | 51 | Alpine Linux 3.11.6 x86_64 <nia@NetBSD.org> |
59 | Darwin-8.3/powerpc <schwarz@NetBSD.org> | | 52 | IRIX 6.5.22, mipspro 7.4.3 <ky0ko@disroot.org> |
60 | IRIX-5.3/mipseb <schwarz@NetBSD.org> | | | |
61 | IRIX-6.5/mipseb <jschauma@NetBSD.org> | | | |
62 | Linux/i386 <schwarz@NetBSD.org> | | | |
63 | RHEL4 Linux 2.6/i386 <jschauma@NetBSD.org> | | | |
64 | Tru64 UNIX 5.1B-2/alpha <rodent@NetBSD.org> | | | |
65 | | | 53 | |
66 | libnbcompat-20070507 has been tested to build and install correctly | | 54 | libnbcompat-20190608 has been tested to build and install correctly |
67 | on the following operating systems: | | 55 | on the following operating systems: |
68 | | | 56 | |
69 | - | | 57 | NetBSD/amd64 8.99.49 <pkgsrc-users@NetBSD.org> |
| | | 58 | Darwin/powerpc 8.11.0 <pkgsrc-users@NetBSD.org> |
| | | 59 | FreeBSD/amd64 13-CURRENT <pkgsrc-users@NetBSD.org> |
70 | | | 60 | |
71 | libnbcompat-20070531 has been tested to build and install correctly | | 61 | libnbcompat-20150419 has been tested to build and install correctly |
72 | on the following operating systems: | | 62 | on the following operating systems: |
73 | | | 63 | |
74 | SunOS-5.10-sparc <rillig@NetBSD.org> | | 64 | NetBSD/i386 5.2.3 <tnn@NetBSD.org> |
75 | NetBSD-3.0-i386 <rillig@NetBSD.org> | | 65 | HP-UX/hppa 11.11 <tnn@NetBSD.org> |
76 | IRIX-6.5-mips <rillig@NetBSD.org> | | | |
77 | | | 66 | |
78 | libnbcompat-20070721 has been tested to build and install correctly | | 67 | libnbcompat-20140725 has been tested to build and install correctly |
79 | on the following operating systems: | | 68 | on the following operating systems: |
80 | | | 69 | |
81 | HPUX-11.11-hppa <tnn@NetBSD.org> | | 70 | Ubuntu GNU/Linux/amd64 12.04 <jperkin@joyent.com> |
82 | Interix-3.5-i586 <tnn@NetBSD.org> | | 71 | CentOS Linux/amd64 6.5 <pkgsrc-users@NetBSD.org> |
| | | 72 | CentOS Linux/amd64 6.6 <pkgsrc-users@NetBSD.org> |
| | | 73 | CentOS Linux/amd64 7.0 <pkgsrc-users@NetBSD.org> |
| | | 74 | OpenBSD/sparc64 5.5 <pkgsrc-users@NetBSD.org> |
| | | 75 | OpenBSD/sparc64 5.6 <pkgsrc-users@NetBSD.org> |
| | | 76 | FreeBSD/amd64 10.1 <pkgsrc-users@NetBSD.org> |
83 | | | 77 | |
84 | libnbcompat-20130908 has been tested to build and install correctly | | 78 | libnbcompat-20130908 has been tested to build and install correctly |
85 | on the following operating systems: | | 79 | on the following operating systems: |
86 | | | 80 | |
87 | Debian GNU/kFreeBSD/amd64 7.1 <ryoon@NetBSD.org> | | 81 | Debian GNU/kFreeBSD/amd64 7.1 <ryoon@NetBSD.org> |
88 | Sun Solaris/amd64 10u8 <ryoon@NetBSD.org> | | 82 | Sun Solaris/amd64 10u8 <ryoon@NetBSD.org> |
89 | NetBSD/amd64 6.99.23 <ryoon@NetBSD.org> | | 83 | NetBSD/amd64 6.99.23 <ryoon@NetBSD.org> |
90 | FreeBSD/amd64 9.1 <ryoon@NetBSD.org> | | 84 | FreeBSD/amd64 9.1 <ryoon@NetBSD.org> |
91 | OpenBSD/amd64 5.3 <ryoon@NetBSD.org> | | 85 | OpenBSD/amd64 5.3 <ryoon@NetBSD.org> |
92 | DragonFly/amd64 3.4.1 <ryoon@NetBSD.org> | | 86 | DragonFly/amd64 3.4.1 <ryoon@NetBSD.org> |
93 | Debian GNU/Linux/amd64 7.1 <ryoon@NetBSD.org> | | 87 | Debian GNU/Linux/amd64 7.1 <ryoon@NetBSD.org> |
94 | CentOS Linux/amd64 6.5 <rodent@NetBSD.org> | | 88 | CentOS Linux/amd64 6.5 <pkgsrc-users@NetBSD.org> |
95 | OpenBSD/sparc64 5.5 <rodent@NetBSD.org> | | 89 | OpenBSD/sparc64 5.5 <pkgsrc-users@NetBSD.org> |
96 | | | 90 | |
97 | libnbcompat-20140725 has been tested to build and install correctly | | 91 | libnbcompat-20070721 has been tested to build and install correctly |
98 | on the following operating systems: | | 92 | on the following operating systems: |
99 | | | 93 | |
100 | Ubuntu GNU/Linux/amd64 12.04 <jperkin@joyent.com> | | 94 | HPUX-11.11-hppa <tnn@NetBSD.org> |
101 | CentOS Linux/amd64 6.5 <rodent@NetBSD.org> | | 95 | Interix-3.5-i586 <tnn@NetBSD.org> |
102 | CentOS Linux/amd64 6.6 <rodent@NetBSD.org> | | | |
103 | CentOS Linux/amd64 7.0 <rodent@NetBSD.org> | | | |
104 | OpenBSD/sparc64 5.5 <rodent@NetBSD.org> | | | |
105 | OpenBSD/sparc64 5.6 <rodent@NetBSD.org> | | | |
106 | FreeBSD/amd64 10.1 <rodent@NetBSD.org> | | | |
107 | | | 96 | |
108 | libnbcompat-20150419 has been tested to build and install correctly | | 97 | libnbcompat-20070531 has been tested to build and install correctly |
109 | on the following operating systems: | | 98 | on the following operating systems: |
110 | | | 99 | |
111 | NetBSD/i386 5.2.3 <tnn@NetBSD.org> | | 100 | SunOS-5.10-sparc <rillig@NetBSD.org> |
112 | HP-UX/hppa 11.11 <tnn@NetBSD.org> | | 101 | NetBSD-3.0-i386 <rillig@NetBSD.org> |
113 | | | 102 | IRIX-6.5-mips <rillig@NetBSD.org> |
114 | libnbcompat-20190608 has been tested to build and install correctly | | 103 | |
| | | 104 | libnbcompat-20070507 has been tested to build and install correctly. |
| | | 105 | |
| | | 106 | libnbcompat-20041024 has been tested to build and install correctly |
115 | on the following operating systems: | | 107 | on the following operating systems: |
116 | | | 108 | |
117 | NetBSD/amd64 8.99.49 <sevan@NetBSD.org> | | 109 | FreeBSD-4.11/i386 <jschauma@NetBSD.org> |
118 | Darwin/powerpc 8.11.0 <sevan@NetBSD.org> | | 110 | FreeBSD-6.1/amd64 <jschauma@NetBSD.org> |
119 | FreeBSD/amd64 13-CURRENT <sevan@NetBSD.org> | | 111 | Darwin-8.3/powerpc <pkgsrc-users@NetBSD.org> |
| | | 112 | IRIX-5.3/mipseb <pkgsrc-users@NetBSD.org> |
| | | 113 | IRIX-6.5/mipseb <jschauma@NetBSD.org> |
| | | 114 | Linux/i386 <pkgsrc-users@NetBSD.org> |
| | | 115 | RHEL4 Linux 2.6/i386 <jschauma@NetBSD.org> |
| | | 116 | Tru64 UNIX 5.1B-2/alpha <pkgsrc-users@NetBSD.org> |
120 | | | 117 | |
121 | libnbcompat-20200524 has been tested to build and install correctly | | 118 | libnbcompat-20040911 has been tested to build and install correctly |
122 | on the following operating systems: | | 119 | on the following operating systems: |
123 | | | 120 | |
124 | NetBSD/amd64 9.0 <nia@NetBSD.org> | | 121 | FreeBSD-4.8/i386 <pkgsrc-users@NetBSD.org> |
125 | Alpine Linux 3.11.6 x86_64 <nia@NetBSD.org> | | 122 | NetBSD-1.6.2/i386 <pkgsrc-users@NetBSD.org> |
126 | IRIX 6.5.22, mipspro 7.4.3 <ky0ko@disroot.org> | | 123 | Solaris 9/sparc <salo@NetBSD.org> |
127 | | | 124 | |
128 | 3 Usage | | 125 | 3 Usage |
129 | ======= | | 126 | ======= |
130 | | | 127 | |
131 | This library is intended to simplify porting NetBSD software. To that | | 128 | This library is intended to simplify porting NetBSD software. To that |
132 | end, the changes to NetBSD sources to use libnbcompat are minor. The | | 129 | end, the changes to NetBSD sources to use libnbcompat are minor. The |
133 | procedure is: | | 130 | procedure is: |
134 | | | 131 | |
135 | (1) Add #include <nbcompat.h> at the top of the source files that | | 132 | (1) Add #include <nbcompat.h> at the top of the source files that |
136 | include system headers, but below the inclusion of any | | 133 | include system headers, but below the inclusion of any |
137 | "config.h". | | 134 | "config.h". |
138 | | | 135 | |
139 | (2) Surround each system header file included in the source file | | 136 | (2) Surround each system header file included in the source file |