diff options
Diffstat (limited to 'sysutils/upsmon/files')
-rw-r--r-- | sysutils/upsmon/files/patch-aa | 22 | ||||
-rw-r--r-- | sysutils/upsmon/files/patch-csocket.h | 12 | ||||
-rw-r--r-- | sysutils/upsmon/files/patch-daemon.cc | 10 | ||||
-rw-r--r-- | sysutils/upsmon/files/upsmon.sh | 20 |
4 files changed, 0 insertions, 64 deletions
diff --git a/sysutils/upsmon/files/patch-aa b/sysutils/upsmon/files/patch-aa deleted file mode 100644 index 8100fda38c17..000000000000 --- a/sysutils/upsmon/files/patch-aa +++ /dev/null @@ -1,22 +0,0 @@ ---- makefile.bsdi.orig Tue Aug 4 23:18:38 1998 -+++ makefile.bsdi Wed Aug 20 23:55:50 2003 -@@ -32,14 +32,14 @@ - .SUFFIXES: #clear list of suffixes - .SUFFIXES: .cc .o #rules for .c and .o - --CC = gcc --CFLAGS_DEBUG = -O2 -Wall -DDEBUG -g --CFLAGS_NODEBUG = -O2 -Wall -g -+CC = g++ -+CFLAGS_DEBUG = -DDEBUG -+CFLAGS_NODEBUG = - - .ifdef DEBUG --CFLAGS = $(CFLAGS_DEBUG) -+CFLAGS += $(CFLAGS_DEBUG) - .else --CFLAGS = $(CFLAGS_NODEBUG) -+CFLAGS += $(CFLAGS_NODEBUG) - .endif - - UPSMOND_TARGET = upsmond diff --git a/sysutils/upsmon/files/patch-csocket.h b/sysutils/upsmon/files/patch-csocket.h deleted file mode 100644 index 2d36a602223d..000000000000 --- a/sysutils/upsmon/files/patch-csocket.h +++ /dev/null @@ -1,12 +0,0 @@ ---- csocket.h.bak Wed Aug 20 17:08:31 2003 -+++ csocket.h Wed Aug 20 17:09:01 2003 -@@ -94,7 +94,7 @@ - int m_fdSocketNormal; // named stream socket descriptor - use for client/server exchange - int m_fdSocketServer; // server socket - used by server to listen for connections - int m_iLocalAddrLen; // local socket address length -- int m_iRemoteAddrLen; // local socket address length -+ socklen_t m_iRemoteAddrLen; // local socket address length - struct sockaddr_un m_saunLocal; // local socket address - struct sockaddr_un m_saunRemote; // remote socket address - char m_szSocketPath[MAX_PATHNAME]; // named stream socket path - diff --git a/sysutils/upsmon/files/patch-daemon.cc b/sysutils/upsmon/files/patch-daemon.cc deleted file mode 100644 index fcc5959f831a..000000000000 --- a/sysutils/upsmon/files/patch-daemon.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- daemon.cc.bak Tue Aug 4 17:18:14 1998 -+++ daemon.cc Wed Aug 20 17:07:49 2003 -@@ -32,6 +32,7 @@ - #include <sys/types.h> - #include <sys/stat.h> - #include <fcntl.h> -+#include <stdlib.h> - #include <unistd.h> - #include "stddef.h" - #include "daemon.h" diff --git a/sysutils/upsmon/files/upsmon.sh b/sysutils/upsmon/files/upsmon.sh deleted file mode 100644 index 31031407a2c0..000000000000 --- a/sysutils/upsmon/files/upsmon.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -case $1 in -start) - # see !!PREFIX!!/share/doc/upsmon/INSTALL for command line option details - - if [ -x !!PREFIX!!/sbin/upsmond ]; then - !!PREFIX!!/sbin/upsmond -p /dev/cuaa0 2>&1 > /dev/null && echo -n ' upsmond' - fi - ;; -stop) - killall upsmond && echo -n ' upsmond' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - exit 64 - ;; -esac - -exit 0 |