summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comms/Makefile1
-rw-r--r--comms/conserver-com/Makefile35
-rw-r--r--comms/conserver-com/distinfo1
-rw-r--r--comms/conserver-com/files/patch-conserver.rc20
-rw-r--r--comms/conserver-com/pkg-comment1
-rw-r--r--comms/conserver-com/pkg-descr14
-rw-r--r--comms/conserver-com/pkg-plist5
7 files changed, 77 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 6c2fa18a684a..0a0d9dc9222d 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 000000000000..bd058c9cb560
--- /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 <kuriyama@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
diff --git a/comms/conserver-com/distinfo b/comms/conserver-com/distinfo
new file mode 100644
index 000000000000..6d0644f40bd1
--- /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 000000000000..04446b2d6c2c
--- /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 000000000000..bd1902369f82
--- /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 000000000000..16eab6e05259
--- /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 000000000000..7dcd9d07168a
--- /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-