new upstream 2.8.0

This commit is contained in:
lagertonne 2022-06-29 12:37:36 +02:00
parent fc7f4b43c1
commit b2b0c9995a
836 changed files with 137090 additions and 30018 deletions

View file

@ -18,7 +18,7 @@ and as a foundation block to build upon.
*sandbox*
that have been done to help those improving, and give advice on what's
the best way to package NUT for the remaining "not yet packaged"
platform (Sun, Aix, Mac, ...). The ultimate aim is to have NUT
platform (Sun, AIX, Mac, ...). The ultimate aim is to have NUT
well packaged (all NUT features available) on all supported
platforms.
///////////////////////////////////////////////////////////////////////
@ -34,8 +34,8 @@ support and maintenance across the supported OSes.
------------------------------------------------------------------------
*sandbox*
This document assumes that you have read the other NUT document such
as INSTALL.nut, FAQ, config-notes.txt, ...
This document assumes that you have read the other NUT documents such
as INSTALL.nut, FAQ, config-notes.txt, config-prereqs.txt ...
Facts about NUT packaging
=========================
@ -46,7 +46,7 @@ support, the premises of libraries, ...) that the simple
This fact has reached a high level since NUT 1.4. Actually,
doing this would result in either being forced to install hosts
of unneeded dependencies (net-snmp, gd, ... as seen on SuSE),
of unneeded dependencies (net-snmp, gd, ... as seen on SUSE),
to have a partially broken package [1] or not being able to
use all NUT features [2].
@ -62,7 +62,7 @@ Let's now have an overview on how NUT is currently packaged:
nut
nut-cgi
3) SuSE / Novell
3) SUSE / Novell
nut
4) RedHat
@ -84,7 +84,7 @@ wizards
broken due to hiddev dependencies, and usb support still
included in the core package.
[2]
[2]
- snmp-ups driver is not available under Mandrake GNU/Linux,
but its man is present. See
http://rpms.mandrakeclub.com/rpms/mandrake/9.1/i586/Mandrake/RPMS/nut-server-1.2.1-4mdk.i586.html
@ -106,10 +106,13 @@ Packagers involved
The following packagers are working on this subject:
- Debian (and derivatives): Arnaud Quette <aquette@debian.org>
- SuSE/Novell: Stanislav Brabec <sbrabec@suse.cz>
- SUSE/Novell: Stanislav Brabec <sbrabec@suse.cz>
- Solaris, OpenSolaris, OpenIndiana and related illumos distributions:
Jim Klimov <jimklimov@gmail.com>
- MacOS: Charles Lepple
NOTE: the people below should be contacted to (re)launch discussions!
The following packagers should be interested in working on this subject:
- FreeBSD: Thierry Thomas? <>
@ -120,10 +123,7 @@ The following packagers should be interested in working on this subject:
- OpenBSD: <>
- PLD: Andrzej Zawadzki <zawadaa@wp.pl>
- E-Smith: Charlie Brady <charlieb-nut-upsdev@e-smith.com>
- openSolaris: <>
- Windows: check with WinNUT author?!
- MacOS: <> => Charles Lepple? <>
- HP-UX: <>
- IBM AIX: <>
@ -131,6 +131,7 @@ The following packagers should be interested in working on this subject:
Possible use cases
------------------
- standalone (1 system + 1-n UPS)
- network server (same as standalone, but serving data to network clients)
- network monitoring client
@ -138,31 +139,32 @@ Possible use cases
TO BE COMPLETED...
Optimised packaging proposal
Optimized packaging proposal
----------------------------
NOTE: The below proposed packages split is subject to discussion.
The aim of this is to:
- rationalise split according to the above use cases,
- share ressources (descriptions, i18n, ...)
- rationalize split according to the above use cases,
- share resources (descriptions, i18n, ...)
- find the best compromise between available features and dependencies,
- standardize nut packages name,
- create the foundation for the upcoming and underway improvements,
- improve nut integration
- improve nut integration,
- ease and improve user experience.
This standard was created by:
- capitalizing the experience of existing packages,
- using and improving the use of all nut features
- considering upcoming nut changes and improvements
- capitalizing on the experience of existing packages,
- using and improving the use of all nut features,
- considering upcoming nut changes and improvements,
- working closely with packagers.
Overview of the package tree
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FIXME: make a dependency graph
- <<pkg-nut,nut>>
@ -172,6 +174,11 @@ FIXME: make a dependency graph
- <<pkg-nut-powerman-pdu,nut-powerman-pdu>>
- <<pkg-nut-snmp,nut-snmp>>
- <<pkg-nut-xml,nut-xml>>
- <<pkg-nut-ipmi,nut-ipmi>>
- <<pkg-nut-modbus,nut-modbus>>
- <<pkg-nut-linux-i2c,nut-linux-i2c>> (platform-dependent)
- <<pkg-nut-macosx-ups,nut-macosx-ups>> (platform-dependent)
- <<pkg-nut-clients,nut-clients>>
- <<pkg-python-pynut,python-pynut>>
@ -188,10 +195,10 @@ the packaging system. Each package's description is composed of a
paragraph common to all NUT packages, and a part that is specific to the
package. The common part (further referenced by *COMMON DESC*) is:
________________________________________________________________________
Network UPS Tools (NUT) is a client/server monitoring system that allows computers to share
uninterruptible power supply (UPS) and power distribution unit (PDU)
hardware. Clients access the hardware through the server, and are notified
whenever the power status changes.
Network UPS Tools (NUT) is a client/server monitoring system that allows
computers to share uninterruptible power supply (UPS) and power distribution
unit (PDU) hardware. Clients access the hardware through the server, and are
notified whenever the power status changes.
________________________________________________________________________
- The *Files* field lists the content of the package.
- The mentioned *Size* is a rough estimation of packaged and installed
@ -208,15 +215,15 @@ nut
^^^
- Desc:
- Files: dummy/serial/USB drivers + upsd + upslog
- Size:
- Deps:
- Size:
- Deps:
[[pkg-libupsclient1]]
libupsclient1
^^^^^^^^^^^^^
- Desc:
- Files:
- Size:
- Size:
- Deps:
[[pkg-libupsclient1-dev]]
@ -224,7 +231,7 @@ libupsclient1-dev
^^^^^^^^^^^^^^^^^
- Desc:
- Files:
- Size:
- Size:
- Deps:
NOTE: the "-dev" suffix is to be replaced by "-devel" on RPM based platforms.
@ -234,7 +241,7 @@ nut-cgi
^^^^^^^
- Desc:
- Files:
- Size:
- Size:
- Deps:
@ -243,7 +250,7 @@ nut-powerman-pdu
^^^^^^^^^^^^^^^^
- Desc:
- Files:
- Size:
- Size:
- Deps:
[[pkg-nut-snmp]]
@ -251,7 +258,7 @@ nut-snmp
^^^^^^^^
- Desc:
- Files:
- Size:
- Size:
- Deps:
[[pkg-nut-xml]]
@ -259,7 +266,39 @@ nut-xml
^^^^^^^
- Desc:
- Files:
- Size:
- Size:
- Deps:
[[pkg-nut-ipmi]]
nut-ipmi
^^^^^^^
- Desc:
- Files:
- Size:
- Deps:
[[pkg-nut-modbus]]
nut-modbus
^^^^^^^^^^
- Desc:
- Files:
- Size:
- Deps:
[[pkg-nut-linux-i2c]]
nut-linux-i2c
^^^^^^^^^^^^^
- Desc: (platform-dependent)
- Files:
- Size:
- Deps:
[[pkg-nut-macosx-ups]]
nut-macosx-ups
^^^^^^^^^^^^^^
- Desc: (platform-dependent)
- Files:
- Size:
- Deps:
[[pkg-nut-clients]]
@ -267,7 +306,7 @@ nut-clients
^^^^^^^^^^^
- Desc:
- Files:
- Size:
- Size:
- Deps:
[[pkg-python-pynut]]
@ -275,7 +314,7 @@ python-pynut
^^^^^^^^^^^^
- Desc:
- Files:
- Size:
- Size:
- Deps:
[[pkg-python-nut-gui]]
@ -285,7 +324,7 @@ python-nut-gui
- Desc:
- Files:
- Size:
- Size:
- Deps:
[[pkg-nut-doc]]
@ -293,7 +332,7 @@ nut-doc
^^^^^^^
- Desc:
- Files:
- Size:
- Size:
- Deps:
@ -303,7 +342,7 @@ nut-server
^^^^^^^^^^
Desc:
Files: dummy/serial/USB drivers + upsd + upslog
Size:
Size:
Deps: nut-client, libusb, libc/ld
B) nut-snmp
@ -319,7 +358,7 @@ nut-server
Deps: libc/ld
E) nut-cgi
Deps:
Files: snmp-ups and powernet + manpages
@ -337,7 +376,7 @@ nut-server
Note: "nut" can be a meta package
This kind of tree obviously need modification on the conf/make
This kind of tree obviously needs modification on the conf/make
files of NUT to allow build/install in a separate way.
@ -347,6 +386,7 @@ TO BE CONTINUED
Configuration option
^^^^^^^^^^^^^^^^^^^^
name= "ups" or "nut"
./configure \
--prefix=/ \
@ -367,4 +407,3 @@ html-path
...
------------------------------------------------------------------------