summaryrefslogtreecommitdiff
path: root/sysutils/upsmon
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/upsmon')
-rw-r--r--sysutils/upsmon/Makefile39
-rw-r--r--sysutils/upsmon/distinfo2
-rw-r--r--sysutils/upsmon/files/patch-aa22
-rw-r--r--sysutils/upsmon/files/patch-csocket.h12
-rw-r--r--sysutils/upsmon/files/patch-daemon.cc10
-rw-r--r--sysutils/upsmon/files/upsmon.sh20
-rw-r--r--sysutils/upsmon/pkg-descr5
-rw-r--r--sysutils/upsmon/pkg-message9
-rw-r--r--sysutils/upsmon/pkg-plist5
9 files changed, 0 insertions, 124 deletions
diff --git a/sysutils/upsmon/Makefile b/sysutils/upsmon/Makefile
deleted file mode 100644
index 24a74bb55022..000000000000
--- a/sysutils/upsmon/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# New ports collection makefile for: upsmon
-# Date created: 5 Oct 1998
-# Whom: Igor Vinokurov <igor@zynaps.ru>
-#
-# $FreeBSD$
-#
-
-PORTNAME= upsmon
-PORTVERSION= 2.1.3
-CATEGORIES= sysutils
-MASTER_SITES= ftp://ftp.dinoex.de/pub/experiment/ \
- ftp://newcorridor.com/pub/upsmon/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Basic UPS monitor for the APC SmartUPS devices
-
-DEPRECATED= Upstream disapear and distfile is no more available
-EXPIRATION_DATE= 2011-05-01
-
-MAKEFILE= makefile.bsdi
-RESTRICTED= "must provide without modifications"
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/upsstat ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/upsmond ${PREFIX}/sbin
-
- ${SED} -e 's#!!PREFIX!!#${PREFIX}#g' ${FILESDIR}/upsmon.sh \
- > ${PREFIX}/etc/rc.d/upsmon.sh
- @${CHMOD} +x ${PREFIX}/etc/rc.d/upsmon.sh
-
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
-.endif
-
-post-install:
- ${SED} -e 's#/usr/local#${PREFIX}#' ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/sysutils/upsmon/distinfo b/sysutils/upsmon/distinfo
deleted file mode 100644
index d1b6d4f91092..000000000000
--- a/sysutils/upsmon/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (upsmon-2.1.3.tar.gz) = a15117be5c0bd0f24100034021c0c0fcbe9f3d68b53efeab02bb8a872046b943
-SIZE (upsmon-2.1.3.tar.gz) = 23890
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
diff --git a/sysutils/upsmon/pkg-descr b/sysutils/upsmon/pkg-descr
deleted file mode 100644
index 4a61fd57aeda..000000000000
--- a/sysutils/upsmon/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Designed specifically for the APC SmartUPS devices, the
-software is dependent on the SmartUPS interface and will
-only function with SmartUPS devices.
-
-Provides the basic functions.
diff --git a/sysutils/upsmon/pkg-message b/sysutils/upsmon/pkg-message
deleted file mode 100644
index 91b8dca3783b..000000000000
--- a/sysutils/upsmon/pkg-message
+++ /dev/null
@@ -1,9 +0,0 @@
-
-upsmon has been installed.
-
-See /usr/local/share/doc/upsmon/INSTALL for command line
-option details.
-
-NOTE: upsmond will dump core if you start upsstat without
- SmartUPS properly attached to the specified port.
-
diff --git a/sysutils/upsmon/pkg-plist b/sysutils/upsmon/pkg-plist
deleted file mode 100644
index a406553e03a3..000000000000
--- a/sysutils/upsmon/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/upsstat
-sbin/upsmond
-etc/rc.d/upsmon.sh
-%%PORTDOCS%%share/doc/upsmon/INSTALL
-%%PORTDOCS%%@dirrm share/doc/upsmon