[csw-devel] SF.net SVN: gar:[9845] csw/mgar/pkg

darinper at users.sourceforge.net darinper at users.sourceforge.net
Mon May 10 16:28:22 CEST 2010


Revision: 9845
          http://gar.svn.sourceforge.net/gar/?rev=9845&view=rev
Author:   darinper
Date:     2010-05-10 14:28:22 +0000 (Mon, 10 May 2010)

Log Message:
-----------
conserver: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/conserver/
    csw/mgar/pkg/conserver/branches/
    csw/mgar/pkg/conserver/tags/
    csw/mgar/pkg/conserver/trunk/
    csw/mgar/pkg/conserver/trunk/Makefile
    csw/mgar/pkg/conserver/trunk/checksums
    csw/mgar/pkg/conserver/trunk/files/
    csw/mgar/pkg/conserver/trunk/files/cswconserver


Property changes on: csw/mgar/pkg/conserver/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/conserver/trunk/Makefile
===================================================================
--- csw/mgar/pkg/conserver/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/conserver/trunk/Makefile	2010-05-10 14:28:22 UTC (rev 9845)
@@ -0,0 +1,55 @@
+# : Makefile 9089 2010-03-11 08:34:46Z wahwah $
+GARNAME = conserver
+GARVERSION = 8.1.7
+CATEGORIES = apps
+
+DESCRIPTION = Client/Server console server software
+define BLURB
+    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.
+
+endef
+
+MASTER_SITES = http://www.conserver.com/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+
+# File name regex to get notifications about upstream software releases
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, then 
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES = 
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-uds
+CONFIGURE_ARGS += --with-libwrap
+CONFIGURE_ARGS += --with-openssl
+CONFIGURE_ARGS += --with-pam
+
+LICENSE = LICENSE
+
+DISTFILES += cswconserver
+INITSMF = /opt/csw/etc/init.d/cswconserver
+
+include gar/category.mk
+
+RUNTIME_DEP_PKGS_CSWconserver += CSWtcpwrap
+RUNTIME_DEP_PKGS_CSWconserver += CSWosslrt
+
+post-merge: merge-init-script
+
+#
+merge-init-script:
+	ginstall -m 755 -d $(PKGROOT)/opt/csw/etc/init.d
+	ginstall -m 755 $(FILEDIR)/cswconserver $(PKGROOT)/opt/csw/etc/init.d/cswconserver
+


Property changes on: csw/mgar/pkg/conserver/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/conserver/trunk/checksums
===================================================================
--- csw/mgar/pkg/conserver/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/conserver/trunk/checksums	2010-05-10 14:28:22 UTC (rev 9845)
@@ -0,0 +1,2 @@
+9796099c4fca9f751a0ff4765288f8e4  conserver-8.1.7.tar.gz
+d1b417c462f745b2fc34e1519a2a1807  cswconserver

Added: csw/mgar/pkg/conserver/trunk/files/cswconserver
===================================================================
--- csw/mgar/pkg/conserver/trunk/files/cswconserver	                        (rev 0)
+++ csw/mgar/pkg/conserver/trunk/files/cswconserver	2010-05-10 14:28:22 UTC (rev 9845)
@@ -0,0 +1,43 @@
+#!/bin/sh
+#
+# Startup for conserver
+#
+
+PATH=/usr/bin:/bin:/opt/csw/bin:/opt/csw/sbin
+PIDFILE="/var/run/conserver.pid"
+
+[ ! -f /opt/csw/etc/conserver.cf ] && exit
+
+signalmaster() {
+    sig=$1
+    if [ -f "$PIDFILE" ]; then
+        master=`cat "$PIDFILE"`
+    else
+        master=`ps -ef | grep conserver | awk '$3 == "1"{print $2}'`
+    fi
+    [ "$master" ] && kill -$sig $master
+}
+
+case "$1" in
+        'start')
+                echo "Starting console server daemon"
+                conserver -d
+                ;;
+
+        'stop')
+                echo "Stopping console server daemon"
+                signalmaster TERM
+                ;;
+
+        'restart')
+                echo "Restarting console server daemon"
+                signalmaster HUP
+                ;;
+
+        *)
+                echo "Usage: $0 { start | stop | restart }"
+                ;;
+
+esac
+exit 0
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list