head 1.36; access; symbols SHIELA_1_1_7:1.36 SHIELA_1_1_6:1.35 SHIELA_1_1_5:1.34 SHIELA_1_1_4:1.32 SHIELA_1_1_3:1.30 SHIELA_1_1_2:1.29 SHIELA_1_1_1:1.28 SHIELA_1_1_0:1.27 SHIELA_1_0_4:1.19 SHIELA_1_0_3:1.17 SHIELA_1_0_2:1.15 SHIELA_1_0_1:1.14 SHIELA_1_0_0:1.13 SHIELA_0_9_2:1.6 SHIELA_0_9_1:1.2 SHIELA_0_9_0:1.1.1.1 vendor:1.1.1; locks; strict; comment @# @; 1.36 date 2006.07.20.08.17.11; author rse; state Exp; branches; next 1.35; commitid aQSB5U4vj5FkFzFr; 1.35 date 2005.10.03.12.43.44; author rse; state Exp; branches; next 1.34; 1.34 date 2005.01.12.20.46.13; author rse; state Exp; branches; next 1.33; 1.33 date 2005.01.12.20.44.27; author rse; state Exp; branches; next 1.32; 1.32 date 2004.07.02.19.24.52; author rse; state Exp; branches; next 1.31; 1.31 date 2004.07.02.19.19.33; author rse; state Exp; branches; next 1.30; 1.30 date 2004.06.27.07.45.50; author rse; state Exp; branches; next 1.29; 1.29 date 2004.05.10.18.14.12; author rse; state Exp; branches; next 1.28; 1.28 date 2004.05.10.13.38.24; author rse; state Exp; branches; next 1.27; 1.27 date 2004.05.07.07.45.56; author rse; state Exp; branches; next 1.26; 1.26 date 2004.05.07.07.33.50; author rse; state Exp; branches; next 1.25; 1.25 date 2004.05.07.06.27.07; author rse; state Exp; branches; next 1.24; 1.24 date 2004.05.06.19.45.39; author rse; state Exp; branches; next 1.23; 1.23 date 2004.05.05.13.11.43; author rse; state Exp; branches; next 1.22; 1.22 date 2004.01.16.12.11.07; author rse; state Exp; branches; next 1.21; 1.21 date 2004.01.16.12.09.03; author rse; state Exp; branches; next 1.20; 1.20 date 2003.09.22.11.50.49; author rse; state Exp; branches; next 1.19; 1.19 date 2002.12.23.14.45.16; author rse; state Exp; branches; next 1.18; 1.18 date 2002.12.23.14.13.09; author rse; state Exp; branches; next 1.17; 1.17 date 2002.12.23.13.10.56; author rse; state Exp; branches; next 1.16; 1.16 date 2002.12.23.11.32.05; author rse; state Exp; branches; next 1.15; 1.15 date 2002.12.23.09.13.41; author rse; state Exp; branches; next 1.14; 1.14 date 2002.12.23.08.50.34; author rse; state Exp; branches; next 1.13; 1.13 date 2002.12.22.17.37.28; author rse; state Exp; branches; next 1.12; 1.12 date 2002.12.22.15.01.17; author rse; state Exp; branches; next 1.11; 1.11 date 2002.12.22.11.10.42; author rse; state Exp; branches; next 1.10; 1.10 date 2002.12.22.11.06.50; author rse; state Exp; branches; next 1.9; 1.9 date 2002.12.21.11.00.17; author rse; state Exp; branches; next 1.8; 1.8 date 2002.12.21.09.42.57; author rse; state Exp; branches; next 1.7; 1.7 date 2002.12.21.09.20.27; author rse; state Exp; branches; next 1.6; 1.6 date 2002.08.19.19.10.38; author rse; state Exp; branches; next 1.5; 1.5 date 2001.12.31.15.00.31; author rse; state Exp; branches; next 1.4; 1.4 date 2001.05.04.13.30.00; author rse; state Exp; branches; next 1.3; 1.3 date 2001.05.04.13.25.18; author rse; state Exp; branches; next 1.2; 1.2 date 2001.02.10.16.40.26; author rse; state Exp; branches; next 1.1; 1.1 date 2000.06.18.14.30.50; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.06.18.14.30.50; author rse; state Exp; branches; next ; desc @@ 1.36 log @Adjust copyright messages for new year 2006 and upgrade build environment. @ text @#!@@SH@@ ## ## OSSP shiela - CVS Access Control and Logging Facility ## Copyright (c) 2000-2006 Ralf S. Engelschall ## Copyright (c) 2000-2006 The OSSP Project ## ## 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 ## as published by the Free Software Foundation; either version ## 2.0 of the License, or (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this file; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ## USA, or contact Ralf S. Engelschall . ## ## shiela-install.sh: repository install program (syntax: Bourne-Shell) ## version="1.1.7" prefix="@@prefix@@" bindir="@@bindir@@" if [ ".$TMPDIR" != . ]; then tmpdir=$TMPDIR elif [ ".$TEMPDIR" != . ]; then tmpdir=$TEMPDIR else tmpdir=/tmp fi tmpfile="$tmpdir/shiela-install.$$.tmp" # determine terminal bold sequence term_bold='' term_norm='' case $TERM in # for the most important terminal types we directly know the sequences xterm|xterm*|vt220|vt220*) term_bold=`awk 'BEGIN { printf("%c%c%c%c", 27, 91, 49, 109); }' /dev/null` term_norm=`awk 'BEGIN { printf("%c%c%c", 27, 91, 109); }' /dev/null` ;; vt100|vt100*) term_bold=`awk 'BEGIN { printf("%c%c%c%c%c%c", 27, 91, 49, 109, 0, 0); }' /dev/null` term_norm=`awk 'BEGIN { printf("%c%c%c%c%c", 27, 91, 109, 0, 0); }' /dev/null` ;; # for all others, we try to use a possibly existing `tput' or `tcout' utility * ) paths=`echo $PATH | sed -e 's/:/ /g'` for tool in tput tcout; do for dir in $paths; do if [ -r "$dir/$tool" ]; then for seq in bold md smso; do # 'smso' is last bold="`$dir/$tool $seq 2>/dev/null`" if [ ".$bold" != . ]; then term_bold="$bold" break fi done if [ ".$term_bold" != . ]; then for seq in sgr0 me rmso reset; do # 'reset' is last norm="`$dir/$tool $seq 2>/dev/null`" if [ ".$norm" != . ]; then term_norm="$norm" break fi done fi break fi done if [ ".$term_bold" != . -a ".$term_norm" != . ]; then break; fi done ;; esac echo "This is ${term_bold}OSSP shiela Setup${term_norm}, Version ${term_bold}${version}${term_norm}" echo "Copyright (c) 2000-2002 Ralf S. Engelschall " echo "Copyright (c) 2000-2002 The OSSP Project " echo "" echo "${term_bold}PARAMETER DETERMINATION${term_norm}" cat </dev/null) |\ egrep "^$V_user_name:" 2>/dev/null | \ sed -e 's/[^:]*:[^:]*:[^:]*:[^:]*://' -e 's/:.*$//'` fi query I user_realname if [ ".$V_user_email" = . ]; then V_user_email="${V_user_name}@@${V_domain_name}" fi query U user_email if [ ".$V_project_tag" = . ]; then V_project_tag="`echo ${V_user_name} |\ tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`" fi query I project_tag if [ ".$V_project_name" = . ]; then V_project_name="${V_user_realname}'s CVS Test Project" fi query I project_name if [ ".$V_project_home" = . ]; then V_project_home="http://${V_host_name}.${V_domain_name}/~${V_user_name}/" fi query I project_home if [ ".$V_project_contact" = . ]; then V_project_contact=${V_user_email} fi query I project_contact if [ ".$V_repos_tag" = . ]; then V_repos_tag="CVS-`echo ${V_user_name} |\ tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`" fi query I repos_tag if [ ".$V_repos_name" = . ]; then V_repos_name="${V_user_realname}'s CVS Test Repository" fi query I repos_name if [ ".$V_repos_contact" = . ]; then V_repos_contact=${V_project_contact} fi query I repos_contact if [ ".$V_repos_home" = . ]; then V_repos_home=${V_project_home} fi query I repos_home if [ ".$V_repos_host" = . ]; then V_repos_host="${V_host_name}.${V_domain_name}" fi query U repos_host if [ ".$V_repos_path" = . ]; then V_repos_path="${CVSROOT-/tmp}" fi query U repos_path if [ ! -d "$V_repos_path/CVSROOT" ]; then echo "shiela-install:Error: \`$V_repos_path' does not look like a CVS repository" 1>&2 exit 1 fi if [ ".$V_repos_history" = . ]; then V_repos_history="CVSROOT/shiela.log" fi query U repos_history if [ ".$V_env_path" = . ]; then V_env_path="/bin:/usr/bin:/sbin:/usr/sbin" fi query I env_path # check whether the test command supports the -x option if [ -x /bin/sh ] 2>/dev/null; then minusx="-x" else minusx="-r" fi # split path string paths="`echo $PATH |\ sed -e 's/^:/.:/' \ -e 's/::/:.:/g' \ -e 's/:$/:./' \ -e 's/:/ /g'`" if [ ".$V_tool_perl" = . ]; then V_tool_perl="perl" rm -f $tmpfile touch $tmpfile found=0 pc=99 for dir in $paths; do dir=`echo $dir | sed -e 's;/*$;;'` nc=99 for name in perl perl5 miniperl; do if [ $minusx "$dir/$name" -a ! -d "$dir/$name" ]; then perl="$dir/$name" pv=`$perl -e 'printf("%.3f", $]);'` echo "$pv:$pc:$nc:$perl" >>$tmpfile found=1 fi nc=`expr $nc - 1` done pc=`expr $pc - 1` done if [ $found = 1 ]; then V_tool_perl="`cat $tmpfile | sort -u | tail -1 | cut -d: -f4`" fi rm -f $tmpfile fi query U tool_perl if [ ".$V_tool_sendmail" = . ]; then V_tool_sendmail="sendmail" for path in $paths; do path=`echo $path | sed -e 's;/*$;;'` if [ $minusx "$path/sendmail" ] && [ ! -d "$path/sendmail" ]; then V_tool_sendmail="$path/sendmail" break fi done fi query I tool_sendmail if [ ".$V_tool_diff" = . ]; then V_tool_diff="diff" for path in $paths; do path=`echo $path | sed -e 's;/*$;;'` if [ $minusx "$path/diff" ] && [ ! -d "$path/diff" ]; then V_tool_diff="$path/diff" break fi done fi query I tool_diff if [ ".$V_tool_xdelta" = . ]; then V_tool_xdelta="xdelta" for path in $paths; do path=`echo $path | sed -e 's;/*$;;'` if [ $minusx "$path/xdelta" ] && [ ! -d "$path/xdelta" ]; then V_tool_xdelta="$path/xdelta" break fi done fi query I tool_xdelta 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_uuencode="$path/uuencode" break fi done fi query I 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 RSE`" != . ]; then CVS_VENDOR=RSE else CVS_VENDOR=CVSHome.org fi case $CVS_VERSION in 1.12.[6-9] | 1.12.[1-9][0-9] | 1.1[3-9].* ) ;; * ) echo "ERROR: CVS has to be version 1.12.6 or higher" exit 1 ;; esac case $CVS_VENDOR in RSE ) ;; * ) echo "WARNING: You are using a stock CVS version from $CVS_VENDOR!" 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 if [ ".$V_tool_shiela" = . ]; then V_tool_shiela="$bindir/shiela" for path in $paths; do path=`echo $path | sed -e 's;/*$;;'` if [ $minusx "$path/shiela" ] && [ ! -d "$path/shiela" ]; then V_tool_shiela="$path/shiela" break fi done fi query U tool_shiela if [ ".$V_shiela_local" = . ]; then V_shiela_local=yes fi query U shiela_local cat >$tmpdir/shiela.cfg < ## Copyright (c) 2000-2005 The OSSP Project ## ## 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 ## as published by the Free Software Foundation; either version ## 2.0 of the License, or (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this file; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ## USA, or contact Ralf S. Engelschall . ## ## shiela.cfg: run-time configuration (syntax: OSSP shiela C-style) ## Environment { Setenv PATH ${V_env_path}; Program sendmail ${V_tool_sendmail}; Program cvs ${V_tool_cvs}; Program diff ${V_tool_diff}; Program xdelta ${V_tool_xdelta}; Program uuencode ${V_tool_uuencode}; }; Project { Tag ${V_project_tag}; Name "${V_project_name}"; Contact ${V_project_contact}; Home ${V_project_home}; Users { User ${V_user_name} "${V_user_realname}" ${V_user_email}; }; Groups { Group users "Repository Users" { ${V_user_name} }; }; }; Repository { Tag ${V_repos_tag}; Name "${V_repos_name}"; Contact ${V_repos_contact}; Home ${V_repos_home}; Host ${V_repos_host}; Path ${V_repos_path}; History ${V_repos_history}; Modules { Module CVSROOT "CVS Administrative Files" { Acl * *:users; Log passwd none; Log * mail:${V_user_email}; }; }; }; Logging { Reports { Report mail { Content title rule header files log summary rule details; Details patch:plain; }; }; }; EOT cat >$tmpdir/shiela.msg <&2 eval $* || exit 1 } cvs_file () { op=$1 file=$2; name=`echo $file | sed -e 's;\.;_;g'` if [ ".$op" = .tst ]; then if [ -f $file ]; then eval "cvs_file_add_${name}=no" else eval "cvs_file_add_${name}=yes" fi elif [ ".$op" = .add ]; then eval "add=\$cvs_file_add_${name}" if [ ".$add" = .yes ]; then run $V_tool_cvs -q add $file fi fi } run rm -rf CVSROOT run cvs -Q -q -d${V_repos_path} co CVSROOT run cd CVSROOT if [ ".$V_shiela_local" = .yes ]; then cvs_file tst shiela run "cp $V_tool_shiela ." run chmod 755 shiela cvs_file add shiela V_tool_shiela="\$CVSROOT/CVSROOT/shiela" fi cvs_file tst shiela.cfg run cp $tmpdir/shiela.cfg . run chmod 644 shiela.cfg cvs_file add shiela.cfg cvs_file tst shiela.msg run cp $tmpdir/shiela.msg . run chmod 644 shiela.msg cvs_file add shiela.msg cvs_file tst config if [ ".`grep -i UseNewInfoFmtStrings config`" != . ]; then run "cp config config.old && sed -e 's;UseNewInfoFmtStrings=.*;UseNewInfoFmtStrings=yes;' config && rm -f config.old" else run "(echo ''; echo 'UseNewInfoFmtStrings=yes'; echo '') >>config" fi cvs_file add config cvs_file tst checkoutlist run "echo 'shiela.cfg' >>checkoutlist" run "echo 'shiela' >>checkoutlist" run "echo 'shiela.msg' >>checkoutlist" cvs_file add checkoutlist cvs_file tst rcsinfo run "(echo ''; echo 'ALL \$CVSROOT/CVSROOT/shiela.msg'; echo '') >>rcsinfo" cvs_file add rcsinfo cvs_file tst taginfo run "(echo ''; echo 'ALL $V_tool_shiela --hook=taginfo %t %o %p %{sv}'; echo '') >>taginfo" cvs_file add taginfo if [ ".$CVS_VENDOR" = .RSE ]; then cvs_file tst importinfo run "(echo ''; echo 'ALL $V_tool_shiela --hook=importinfo'; echo '') >>importinfo" cvs_file add importinfo cvs_file tst admininfo run "(echo ''; echo 'ALL $V_tool_shiela --hook=admininfo'; echo '') >>admininfo" cvs_file add admininfo fi cvs_file tst commitinfo run "(echo ''; echo 'ALL $V_tool_shiela --hook=commitinfo %r/%p %s'; echo '') >>commitinfo" cvs_file add commitinfo cvs_file tst verifymsg run "(echo ''; echo 'DEFAULT $V_tool_shiela --hook=verifymsg %l'; echo '') >>verifymsg" cvs_file add verifymsg if [ ".$CVS_VENDOR" = .RSE ]; then flags="sVvto" else flags="sVv" fi cvs_file tst loginfo run "(echo ''; echo 'ALL $V_tool_shiela --hook=loginfo %p %{${flags}}'; echo '') >>loginfo" cvs_file add loginfo run $V_tool_cvs update echo "" echo "${term_bold}The above modifications were made to CVSROOT.${term_norm}" text="${term_bold}Are you sure to finally commit these modifications [y/N]: ${term_norm}" echo dummy | awk '{ printf("%s", TEXT); }' TEXT="$text" if [ ".$V_batch" = .yes ]; then echo "" else read answer if [ ".$answer" = . -o ".$answer" = .n ]; then cd .. rm -rf CVSROOT echo "" echo "**Break: nothing touched." echo "" exit 0 fi fi echo "" run "$V_tool_cvs commit -m 'Add OSSP shiela -- Access Control and Logging Facility for CVS' ." run cd .. run rm -rf CVSROOT cat < ## Copyright (c) 2000-2005 The OSSP Project d29 1 a29 1 version="1.1.6" @ 1.34 log @Adjust copyright messages for new year 2005. @ text @d29 1 a29 1 version="1.1.5" @ 1.33 log @bump version number @ text @d4 2 a5 2 ## Copyright (c) 2000-2004 Ralf S. Engelschall ## Copyright (c) 2000-2004 The OSSP Project d415 2 a416 2 ## Copyright (c) 2000-2004 Ralf S. Engelschall ## Copyright (c) 2000-2004 The OSSP Project @ 1.32 log @bump before release @ text @d29 1 a29 1 version="1.1.4" @ 1.31 log @Document in install-shiela.pod and install-shiela.sh that CVS version 1.12.6 or higher is required. @ text @d29 1 a29 1 version="1.1.3" @ 1.30 log @bump to version 1.1.3 for release @ text @d375 1 a375 1 1.1[2-9]* ) d378 1 a378 1 echo "ERROR: CVS has to be at least version 1.12" @ 1.29 log @bump to version 1.1.2 for release @ text @d29 1 a29 1 version="1.1.2" @ 1.28 log @Workaround a syntax problem on Solaris /bin/sh. Submitted by: Michael Schloh @ text @d29 1 a29 1 version="1.1.1" @ 1.27 log @add xdelta to the default config for supporting binary file handling and add a test suite for this @ text @d29 1 a29 1 version="1.1.0" d106 2 a107 1 for arg; do @ 1.26 log @remove dynamic parts for better optical view @ text @d444 1 @ 1.25 log @bump version number @ text @d538 3 a540 3 Ok, we are now prepared to modify ${V_repos_path}/CVSROOT/. We will first checkout CVSROOT and modify it. Then you have a last chance to stop processing before we finally commit the modifications. d664 5 a668 5 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. @ 1.24 log @flush the whole bunch of my fixes and cleanups @ text @d29 1 a29 1 version="1.0.4" @ 1.23 log @Bump year in copyright messages for 2003 and 2004 @ text @d374 1 a374 1 1.10.[789]* | 1.10.1[0123456789]* | 1.1[1-9].* ) d377 1 a377 1 echo "ERROR: CVS has to be at least version 1.10.7" d414 2 a415 2 ## Copyright (c) 2000-2002 Ralf S. Engelschall ## Copyright (c) 2000-2002 The OSSP Project d480 2 a481 2 Content title rule header files log summary details; Details diff:mime; d589 8 d608 1 a608 1 run "(echo ''; echo 'ALL $V_tool_shiela --hook=taginfo'; echo '') >>taginfo" d622 1 a622 1 run "(echo ''; echo 'ALL $V_tool_shiela --hook=commitinfo'; echo '') >>commitinfo" d626 1 a626 1 run "(echo ''; echo 'DEFAULT $V_tool_shiela --hook=verifymsg'; echo '') >>verifymsg" d635 1 a635 1 run "(echo ''; echo 'ALL $V_tool_shiela --hook=loginfo %{${flags}}'; echo '') >>loginfo" @ 1.22 log @add more quoting @ text @d4 2 a5 2 ## Copyright (c) 2000-2002 Ralf S. Engelschall ## Copyright (c) 2000-2002 The OSSP Project @ 1.21 log @Fix a nasty syntax error in shiela-install.sh occurring if variables are passes as command line parameters. Submitted by: Christoph Schug @ text @d107 1 a107 1 eval `echo $arg | sed -e 's/^\([^=]*\)=\(.*\)$/V_\1="\2"/'` @ 1.20 log @Allow Shiela to accept CVS 1.12 and higher, too. @ text @d107 1 a107 1 eval `echo $arg | sed -e 's/^\([^=]*\)=\(.*\)$/V_\1="\2"/` @ 1.19 log @bump to version 1.0.4 for release @ text @d374 1 a374 1 1.10.[789]* | 1.10.1[0123456789]* | 1.11.* ) @ 1.18 log @allow PATH to be set already initially @ text @d29 1 a29 1 version="1.0.3" @ 1.17 log @bump to version 1.0.3 for release @ text @d260 5 d315 1 a315 1 query U tool_sendmail d327 1 a327 1 query U tool_diff d339 1 a339 1 query U tool_xdelta d351 1 a351 1 query U tool_uuencode d440 1 @ 1.16 log @1. Correctly recognize and configure RSE CVS version in shiela-install program. 2. Be smart and allow a RSE CVS version to be driven like a stock CVS version in loginfo (still using "sVv" instead of "sVvto" as the flags). @ text @d29 1 a29 1 version="1.0.2" @ 1.15 log @bump to version 1.0.2 for release @ text @d597 1 a597 1 if [ ".$CVS_VENDOR" = .OSSP ]; then d615 1 a615 1 if [ ".$CVS_VENDOR" = .OSSP ]; then @ 1.14 log @flush pending changes @ text @d29 1 a29 1 version="1.0.1" @ 1.13 log @bump for release @ text @d29 1 a29 1 version="1.0.0" @ 1.12 log @cleanup version stuff @ text @d29 1 a29 1 version="0.9.3" @ 1.11 log @remove trailing whitespaces @ text @d29 1 a29 1 version="0.9.3 (21-Dec-2002)" @ 1.10 log @Fully reimplemented the "Content" "details" (the change summary in reports). It now supports both textual (via diff(1)) and binary (via xdelta(1)) file changes. Additionally each change report part is now a small executable shell-script which can passed through /bin/sh for reproducing the patch locally. This way, especially binary change reports are more meaningsful and consistent with the textual change reports. @ text @d12 2 a13 2 ## modify it under the terms of the GNU General Public License ## as published by the Free Software Foundation; either version d21 1 a21 1 ## You should have received a copy of the GNU General Public License d369 1 a369 1 1.10.[789]* | 1.10.1[0123456789]* | 1.11.* ) d371 1 a371 1 * ) d373 1 a373 1 exit 1 d377 1 a377 1 RSE ) d379 1 a379 1 * ) d417 2 a418 2 ## modify it under the terms of the GNU General Public License ## as published by the Free Software Foundation; either version d426 1 a426 1 ## You should have received a copy of the GNU General Public License d456 1 a456 1 Name "${V_repos_name}"; d502 2 a503 2 Initial "shiela.cfg" and "shiela.msg" files were generated for you. Before OSSP shiela is installed and activated with these configuration files, d562 1 a562 1 run cvs -Q -q -d${V_repos_path} co CVSROOT d568 1 a568 1 run chmod 755 shiela @ 1.9 log @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". @ text @d324 12 d341 1 a341 1 V_tool_diff="$path/uuencode" @ 1.8 log @Consistently switch to the "OSSP shiela" branding. @ text @d88 3 a90 2 echo "This is ${term_bold}Shiela Setup${term_norm}, Version ${term_bold}${version}${term_norm}" echo "Copyright (c) 2000 Ralf S. Engelschall " d96 1 a96 1 This utility helps you to initially setup Shiela for a particular CVS d98 1 a98 1 Shiela configuration. This can be adjusted later without problems. Only d300 26 a325 2 if [ ".$V_tool_cvs" = . ]; then V_tool_cvs="cvs" d328 2 a329 2 if [ $minusx "$path/cvs" ] && [ ! -d "$path/cvs" ]; then V_tool_cvs="$path/cvs" d334 1 a334 1 query U tool_cvs d336 2 a337 2 if [ ".$V_tool_sendmail" = . ]; then V_tool_sendmail="sendmail" d340 2 a341 2 if [ $minusx "$path/sendmail" ] && [ ! -d "$path/sendmail" ]; then V_tool_sendmail="$path/sendmail" d346 1 a346 1 query U tool_sendmail d351 2 a352 2 if [ ".`$V_tool_cvs --version | grep OSSP`" != . ]; then CVS_VENDOR=OSSP d354 1 a354 1 CVS_VENDOR=OpenAvenue d365 1 a365 1 OSSP ) d369 4 a372 2 echo " This means that not all Shiela functionality is available". echo " for you. Please consider upgrading to the OSSP CVS version.". d396 3 a398 2 ## Shiela - CVS Access Control and Logging Facility ## Copyright (c) 2000 Ralf S. Engelschall d400 3 a402 3 ## 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/. d419 1 a419 1 ## shiela.cfg: Shiela configuration (syntax: Shiela C-style) d422 7 a441 5 Environment { CVS ${V_tool_cvs}; Sendmail ${V_tool_sendmail}; }; d491 1 a491 1 Before Shiela is installed and activated with these configuration files, d632 1 a632 1 run "$V_tool_cvs commit -m 'Add Shiela -- CVS Access Control and Logging Facility' ." d638 5 a642 5 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. @ 1.7 log @Fix the "invalid file specification `' for access control" issue by using Cwd::realpath to resolve the absolute path instead of calling `pwd`. Additionally, bump version. @ text @d3 1 a3 1 ## Shiela - CVS Access Control and Logging Facility d5 1 d7 1 a7 1 ## This file is part of Shiela, an access control and logging d9 1 a9 1 ## which can be found at http://www.ossp.org/pkg/shiela/. d26 1 a26 1 ## shiela-install: Shiela repository install program (syntax: Bourne-Shell) @ 1.6 log @Switched to the OSSP devtool build environment and upgraded to GNU shtool 1.6.1 and GNU autoconf 2.53. @ text @d28 1 a28 1 version="0.9.2 (19-Aug-2002)" @ 1.5 log @bump copyright years @ text @d28 1 a28 1 version="0.9.2" @ 1.4 log @Update perl checks @ text @d4 1 a4 1 ## Copyright (c) 2000 Ralf S. Engelschall @ 1.3 log @Update for Shtool 1.5.3 and new version @ text @a274 1 c=0 d276 1 d279 6 a284 8 for perl in perl5 perl miniperl; do if [ $minusx "$dir/$perl" ] && [ ! -d "$dir/$perl" ]; then perl="$dir/$perl" version=`$perl -v | grep version |\ sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'` versionnum="`echo $version | sed -e 's/\.//g' -e 's/_//g'`" versionnum=`expr $versionnum - $c` echo "$versionnum $perl" >>$tmpfile d287 1 d289 1 a289 1 c=`expr $c + 1` d292 1 a292 1 V_tool_perl="`cat $tmpfile | sort -u | tail -1 | cut '-d ' -f2`" @ 1.2 log @ *) Upgraded to GNU shtool 1.5.2-pre. [Ralf S. Engelschall] *) Added --with-perl=PATH and --with-cvs=PATH Autoconf options to allow one to force the use of particular programs. [Ralf S. Engelschall] *) Added $(DESTDIR) support for "make install". [Ralf S. Engelschall] @ text @d28 1 a28 1 version="0.9.1" @ 1.1 log @Initial revision @ text @d28 1 a28 1 version="0.9.0" @ 1.1.1.1 log @Import of OSSP Shiela @ text @@