summaryrefslogtreecommitdiff
path: root/sysutils/nut22
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/nut22')
-rw-r--r--sysutils/nut22/Makefile72
-rw-r--r--sysutils/nut22/distinfo1
-rw-r--r--sysutils/nut22/files/patch-aa71
-rw-r--r--sysutils/nut22/pkg-comment1
-rw-r--r--sysutils/nut22/pkg-descr7
-rw-r--r--sysutils/nut22/pkg-plist24
-rw-r--r--sysutils/nut22/pkg-plist.cgi6
-rw-r--r--sysutils/nut22/pkg-plist.doc21
8 files changed, 0 insertions, 203 deletions
diff --git a/sysutils/nut22/Makefile b/sysutils/nut22/Makefile
deleted file mode 100644
index 2215945f7feb..000000000000
--- a/sysutils/nut22/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-# New ports collection makefile for: nut
-# Date created: 08 Jan 2000
-# Whom: Boris Popov <bp@freebsd.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= nut
-PORTVERSION= 0.44.0
-CATEGORIES= sysutils
-MASTER_SITES= http://www.exploits.org/nut/release/
-
-MAINTAINER= bp@butya.kz
-
-.if defined(CGI)
-LIB_DEPENDS= gd.1:${PORTSDIR}/graphics/gd
-.endif
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \
- --with-cgipath=${PREFIX}/share/nut/cgi \
- --with-modelpath=${PREFIX}/sbin \
- --with-uid=65534 --with-gid=68
-
-ALL_TARGET= all
-
-PLIST= ${WRKDIR}/PLIST.DYN
-
-NDOCDIR= ${PREFIX}/share/doc/nut
-
-.if defined(CGI)
-NCGIDIR= ${PREFIX}/share/nut/cgi
-ALL_TARGET+= cgi
-.endif
-
-pre-fetch:
-.if !defined(CGI)
- @${ECHO_MSG} "Type \"make CGI=yes\" if you want to build CGI scripts."
-.endif
-
-pre-install:
- @cp ${PKGDIR}/PLIST ${WRKDIR}/PLIST.DYN
-.if !defined(NOPORSDOCS)
- @cat ${PKGDIR}/PLIST.DOC >> ${WRKDIR}/PLIST.DYN
-.endif
-.if defined(CGI)
- @cat ${PKGDIR}/PLIST.CGI >> ${WRKDIR}/PLIST.DYN
-.endif
-
-post-install:
- @${SED} -e "/%%PREFIX%%/s##${PREFIX}#g" \
- ${WRKSRC}/scripts/FreeBSD/upsd.sh.sample \
- >${PREFIX}/etc/rc.d/upsd.sh.sample
- @${CHMOD} 0755 ${PREFIX}/etc/rc.d/upsd.sh.sample
-.if !defined(NOPORTDOCS)
- @if ! [ -d ${NDOCDIR} ]; then ${MKDIR} ${NDOCDIR}; fi
- @if ! [ -d ${NDOCDIR}/cables ]; then ${MKDIR} ${NDOCDIR}/cables; fi
- ${INSTALL_DATA} ${WRKSRC}/docs/cables/*.txt ${NDOCDIR}/cables
- ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${NDOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/FAQ ${NDOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/Changes.trust ${NDOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${NDOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/QUICKSTART ${NDOCDIR}
-.endif
-.if defined(CGI)
- @if ! [ -d ${NCGIDIR} ]; then ${MKDIR} ${NCGIDIR}; fi
- ${INSTALL_DATA} ${WRKSRC}/clients/*.cgi ${NCGIDIR}
- @${ECHO_MSG} "Look in ${NCGIDIR} for cgi scripts."
-.endif
- @${ECHO_MSG} "Look in ${NDOCDIR} for documentation."
-
-.include <bsd.port.mk>
diff --git a/sysutils/nut22/distinfo b/sysutils/nut22/distinfo
deleted file mode 100644
index a1dade6d7474..000000000000
--- a/sysutils/nut22/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (nut-0.44.0.tar.gz) = 98314d5eb66db0e0eb367623cff16e56
diff --git a/sysutils/nut22/files/patch-aa b/sysutils/nut22/files/patch-aa
deleted file mode 100644
index 107977974a1c..000000000000
--- a/sysutils/nut22/files/patch-aa
+++ /dev/null
@@ -1,71 +0,0 @@
-diff -ur ../440/Makefile.in ./Makefile.in
---- ../440/Makefile.in Mon Jun 12 06:48:07 2000
-+++ ./Makefile.in Tue Jul 18 11:51:25 2000
-@@ -5,7 +5,7 @@
- BASEPATH = $(INSTALLROOT)@prefix@
- CONFPATH = $(INSTALLROOT)@sysconfdir@
- CGIPATH = $(INSTALLROOT)@CGIPATH@
--INSTALLDIRS=$(CONFPATH) $(CGIPATH) $(MODELPATH) $(BASEPATH)/bin $(BASEPATH)/misc
-+INSTALLDIRS=$(CONFPATH) $(CGIPATH) $(MODELPATH) $(BASEPATH)/bin
-
- STATEPATH = $(INSTALLROOT)@STATEPATH@
- SUBDIRS = common models server clients
-diff -ur ../440/clients/Makefile.in ./clients/Makefile.in
---- ../440/clients/Makefile.in Fri Jul 14 05:55:41 2000
-+++ ./clients/Makefile.in Mon Jul 17 17:48:29 2000
-@@ -57,7 +57,7 @@
-
- install: all
- @for f in $(PROGS) ; do \
-- $(INSTALLCMD) -m $(INSTALLMODE) $$f $(BASEPATH)/bin; \
-+ $(INSTALLCMD) -m $(INSTALLMODE) $$f $(BASEPATH)/sbin; \
- done
-
- install-cgi: cgi
-diff -ur ../440/conf/Makefile.in ./conf/Makefile.in
---- ../440/conf/Makefile.in Mon May 8 04:17:20 2000
-+++ ./conf/Makefile.in Mon Jul 17 17:49:43 2000
-@@ -13,17 +13,9 @@
-
- install:
- @for f in $(SECFILES) ; do \
-- if [ -f $(CONFPATH)/$$f ]; then \
-- echo "Preserving existing config file: $$f"; \
-- else \
-- $(INSTALLCMD) -m 0600 $$f $(CONFPATH); \
-- fi; \
-+ $(INSTALLCMD) -m 0600 $$f $(CONFPATH)/$$f.sample; \
- done
-
- @for f in $(PUBFILES) ; do \
-- if [ -f $(CONFPATH)/$$f ]; then \
-- echo "Preserving existing config file: $$f"; \
-- else \
-- $(INSTALLCMD) -m 0644 $$f $(CONFPATH); \
-- fi; \
-+ $(INSTALLCMD) -m 0644 $$f $(CONFPATH)/$$f.sample; \
- done
-diff -ur ../440/models/Makefile.in ./models/Makefile.in
---- ../440/models/Makefile.in Fri Jul 14 05:27:27 2000
-+++ ./models/Makefile.in Tue Jul 18 10:59:01 2000
-@@ -20,9 +20,7 @@
- # in the future ala the Linux "make config" process...
-
- $(PROGS): upscommon.o ../include/shared.h ../common/common.o
--
--.c:
-- $(CC) $(CFLAGS) -o $* $*.c upscommon.o ../common/common.o
-+ $(CC) $(CFLAGS) -o $* $*.c upscommon.o @SERLIBS@ ../common/common.o
-
- #
- # Housekeeping stuff
-diff -ur ../440/server/Makefile.in ./server/Makefile.in
---- ../440/server/Makefile.in Fri Jul 14 05:30:40 2000
-+++ ./server/Makefile.in Mon Jul 17 17:51:19 2000
-@@ -24,5 +24,5 @@
-
- install: all
- @for f in $(PROGS) ; do \
-- $(INSTALLCMD) $$f $(BASEPATH)/bin; \
-+ $(INSTALLCMD) $$f $(BASEPATH)/sbin; \
- done
diff --git a/sysutils/nut22/pkg-comment b/sysutils/nut22/pkg-comment
deleted file mode 100644
index 83ab91a03e2d..000000000000
--- a/sysutils/nut22/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Network UPS Tools
diff --git a/sysutils/nut22/pkg-descr b/sysutils/nut22/pkg-descr
deleted file mode 100644
index cfc898ce8095..000000000000
--- a/sysutils/nut22/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-This is a developing project to monitor a large assortment of UPS hardware.
-Network communications are used so that multiple systems can monitor a
-single physical UPS and shut down together if necessary without any
-special "sharing hardware" on the UPS itself. CGI scripts provided
-to monitor UPS status via WEB browser.
-
-WWW: http://www.exploits.org/nut/
diff --git a/sysutils/nut22/pkg-plist b/sysutils/nut22/pkg-plist
deleted file mode 100644
index 1b710856e2a9..000000000000
--- a/sysutils/nut22/pkg-plist
+++ /dev/null
@@ -1,24 +0,0 @@
-sbin/apcsmart
-sbin/bestfort
-sbin/bestups
-sbin/fentonups
-sbin/genericups
-sbin/ipt-anzen
-sbin/mustekups
-sbin/optiups
-sbin/ups-trust425+625
-sbin/victronups
-sbin/upsc
-sbin/upscmd
-sbin/upslog
-sbin/upsmon
-sbin/upsct
-sbin/upsct2
-sbin/upsd
-etc/nut/hosts.conf.sample
-etc/nut/multimon.conf.sample
-etc/nut/upsd.conf.sample
-etc/nut/upsmon.conf.sample
-etc/nut/upsset.passwd.sample
-etc/rc.d/upsd.sh.sample
-@dirrm etc/nut
diff --git a/sysutils/nut22/pkg-plist.cgi b/sysutils/nut22/pkg-plist.cgi
deleted file mode 100644
index 670b38eca27c..000000000000
--- a/sysutils/nut22/pkg-plist.cgi
+++ /dev/null
@@ -1,6 +0,0 @@
-share/nut/cgi/multimon.cgi
-share/nut/cgi/upsimage.cgi
-share/nut/cgi/upsset.cgi
-share/nut/cgi/upsstats.cgi
-@dirrm share/nut/cgi
-@dirrm share/nut
diff --git a/sysutils/nut22/pkg-plist.doc b/sysutils/nut22/pkg-plist.doc
deleted file mode 100644
index 18a1a05c9690..000000000000
--- a/sysutils/nut22/pkg-plist.doc
+++ /dev/null
@@ -1,21 +0,0 @@
-share/doc/nut/Changes.trust
-share/doc/nut/FAQ
-share/doc/nut/access.txt
-share/doc/nut/big-servers.txt
-share/doc/nut/commands.txt
-share/doc/nut/configure.txt
-share/doc/nut/data-room.txt
-share/doc/nut/generic-ups.txt
-share/doc/nut/new-modules.txt
-share/doc/nut/pager.txt
-share/doc/nut/powercom.txt
-share/doc/nut/protocol.txt
-share/doc/nut/shutdown.txt
-share/doc/nut/tips.txt
-share/doc/nut/todo.txt
-share/doc/nut/ups-trust425+625.txt
-share/doc/nut/README
-share/doc/nut/QUICKSTART
-share/doc/nut/cables/victron.txt
-@dirrm share/doc/nut/cables
-@dirrm share/doc/nut