From ed9ac6e73d7b31f866c9d14f373c439021c0db8b Mon Sep 17 00:00:00 2001 From: kuriyama Date: Sun, 9 Dec 2001 14:40:13 +0000 Subject: Yet another conserver which is forked from comms/conserver long ago. --- comms/Makefile | 1 + comms/conserver-com/Makefile | 35 ++++++++++++++++++++++++++++ comms/conserver-com/distinfo | 1 + comms/conserver-com/files/patch-conserver.rc | 20 ++++++++++++++++ comms/conserver-com/pkg-comment | 1 + comms/conserver-com/pkg-descr | 14 +++++++++++ comms/conserver-com/pkg-plist | 5 ++++ 7 files changed, 77 insertions(+) create mode 100644 comms/conserver-com/Makefile create mode 100644 comms/conserver-com/distinfo create mode 100644 comms/conserver-com/files/patch-conserver.rc create mode 100644 comms/conserver-com/pkg-comment create mode 100644 comms/conserver-com/pkg-descr create mode 100644 comms/conserver-com/pkg-plist diff --git a/comms/Makefile b/comms/Makefile index 6c2fa18..0a0d9dc 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -6,6 +6,7 @@ SUBDIR += bpl+ SUBDIR += comserv SUBDIR += conserver + SUBDIR += conserver-com SUBDIR += ecu SUBDIR += ghfaxviewer SUBDIR += gkermit diff --git a/comms/conserver-com/Makefile b/comms/conserver-com/Makefile new file mode 100644 index 0000000..bd058c9 --- /dev/null +++ b/comms/conserver-com/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: conserver.com +# Date created: 9 December 2001 +# Whom: Jun Kuriyama +# +# $FreeBSD$ +# + +PORTNAME= conserver +PORTVERSION= 7.1.3 +CATEGORIES= comms +MASTER_SITES= ftp://ftp.conserver.com/conserver/ +PKGNAMESUFFIX= -com + +MAINTAINER= kuriyama@FreeBSD.org + +GNU_CONFIGURE= YES +CONFIGURE_ARGS= --with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \ + --with-libwrap + +MAN1= console.1 +MAN5= conserver.cf.5 conserver.passwd.5 +MAN8= conserver.8 + +DEFAULTPORT?= 782 +DEFAULTHOST?= localhost + +post-patch: + ${PERL} -pi.orig \ + -e 's@/usr/local/bin@${PREFIX}/sbin@' \ + ${WRKSRC}/conserver/conserver.rc + +post-install: + ${LN} -s ../conserver.rc ${PREFIX}/etc/rc.d/conserver.sh- + +.include diff --git a/comms/conserver-com/distinfo b/comms/conserver-com/distinfo new file mode 100644 index 0000000..6d0644f --- /dev/null +++ b/comms/conserver-com/distinfo @@ -0,0 +1 @@ +MD5 (conserver-7.1.3.tar.gz) = c824cb59e38ee9cca0279781ae89a69c diff --git a/comms/conserver-com/files/patch-conserver.rc b/comms/conserver-com/files/patch-conserver.rc new file mode 100644 index 0000000..04446b2 --- /dev/null +++ b/comms/conserver-com/files/patch-conserver.rc @@ -0,0 +1,20 @@ +--- conserver/conserver.rc.orig Sun Jul 8 04:54:09 2001 ++++ conserver/conserver.rc Sun Dec 9 16:32:01 2001 +@@ -3,7 +3,7 @@ + # Startup for conserver + # + +-PATH=/usr/bin:/usr/local/bin ++PATH=/bin:/usr/bin:/usr/local/bin + + case "$1" in + 'start') +@@ -12,7 +12,7 @@ + ;; + + 'stop') +- master=`ps -ef | grep conserver | awk '$3 == "1"{print $2}'` ++ master=`ps ax | grep conserver | awk '$3~/s/ {print $1}'` + [ "$master" ] && kill -TERM $master + ;; + diff --git a/comms/conserver-com/pkg-comment b/comms/conserver-com/pkg-comment new file mode 100644 index 0000000..bd19023 --- /dev/null +++ b/comms/conserver-com/pkg-comment @@ -0,0 +1 @@ +Application that allows multiple users to watch serial consoles diff --git a/comms/conserver-com/pkg-descr b/comms/conserver-com/pkg-descr new file mode 100644 index 0000000..16eab6e --- /dev/null +++ b/comms/conserver-com/pkg-descr @@ -0,0 +1,14 @@ +Conserver is an application that allows multiple users to watch a serial console +at the same time. It can log the data, allows users to take write-access of a +console (one at a time), and has a variety of bells and whistles to accentuate +that basic functionality. +The idea is that conserver will log all your serial traffic so you can go back +and review why something crashed, look at changes (if done on the console), +or tie the console logs into a monitoring system (just watch the logfiles it +creates). +With multi-user capabilities you can work on equipment with others, mentor, +train, etc. +It also does all that client-server stuff so that, assuming you have a network +connection, you can interact with any of the equipment from home or wherever. + +WWW: http://www.conserver.com/ diff --git a/comms/conserver-com/pkg-plist b/comms/conserver-com/pkg-plist new file mode 100644 index 0000000..7dcd9d0 --- /dev/null +++ b/comms/conserver-com/pkg-plist @@ -0,0 +1,5 @@ +sbin/conserver +etc/conserver.rc +bin/console +@exec ln -s ../conserver.rc %D/etc/rc.d/conserver.sh- +@unexec rm %D/etc/rc.d/conserver.sh- -- cgit v1.1