From owner-cvs-all Wed Aug 23 3:23:45 2000 Delivered-To: cvs-all@freebsd.org Received: from genius.systems.pavilion.net (genius.systems.pavilion.net [212.74.1.100]) by hub.freebsd.org (Postfix) with ESMTP id E399B37B423; Wed, 23 Aug 2000 03:23:37 -0700 (PDT) Received: by genius.systems.pavilion.net (Postfix, from userid 100) id 7BA699B2D; Wed, 23 Aug 2000 11:23:33 +0100 (BST) Date: Wed, 23 Aug 2000 11:23:33 +0100 From: Josef Karthauser To: Paul Richards Cc: David O'Brien , Jeroen Ruigrok van der Werven , Peter Wemm , Doug Barton , Warner Losh , Ade Lovett , Jonathan Lemon , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/games/fortune/datfiles fortunes Message-ID: <20000823112333.C7272@pavilion.net> References: <20000814003636.A74639@pavilion.net> <200008140753.AAA08038@netplex.com.au> <20000819124824.E88550@lucifer.bart.nl> <20000822161835.B807@dragon.nuxi.com> <20000823091714.D650@pavilion.net> <39A39D77.831D4501@originative.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <39A39D77.831D4501@originative.co.uk>; from paul@originative.co.uk on Wed, Aug 23, 2000 at 10:46:31AM +0100 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Aug 23, 2000 at 10:46:31AM +0100, Paul Richards wrote: > > > I'm building the ability to add these (and other local hacks) in. We > > can than argue about whether it gets switched on later. :) > > and the ability to separate what goes into the log and what is posted to > the list? > There's already limited support for that, via the $rcsidinfo variable. It makes sense to expand that idea. The main underlying goals are as follow: * Rewrite using Perl5isms instead of a combination of perl4 and perl5. (Including using taint, strict and -w warnings.) * Use a config.pm module to drive the configuration. * Make the system generic enough that any group (Apache, Apple, etc) can use it directly with only changes to the config file, but flexible enough that it does everything that _we_ want it to do. The advantage of using a configuration file written in Perl is that it can contain code to determine what the configuration should be. For instance when crypto was elsewhere: # The command used for mail the log messages. Usually something # like $MAILCMD = "/usr/sbin/sendmail". $MAILCMD = "/usr/local/bin/mailsend -H"; # Extra banner to add to top of commit messages. # i.e. $MAILBANNER = "Project X CVS Repository"; $MAILBANNER = ""; # No banner for general FreeBSD commits # Email addresses of recipients of commit mail. # i.e. $MAILADDRS = 'committers@your.domain.com'; $MAILADDRS = 'cvs-committers@FreeBSD.org cvs-all@FreeBSD.org'; #============================================================ # FreeBSD customisation - remove this block if you're using # this for your own projects. use Sys::Hostname; # get hostname() function if (hostname() =~ /freefall\.freebsd\.org/i) { $MAILADDRS = 'peter@FreeBSD.org' if $DEBUG; } else { $MAILADDRS = 'mark@FreeBSD.org' if $DEBUG; $MAIL_BANNER = "FreeBSD International Crypto Repository\n" } #============================================================ There's a snapshot of the development in Freefall:~joe/New-CVSROOT. Joe -- Josef Karthauser FreeBSD: How many times have you booted today? Technical Manager Viagra for your server (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message