captive-1.1.4
[www.jankratochvil.net.git] / project / captive / CVS.html.pl
index f129967..360611a 100755 (executable)
@@ -51,6 +51,139 @@ cvs -d :pserver:pserver@{[ '@' ]}cvs.jankratochvil.net:/cvs -z3 checkout -r capt
 make
 ./src/client/cmdline/captive-cmdline --load-module=/var/lib/captive/ntoskrnl.exe --filesystem=/var/lib/captive/ntfs.sys --disk --blind /dev/hda1
 </pre>
+
+@{[ vskip "3ex" ]}
+
+<h2>Download</h2>
+
+<table border="1" align="center" style="text-align: center;" width="100%"><tr><th>Distribution</th>
+               <th>Installation Case #1<br />Filesystem and installer<br />(recommended)</th>
+               <th>Installation Case #2<br />Manual installation<br />(filesystem, expert user)</th>
+               <th>Installation Case #3<br />Command-line client<br />(no filesystem access)</th></tr>
+HERE
+my %pkg=(
+               1=>[qw(captive captive-lufs captive-install lufs gnome-vfs-httpcaptive ntfsprogs ntfsprogs-gnomevfs)],
+               2=>[qw(captive captive-lufs                 lufs)],
+               3=>[qw(captive)],
+               );
+my %version=(
+               map(($_=>["1.1.4","0"]),qw(captive captive-lufs captive-install)),
+               "lufs"=>["0.9.7","1captive8"],
+               "gnome-vfs-httpcaptive"=>["2.3.8captive2","0"],
+               "ntfsprogs"=>["200309071734","1captive1"],
+               "ntfsprogs-gnomevfs"=>["1.0.2","0"],
+               );
+my %has_devel=(map(($_=>1),qw(
+               ntfsprogs
+               )));
+my %pkg_nosrc=(map(($_=>1),qw(
+               captive-lufs
+               captive-install
+               ntfsprogs
+               ntfsprogs-gnomevfs
+               )));
+
+my $case;
+my $a_href_arch=sub ($$%)
+{
+my($file_base,$text,%args)=@_;
+
+       $text=~s/[._]\D.*$// if $case!=1 && $text!~/^[.]/;
+       return a_href $file_base,$text,"size"=>($case==1),%args;
+};
+
+my $ntfsprogs_after=sub ($) {
+       my($format)=@_;
+               return () if $case!=1;
+               return '<hr width="80%" />requirement: '
+                               .a_href('http://linux-ntfs.sourceforge.net/downloads.html#downloads','ntfsprogs')
+                               .' '.$format.' &ge; 1.8.0';
+       };
+
+my @dist=(
+               {
+                       "name"=>"Debian GNU/Linux<br />'unstable' i386",
+                       "id"=>"debian",
+                       "out"=>sub {
+                               my($pkg,$version_base,$version_ext)=@_;
+                                       $version_ext=~s/^\d+//;
+                                       my $file="${pkg}_$version_base".($version_ext=~/^\d+$/ ? "" : $version_ext)."_i386.deb";
+                                       my $r=&$a_href_arch("dist/$file",$file);
+                                       (my $filedev=$file)=~s/^\Q$pkg\E_/${pkg}-dev_/;
+                                       $r.="<br />".&$a_href_arch("dist/$filedev",$filedev) if $has_devel{$pkg};
+                                       return $r;
+                               },
+                       },
+               {
+                       "name"=>"Sources (.tar.gz)",
+                       "id"=>"source",
+                       "out"=>sub {
+                               my($pkg,$version_base,$version_ext)=@_;
+                                       return () if $pkg_nosrc{$pkg};
+                                       $version_ext=~s/^\d+//;
+                                       my $file="$pkg-$version_base".($version_ext=~/^\d+$/ ? "" : $version_ext).".tar.gz";
+                                       return $file,$file;
+                               },
+                       "after"=>sub { return &{$ntfsprogs_after}(".tar.gz"); },
+                       },
+               );
+
+for my $dist (@dist) {
+       print "<a name=".$dist->{"id"}."><tr>";
+               print "<td>".$dist->{"name"}."</td>";
+               for my $casel (1,2,3) {
+                       $case=$casel;
+                       print "<td>";
+                       print join("<br />",map({ my $pkg=$_;
+                               my($file,$text)=&{$dist->{"out"}}($pkg,@{$version{$pkg}});
+                               (!defined $text ? ($file) || () : (&$a_href_arch("dist/$file",$text)));
+                               } @{$pkg{$case}}),map({ (!$_ ? () : (&{$_}())); } $dist->{"after"}));
+                       print "</td>";
+                       }
+       print "</tr></a>\n";
+       }
+print <<"HERE";
+</table>
+
+@{[ vskip "3ex" ]}
+
+
+<h2>Pending Integrations</h2>
+
+<dl>
+       <dt>@{[ a_href $W->{"project_viewcvs"}.'/lufs/','lufs-captive' ]}
+                       [@{[ a_href $W->{"project_viewcvs"}.'/*checkout*/lufs/NEWS.captive?rev=1.1.2.11','NEWS' ]}]
+       <dd>
+               <p>@{[ a_href 'http://lufs.sourceforge.net/lufs/','LUFS' ]} still has not yet integrated
+                               the Captive-developed patches. No integration schedule is currently known.</p>
+               <ul>
+                       <li>Linux kernel module has implemented support for statfs(2)/df(1)</li>
+                       <li>Many fixes of the userland lufsd(8) daemon</li>
+                       <li>Scripts for unattended Linux kernel module prebuilds/compilation/installation</li>
+               </ul>
+       </dd>
+       <dt>@{[ a_href $W->{"project_viewcvs"}.'/gnome-vfs-httpcaptive/?only_with_tag=captive','gnome-vfs-httpcaptive' ]}</dt>
+       <dd>
+               <p>seek() function support for http:// handler was submitted as Gnome BugZilla
+                               @{[ a_href 'http://bugzilla.gnome.org/show_bug.cgi?id=121194','Bug # 121194' ]}.
+                               Bug is currently pending - vote for it, please. :-)</p>
+       </dd>
+       <dt>Debian ntfsprogs-200309071734-1captive1 (libntfs4/libntfs4-dev)</dt>
+       <dd>
+               <p>Debian packaging is not yet up to date with the already released
+                               @{[ a_href 'http://linux-ntfs.sourceforge.net/downloads.html#ntfs','version 1.8.0' ]}.</p>
+       </dd>
+       <dt>Debian @{[ a_href '/project/ntfsprogsgnomevfs/','ntfsprogs-gnomevfs' ]}</dt>
+       <dd>
+               <p>Debian packaging is not yet up to date with the already released
+                               @{[ a_href 'http://linux-ntfs.sourceforge.net/downloads.html#ntfs','version 1.8.0' ]}
+                               containing the Captive-developed @{[ a_href '/project/ntfsprogsgnomevfs/','ntfsprogs-gnomevfs' ]} package.</p>
+       </dd>
+</dl>
+
+
+<h1>@{[ a_href './','Back to Captive Main Page' ]}</h1>
+
 HERE