aboutsummaryrefslogtreecommitdiff
path: root/sysutils/nut22
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2009-02-20 17:42:51 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2009-02-20 17:42:51 +0000
commit2292cb8a75c5698208010bde723687345d52f077 (patch)
treeccfcdccbd9938e986f60fd71c04109b8e0852c8f /sysutils/nut22
parentb6b3c20cfc2cd0bdc44bef5af475bc7d70d674e0 (diff)
downloadports-2292cb8a75c5698208010bde723687345d52f077.tar.gz
ports-2292cb8a75c5698208010bde723687345d52f077.zip
Notes
Diffstat (limited to 'sysutils/nut22')
-rw-r--r--sysutils/nut22/Makefile4
-rw-r--r--sysutils/nut22/distinfo12
-rw-r--r--sysutils/nut22/files/patch-clients-upssched.c11
-rw-r--r--sysutils/nut22/pkg-plist1
4 files changed, 20 insertions, 8 deletions
diff --git a/sysutils/nut22/Makefile b/sysutils/nut22/Makefile
index 0d23f5629144..b08f0277bb44 100644
--- a/sysutils/nut22/Makefile
+++ b/sysutils/nut22/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/nut22/distinfo b/sysutils/nut22/distinfo
index 06e0504bac67..71778da37c71 100644
--- a/sysutils/nut22/distinfo
+++ b/sysutils/nut22/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/nut22/files/patch-clients-upssched.c b/sysutils/nut22/files/patch-clients-upssched.c
new file mode 100644
index 000000000000..1d2129b03d53
--- /dev/null
+++ b/sysutils/nut22/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/nut22/pkg-plist b/sysutils/nut22/pkg-plist
index 3e652c54350f..894de723587f 100644
--- a/sysutils/nut22/pkg-plist
+++ b/sysutils/nut22/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