Add OPNsense

This commit is contained in:
Steffen Lange 2023-01-16 17:17:11 +01:00
parent fecb1f3ccd
commit 69c10a3ac9

14
modules/OPNsense.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class OPNsense extends PatchBase {
function __construct() {
parent::__construct('Deciso B.V.', 'OPNsense', 'https://opnsense.org/download/');
}
function check() : bool {
if ($this->fetch('https://opnsense.org/download/'))
return $this->parse('/version *= *"([\d.]+)"/');
return false;
}
}
?>