# HG changeset patch # User Hans-G?nter Theisgen # Date 1652716537 -3600 # Node ID e715636087ff3d6315fa58fd8a9c9a8a3063fdc7 # Parent eade4bb3846a5455868b990ab1f38b80d35d8b60 updated nut (2.7.4 -> 2.8.0) diff -r eade4bb3846a -r e715636087ff nut/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nut/description.txt Mon May 16 16:55:37 2022 +0100 @@ -0,0 +1,11 @@ +The primary goal of the Network UPS Tools (NUT) project is to provide +support for Power Devices, such as Uninterruptible Power Supplies, +Power Distribution Units, Automatic Transfer Switches, Power Supply +Units and Solar Controllers. +NUT provides a common protocol and set of tools to monitor and manage +such devices, and to consistently name equivalent features and data +points, across a vast range of vendor-specific protocols and connection +media types. + +More than 170 different manufacturers, and several thousands of models +are compatible. diff -r eade4bb3846a -r e715636087ff nut/receipt --- a/nut/receipt Mon May 16 16:37:26 2022 +0100 +++ b/nut/receipt Mon May 16 16:55:37 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="nut" -VERSION="2.7.4" +VERSION="2.8.0" CATEGORY="system-tools" SHORT_DESC="Network UPS Tools." MAINTAINER="pascal.bellard@slitaz.org" @@ -10,13 +10,14 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/source/${VERSION%.*}/$TARBALL" + +DEPENDS="expat libssl libusb libusb-compat libwrap neon zlib" +BUILD_DEPENDS="expat-dev libusb-dev libusb-compat-dev libwrap-dev + neon-dev openssl-dev zlib-dev" + CONFIG_FILES="/etc/nut.conf /etc/ups.conf /etc/upsd.conf /etc/upsd.users \ /etc/upsmon.conf /etc/upssched.conf" -DEPENDS="expat libssl libusb libusb-compat libwrap neon zlib" -BUILD_DEPENDS="expat-dev libusb-dev libusb-compat-dev libwrap-dev \ - neon-dev openssl-dev zlib-dev" - # What is the latest version available today? current_version() { @@ -34,7 +35,7 @@ --sysconfdir=/etc \ $CONFIGURE_ARGS && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -44,9 +45,9 @@ mkdir -p $fs/etc for i in $install/etc/*.sample - do - cp -a $i $fs/etc/$(basename $i .sample) - done + do + cp -a $i $fs/etc/$(basename $i .sample) + done cp -a $install/usr/lib $fs/usr cp -a $install/usr/bin $fs/usr cp -a $install/usr/sbin $fs/usr