Author: iarnell Update of /cvs/pkgs/rpms/mojomojo/devel In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv9532 Modified Files: .cvsignore sources Added Files: formatter-docbook.patch mojomojo-httpd.conf mojomojo-paths.patch Log Message: initial import formatter-docbook.patch: DocBook.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- NEW FILE formatter-docbook.patch --- diff -up MojoMojo-1.01/lib/MojoMojo/Formatter/DocBook.pm.orig MojoMojo-1.01/lib/MojoMojo/Formatter/DocBook.pm --- MojoMojo-1.01/lib/MojoMojo/Formatter/DocBook.pm.orig 2010-05-23 22:25:39.000000000 +0200 +++ MojoMojo-1.01/lib/MojoMojo/Formatter/DocBook.pm 2010-07-08 06:36:16.000000000 +0200 @@ -10,7 +10,7 @@ my $eval_res = $@; use MojoMojo::Formatter::DocBook::Colorize; my $xsltfile = - "/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/docbook.xsl"; + "/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl"; =head2 module_loaded --- NEW FILE mojomojo-httpd.conf --- Alias /mojomojo/static/ /usr/share/mojomojo/root/static/ <Location /mojomojo/static/> SetHandler default-handler </Location> Alias /mojomojo/ /usr/bin/mojomojo_fastcgi.pl/ <Location /mojomojo/> Options ExecCGI Order allow,deny Allow from all AddHandler fcgid-script .pl </Location> mojomojo-paths.patch: mojomojo.conf | 10 +++++----- script/mojomojo_cgi.pl | 5 ++++- script/mojomojo_fastcgi.pl | 5 ++++- script/mojomojo_server.pl | 1 + script/mojomojo_spawn_db.pl | 7 +++++-- 5 files changed, 19 insertions(+), 9 deletions(-) --- NEW FILE mojomojo-paths.patch --- diff -up MojoMojo-1.00/mojomojo.conf.orig MojoMojo-1.00/mojomojo.conf --- MojoMojo-1.00/mojomojo.conf.orig 2010-05-12 00:57:27.000000000 +0200 +++ MojoMojo-1.00/mojomojo.conf 2010-05-21 06:01:32.000000000 +0200 @@ -32,7 +32,7 @@ system_mail Default Installation <norepl password db_password # SQLite dsn (default data store) - dsn dbi:SQLite:mojomojo.db + dsn dbi:SQLite:/var/lib/mojomojo/mojomojo.db # Enable unicode for supported databases sqlite_unicode 1 @@ -42,10 +42,10 @@ system_mail Default Installation <norepl </connect_info> </Model::DBIC> -root __path_to(root)__ -static_path /.static/ -attachment_dir __path_to(uploads)__ -index_dir __path_to(index)__ +root /usr/share/mojomojo/root +static_path /mojomojo/static/ +attachment_dir /var/lib/mojomojo/uploads +index_dir /var/lib/mojomojo/index <session> expires 604800 diff -up MojoMojo-1.00/script/mojomojo_cgi.pl.orig MojoMojo-1.00/script/mojomojo_cgi.pl --- MojoMojo-1.00/script/mojomojo_cgi.pl.orig 2010-05-08 19:13:32.000000000 +0200 +++ MojoMojo-1.00/script/mojomojo_cgi.pl 2010-05-21 06:01:32.000000000 +0200 @@ -1,6 +1,9 @@ #!/usr/bin/env perl -BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' } +BEGIN { + $ENV{MOJOMOJO_HOME} ||= '/var/lib/mojomojo'; + $ENV{CATALYST_ENGINE} ||= 'CGI'; +} use strict; use warnings; diff -up MojoMojo-1.00/script/mojomojo_fastcgi.pl.orig MojoMojo-1.00/script/mojomojo_fastcgi.pl --- MojoMojo-1.00/script/mojomojo_fastcgi.pl.orig 2010-05-08 19:13:32.000000000 +0200 +++ MojoMojo-1.00/script/mojomojo_fastcgi.pl 2010-05-21 06:01:32.000000000 +0200 @@ -1,6 +1,9 @@ #!/usr/bin/env perl -BEGIN { $ENV{CATALYST_ENGINE} ||= 'FastCGI' } +BEGIN { + $ENV{MOJOMOJO_HOME} ||= '/var/lib/mojomojo'; + $ENV{CATALYST_ENGINE} ||= 'FastCGI'; +} use strict; use warnings; diff -up MojoMojo-1.00/script/mojomojo_server.pl.orig MojoMojo-1.00/script/mojomojo_server.pl --- MojoMojo-1.00/script/mojomojo_server.pl.orig 2010-05-08 19:13:32.000000000 +0200 +++ MojoMojo-1.00/script/mojomojo_server.pl 2010-05-21 06:01:32.000000000 +0200 @@ -1,6 +1,7 @@ #!/usr/bin/env perl BEGIN { + $ENV{MOJOMOJO_HOME} ||= '/var/lib/mojomojo'; $ENV{CATALYST_ENGINE} ||= 'HTTP'; $ENV{CATALYST_SCRIPT_GEN} = 39; require Catalyst::Engine::HTTP; diff -up MojoMojo-1.00/script/mojomojo_spawn_db.pl.orig MojoMojo-1.00/script/mojomojo_spawn_db.pl --- MojoMojo-1.00/script/mojomojo_spawn_db.pl.orig 2010-05-09 21:16:51.000000000 +0200 +++ MojoMojo-1.00/script/mojomojo_spawn_db.pl 2010-05-21 06:02:27.000000000 +0200 @@ -14,7 +14,10 @@ Jonathan Rockway <jrockway@xxxxxxxx> =cut -BEGIN { $ENV{CATALYST_DEBUG} = 0 } +BEGIN { + $ENV{MOJOMOJO_HOME} ||= '/var/lib/mojomojo'; + $ENV{CATALYST_DEBUG} = 0; +} use strict; use warnings; use FindBin '$Bin'; @@ -103,7 +106,7 @@ eval { }; if ($@) { die "Your DSN line in mojomojo.conf doesn't look like a valid DSN." - . " Add one, or pass it on the command line."; + . " Add one, or pass it on the command line. " . $@; } die "No valid Data Source Name (DSN).\n" if !$dsn; $dsn =~ s/__HOME__/$FindBin::Bin\/\.\./g; Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/mojomojo/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- .cvsignore 26 Jul 2010 22:37:11 -0000 1.1 +++ .cvsignore 27 Jul 2010 03:09:01 -0000 1.2 @@ -0,0 +1 @@ +MojoMojo-1.01.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/mojomojo/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- sources 26 Jul 2010 22:37:12 -0000 1.1 +++ sources 27 Jul 2010 03:09:01 -0000 1.2 @@ -0,0 +1 @@ +af1fbb558b0375eb6fb18c798cc5518d MojoMojo-1.01.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel