You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(28) |
Nov
(58) |
Dec
(85) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(125) |
Feb
(222) |
Mar
(274) |
Apr
(51) |
May
(22) |
Jun
(50) |
Jul
(15) |
Aug
(33) |
Sep
(11) |
Oct
(29) |
Nov
(17) |
Dec
(1) |
2003 |
Jan
(100) |
Feb
(21) |
Mar
(7) |
Apr
(45) |
May
|
Jun
(43) |
Jul
(27) |
Aug
(24) |
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
(1) |
Feb
|
Mar
(13) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(7) |
Sep
|
Oct
|
Nov
|
Dec
(4) |
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: Rob H. <for...@us...> - 2005-12-22 06:56:32
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29309/bin Modified Files: sandweb.cgi Log Message: proper batch download Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.368 retrieving revision 1.369 diff -U2 -r1.368 -r1.369 --- sandweb.cgi 8 Mar 2004 08:01:54 -0000 1.368 +++ sandweb.cgi 22 Dec 2005 06:56:24 -0000 1.369 @@ -2044,5 +2044,5 @@ #); # - print `cd $users_dir/$username/$repo_name/ && /bin/tar -cf $users_dir/$username/.tmp/$module_name.tar $files 2>&1 > /dev/null`; + print `mkdir -p $users_dir/$username/.tmp && cd $users_dir/$username/$repo_name/ && /bin/tar -cf $users_dir/$username/.tmp/$module_name.tar $files 2>&1`; my $content = $ui->get_menu( @@ -2705,5 +2705,5 @@ # FIXME - need a way to notify user of success/failure! if ($batch) { - `cd $users_dir/$username/$repo_name/ && tar xvf "$module_name/$location/$filename"`; + print `cd $users_dir/$username/$repo_name/ && tar xvf "$module_name/$location/$filename"`; # don't want to leave batches laying around.. $file->delete(); |
From: Rob H. <for...@us...> - 2004-12-21 06:27:12
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb/Auth In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10516/SandWeb/Auth Modified Files: Unix.pm Log Message: remove hardcoded paths. I think we should start passing around a config object, or something, instead of passing just the params that objects need.. it requires us to know way too much about the objects we're creating. Index: Unix.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Auth/Unix.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -U2 -r1.1 -r1.2 --- Unix.pm 8 Jul 2003 22:07:51 -0000 1.1 +++ Unix.pm 21 Dec 2004 06:27:02 -0000 1.2 @@ -88,6 +88,12 @@ my $class = shift; my %args = @_; + + # bindir is the full path on the local box to SandWeb's scripts, like + # sandweb-expect and sandweb-admin + my $bindir = $args{'bindir'} || ''; my $self = bless { + 'bindir' => $bindir, + 'ssh_bin' => $ssh_bin, 'user_info' => {}, '_log_obj' => $args{'log_obj'}, @@ -179,4 +185,7 @@ my %args = @_; + my $bindir = "$self->{'bindir'}"; + my $ssh_bin = "$self->{'ssh_bin'}"; + my $username = $args{'username'} || ''; my $password = $args{'password'} || ''; @@ -191,5 +200,5 @@ my $shell = SandWeb::Shell->new( 'system_timeout' => "100", - 'bindir' => "/usr/bin", + 'bindir' => "/usr/local/bin", 'vcs_username' => "$username", 'users_dir' => "$users_dir/$username", @@ -199,6 +208,7 @@ ); - $log->debug('command' => "export SSH_BIN=/usr/bin/ssh && /usr/bin/sandweb-ssh $username\@localhost echo success"); - my %return = $shell->execute('command' => "export SSH_BIN=/usr/bin/ssh && /usr/bin/sandweb-ssh $username\@localhost echo success"); + my $command = "export SSH_BIN=$ssh_bin && $bindir/sandweb-ssh $username\@localhost echo success"; + $log->debug('command' => "$command"); + my %return = $shell->execute('command' => "$command"); return %return; |
From: Rob H. <for...@us...> - 2004-12-21 06:27:11
|
Update of /cvsroot/sandweb/sandweb/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10516 Modified Files: SandWeb.pm Log Message: remove hardcoded paths. I think we should start passing around a config object, or something, instead of passing just the params that objects need.. it requires us to know way too much about the objects we're creating. Index: SandWeb.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb.pm,v retrieving revision 1.30 retrieving revision 1.31 diff -U2 -r1.30 -r1.31 --- SandWeb.pm 24 Aug 2003 18:43:32 -0000 1.30 +++ SandWeb.pm 21 Dec 2004 06:27:01 -0000 1.31 @@ -140,5 +140,5 @@ my $config = ''; - $return = SandWeb::Config::->new(@_); + $return = SandWeb::Config::->new(@_); if ($return->{'errlev'}) { $config = $return->{'data'}; @@ -149,7 +149,11 @@ my $log = &_load_log_object('config' => $config); my $ui = &_load_ui_object('config' => $config, 'log' => $log); - my $auth = &_load_auth_object('config' => $config, 'log' => $log); + my $auth = &_load_auth_object( + 'config' => $config, + 'log' => $log, + 'bindir' => $return->{'bindir'}, + 'ssh_bin' => $return->{'ssh_bin'}); # create new conf object with log functionality - $return = SandWeb::Config::->new(@_, 'log_obj' => $log); + $return = SandWeb::Config::->new(@_, 'log_obj' => $log); if ($return->{'errlev'}) { $config = $return->{'data'}; @@ -214,6 +218,10 @@ my $config = $args{'config'}; my $log = $args{'log'}; + my $bindir = $args{'bindir'}; + my $ssh_bin = $args{'ssh_bin'}; my $auth = SandWeb::Auth::->new( 'log_obj' => $log, + 'bindir' => $bindir, + 'ssh_bin' => $ssh_bin, 'users_dir' => $config->{'paths'}->{'users_dir'}, 'data_dir' => $config->{'paths'}->{'data_dir'}, |
From: Rob H. <for...@us...> - 2004-12-21 06:27:11
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10516/SandWeb Modified Files: Auth.pm Log Message: remove hardcoded paths. I think we should start passing around a config object, or something, instead of passing just the params that objects need.. it requires us to know way too much about the objects we're creating. Index: Auth.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Auth.pm,v retrieving revision 1.27 retrieving revision 1.28 diff -U2 -r1.27 -r1.28 --- Auth.pm 24 Aug 2003 18:43:32 -0000 1.27 +++ Auth.pm 21 Dec 2004 06:27:02 -0000 1.28 @@ -104,4 +104,6 @@ my $self = bless { + 'bindir' => $args{'bindir'}, + 'ssh_bin' => $args{'ssh_bin'}, 'user_info' => {}, '_log_obj' => $args{'log_obj'}, @@ -196,4 +198,6 @@ if ($self->_get_auth_type() eq 'unix'){ $auth = SandWeb::Auth::Unix::->new( + 'bindir' => $bindir, + 'ssh_bin' => $ssh_bin, 'log_obj' => $log, ); |
From: Rob H. <for...@us...> - 2004-08-21 06:11:57
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2768 Removed Files: Tag: release-1_0-branch ChangeLog Log Message: no point in having this, it's all in CVS --- ChangeLog DELETED --- |
From: Rob H. <for...@us...> - 2004-08-21 05:27:51
|
Update of /cvsroot/sandweb/sandweb/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23814/lib Modified Files: Tag: release-1_0-branch SandWeb.pm Log Message: prepping for new release Index: SandWeb.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb.pm,v retrieving revision 1.27.2.1 retrieving revision 1.27.2.2 diff -U2 -r1.27.2.1 -r1.27.2.2 --- SandWeb.pm 17 Aug 2003 04:42:07 -0000 1.27.2.1 +++ SandWeb.pm 21 Aug 2004 05:27:30 -0000 1.27.2.2 @@ -94,5 +94,5 @@ =cut -$VERSION = '1.0RC4'; +$VERSION = '1.0.1'; sub get_version { return $VERSION; |
From: Rob H. <for...@us...> - 2004-08-21 05:27:51
|
Update of /cvsroot/sandweb/sandweb/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23814/debian Modified Files: Tag: release-1_0-branch changelog Log Message: prepping for new release Index: changelog =================================================================== RCS file: /cvsroot/sandweb/sandweb/debian/changelog,v retrieving revision 1.4.2.1 retrieving revision 1.4.2.2 diff -U2 -r1.4.2.1 -r1.4.2.2 --- changelog 17 Aug 2003 04:42:07 -0000 1.4.2.1 +++ changelog 21 Aug 2004 05:27:29 -0000 1.4.2.2 @@ -1,7 +1,13 @@ +sandweb (1.0.1-1) unstable; urgency=low + + * post-1.0 bugfix + + -- rhelmer <rh...@ro...> Wed, 16 Apr 2003 21:39:58 -0800 + sandweb (1.0rc4-1) unstable; urgency=low * 4th Release candidate. - -- rhelmer <rh...@li...> Wed, 16 Apr 2003 21:39:58 -0800 + -- rhelmer <rh...@ro...> Wed, 16 Apr 2003 21:39:58 -0800 sandweb (1.0rc3-1) unstable; urgency=low @@ -9,5 +15,5 @@ * 3rd Release candidate. - -- root <ro...@mo...> Wed, 12 Apr 2003 19:48:30 -0800 + -- rhelmer <rh...@ro...> Wed, 12 Apr 2003 19:48:30 -0800 sandweb (1.0rc2-1) unstable; urgency=low @@ -15,5 +21,5 @@ * 2nd Release candidate. - -- root <ro...@mo...> Wed, 02 Apr 2003 20:04:13 -0800 + -- rhelmer <rh...@ro...> Wed, 02 Apr 2003 20:04:13 -0800 sandweb (1.0rc1-1) unstable; urgency=low @@ -21,5 +27,5 @@ * Release candidate. - -- root <ro...@mo...> Mon, 31 Mar 2003 21:49:47 -0800 + -- rhelmer <rh...@ro...> Mon, 31 Mar 2003 21:49:47 -0800 sandweb (1.0b1-1) unstable; urgency=low @@ -27,3 +33,3 @@ * Initial release. - -- root <ro...@mo...> Sun, 12 Jan 2003 01:33:31 -0800 + -- rhelmer <rh...@ro...> Sun, 12 Jan 2003 01:33:31 -0800 |
From: Rob H. <for...@us...> - 2004-08-21 05:27:50
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23814 Modified Files: Tag: release-1_0-branch NEWS README Log Message: prepping for new release Index: NEWS =================================================================== RCS file: /cvsroot/sandweb/sandweb/NEWS,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -U2 -r1.8 -r1.8.2.1 --- NEWS 3 Apr 2003 05:01:46 -0000 1.8 +++ NEWS 21 Aug 2004 05:27:29 -0000 1.8.2.1 @@ -1,2 +1,24 @@ +2004-08-20 + + SandWeb 1.0.1 Released + + We've been out long enough to ditch the RC I think :) + This eliminates a warning and install error on some Perl + 5.8 installations (including RH Enterprise) + +2003-08-16 + + SandWeb 1.0RC4 Released + + This is the second release candidate! If we don't find + any show-stopper bugs, then this will be 1.0! + +2003-07-11 + + SandWeb 1.0RC3 Released + + This is the third release candidate! If we don't find + any show-stopper bugs, then this will be 1.0! + 2003-04-02 Index: README =================================================================== RCS file: /cvsroot/sandweb/sandweb/README,v retrieving revision 1.13.2.1 retrieving revision 1.13.2.2 diff -U2 -r1.13.2.1 -r1.13.2.2 --- README 17 Aug 2003 04:42:07 -0000 1.13.2.1 +++ README 21 Aug 2004 05:27:29 -0000 1.13.2.2 @@ -1,4 +1,4 @@ ============================================================================ -SandWeb Summary - 1.0RC4 Release +SandWeb Summary - 1.0.1 Release ============================================================================ @@ -8,5 +8,5 @@ It is essentially a multi-user client to version control systems ( VCS ) such as CVS, SVN ( Subversion ), arch or RCS ( only CVS is supported for -the 1.0RC4 release ). +the 1.0.1 release ). SandWeb requires a user agent that supports and allows Javascript @@ -20,5 +20,5 @@ using SandWeb. -The 1.0RC4 release only supports "FlatFile" authentication, in +The 1.0.1 release only supports "FlatFile" authentication, in which SandWeb uses it's own password file and format. More authentication systems are planned for future releases. @@ -86,5 +86,5 @@ You are now at the repository menu. You can enter username, password, version control system, server name and version control root for as -many repositories as you want. For the 1.0RC4 release, SandWeb supports +many repositories as you want. For the 1.0.1 release, SandWeb supports "local", "pserver" and "SSH" CVS repositories. |
From: Rob H. <for...@us...> - 2004-08-18 08:50:24
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13014 Modified Files: Tag: release-1_0-branch Makefile.PL Log Message: PERLPREFIX seems to work on more installations.. RHE for example. Index: Makefile.PL =================================================================== RCS file: /cvsroot/sandweb/sandweb/Makefile.PL,v retrieving revision 1.12.2.2 retrieving revision 1.12.2.3 diff -U2 -r1.12.2.2 -r1.12.2.3 --- Makefile.PL 25 Jun 2003 07:26:51 -0000 1.12.2.2 +++ Makefile.PL 17 Aug 2004 18:28:30 -0000 1.12.2.3 @@ -29,5 +29,5 @@ ' custom_install: - ./tools/install_script.pl $(PREFIX) + ./tools/install_script.pl $(PERLPREFIX) '; } |
From: Rob H. <for...@us...> - 2004-08-17 22:54:40
|
Update of /cvsroot/sandweb/sandweb/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13248/tools Modified Files: Tag: release-1_0-branch install_script.pl Log Message: some perl versions give a warning that config::imgpath is only used once, this should get rid off it Index: install_script.pl =================================================================== RCS file: /cvsroot/sandweb/sandweb/tools/install_script.pl,v retrieving revision 1.22.2.2 retrieving revision 1.22.2.3 diff -U2 -r1.22.2.2 -r1.22.2.3 --- install_script.pl 1 Jun 2003 20:41:21 -0000 1.22.2.2 +++ install_script.pl 17 Aug 2004 18:29:13 -0000 1.22.2.3 @@ -12,4 +12,5 @@ "cgidir = $config::cgidir\n". "imgdir = $config::imgdir\n". + "imgpath = $config::imgpath\n". "tmpldir = $config::tmpldir\n". "cachedir = $config::cachedir\n". |
From: <ben...@id...> - 2004-05-22 13:00:09
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: Rob H. <for...@us...> - 2004-03-08 09:02:29
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25217/lib/SandWeb Modified Files: Repository.pm Log Message: Subversion not supported yet.. Index: Repository.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Repository.pm,v retrieving revision 1.54 retrieving revision 1.55 diff -U2 -r1.54 -r1.55 --- Repository.pm 8 Mar 2004 08:01:55 -0000 1.54 +++ Repository.pm 8 Mar 2004 08:38:19 -0000 1.55 @@ -2663,8 +2663,8 @@ sub get_repo_types { return ( - 'Subversion', 'CVS', # XXX Not supported ( yet ) # 'RCS', +# 'Subversion', ); } |
From: Rob H. <for...@us...> - 2004-03-08 09:01:24
|
Update of /cvsroot/sandweb/sandweb/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24920/tools Modified Files: instcachedir.pl Log Message: overwriting the group file if it already exists is just not nice! Index: instcachedir.pl =================================================================== RCS file: /cvsroot/sandweb/sandweb/tools/instcachedir.pl,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 --- instcachedir.pl 8 Mar 2004 08:01:56 -0000 1.8 +++ instcachedir.pl 8 Mar 2004 08:37:14 -0000 1.9 @@ -51,7 +51,9 @@ push @errors, "Failed to set $cachedir/users read/write for $httpuser user."; } - print("Copying SandWeb groups file '$cachedir/data/group'...\n"); - if (system('/bin/cp', 'var/data/group', "$cachedir/data/group")) { - push @errors, "Failed to copy groups file to $cachedir/data/group."; + if (!-f "$cachedir/data/group"){ + print("Copying SandWeb groups file '$cachedir/data/group'...\n"); + if (system('/bin/cp', 'var/data/group', "$cachedir/data/group")) { + push @errors, "Failed to copy groups file to $cachedir/data/group."; + } } return($cachedir, $httpuser, \@errors); |
From: Rob H. <for...@us...> - 2004-03-08 08:59:22
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24483 Modified Files: install.cfg Log Message: made relative images path "/images" by default, it's configurable in install.cfg now, no reason to ask everytime Index: install.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/install.cfg,v retrieving revision 1.29 retrieving revision 1.30 diff -U2 -r1.29 -r1.30 --- install.cfg 8 Mar 2004 07:19:26 -0000 1.29 +++ install.cfg 8 Mar 2004 08:35:08 -0000 1.30 @@ -6,4 +6,5 @@ $cgidir = '/var/www/cgi-bin'; $imgdir = '/var/www/images'; +$imgpath = '/images'; $tmpldir = '/usr/local/lib/sandweb/templates'; $cachedir = '/usr/local/share/sandweb'; |
From: Rob H. <for...@us...> - 2004-03-08 08:59:19
|
Update of /cvsroot/sandweb/sandweb/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24483/tools Modified Files: install_script.pl Log Message: made relative images path "/images" by default, it's configurable in install.cfg now, no reason to ask everytime Index: install_script.pl =================================================================== RCS file: /cvsroot/sandweb/sandweb/tools/install_script.pl,v retrieving revision 1.25 retrieving revision 1.26 diff -U2 -r1.25 -r1.26 --- install_script.pl 8 Mar 2004 08:01:56 -0000 1.25 +++ install_script.pl 8 Mar 2004 08:35:08 -0000 1.26 @@ -28,4 +28,5 @@ "cgidir = $cgidir\n". "imgdir = $imgdir\n". + "imgpath = $imgpath\n". "tmpldir = $tmpldir\n". "cachedir = $cachedir\n". @@ -100,14 +101,15 @@ exit(3) if (!$imgdir); -print("-------------------------\n"); -print("Specify the location of the images relative to your web server's document root.\n"); -print("[default: $imgpath] : "); -my $tmp = ''; -chomp($tmp = <STDIN>); -if ($tmp) { - $imgpath = $tmp; +if (!$imgpath){ + print("-------------------------\n"); + print("Specify the location of the images relative to your web server's document root.\n"); + print("[default: $imgpath] : "); + my $tmp = ''; + chomp($tmp = <STDIN>); + if ($tmp) { + $imgpath = $tmp; + } } - # Templates $tmpldir = insttemplates($tmpldir); |
From: Rob H. <for...@us...> - 2004-03-08 08:26:06
|
Update of /cvsroot/sandweb/sandweb/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17422/tools Modified Files: install_script.pl instcachedir.pl Log Message: this fixes some long-outstanding issues on the trunk: * perl and sh are configurable in install.cfg now, with preference for perl given to the perl used to run Makefile.PL (fixes sf.net bug 877125) * fixed up the tests a bit, needs alot more attention updated test.cfg to address all the latest config options * the group file is copied in by default now. We need to add support to sandweb-admin so users are added to groups at that time. * reduced the number of warnings we get running under perl 5.8 (deprecations, etc.) Index: install_script.pl =================================================================== RCS file: /cvsroot/sandweb/sandweb/tools/install_script.pl,v retrieving revision 1.24 retrieving revision 1.25 diff -U2 -r1.24 -r1.25 --- install_script.pl 1 Jun 2003 20:42:26 -0000 1.24 +++ install_script.pl 8 Mar 2004 08:01:56 -0000 1.25 @@ -4,20 +4,9 @@ exit 1 if (!$ARGV[0]); my $PREFIX = $ARGV[0]; +my $FULLPERL = $ARGV[1]; print("loading install config... "); require 'install.cfg'; # load config -print "\nbindir = $config::bindir\n". - "cfgdir = $config::cfgdir\n". - "cgidir = $config::cgidir\n". - "imgdir = $config::imgdir\n". - "tmpldir = $config::tmpldir\n". - "cachedir = $config::cachedir\n". - "logdir = $config::logdir\n". - "httpuser = $config::httpuser\n". - "expectbin = $config::expectbin\n". - "cvs_bin = $config::cvs_bin\n". - "ssh_bin = $config::ssh_bin\n"; - my $bindir = $config::bindir || '/usr/local/bin'; my $cfgdir = $config::cfgdir || '/usr/local/etc'; @@ -30,7 +19,23 @@ my $httpuser = $config::httpuser || 'www'; my $expectbin = $config::expectbin || '/usr/bin/expect'; -my $ssh_bin = $config::ssh_bin || '/usr/bin/ssh'; +my $perlbin = $FULLPERL || $config::perlbin || '/usr/bin/perl'; +my $shbin = $config::shbin || '/usr/bin/sh'; +my $ssh_bin = $config::ssh_bin || '/bin/ssh'; my $cvs_bin = $config::cvs_bin || '/usr/bin/cvs'; +print "\nbindir = $bindir\n". + "cfgdir = $cfgdir\n". + "cgidir = $cgidir\n". + "imgdir = $imgdir\n". + "tmpldir = $tmpldir\n". + "cachedir = $cachedir\n". + "logdir = $logdir\n". + "httpuser = $httpuser\n". + "expectbin = $expectbin\n". + "perlbin = $perlbin\n". + "shbin = $shbin\n". + "cvs_bin = $cvs_bin\n". + "ssh_bin = $ssh_bin\n"; + # load functions require 'tools/instbin.pl'; @@ -144,11 +149,16 @@ # updating config path in executables print "Updating config file paths in executables... "; -system('tools/change-entry.pl', "$cgidir/sandweb.cgi", "config_dir = '../etc'", -"config_dir = '$cfgdir'"); +system('tools/change-entry.pl', "$cgidir/sandweb.cgi", "config_dir = '../etc'", "config_dir = '$cfgdir'"); +system('tools/change-entry.pl', "$cgidir/sandweb.cgi", '#!perl', "#!$perlbin -w"); print "sandweb.cgi, "; system('tools/change-entry.pl', "$bindir/sandweb-admin", "config_dir = '../etc'", "config_dir = '$cfgdir'"); +system('tools/change-entry.pl', "$bindir/sandweb-admin", '#!perl', "#!$perlbin -w"); print "sandweb-admin, "; -system('tools/change-entry.pl', "$bindir/sandweb-expect", "#!expect", "#!$expectbin"); +system('tools/change-entry.pl', "$bindir/sandweb-expect", '#!expect', "#!$expectbin"); print "sandweb-expect.\n"; +system('tools/change-entry.pl', "$bindir/sandweb-editor", '#!sh', "#!$shbin"); +print "sandweb-editor.\n"; +system('tools/change-entry.pl', "$bindir/sandweb-ssh", '#!sh', "#!$shbin"); +print "sandweb-ssh.\n"; # set execute permissions for scripts @@ -184,4 +194,34 @@ } +# set permissions on installed sandweb-ssh +if (-f "$bindir/sandweb-ssh") { + my $httpuser_uid = &getuid($httpuser); + if ($httpuser_uid == -1) { + print "Unable to get UID of $httpuser\n"; + exit(6); + } + #print "Setting ownership of $PREFIX/bin/sandweb-ssh to: $httpuser_uid:0\n"; + chown($httpuser_uid, 0, "$bindir/sandweb-ssh"); + system("chmod", "u=rwx,g=rx,o=", "$bindir/sandweb-ssh"); +} else { + print "unable to locate $bindir/sandweb-ssh\n"; + exit(8); +} + +# set permissions on installed sandweb-editor +if (-f "$bindir/sandweb-editor") { + my $httpuser_uid = &getuid($httpuser); + if ($httpuser_uid == -1) { + print "Unable to get UID of $httpuser\n"; + exit(6); + } + #print "Setting ownership of $PREFIX/bin/sandweb-editor to: $httpuser_uid:0\n"; + chown($httpuser_uid, 0, "$bindir/sandweb-editor"); + system("chmod", "u=rwx,g=rx,o=", "$bindir/sandweb-editor"); +} else { + print "unable to locate $bindir/sandweb-editor\n"; + exit(8); +} + # save install config to install.cfg for future reference. print "Saving configuration...\n"; @@ -197,4 +237,6 @@ print CFG '$httpuser = ' . "'$httpuser';\n"; print CFG '$expectbin = ' . "'$expectbin';\n"; +print CFG '$perlbin= ' . "'$perlbin';\n"; +print CFG '$shbin= ' . "'$shbin';\n"; print CFG '$bindir = ' . "'$bindir';\n"; print CFG '$ssh_bin = ' . "'$ssh_bin';\n"; Index: instcachedir.pl =================================================================== RCS file: /cvsroot/sandweb/sandweb/tools/instcachedir.pl,v retrieving revision 1.7 retrieving revision 1.8 diff -U2 -r1.7 -r1.8 --- instcachedir.pl 5 Jan 2003 22:18:32 -0000 1.7 +++ instcachedir.pl 8 Mar 2004 08:01:56 -0000 1.8 @@ -51,4 +51,8 @@ push @errors, "Failed to set $cachedir/users read/write for $httpuser user."; } + print("Copying SandWeb groups file '$cachedir/data/group'...\n"); + if (system('/bin/cp', 'var/data/group', "$cachedir/data/group")) { + push @errors, "Failed to copy groups file to $cachedir/data/group."; + } return($cachedir, $httpuser, \@errors); } |
From: Rob H. <for...@us...> - 2004-03-08 08:26:06
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17422/bin Modified Files: sandweb-admin sandweb-editor sandweb-expect sandweb-ssh sandweb.cgi Log Message: this fixes some long-outstanding issues on the trunk: * perl and sh are configurable in install.cfg now, with preference for perl given to the perl used to run Makefile.PL (fixes sf.net bug 877125) * fixed up the tests a bit, needs alot more attention updated test.cfg to address all the latest config options * the group file is copied in by default now. We need to add support to sandweb-admin so users are added to groups at that time. * reduced the number of warnings we get running under perl 5.8 (deprecations, etc.) Index: sandweb-admin =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb-admin,v retrieving revision 1.17 retrieving revision 1.18 diff -U2 -r1.17 -r1.18 --- sandweb-admin 24 Aug 2003 18:43:32 -0000 1.17 +++ sandweb-admin 8 Mar 2004 08:01:54 -0000 1.18 @@ -1,3 +1,3 @@ -#!/usr/bin/perl -w +#!perl # # sandweb-admin : administration tool for sandweb. manage user accounts Index: sandweb-editor =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb-editor,v retrieving revision 1.2 retrieving revision 1.3 diff -U2 -r1.2 -r1.3 --- sandweb-editor 1 Apr 2003 01:21:40 -0000 1.2 +++ sandweb-editor 8 Mar 2004 08:01:54 -0000 1.3 @@ -1,3 +1,3 @@ -#!/bin/sh +#!sh # # This file pretends to be an editor so we can safely pass any characters Index: sandweb-expect =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb-expect,v retrieving revision 1.16 retrieving revision 1.17 diff -U2 -r1.16 -r1.17 --- sandweb-expect 17 Aug 2003 04:55:53 -0000 1.16 +++ sandweb-expect 8 Mar 2004 08:01:54 -0000 1.17 @@ -1,3 +1,3 @@ -#!/usr/bin/expect +#!expect # Index: sandweb-ssh =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb-ssh,v retrieving revision 1.2 retrieving revision 1.3 diff -U2 -r1.2 -r1.3 --- sandweb-ssh 6 Jul 2003 07:19:15 -0000 1.2 +++ sandweb-ssh 8 Mar 2004 08:01:54 -0000 1.3 @@ -1,3 +1,3 @@ -#!/bin/sh +#!sh # # This is a wrapper script around SSH, so we can pass Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.367 retrieving revision 1.368 diff -U2 -r1.367 -r1.368 --- sandweb.cgi 27 Jan 2004 15:17:31 -0000 1.367 +++ sandweb.cgi 8 Mar 2004 08:01:54 -0000 1.368 @@ -1,3 +1,3 @@ -#!/usr/bin/perl -w +#!perl # Sandweb CGI # @@ -2107,4 +2107,5 @@ # dereference params hash, turn into array my @params_array; + my $params_array; if ($params){ @params_array = %$params; @@ -2136,9 +2137,9 @@ $count = 0; - while ( @params_array->[$count] ) { + while ( $params_array->[$count] ) { # build loop to pass params through template # my %entry; - $entry{'PARAMS'} = @params_array->[$count]; + $entry{'PARAMS'} = $params_array->[$count]; push (@params_loop, \%entry); $count++; @@ -2148,6 +2149,6 @@ $count = 0; - while ( @params_array->[$count] ) { - push (@params, @params_array->[$count]); + while ( $params_array->[$count] ) { + push (@params, $params_array->[$count]); $count++; } |
From: Rob H. <for...@us...> - 2004-03-08 08:26:05
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17422/lib/SandWeb Modified Files: Repository.pm Log Message: this fixes some long-outstanding issues on the trunk: * perl and sh are configurable in install.cfg now, with preference for perl given to the perl used to run Makefile.PL (fixes sf.net bug 877125) * fixed up the tests a bit, needs alot more attention updated test.cfg to address all the latest config options * the group file is copied in by default now. We need to add support to sandweb-admin so users are added to groups at that time. * reduced the number of warnings we get running under perl 5.8 (deprecations, etc.) Index: Repository.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Repository.pm,v retrieving revision 1.53 retrieving revision 1.54 diff -U2 -r1.53 -r1.54 --- Repository.pm 8 Jul 2003 23:21:23 -0000 1.53 +++ Repository.pm 8 Mar 2004 08:01:55 -0000 1.54 @@ -2663,4 +2663,5 @@ sub get_repo_types { return ( + 'Subversion', 'CVS', # XXX Not supported ( yet ) |
From: Rob H. <for...@us...> - 2004-03-08 08:26:05
|
Update of /cvsroot/sandweb/sandweb/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17422/t Modified Files: test.cfg Log Message: this fixes some long-outstanding issues on the trunk: * perl and sh are configurable in install.cfg now, with preference for perl given to the perl used to run Makefile.PL (fixes sf.net bug 877125) * fixed up the tests a bit, needs alot more attention updated test.cfg to address all the latest config options * the group file is copied in by default now. We need to add support to sandweb-admin so users are added to groups at that time. * reduced the number of warnings we get running under perl 5.8 (deprecations, etc.) Index: test.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/t/test.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -U2 -r1.1 -r1.2 --- test.cfg 28 Mar 2002 03:27:15 -0000 1.1 +++ test.cfg 8 Mar 2004 08:01:56 -0000 1.2 @@ -4,17 +4,16 @@ <!-- config tree for logging behavior --> <logging debug="0" - log="0" + log="1" /> <!-- config for paths to sandweb data files --> - <paths template_dir="../templates" + <paths template_dir="t/templates" data_dir="t/var/data" log_dir="t/var/log" - work_dir="t/var/work" users_dir="t/var/users" /> <!-- config for cgi related information --> - <cgi-bin cgi_path="/cgi-bin/sandweb/bin" + <cgi-bin cgi_path="/cgi-bin" cgi_domain="" /> @@ -30,6 +29,18 @@ /> - <webserver mime-types_location="/usr/local/apache/conf" + <webserver mime-types_location="/etc/apache" mime-types_file="mime.types" + image_dir="/images" + /> + + <!-- + System paths for SSH, CVS and SandWeb scripts, + and time limit when running on the CLI + --> + <system ssh_bin="/usr/bin/ssh" + cvs_bin="/usr/bin/cvs" + bindir="/usr/local/bin" + timeout="300" + auth_type="unix" /> |
From: Rob H. <for...@us...> - 2004-03-08 08:26:04
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17422 Modified Files: Makefile.PL Log Message: this fixes some long-outstanding issues on the trunk: * perl and sh are configurable in install.cfg now, with preference for perl given to the perl used to run Makefile.PL (fixes sf.net bug 877125) * fixed up the tests a bit, needs alot more attention updated test.cfg to address all the latest config options * the group file is copied in by default now. We need to add support to sandweb-admin so users are added to groups at that time. * reduced the number of warnings we get running under perl 5.8 (deprecations, etc.) Index: Makefile.PL =================================================================== RCS file: /cvsroot/sandweb/sandweb/Makefile.PL,v retrieving revision 1.14 retrieving revision 1.15 diff -U2 -r1.14 -r1.15 --- Makefile.PL 25 Jun 2003 07:28:11 -0000 1.14 +++ Makefile.PL 8 Mar 2004 08:01:54 -0000 1.15 @@ -29,5 +29,5 @@ ' custom_install: - ./tools/install_script.pl $(PREFIX) + ./tools/install_script.pl $(PREFIX) $(FULLPERL) '; } |
From: Rob H. <for...@us...> - 2004-03-08 07:59:16
|
Update of /cvsroot/sandweb/sandweb/etc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13873/etc Modified Files: sandweb.cfg Log Message: turning on flatfile auth by default, as unix isn't documented in the INSTALL or README yet Index: sandweb.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/etc/sandweb.cfg,v retrieving revision 1.30 retrieving revision 1.31 diff -U2 -r1.30 -r1.31 --- sandweb.cfg 24 Aug 2003 18:43:32 -0000 1.30 +++ sandweb.cfg 8 Mar 2004 07:35:08 -0000 1.31 @@ -42,5 +42,5 @@ bindir="/usr/local/bin" timeout="300" - auth_type="unix" + auth_type="flatfile" /> |
From: Rob H. <for...@us...> - 2004-03-08 07:43:34
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11433 Modified Files: install.cfg Log Message: ok checking in the branch version w/ additions Index: install.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/install.cfg,v retrieving revision 1.28 retrieving revision 1.29 diff -U2 -r1.28 -r1.29 --- install.cfg 8 Mar 2004 07:15:40 -0000 1.28 +++ install.cfg 8 Mar 2004 07:19:26 -0000 1.29 @@ -2,15 +2,15 @@ package config; -$cfgdir = './debian/tmp/etc/sandweb'; -$cgidir = './debian/tmp/usr/lib/cgi-bin'; -$imgdir = './debian/tmp/var/www/images'; -$tmpldir = './debian/tmp/usr/lib/sandweb/templates'; -$cachedir = './debian/tmp/usr/share/sandweb'; -$logdir = './debian/tmp/var/log'; -$httpuser = 'www-data'; -$expectbin = '/usr/bin/expect'; +$bindir = '/usr/local/bin'; +$cfgdir = '/usr/local/etc/sandweb'; +$cgidir = '/var/www/cgi-bin'; +$imgdir = '/var/www/images'; +$tmpldir = '/usr/local/lib/sandweb/templates'; +$cachedir = '/usr/local/share/sandweb'; +$logdir = '/var/log'; +$httpuser = 'www'; $perlbin= '/usr/bin/perl'; $shbin= '/bin/sh'; -$bindir = './debian/tmp/usr/bin'; +$expectbin = '/usr/bin/expect'; $ssh_bin = '/usr/bin/ssh'; $cvs_bin = '/usr/bin/cvs'; |
From: Rob H. <for...@us...> - 2004-03-08 07:39:48
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10238 Modified Files: install.cfg Log Message: bringing install paths in sync w/ branch Index: install.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/install.cfg,v retrieving revision 1.27 retrieving revision 1.28 diff -U2 -r1.27 -r1.28 --- install.cfg 8 Mar 2004 07:12:46 -0000 1.27 +++ install.cfg 8 Mar 2004 07:15:40 -0000 1.28 @@ -10,5 +10,5 @@ $httpuser = 'www-data'; $expectbin = '/usr/bin/expect'; -$perlbin= '/usr/local/perl5.8/bin/perl'; +$perlbin= '/usr/bin/perl'; $shbin= '/bin/sh'; $bindir = './debian/tmp/usr/bin'; |
From: Rob H. <for...@us...> - 2004-03-08 07:36:53
|
Update of /cvsroot/sandweb/sandweb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9813 Modified Files: install.cfg Log Message: making locations of sh and perl configurable at install time Index: install.cfg =================================================================== RCS file: /cvsroot/sandweb/sandweb/install.cfg,v retrieving revision 1.26 retrieving revision 1.27 diff -U2 -r1.26 -r1.27 --- install.cfg 21 Aug 2003 02:19:58 -0000 1.26 +++ install.cfg 8 Mar 2004 07:12:46 -0000 1.27 @@ -10,4 +10,6 @@ $httpuser = 'www-data'; $expectbin = '/usr/bin/expect'; +$perlbin= '/usr/local/perl5.8/bin/perl'; +$shbin= '/bin/sh'; $bindir = './debian/tmp/usr/bin'; $ssh_bin = '/usr/bin/ssh'; |
From: Nick J. <nje...@us...> - 2004-01-27 15:18:38
|
Update of /cvsroot/sandweb/sandweb/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv720/bin Modified Files: sandweb.cgi Log Message: * Fixed typo. Dumpber -> Dumper :) Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.366 retrieving revision 1.367 diff -U2 -r1.366 -r1.367 --- sandweb.cgi 24 Aug 2003 18:43:32 -0000 1.366 +++ sandweb.cgi 27 Jan 2004 15:17:31 -0000 1.367 @@ -40,5 +40,5 @@ uses SandWeb, SandWeb::Repository, SandWeb::Browse, SandWeb::File, - SandWeb::Config, Data::Dumpber, CGI::Carp, CGI, SandWeb::Security + SandWeb::Config, Data::Dumper, CGI::Carp, CGI, SandWeb::Security =cut |