NetBSD Problem Report #15238
Received: (qmail 2371 invoked from network); 14 Jan 2002 04:04:40 -0000
Message-Id: <200201140404.g0E44dB25276@egsner.cirr.com>
Date: Sun, 13 Jan 2002 22:04:39 -0600 (CST)
From: eric@cirr.com
Reply-To: eric@cirr.com
To: gnats-bugs@gnats.netbsd.org
Cc: eric@cirr.com
Subject: new package -- comms/conserver
X-Send-Pr-Version: 3.95
>Number: 15238
>Category: pkg
>Synopsis: new package -- comms/conserver
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jan 14 04:05:00 +0000 2002
>Closed-Date: Thu May 09 16:41:51 +0000 2002
>Last-Modified: Thu May 09 16:41:51 +0000 2002
>Originator: Eric Schnoebelen
>Release: NetBSD 1.5.1 (pkgsrc 20011230)
>Organization:
Eric Schnoebelen eric@cirr.com http://www.cirr.com
"Microsoft asks you where you want to go. UNIX gets you there."
-- david@mono.org
>Environment:
System: NetBSD egsner 1.5.1 NetBSD 1.5.1 (GENERIC) #56: Mon Jul 2 15:54:23 CEST 2001 he@nsa.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
Add a package for conserver, (the GNAC/Certainy Solutions,
available from http://www.conserver.com) a serial console access
management system.
Features:
Support for multiple concurrent access to a given console,
continue logging of console output,
console management via terminal servers,
console access control
Created from the FreeBSD port comms/conserver-com.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# DESCR
# Makefile
# PLIST
# distinfo
# files
# patches
# files/conserver.sh
# patches/patch-aa
# patches/patch-ab
#
echo x - DESCR
sed 's/^X//' >DESCR << 'END-of-DESCR'
XConserver is an application that allows multiple users to watch a
Xserial console at the same time. It can log the data, allows users
Xto take write-access of a console (one at a time), and has a variety
Xof bells and whistles to accentuate that basic functionality.
X
XThe idea is that conserver will log all your serial traffic so you
Xcan go back and review why something crashed, look at changes (if
Xdone on the console), or tie the console logs into a monitoring
Xsystem (just watch the logfiles it creates).
X
XWith multi-user capabilities you can work on equipment with others,
Xmentor, train, etc.
X
XIt also does all that client-server stuff so that, assuming you
Xhave a network connection, you can interact with any of the equipment
Xfrom home or wherever.
X
XWWW: http://www.conserver.com/
END-of-DESCR
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# $NetBSD$
X# FreeBSD Id: ports/comms/conserver-com/Makefile,v 1.1 2001/12/09 14:40:12 kuriyama Exp
X
XDISTNAME= conserver-7.1.3
XPKGNAME= ${DISTNAME}
XCATEGORIES= comms
XMASTER_SITES= ftp://ftp.conserver.com/conserver/
X
XMAINTAINER= packages@netbsd.org
XHOMEPAGE= http://www.conserver.com/
XCOMMENT= Application that allows multiple users to watch serial consoles
X
XGNU_CONFIGURE= YES
XCONFIGURE_ARGS= --with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \
X --with-libwrap
X
XDEFAULTPORT?= 782
XDEFAULTHOST?= localhost
XRCD_SCRIPTS= conserver
X
Xpre-install:
X for script in ${RCD_SCRIPTS}; do \
X ${SED} ${FILES_SUBST_SED} ${FILESDIR}/$${script}.sh \
X >${WRKDIR}/$${script}; \
X done
X
Xpost-install:
X for script in ${RCD_SCRIPTS} ; do \
X ${INSTALL_SCRIPT} ${WRKDIR}/$${script} \
X ${PREFIX}/etc/rc.d/$${script}; \
X done
X
X.include "../../mk/bsd.pkg.install.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-Makefile
echo x - PLIST
sed 's/^X//' >PLIST << 'END-of-PLIST'
X@comment $NetBSD$
Xsbin/conserver
Xbin/console
Xetc/rc.d/conserver
Xetc/conserver.cf.example
Xetc/conserver.passwd.example
Xman/man1/console.1
Xman/man5/conserver.cf.5
Xman/man8/conserver.8
END-of-PLIST
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
X$NetBSD$
X
XSHA1 (conserver-7.1.3.tar.gz) = 798bacc990220a9b74cdd322eaf7f4e05060e3fe
XSize (conserver-7.1.3.tar.gz) = 129744 bytes
XSHA1 (patch-aa) = d9fa0a6166750c4360bdf862339d58bd3e767e2c
XSHA1 (patch-ab) = 275ffb63809963cf4d6d921922e3d9f244170888
END-of-distinfo
echo c - files
mkdir -p files > /dev/null 2>&1
echo c - patches
mkdir -p patches > /dev/null 2>&1
echo x - files/conserver.sh
sed 's/^X//' >files/conserver.sh << 'END-of-files/conserver.sh'
X#!/bin/sh
X#
X# $NetBSD: $
X#
X# PROVIDE: conserver
X# REQUIRE: DAEMON
X
Xif [ -e /etc/rc.subr ]
Xthen
X . /etc/rc.subr
Xfi
X
Xname="conserver"
Xrcvar=$name
Xcommand="@PREFIX@/sbin/${name}"
Xrequired_files="@PKG_SYSCONFDIR@/conserver.cf"
Xpidfile="/var/run/conserver.pid"
Xextra_commands=""
Xcommand_args="-d" # _must_ start as daemon from rc.d;
X # add more flags through ${${name}_flags}
X
Xif [ -e /etc/rc.subr ]
Xthen
X load_rc_config $name
X run_rc_command "$1"
Xelse
X @ECHO@ -n ' ${name}'
X ${command} ${smbd_flags} ${command_args}
Xfi
END-of-files/conserver.sh
echo x - patches/patch-aa
sed 's/^X//' >patches/patch-aa << 'END-of-patches/patch-aa'
X$NetBSD$
X
X--- conserver/Makefile.in.orig Thu Aug 9 16:54:02 2001
X+++ conserver/Makefile.in
X@@ -53,7 +53,5 @@
X $(INSTALL_PROGRAM) conserver $(DESTDIR)$(sbindir)
X $(MKDIR) $(DESTDIR)$(mandir)/man8
X $(INSTALL) conserver.man $(DESTDIR)$(mandir)/man8/conserver.8
X- $(MKDIR) $(DESTDIR)$(sysconfdir)
X- [ -f $(DESTDIR)$(sysconfdir)/conserver.rc ] || $(INSTALL) conserver.rc $(DESTDIR)$(sysconfdir)
X
X .PHONY: clean distclean install
END-of-patches/patch-aa
echo x - patches/patch-ab
sed 's/^X//' >patches/patch-ab << 'END-of-patches/patch-ab'
X$NetBSD$
X
X--- conserver.cf/Makefile.in.orig Sun Jan 13 18:10:46 2002
X+++ conserver.cf/Makefile.in
X@@ -24,5 +24,7 @@
X $(MKDIR) $(DESTDIR)$(mandir)/man5
X $(INSTALL) conserver.cf.man $(DESTDIR)$(mandir)/man5/conserver.cf.5
X $(INSTALL) conserver.passwd.man $(DESTDIR)$(mandir)/man5/conserver.passwd.5
X+ $(INSTALL) conserver.cf $(DESTDIR)$(sysconfdir)/conserver.cf.example
X+ $(INSTALL) conserver.passwd $(DESTDIR)$(sysconfdir)/conserver.passwd.example
X
X .PHONY: clean distclean install
END-of-patches/patch-ab
exit
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: hubertf
State-Changed-When: Thu May 9 09:30:28 PDT 2002
State-Changed-Why:
committed, thanks!
- Hubert
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.