aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/nut
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2009-02-21 01:42:51 +0800
committerbeat <beat@FreeBSD.org>2009-02-21 01:42:51 +0800
commitc0b609cc5498ee0eab5146d94de888f1dc782762 (patch)
tree5c2ab614ae007e70dbf0a0b6b8145212999388fb /sysutils/nut
parent1bae88d72da28419ec60c92d68abeb02c96a9775 (diff)
downloadfreebsd-ports-gnome-c0b609cc5498ee0eab5146d94de888f1dc782762.tar.gz
freebsd-ports-gnome-c0b609cc5498ee0eab5146d94de888f1dc782762.tar.zst
freebsd-ports-gnome-c0b609cc5498ee0eab5146d94de888f1dc782762.zip
- Update to 2.4.1
- Add patch for problem reported in ports/131812 PR: ports/131885 Submitted by: Joerg Pulz <Joerg.Pulz AT frm2.tum.de> (maintainer) Approved by: miwi (mentor)
Diffstat (limited to 'sysutils/nut')
-rw-r--r--sysutils/nut/Makefile4
-rw-r--r--sysutils/nut/distinfo12
-rw-r--r--sysutils/nut/files/patch-clients-upssched.c11
-rw-r--r--sysutils/nut/pkg-plist1
4 files changed, 20 insertions, 8 deletions
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index 0d23f5629144..b08f0277bb44 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nut
-PORTVERSION= 2.4.0
+PORTVERSION= 2.4.1
#PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.networkupstools.org/source/${PORTVERSION:R}/
@@ -86,7 +86,7 @@ MAN8+= apcsmart.8 bcmxcp.8 belkin.8 belkinunv.8 \
bestuferrups.8 bestups.8 bestfcom.8 blazer.8 cyberpower.8 \
dummy-ups.8 etapro.8 everups.8 gamatronic.8 genericups.8 \
isbmex.8 liebert.8 masterguard.8 megatec.8 metasys.8 \
- mge-shut.8 mge-utalk.8 oneac.8 optiups.8 \
+ mge-shut.8 mge-utalk.8 microdowell.8 oneac.8 optiups.8 \
powercom.8 powerpanel.8 rhino.8 safenet.8 solis.8 tripplite.8 \
tripplitesu.8 upscode2.8 victronups.8
PLIST_SUB+= NUT_SERIAL=""
diff --git a/sysutils/nut/distinfo b/sysutils/nut/distinfo
index 06e0504bac67..71778da37c71 100644
--- a/sysutils/nut/distinfo
+++ b/sysutils/nut/distinfo
@@ -1,6 +1,6 @@
-MD5 (nut-2.4.0.tar.gz) = f21a32382886214f1688fae6b426618b
-SHA256 (nut-2.4.0.tar.gz) = 186bdce4c86dbaaa89ef265b6c20776675f67f80dbee7cc6d4eab32b01bd18d3
-SIZE (nut-2.4.0.tar.gz) = 1106716
-MD5 (nut-2.4.0.tar.gz.sig) = cff5b63529fc3f31a2324c8cd18038b0
-SHA256 (nut-2.4.0.tar.gz.sig) = a6fb5b41d045e6cb8c30fb0cdec243d085bb969a3adf621fc86d28a064def1ab
-SIZE (nut-2.4.0.tar.gz.sig) = 72
+MD5 (nut-2.4.1.tar.gz) = 609ebaf2123fc7171d25a6c742dd7d66
+SHA256 (nut-2.4.1.tar.gz) = 9e2441e1a7046627715cfe78e22f82f7bb05bf380735f803731b64e06bd19f3c
+SIZE (nut-2.4.1.tar.gz) = 1121152
+MD5 (nut-2.4.1.tar.gz.sig) = 3ac8a55987e25fbe07466a5673fdad68
+SHA256 (nut-2.4.1.tar.gz.sig) = 9e3e116b8f51e452d9af9b77d310b097096e8078a22c73a1ee3a0cb934ab64a5
+SIZE (nut-2.4.1.tar.gz.sig) = 72
diff --git a/sysutils/nut/files/patch-clients-upssched.c b/sysutils/nut/files/patch-clients-upssched.c
new file mode 100644
index 000000000000..1d2129b03d53
--- /dev/null
+++ b/sysutils/nut/files/patch-clients-upssched.c
@@ -0,0 +1,11 @@
+--- clients/upssched.c.orig 2009-02-19 20:01:40.000000000 +0100
++++ clients/upssched.c 2009-02-19 20:02:00.000000000 +0100
+@@ -595,7 +595,7 @@
+ int pipefd, ret;
+ struct sockaddr_un saddr;
+
+- memset(&sa, '\0', sizeof(saddr));
++ memset(&saddr, '\0', sizeof(saddr));
+ saddr.sun_family = AF_UNIX;
+ snprintf(saddr.sun_path, sizeof(saddr.sun_path), "%s", pipefn);
+
diff --git a/sysutils/nut/pkg-plist b/sysutils/nut/pkg-plist
index 3e652c54350f..894de723587f 100644
--- a/sysutils/nut/pkg-plist
+++ b/sysutils/nut/pkg-plist
@@ -47,6 +47,7 @@ lib/libupsclient.la
%%NUT_SERIAL%%libexec/nut/metasys
%%NUT_SERIAL%%libexec/nut/mge-shut
%%NUT_SERIAL%%libexec/nut/mge-utalk
+%%NUT_SERIAL%%libexec/nut/microdowell
%%NUT_NEON%%libexec/nut/netxml-ups
%%NUT_SERIAL%%libexec/nut/newmge-shut
%%NUT_SERIAL%%libexec/nut/oneac