Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 1010 → Rev 1011

/buildidx/buildidx.php
10,6 → 10,7
 
requires php-zip
 
02 mar 2022: (yet to create) freecom allowed to have a COMMAND.COM file without subdirectory
28 feb 2022: svarcom allowed to have a COMMAND.COM file without subdirectory
24 feb 2022: added hardcoded hack to translate version 'x.xx' to '0.44' (NESticle)
23 feb 2022: basic validation of source archives (not empty + matches an existing svp file)
36,7 → 37,7
22 sep 2012: forked 1st version from FDUPDATE builder
*/
 
$PVER = "20220228";
$PVER = "20220302";
 
 
// computes the BSD sum of a file and returns it
397,6 → 398,10
if ($pkgnam === 'svarcom') {
if ($f === 'command.com') continue;
}
// FREECOM is allowed to have a root-based COMMAND.COM file
if ($pkgnam === 'freecom') {
if ($f === 'command.com') continue;
}
// the help package is allowed to put files in... help
if (($pkgnam == 'help') && (str_head_is($f, 'help/'))) continue;
// must be category-prefixed file, add it to the list of categories for this package