Signed all ncdc/ncdu/TUWF releases + store per-file checksum

The checksums and signature files are now also on git, for extra
security.
This commit is contained in:
Yorhel 2011-10-19 20:52:44 +02:00
parent a328048251
commit 79f87caafc
79 changed files with 505 additions and 16 deletions

View file

@ -53,6 +53,7 @@ sub home {
E;
end;
h2 'Updates';
b '2011-10-19'; txt ' PGP-signed all releases of ncdu, ncdc and TUWF.'; br;
b '2011-10-14'; txt ' ncdc 1.3 released!'; br;
b '2011-09-25'; txt ' ncdc 1.1 released - follwed by a 1.2 quickfix.'; br;
b '2011-09-16'; txt ' ncdc 1.0 released!'; br;
@ -101,15 +102,11 @@ sub ncdu {
br; br;
b 'Latest version: ';
txt '1.7 (';
a href => 'http://dev.yorhel.nl/download/ncdu-1.7.tar.gz', 'download';
$s->htmlDLLink('ncdu-1.7.tar.gz', 'download');
txt ' - ';
a href => '/ncdu/changes', 'changes';
txt ' - ';
a href => 'http://sourceforge.net/project/showfiles.php?group_id=200175', 'mirror';
txt ' - ';
a href => '/download/ncdu.md5', 'md5';
txt ' - ';
a href => '/download/ncdu.sha1', 'sha1';
txt ")"; br;
b 'Requirements: '; txt 'A POSIX-like system and the ncurses library'; br;
txt 'Entirely written in C and available under a liberal MIT license.';
@ -230,10 +227,8 @@ sub ncdc {
h2 'Get ncdc!';
p;
b 'Latest version:'; txt ' 1.3 (';
a href => '/download/ncdc-1.3.tar.gz', 'download';
$s->htmlDLLink('ncdc-1.3.tar.gz', 'download');
txt ' - '; a href => '/ncdc/changes', 'changes';
txt ' - '; a href => '/download/ncdc.md5', 'md5';
txt ' - '; a href => '/download/ncdc.sha1', 'sha1';
txt ')'; br;
txt 'You can also get the latest development version from ';
a href => 'http://g.blicky.net/ncdc.git/', 'this git repository';
@ -472,13 +467,14 @@ sub tuwf {
h2 'Download';
p;
lit <<' E;';
<b>Latest packaged version:</b> 0.1 (<a href="/download/TUWF-0.1.tar.gz">download</a>
- <a href="http://search.cpan.org/dist/TUWF/">CPAN mirror</a>)
<br />
TUWF is also available on a git repository at <a href="http://g.blicky.net/tuwf.git/">
http://g.blicky.net/tuwf.git/</a>.
E;
b 'Latest packaged version:';
txt '0.1 (';
$s->htmlDLLink('TUWF-0.1.tar.gz', 'download');
txt ' - ';
a href => 'http://search.cpan.org/dist/TUWF/', 'CPAN mirror';
txt ')'; br;
txt 'TUWF is also available on a git repository at ';
a href => 'http://g.blicky.net/tuwf.git/', 'http://g.blicky.net/tuwf.git/'; txt '.';
end;
h2 'Websites using TUWF';
@ -973,6 +969,17 @@ sub htmlFooter {
}
sub htmlDLLink {
my($s, $f, $m) = @_;
a href => "/download/$f", $m||$f;
b class => 'sig'; txt '[';
a href => "/download/$f.asc", 'PGP'; txt '-';
a href => "/download/$f.sha1", 'SHA1'; txt '-';
a href => "/download/$f.md5", 'MD5'; txt ']';
end;
}
sub htmlChangeLog {
my ($s, $p) = @_;
@ -983,7 +990,7 @@ sub htmlChangeLog {
li style => 'list-style-type: none;';
b $1;
txt " - $2 - ";
a href => "/download/$p-$1.tar.gz", "$p-$1.tar.gz";
$s->htmlDLLink("$p-$1.tar.gz");
br;
ul;
for (split(/\r?\n\s+-\s+/, $v)) {
@ -1042,6 +1049,8 @@ sub css {
#mtabs a:hover { background-color: #000; text-decoration: none }
#mtabs a.sel { border-bottom: 2px solid #000; background-color: #000; }
#footer, #footer a { color: #444; margin-bottom: 10px }
.sig { vertical-align: super; padding-left: 3px; color: #666!important }
.sig, .sig a { font-size: 10px; color: #ccc }
h1 { font-size: 19px; color: #888; margin-bottom: 5px; }
h2 { font-size: 16px; color: #888; margin-top: 25px; margin-bottom: 1px; }
b { font-weight: bold; color: #fff }