Skip to content

Commit 3460716

Browse files
committed
scripts/installer/README.adoc, docs/nut.dict: update about directory layout and contents expected by make_package.sh
Signed-off-by: Jim Klimov <[email protected]>
1 parent 056d008 commit 3460716

File tree

2 files changed

+50
-2
lines changed

2 files changed

+50
-2
lines changed

docs/nut.dict

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
personal_ws-1.1 en 3470 utf-8
1+
personal_ws-1.1 en 3478 utf-8
22
AAC
33
AAS
44
ABI
@@ -1570,6 +1570,7 @@ aec
15701570
af
15711571
aggregator
15721572
ai
1573+
aix
15731574
al
15741575
ala
15751576
alarmcenables
@@ -2198,6 +2199,7 @@ hotplug
21982199
hotplugging
21992200
hovercharge
22002201
hpe
2202+
hpux
22012203
href
22022204
htaccess
22032205
html
@@ -2365,6 +2367,7 @@ libdir
23652367
libdummy
23662368
libexec
23672369
libexecdir
2370+
libexpat
23682371
libfreeipmi
23692372
libgd
23702373
libgpgme
@@ -3023,6 +3026,7 @@ sitop
30233026
sizeof
30243027
ske
30253028
skel
3029+
sl
30263030
slackpkg
30273031
slaveid
30283032
slavesync
@@ -3045,8 +3049,11 @@ socat
30453049
sockdebug
30463050
socketname
30473051
socomec
3052+
solari
30483053
solaris
3054+
solcmn
30493055
solibs
3056+
solint
30503057
solis
30513058
somename
30523059
somepass

scripts/installer/README.adoc

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,53 @@ of Eaton by Frederic Bohe, Vaclav Krpec, Arnaud Quette and Jim Klimov.
88

99
This includes the package (tarball) creation script which relies on
1010
presence of third-party library binaries in a `$ARCH/libs` directory,
11+
pre-built package files (courtesy of NUT `make package` recipes),
1112
and init-scripts from NUT source tree (originally expected as a `nut`
12-
subdirectory, can be a symlink to `../..`), as well as an interactive
13+
subdirectory, can be a symlink to `../..`; currently copies stored in
14+
the `$ARCH` subdirectories; eventually should be taken from NUT sources
15+
during build, or from packages), as well as an interactive text-mode
1316
installer script to set up the package on a target deployment covering
1417
package (re-)installation, initial device discovery, password setup,
1518
etc., and helper scripts for status overview and shutdown handling.
1619

20+
Example `$ARCH` related directory layout in original posting (binary
21+
files mentioned below are not provided into NUT Git source code base);
22+
these are the contents `make_package.sh` script expects to work with
23+
(you can see the names mentioned in `find ... | grep -v ...` filters):
24+
25+
* `aix/` example for AIX 6 and 7 based IPSS Unix releases:
26+
* `libs/`: `libcrypto.a`, `libcrypto.so`, etc...
27+
* `nut-2.6.5-1.aix6.1.ppc.rpm` and `nut-client-2.6.5-1.aix6.1.ppc.rpm`
28+
package files
29+
* `nutconf` binary for the platform
30+
* `aix_init` script
31+
* `ipp-os-shutdown.conf.sample`
32+
33+
* `hpux/` for PA-RISC:
34+
* `libs/`: `libcrypto.sl`, `libexpat.sl`, `libiconv.sl`, `libintl.sl`,
35+
`libltdl.sl`, `libneon.sl`, `libnetsnmp.sl.30`, `libssl.sl`, `libz.sl`
36+
* Notably, `libnutscan.sl.1` (other platforms did not carry a copy)
37+
* `nut.depot.tar.gz` package file
38+
* `nutconf` binary for the platform
39+
* `ipp-os-shutdown.conf.sample`
40+
41+
* Solaris (SPARC and X86) spread across 3 directories:
42+
* `solcmn/` with common platform-independent files:
43+
* `ipp-os-shutdown.conf.sample`
44+
* `solaris_init` script
45+
46+
* `solari` with SPARC binaries:
47+
* `libs/`: `libcrypto.so.0.9.8`, `libz.so`, etc.
48+
* `NUT_solaris_sparc_package2.6.5.local` package file
49+
* `nutconf` binary for the platform
50+
51+
* `solint` with X86 binaries:
52+
* `libs/`: `libcrypto.so.1.0.0`, `libgcc_s.so.1`, `libltdl.so.7`,
53+
`libneon.so.27`, `libnetsnmp.so.15`, `libproxy.so.0`,
54+
`libssl.so.1.0.0`, `libstdc++.so.6`, `libwrap.so.1`
55+
* `NUT_solaris_i386_package2.6.5.local` package file
56+
* `nutconf` binary for the platform
57+
1758
The installer relies on `nutconf` tool (emulating dummy script for
1859
tests provided here), which is part of NUT sources.
1960

0 commit comments

Comments
 (0)