Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nut 2.8.1 #153279

Merged
merged 2 commits into from
Nov 20, 2023
Merged

nut 2.8.1 #153279

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions Formula/n/nut.rb
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
class Nut < Formula
desc "Network UPS Tools: Support for various power devices"
homepage "https://networkupstools.org/"
url "https://github.com/networkupstools/nut/releases/download/v2.8.1/nut-2.8.1.tar.gz"
sha256 "7da48ee23b1f0d8d72560bb0af84f5c5ae4dbe35452b84cb49840132e47f099c"
license "GPL-2.0-or-later"
revision 1

stable do
url "https://github.com/networkupstools/nut/releases/download/v2.8.0-signed/nut-2.8.0.tar.gz"
sha256 "c3e5a708da797b7c70b653d37b1206a000fcb503b85519fe4cdf6353f792bfe5"

# fix build failure
# remove in next release
patch do
url "https://github.com/networkupstools/nut/commit/9e6d3c79a4c0ed71c25fdfd350402bb2e78e42e8.patch?full_index=1"
sha256 "39472a04f1963a297713381a3a17e57183c1143a6602c194ca3016244caa6a9f"
end
end

livecheck do
url :stable
Expand Down Expand Up @@ -51,9 +40,6 @@ def install
if build.head?
ENV["XML_CATALOG_FILES"] = etc/"xml/catalog"
system "./autogen.sh"
else
# Regenerate configure, due to patch applied
system "autoreconf", "-i"
end

args = %W[
Expand All @@ -75,7 +61,9 @@ def install
--without-libltdl
--without-neon
--without-nss
--without-nut_monitor
--without-powerman
--without-pynut
--without-snmp
--without-wrap
]
Expand Down
Loading