Compare commits

..

3 commits

Author SHA1 Message Date
d37597e6aa Add Tomcat 11 2025-02-26 17:20:19 +01:00
21617be045 Add Tomcat 9 2025-02-26 17:20:04 +01:00
f974e40dfb Add Tomcat 10 2025-02-26 17:19:57 +01:00
3 changed files with 45 additions and 0 deletions

15
modules/Tomcat10.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class Tomcat10 extends PatchBase {
function __construct() {
parent::__construct('Apache Foundation', 'Tomcat', 'https://tomcat.apache.org/download-10.cgi');
$this->patch->setBranch('10');
}
function check() : bool {
if ($this->fetch('https://tomcat.apache.org/download-10.cgi'))
return $this->parse('/id="([\d\.]+)"/');
return false;
}
}
?>

15
modules/Tomcat11.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class Tomcat11 extends PatchBase {
function __construct() {
parent::__construct('Apache Foundation', 'Tomcat', 'https://tomcat.apache.org/download-11.cgi');
$this->patch->setBranch('11');
}
function check() : bool {
if ($this->fetch('https://tomcat.apache.org/download-11.cgi'))
return $this->parse('/id="([\d\.]+)"/');
return false;
}
}
?>

15
modules/Tomcat9.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class Tomcat9 extends PatchBase {
function __construct() {
parent::__construct('Apache Foundation', 'Tomcat', 'https://tomcat.apache.org/download-90.cgi');
$this->patch->setBranch('9');
}
function check() : bool {
if ($this->fetch('https://tomcat.apache.org/download-90.cgi'))
return $this->parse('/id="([\d\.]+)"/');
return false;
}
}
?>