OSSP CVS Repository

ossp - Check-in [2999]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2999
Date: 2002-Dec-21 12:00:17 (local)
2002-Dec-21 11:00:17 (UTC)
User:rse
Branch:
Comment: Finally really use the "Environment" configuration section to find "cvs" and "sendmail" directly and add a "Program" sub-command to it for easier extension of the "Environment" section in the future.

Additionally, replace more "Shiela" occurrences with "OSSP shiela".

Tickets:
Inspections:
Files:
ossp-pkg/shiela/ChangeLog      1.15 -> 1.16     6 inserted, 1 deleted
ossp-pkg/shiela/INSTALL      1.3 -> 1.4     1 inserted, 1 deleted
ossp-pkg/shiela/Makefile.in      1.4 -> 1.5     4 inserted, 4 deleted
ossp-pkg/shiela/TODO      1.3 -> 1.4     1 inserted, 1 deleted
ossp-pkg/shiela/devtool.conf      1.3 -> 1.4     2 inserted, 2 deleted
ossp-pkg/shiela/shiela-install.pod      1.7 -> 1.8     10 inserted, 10 deleted
ossp-pkg/shiela/shiela-install.sh      1.8 -> 1.9     68 inserted, 38 deleted
ossp-pkg/shiela/shiela.pl      1.20 -> 1.21     21 inserted, 10 deleted
ossp-pkg/shiela/shiela.pod      1.7 -> 1.8     55 inserted, 37 deleted

ossp-pkg/shiela/ChangeLog 1.15 -> 1.16

--- ChangeLog    2002/12/21 10:32:39     1.15
+++ ChangeLog    2002/12/21 11:00:17     1.16
@@ -11,6 +11,11 @@
 
   Changes between 0.9.2 and 0.9.3 (19-Aug-2002 to 21-Dec-2002):
 
+   *) Finally really use the "Environment" configuration section to find
+      "cvs" and "sendmail" directly and add a "Program" sub-command to it
+      for easier extension of the "Environment" section in the future.
+      [Ralf S. Engelschall]
+
    *) Consistently use IO objects instead of the anchient direct
       fiddling with Perl's filedescriptor symbol globs.
       [Ralf S. Engelschall]
@@ -72,6 +77,6 @@
 
   Changes between *GENESIS* and 0.9.0 (Apr-2000 to 18-Jun-2000):
 
-   *) Created the first Shiela version.
+   *) Created the first OSSP shiela version.
       [Ralf S. Engelschall]
 


ossp-pkg/shiela/INSTALL 1.3 -> 1.4

--- INSTALL      2002/12/21 09:42:57     1.3
+++ INSTALL      2002/12/21 11:00:17     1.4
@@ -9,6 +9,6 @@
 
   INSTALLATION
   
-  Usually you want to use Shiela inside the repository tree. 
+  Usually you want to use OSSP shiela inside the repository tree. 
   Read the shiela-install(1) manual page for details.
 


ossp-pkg/shiela/Makefile.in 1.4 -> 1.5

--- Makefile.in  2002/12/21 09:42:57     1.4
+++ Makefile.in  2002/12/21 11:00:17     1.5
@@ -64,15 +64,15 @@
         @$(SHTOOL) echo -e "%Bgenerating shiela.1%b"
         V=`$(SHTOOL) version -l txt -d short VERSION`; \
         D=`$(SHTOOL) version -l txt -d long VERSION | $(SED) -e 's;.*(;;' -e 's;).*;;'`; \
-        $(POD2MAN) --section=1 --center="CVS ACL and Logging Facility" \
-                   --release="$$D" --date="OSSP Shiela $$V" shiela.pod >shiela.1
+        $(POD2MAN) --section=1 --center="Access Control and Logging Facility for CVS" \
+                   --release="$$D" --date="OSSP shiela $$V" shiela.pod >shiela.1
 
 shiela-install.1: shiela-install.pod
         @$(SHTOOL) echo -e "%Bgenerating shiela-install.1%b"
         V=`$(SHTOOL) version -l txt -d short VERSION`; \
         D=`$(SHTOOL) version -l txt -d long VERSION | $(SED) -e 's;.*(;;' -e 's;).*;;'`; \
-        $(POD2MAN) --section=1 --center="CVS ACL and Logging Facility" \
-                   --release="$$D" --date="OSSP Shiela $$V" shiela-install.pod >shiela-install.1
+        $(POD2MAN) --section=1 --center="Access Control and Logging Facility for CVS" \
+                   --release="$$D" --date="OSSP shiela $$V" shiela-install.pod >shiela-install.1
 
 install: all
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)


ossp-pkg/shiela/TODO 1.3 -> 1.4

--- TODO 2002/12/21 09:42:57     1.3
+++ TODO 2002/12/21 11:00:17     1.4
@@ -29,7 +29,7 @@
      just top-level directories. This should be easy to add for
      version 1.1 by adjusting the access control routine.
 
-  o  Shiela perhaps should read in shiela.msg in order to know
+  o  It perhaps should read in shiela.msg in order to know
      what to kick out when compressing the message. 
 
   For version 1.1:


ossp-pkg/shiela/devtool.conf 1.3 -> 1.4

--- devtool.conf 2002/12/21 09:42:57     1.3
+++ devtool.conf 2002/12/21 11:00:17     1.4
@@ -29,8 +29,8 @@
     sed -e "s/version=\".*\"/version=\"$V\"/" <shiela-install.sh >shiela-install.sh.n && mv shiela-install.sh.n shiela-install.sh
         V=`./shtool version -l txt -d long VERSION`
         sed -e "s/Version .*(.*)/Version $V/g" <README >README.n && mv README.n README
-    sed -e "s/B<OSSP Shiela> .*/B<OSSP Shiela> $V/" <shiela.pod >shiela.pod.n && mv shiela.pod.n shiela.pod
-    sed -e "s/B<OSSP Shiela> .*/B<OSSP Shiela> $V/" <shiela-install.pod >shiela-install.pod.n && mv shiela-install.pod.n shiela-install.pod
+    sed -e "s/B<OSSP shiela> .*/B<OSSP shiela> $V/" <shiela.pod >shiela.pod.n && mv shiela.pod.n shiela.pod
+    sed -e "s/B<OSSP shiela> .*/B<OSSP shiela> $V/" <shiela-install.pod >shiela-install.pod.n && mv shiela-install.pod.n shiela-install.pod
 
 %tag
         V=`./shtool version -ltxt -dshort VERSION | sed -e 's;\.;_;g'`


ossp-pkg/shiela/shiela-install.pod 1.7 -> 1.8

--- shiela-install.pod   2002/12/21 09:42:57     1.7
+++ shiela-install.pod   2002/12/21 11:00:17     1.8
@@ -29,23 +29,23 @@
 
 =head1 NAME
 
-B<shiela-install> - Shiela installation utility
+B<shiela-install> - OSSP shiela installation utility
 
 =head1 VERSION
 
-B<OSSP Shiela> 0.9.3 (21-Dec-2002)
+B<OSSP shiela> 0.9.3 (21-Dec-2002)
 
 =head1 DESCRIPTION
 
-B<Shiela> is an access control and logging facility for use with
+B<OSSP shiela> is an access control and logging facility for use with
 the I<Concurrent Versions System> (CVS). Read shiela(1) for more
-details about B<Shiela> itself. This B<shiela-install> program is a
-small utility intended to help in adding B<Shiela> to an existing CVS
+details about B<OSSP shiela> itself. This B<shiela-install> program is a
+small utility intended to help in adding B<OSSP shiela> to an existing CVS
 repository for testing or production purposes.
 
 =head1 INSTALLATION: MANUALLY
 
-B<Shiela> can be installed and activated in a CVS repository either
+B<OSSP shiela> can be installed and activated in a CVS repository either
 manually or via the B<shiela-install> program. The manual steps would
 be:
 
@@ -79,7 +79,7 @@
 operations): ``C<ALL $CVSROOT/CVSROOT/shiela --hook=importinfo>''. This
 assumes that you are using the OSSP CVS version. If you use a stock CVS
 version, you have to skip this step and live with the fact that `C<cvs
-import>' commands cannot be access controlled by B<Shiela> (because then
+import>' commands cannot be access controlled by B<OSSP shiela> (because then
 this hook does not exists at all).
 
 =item B<6.>
@@ -88,7 +88,7 @@
 operations): ``C<ALL $CVSROOT/CVSROOT/shiela --hook=admininfo>''. This
 requires that you are using the OSSP CVS version. If you use a stock CVS
 version, you have to skip this step and life with the fact that `C<cvs
-admin>' commands cannot be access controlled by B<Shiela> (because then
+admin>' commands cannot be access controlled by B<OSSP shiela> (because then
 this hook does not exists at all).
 
 =item B<7.>
@@ -107,9 +107,9 @@
 ``C<ALL $CVSROOT/CVSROOT/shiela --hook=loginfo %{sVvto}>''. This
 requires that you use the OSSP CVS version. If you use a stock CVS
 version, use ``C<ALL $CVSROOT/CVSROOT/shiela --hook=loginfo %{sVv}>''
-instead and live with the fact that B<Shiela>'s run-time efficiency is
+instead and live with the fact that B<OSSP shiela>'s run-time efficiency is
 slightly decreased and branch recognition might be less correct (because
-B<Shiela> has to determine details the hard way which CVS already would
+B<OSSP shiela> has to determine details the hard way which CVS already would
 know easily).
 
 =item B<10.>


ossp-pkg/shiela/shiela-install.sh 1.8 -> 1.9

--- shiela-install.sh    2002/12/21 09:42:57     1.8
+++ shiela-install.sh    2002/12/21 11:00:17     1.9
@@ -85,16 +85,17 @@
         ;;
 esac
 
-echo "This is ${term_bold}Shiela Setup${term_norm}, Version ${term_bold}${version}${term_norm}"
-echo "Copyright (c) 2000 Ralf S. Engelschall <rse@engelschall.com>"
+echo "This is ${term_bold}OSSP shiela Setup${term_norm}, Version ${term_bold}${version}${term_norm}"
+echo "Copyright (c) 2000-2002 Ralf S. Engelschall <rse@engelschall.com>"
+echo "Copyright (c) 2000-2002 The OSSP Project <http://www.ossp.org/>"
 echo ""
 
 echo "${term_bold}PARAMETER DETERMINATION${term_norm}"
 cat <<EOT
 
-This utility helps you to initially setup Shiela for a particular CVS
+This utility helps you to initially setup OSSP shiela for a particular CVS
 repository. It asks you a few questions in order to establish an initial
-Shiela configuration. This can be adjusted later without problems. Only
+OSSP shiela configuration. This can be adjusted later without problems. Only
 the questions marked with (U) ask for details which are actually used
 immediately and so have to be correctly entered already now. All other
 questions ask just for informational (I) details which do not harm if
@@ -296,37 +297,61 @@
 fi
 query U tool_perl
 
-if [ ".$V_tool_cvs" = . ]; then
-    V_tool_cvs="cvs"
+if [ ".$V_tool_sendmail" = . ]; then
+    V_tool_sendmail="sendmail"
     for path in $paths; do
         path=`echo $path | sed -e 's;/*$;;'`
-        if [ $minusx "$path/cvs" ] && [ ! -d "$path/cvs" ]; then
-            V_tool_cvs="$path/cvs"
+        if [ $minusx "$path/sendmail" ] && [ ! -d "$path/sendmail" ]; then
+            V_tool_sendmail="$path/sendmail"
             break
         fi
     done
 fi
-query U tool_cvs
+query U tool_sendmail
 
-if [ ".$V_tool_sendmail" = . ]; then
-    V_tool_sendmail="sendmail"
+if [ ".$V_tool_diff" = . ]; then
+    V_tool_diff="diff"
     for path in $paths; do
         path=`echo $path | sed -e 's;/*$;;'`
-        if [ $minusx "$path/sendmail" ] && [ ! -d "$path/sendmail" ]; then
-            V_tool_sendmail="$path/sendmail"
+        if [ $minusx "$path/diff" ] && [ ! -d "$path/diff" ]; then
+            V_tool_diff="$path/diff"
             break
         fi
     done
 fi
-query U tool_sendmail
+query U tool_diff
+
+if [ ".$V_tool_uuencode" = . ]; then
+    V_tool_uuencode="uuencode"
+    for path in $paths; do
+        path=`echo $path | sed -e 's;/*$;;'`
+        if [ $minusx "$path/uuencode" ] && [ ! -d "$path/uuencode" ]; then
+            V_tool_diff="$path/uuencode"
+            break
+        fi
+    done
+fi
+query U tool_uuencode
+
+if [ ".$V_tool_cvs" = . ]; then
+    V_tool_cvs="cvs"
+    for path in $paths; do
+        path=`echo $path | sed -e 's;/*$;;'`
+        if [ $minusx "$path/cvs" ] && [ ! -d "$path/cvs" ]; then
+            V_tool_cvs="$path/cvs"
+            break
+        fi
+    done
+fi
+query U tool_cvs
 
 CVS_VERSION=`$V_tool_cvs --version |\
              grep "Concurrent Versions System (CVS)" |\
              sed -e 's;^.*(CVS) ;;' -e 's; .*$;;'`
-if [ ".`$V_tool_cvs --version | grep OSSP`" != . ]; then
-    CVS_VENDOR=OSSP
+if [ ".`$V_tool_cvs --version | grep RSE`" != . ]; then
+    CVS_VENDOR=RSE
 else
-    CVS_VENDOR=OpenAvenue
+    CVS_VENDOR=CVSHome.org
 fi
 case $CVS_VERSION in
    1.10.[789]* | 1.10.1[0123456789]* | 1.11.* ) 
@@ -337,12 +362,14 @@
        ;;
 esac
 case $CVS_VENDOR in
-    OSSP ) 
+    RSE ) 
        ;;
     * ) 
        echo "WARNING: You are using a stock CVS version from $CVS_VENDOR!"
-       echo "         This means that not all Shiela functionality is available".
-       echo "         for you. Please consider upgrading to the OSSP CVS version.".
+       echo "         This means that not all OSSP shiela functionality is available"
+       echo "         for you. We recommend to use the OpenPKG CVS version with"
+       echo "         the enhancement patchset from Ralf S. Engelschall applied."
+       echo "         [see http://www.openpkg.org/ for OpenPKG]"
        echo ""
        ;;
 esac
@@ -366,12 +393,13 @@
 
 cat >$tmpdir/shiela.cfg <<EOT
 ##
-##  Shiela - CVS Access Control and Logging Facility
-##  Copyright (c) 2000 Ralf S. Engelschall <rse@engelschall.com>
+##  OSSP shiela - Access Control and Logging Facility for CVS
+##  Copyright (c) 2000-2002 Ralf S. Engelschall <rse@engelschall.com>
+##  Copyright (c) 2000-2002 The OSSP Project <http://www.ossp.org/>
 ##
-##  This file is part of Shiela, an access control and logging
-##  facility for Concurrent Versions System (CVS) repositories 
-##  which can be found at http://www.ossp.org/pkg/shiela/.
+##  This file is part of OSSP shiela, an access control and logging
+##  facility for Concurrent Versions System (CVS) repositories
+##  which can be found at http://www.ossp.org/pkg/tool/shiela/.
 ##
 ##  This program is free software; you can redistribute it and/or
 ##  modify it under the terms of the GNU General Public  License 
@@ -388,9 +416,16 @@
 ##  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 ##  USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
 ##
-##  shiela.cfg: Shiela configuration (syntax: Shiela C-style)
+##  shiela.cfg: run-time configuration (syntax: OSSP shiela C-style)
 ##
 
+Environment {
+    Program sendmail ${V_tool_sendmail};
+    Program cvs      ${V_tool_cvs};
+    Program diff     ${V_tool_diff};
+    Program uuencode ${V_tool_uuencode};
+};
+
 Project {
     Tag     ${V_project_tag};
     Name    "${V_project_name}";
@@ -404,11 +439,6 @@
     };
 };
 
-Environment {
-    CVS      ${V_tool_cvs};
-    Sendmail ${V_tool_sendmail};
-};
-
 Repository {
     Tag     ${V_repos_tag};
     Name    "${V_repos_name}"; 
@@ -458,7 +488,7 @@
 cat <<EOT
 
 Initial "shiela.cfg" and "shiela.msg" files were generated for you. 
-Before Shiela is installed and activated with these configuration files, 
+Before OSSP shiela is installed and activated with these configuration files, 
 you have the chance to adjust them in your editor.
 
 EOT
@@ -599,17 +629,17 @@
     fi
 fi
 echo ""
-run "$V_tool_cvs commit -m 'Add Shiela -- CVS Access Control and Logging Facility' ."
+run "$V_tool_cvs commit -m 'Add OSSP shiela -- Access Control and Logging Facility for CVS' ."
 run cd ..
 run rm -rf CVSROOT
 
 cat <<EOT
 
-Ok, your $V_repos_path/CVSROOT/ area was modified to now use Shiela for
-access control and logging. You can try it out by checking out CVSROOT
-yourself and modify some files. You should receive an Email for every
-modification. Then especially adjust "shiela.cfg" for your particular
-repository layout.
+Ok, your $V_repos_path/CVSROOT/ area was modified to now use OSSP shiela
+for access control and logging. You can try it out by checking out
+CVSROOT yourself and modify some files. You should receive an Email
+for every modification. Then especially adjust "shiela.cfg" for your
+particular repository layout.
 
 EOT
 


ossp-pkg/shiela/shiela.pl 1.20 -> 1.21

--- shiela.pl    2002/12/21 10:32:40     1.20
+++ shiela.pl    2002/12/21 11:00:17     1.21
@@ -149,7 +149,7 @@
 
     #   determine user information
     $RT->{username} = $CF->{Project}->{User}->{$RT->{userid}}->{name} ||
-                      die "CVS user `$RT->{userid}' not found in Shiela configuration";
+                      die "CVS user `$RT->{userid}' not found in OSSP shiela configuration";
     $RT->{usermail} = $CF->{Project}->{User}->{$RT->{userid}}->{mail} ||
                       "$RT->{userid}\@localhost";
 
@@ -175,11 +175,19 @@
         }
         return $prog;
     }
-    $RT->{sendmail} = &find_program("ssmtp") ||
+    $RT->{sendmail} = $CF->{Environment}->{Program}->{cvs} ||
+                      &find_program("ssmtp") ||
                       &find_program("sendmail") || 
                       die "unable to find `sendmail' program";
-    $RT->{cvs}      = &find_program("cvs") || 
+    $RT->{cvs}      = $CF->{Environment}->{Program}->{sendmail} ||
+                      &find_program("cvs") || 
                       die "unable to find `cvs' program";
+    $RT->{diff}     = $CF->{Environment}->{Program}->{diff} ||
+                      &find_program("diff") || 
+                      die "unable to find `diff' program";
+    $RT->{uuencode} = $CF->{Environment}->{Program}->{uuencode} ||
+                      &find_program("uuencode") || 
+                      die "unable to find `uuencode' program";
 
     #   pre-calculate a reasonable MIME boundary tag
     my $randtag;
@@ -349,7 +357,7 @@
 
 ##  _________________________________________________________________
 ##
-##  Determine Shiela configuration.
+##  Determine OSSP shiela configuration.
 ##
 ##  We theoretically could directly operate on the syntax tree as
 ##  created by parse_config() above. But for convinience reasons and
@@ -380,6 +388,9 @@
         },
         'Logging' => {
             'Report' => {}
+        },
+        'Environment' => {
+            'Program' => {}
         }
     };
     my $cf = &parse_config($t, \&parse_config_callback, $CF);
@@ -1361,14 +1372,14 @@
 
     #   handle special invocation under `cvs add <dir>'
     if (join(' ', @cvsinfo) eq '- New directory') { # see CVS' src/add.c
-        #   Hmmm... we always just deal with files in Shiela, so there
+        #   Hmmm... we always just deal with files in OSSP shiela, so there
         #   is no obvious and consistent way to deal now with only a
         #   plain directory. And there is also no log message provided
         #   by CVS. Additionally, creating empty directories in the CVS
         #   repository doesn't harm anyone. A regular cronjob is usually
         #   used to get rid of them anyway. So we decided to not log
         #   `cvs add <dir>' commands at all. We are early in processing
-        #   it is acceptable to just exit Shiela immediately.
+        #   it is acceptable to just exit OSSP shiela immediately.
         exit(0);
     }
 
@@ -1407,7 +1418,7 @@
                     #  provided a temporary working area on the server
                     #  side for us. Now we can only hope the CVS version
                     #  is at least capable of server communications...
-                    print STDERR "cvs import: Warning: Shiela cannot process local imports\n";
+                    print STDERR "cvs import: Warning: OSSP shiela cannot process local imports\n";
                     print STDERR "cvs import: if the CVS version isn't at least capable of\n";
                     print STDERR "cvs import: server communications (which we're forced to use).\n";
                     print STDERR "cvs import: Ignoring this operation - don't expect log messages!\n";
@@ -1655,8 +1666,8 @@
                     "\$ cvs update -p -r$Iv $Is >$Is.new\n" .
                     "\$ diff -u $Is.old $Is.new\n";
                 if (not $RT->{useserver}) {
-                    system("$RT->{cvs} -f -l -Q -n update -p -r$IV '$Is' | uuencode '$Is' >$Is.old");
-                    system("$RT->{cvs} -f -l -Q -n update -p -r$Iv '$Is' | uuencode '$Is' >$Is.new");
+                    system("$RT->{cvs} -f -l -Q -n update -p -r$IV '$Is' | $RT->{uuencode} '$Is' >$Is.old");
+                    system("$RT->{cvs} -f -l -Q -n update -p -r$Iv '$Is' | $RT->{uuencode} '$Is' >$Is.new");
                 }
                 else {
                     my $cvs = new CVS ($RT->{cvs}, $RT->{cvsroot});
@@ -1676,7 +1687,7 @@
                     $io->close;
                     $cvs->close;
                 }
-                my $io = new IO::File "diff -u $Is.old $Is.new|"
+                my $io = new IO::File "$RT->{diff} -u $Is.old $Is.new|"
                     || die "unable to open diff command pipe for reading";
                 $cvsdiff .= $_ while (<$io>);
                 $io->close;


ossp-pkg/shiela/shiela.pod 1.7 -> 1.8

--- shiela.pod   2002/12/21 09:42:57     1.7
+++ shiela.pod   2002/12/21 11:00:17     1.8
@@ -81,6 +81,53 @@
 For semantical reasons only a particular structure is allowed to be created
 with the syntax. This is described in the following.
 
+=head2 Environment Configuration
+
+The last configuration block is optional and for setting the run-time
+environment. This configuration block has to be of the following
+structure:
+
+ Environment {
+     [Program sendmail <path>;]
+     [Program cvs <path>;]
+     [Program diff <path>;]
+     [Program uuencode <path>;]
+ };
+
+The individual parts of this are:
+
+=over 4
+
+=item B<Program sendmail E<lt>pathE<gt>;>
+
+This overrides the path to the F<sendmail> executable. Per default
+B<OSSP shiela> determines this automatically through the inherited C<$PATH>
+variable. Use this either if you have Sendmail not in C<$PATH> or if you
+have multiple Sendmail instances installed.
+
+=item B<Program cvs E<lt>pathE<gt>;>
+
+This overrides the path to the F<cvs> executable. Per default B<OSSP shiela>
+determines this automatically through the inherited C<$PATH> variable.
+Use this either if you have CVS not in C<$PATH> or if you have multiple
+CVS instances installed.
+
+=item B<Program diff E<lt>pathE<gt>;>
+
+This overrides the path to the F<diff> executable. Per default B<OSSP
+shiela> determines this automatically through the inherited C<$PATH>
+variable. Use this either if you have GNU Diffutils not in C<$PATH> or
+if you have multiple GNU Diffutils instances installed.
+
+=item B<Program uuencode E<lt>pathE<gt>;>
+
+This overrides the path to the F<uuencode> executable. Per default
+B<OSSP shiela> determines this automatically through the inherited
+C<$PATH> variable. Use this either if you have GNU Sharutils not in
+C<$PATH> or if you have multiple GNU Sharutils instances installed.
+
+=back
+
 =head2 Project Configuration
 
 The first configuration block is for the project to which the repository
@@ -335,42 +382,19 @@
 
 =back
 
-=head2 Environment Configuration
-
-The last configuration block is optional and for setting the run-time
-environment. This configuration block has to be of the following
-structure:
-
- Environment {
-     CVS <path>;
-     Sendmail <path>;
- };
-
-The individual parts of this are:
-
-=over 4
-
-=item B<CVS E<lt>pathE<gt>;>
-
-This overrides the path to the CVS executable. Per default B<OSSP shiela>
-determines this automatically through the inherited C<$PATH> variable.
-Use this either if you have CVS not in C<$PATH> or if you have multiple
-CVS instances installed.
-
-=item B<Sendmail E<lt>pathE<gt>;>
-
-This overrides the path to the Sendmail executable. Per default
-B<OSSP shiela> determines this automatically through the inherited C<$PATH>
-variable. Use this either if you have Sendmail not in C<$PATH> or if you
-have multiple Sendmail instances installed.
-
-=back
-
 =head1 EXAMPLE
 
 The following example shows a fictive but reasonable configuration for a
 sample FOO project:
 
+ #   override the run-time environment
+ Environment {
+     Program sendmail /e/foo/sw/bin/sendmail;
+     Program cvs      /e/foo/sw/bin/cvs;
+     Program diff     /e/foo/sw/bin/diff;
+     Program uuencode /e/foo/sw/bin/uuencode;
+ };
+
  #   define the project and its users
  Project {
      Tag     FOO;
@@ -439,12 +463,6 @@
      };
  };
 
- #   override the run-time environment
- Environment {
-     CVS      /e/foo/sw/bin/cvs;
-     Sendmail /e/foo/sw/bin/sendmail;
- };
-
 =head1 HISTORY
 
 There were the scripts C<log_accum.pl> and C<commit_prep.pl> (originally

CVSTrac 2.0.1