head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2000.08.17.10.34.36;	author manoj;	state dead;
branches;
next	1.2;

1.2
date	2000.07.27.09.40.01;	author npm;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.27.08.55.02;	author npm;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Commit the tigris-cvs-pserver RPM. It uses tcpserver instead of inetd,
among other changes. Still not quite done yet, and the versions of
daemontools and ucspi-tcp it requires doesn't match those for the
qmail RPMs, but this RPM does seem to work.
@
text
@#!/bin/csh
###############################################################################
#
# File:         tigris-cvs-pserver
# RCS:          $Header: /cvs/releng/rpm/tigris-cvs-pserver/SOURCES/tigris-cvs-pserver,v 1.2 2000/07/27 09:40:01 npm Exp $
# Description:  Wrapper for CVS that nukes any environment variables (ensuring
#		that CVS or QMAIL subprograms don't get confused or begin
#		behaving badly.). Furthermore, it enforces calling CVS with
#		the all-important "-L" option. When used with tigris, cvs
#		pserver MUST be invoked with -L, or some serious security
#		problems will arise.
# Author:       Niels P. Mayer
# Created:      Wed Jul 26 16:51:52 2000
# Modified:     Thu Jul 27 02:40:23 2000 (Niels Mayer) npm@@beral.netwiz.net
# Language:     Shell-script
# Package:      N/A
# Status:       Experimental (Do Not Distribute)
#
# (C) Copyright 2000, Collab.net.
#
###############################################################################

## Nuke environment variables. We've seen problems w/ user-shell envvars
## specifically, when HOME or QMAILMFTFILE are set.
unsetenv *

## WARNING, DO NOT DELETE "-L" below!
exec /usr/bin/cvs -L --allow-root=/cvs pserver
@


1.2
log
@fixed wrong copyright.
@
text
@d5 1
a5 1
# RCS:          $Header: /cvs/releng/rpm/tigris-cvs-pserver/SOURCES/tigris-cvs-pserver,v 1.1 2000/07/27 08:55:02 npm Exp $
@


1.1
log
@

Added a new script to be invoked from /etc/inetd as
cvspserver      stream tcp nowait tigrisc /usr/sbin/tcpd /usr/bin/tigris-cvs-pserver
or
cvstunnelserver stream tcp nowait tigrisc /usr/sbin/tcpd /usr/bin/tigris-cvs-pserver
@
text
@d5 1
a5 1
# RCS:          $Header: $
d14 1
a14 1
# Modified:     Thu Jul 27 00:41:49 2000 (Niels Mayer) root@@h03.sny.collab.net
d19 1
a19 1
# (C) Copyright 2000, Collaborative Computing Systems, Inc., All Rights Reserved.
@

