Package Details: network-ups-tools-git 2.8.0.rc1.r39.g88acc3578-1

Git Clone URL: https://aur.archlinux.org/network-ups-tools-git.git (read-only, click to copy)
Package Base: network-ups-tools-git
Description: A collection of programs which provide a common interface for monitoring and administering UPS, PDU and SCD hardware
Upstream URL: https://networkupstools.org/
Licenses: GPL2, GPL3
Conflicts: network-ups-tools, nut
Provides: network-ups-tools, nut
Submitter: The-Compiler
Maintainer: The-Compiler
Last Packager: The-Compiler
Votes: 0
Popularity: 0.000000
First Submitted: 2013-11-26 07:29 (UTC)
Last Updated: 2022-04-09 12:54 (UTC)

Required by (6)

Sources (3)

Latest Comments

The-Compiler commented on 2026-03-19 07:18 (UTC)

@drankinatty Works fine for me, and this really isn't what flagging a package out-of-date is for.

drankinatty commented on 2026-03-16 00:44 (UTC)

There is a failure to build from source on Current Archlinux (3/15/26). The ./configure statement includes both --with-user=nut and --with-group=nut as it should, but the build process fails with:

checking setting for User to run as... "nut"
checking if requested group membership of user to own state files... default
checking setting for Group of user to own state files... "nut"
configure: error: If you specify --with-user, you also must specify --with-group

I'm not sure why that occurs, but it currently does and fails to build as a result.

The-Compiler commented on 2022-04-09 12:54 (UTC)

The Archwiki has those backslashes. Maybe the markdown rendering here ate them. You can mark things as code by adding backticks around them (example):

`example`

so this doesn't happen.

Good catch re --tags, I pushed an update.

FabioLolix commented on 2022-04-09 12:10 (UTC) (edited on 2023-11-23 18:35 (UTC) by FabioLolix)

The pkgver() is copied verbatim from the Archwiki, how should it be exactly? (also i'm a sed noob)

You haven't add --tags to the pkgver (2.8.0.rc1 is the last tag https://github.com/networkupstools/nut/tags)


btw thanks for backticks tip

The-Compiler commented on 2022-04-09 11:10 (UTC)

Rebased on the [community] "nut" package now, including the suggestions by FabioLolix, thanks!

(Note that your sed command should use \( and \), adjusted accordingly)

FabioLolix commented on 2022-04-09 08:43 (UTC) (edited on 2023-11-23 18:33 (UTC) by FabioLolix)

Hello,

  • please use this pkgver: git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' that give pkgver=2.8.0.rc1.r39.g88acc3578 (2.8.0.rc1 is the last tag; the v need to be cut from pkgver)
  • use https://networkupstools.org/ for url=

What do you think of updating this pkgbuild to 'openssl' and create network-ups-tools-openssl-1.0-git if needed?

rageltman commented on 2021-07-27 04:44 (UTC)

CI says the package is missing python2 dependencies:

[2021-07-27T04:00:53.457Z] ==> Starting build()...
[2021-07-27T04:00:53.457Z] Regenerating Augeas ups.conf lens...
[2021-07-27T04:00:53.457Z] /usr/bin/env: ‘python2’: No such file or directory
[2021-07-27T04:00:53.457Z] ==> ERROR: A failure occurred in build().
[2021-07-27T04:00:53.457Z]     Aborting...
script returned exit code 255

zman0900 commented on 2016-11-27 09:39 (UTC)

Build is broken due to this change since Arch uses python 3: https://github.com/networkupstools/nut/commit/fc5f808a827d5d80c50d3d0a3c36c20b9d987cd7