Finally merged the branch 'apache20'(+'apache2') back to the main trunk.
[www.jankratochvil.net.git] / project / smbfs / Index.pm
old mode 100755 (executable)
new mode 100644 (file)
similarity index 73%
rename from project/smbfs/Index.html.pl
rename to project/smbfs/Index.pm
index 68ace61..d506bec
@@ -1,8 +1,6 @@
-#! /usr/bin/perl
-# 
 # $Id$
 # Main page of 'My::Project::smbfs'
-# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+# Copyright (C) 2003-2005 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
 # 
 # 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
@@ -25,17 +23,30 @@ our $CVS_ID=q$Id$;
 use strict;
 use warnings;
 
-BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,<F>)[0]]}; eval "use lib '$top_dir'"; close F; }
 use My::Web;
-Wuse 'My::Project';
-Wuse 'project::smbfs::ListItem';
+Wuse 'project::Lib';
 
 
-My::Project->init_project(
-               "__PACKAGE__"=>__PACKAGE__,
-               "ListItem"=>\@project::smbfs::ListItem::ListItem,
+our @ListItem=(
+               "name"=>"smbfs patch",
+               "platform"=>"unixuser",
+               "trivia"=>1,
+               "priority"=>80,
+               "download"=>"smbfs-2.1.132-blocksize.diff",
+               "summary"=>'Linux kernel smbfs acceleration patch',
+               "license"=>"PD",
+               "maintenance"=>"ready",
+               "language"=>"C patch",
+               "description"=><<"HERE",
+<p>Accelerate twice the copying transfer rate for client GNU/Linux from SMB
+server share (Microsoft Windows).</p>
+HERE
                );
 
+sub handler
+{
+project::Lib->init();
+
 
 print <<"HERE";
 <p>Simple patch to increase virtual block size of SMB filesytem in Linux
@@ -49,4 +60,6 @@ and not in <i>kilobytes</i> as some people think.</p>
 HERE
 
 
-My::Web->footer();
+exit;
+}
+1;