wok-current rev 25007
updated nut (2.7.4 -> 2.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 16:55:37 2022 +0100 (2022-05-16) |
parents | eade4bb3846a |
children | d30dcfb0598a |
files | nut/description.txt nut/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nut/description.txt Mon May 16 16:55:37 2022 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +The primary goal of the Network UPS Tools (NUT) project is to provide 1.5 +support for Power Devices, such as Uninterruptible Power Supplies, 1.6 +Power Distribution Units, Automatic Transfer Switches, Power Supply 1.7 +Units and Solar Controllers. 1.8 +NUT provides a common protocol and set of tools to monitor and manage 1.9 +such devices, and to consistently name equivalent features and data 1.10 +points, across a vast range of vendor-specific protocols and connection 1.11 +media types. 1.12 + 1.13 +More than 170 different manufacturers, and several thousands of models 1.14 +are compatible.
2.1 --- a/nut/receipt Mon May 16 16:37:26 2022 +0100 2.2 +++ b/nut/receipt Mon May 16 16:55:37 2022 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="nut" 2.7 -VERSION="2.7.4" 2.8 +VERSION="2.8.0" 2.9 CATEGORY="system-tools" 2.10 SHORT_DESC="Network UPS Tools." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 @@ -10,13 +10,14 @@ 2.13 2.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 WGET_URL="$WEB_SITE/source/${VERSION%.*}/$TARBALL" 2.16 + 2.17 +DEPENDS="expat libssl libusb libusb-compat libwrap neon zlib" 2.18 +BUILD_DEPENDS="expat-dev libusb-dev libusb-compat-dev libwrap-dev 2.19 + neon-dev openssl-dev zlib-dev" 2.20 + 2.21 CONFIG_FILES="/etc/nut.conf /etc/ups.conf /etc/upsd.conf /etc/upsd.users \ 2.22 /etc/upsmon.conf /etc/upssched.conf" 2.23 2.24 -DEPENDS="expat libssl libusb libusb-compat libwrap neon zlib" 2.25 -BUILD_DEPENDS="expat-dev libusb-dev libusb-compat-dev libwrap-dev \ 2.26 - neon-dev openssl-dev zlib-dev" 2.27 - 2.28 # What is the latest version available today? 2.29 current_version() 2.30 { 2.31 @@ -34,7 +35,7 @@ 2.32 --sysconfdir=/etc \ 2.33 $CONFIGURE_ARGS && 2.34 make && 2.35 - make DESTDIR=$DESTDIR install 2.36 + make install DESTDIR=$DESTDIR 2.37 } 2.38 2.39 # Rules to gen a SliTaz package suitable for Tazpkg. 2.40 @@ -44,9 +45,9 @@ 2.41 mkdir -p $fs/etc 2.42 2.43 for i in $install/etc/*.sample 2.44 - do 2.45 - cp -a $i $fs/etc/$(basename $i .sample) 2.46 - done 2.47 + do 2.48 + cp -a $i $fs/etc/$(basename $i .sample) 2.49 + done 2.50 cp -a $install/usr/lib $fs/usr 2.51 cp -a $install/usr/bin $fs/usr 2.52 cp -a $install/usr/sbin $fs/usr