Add OPNsense
This commit is contained in:
parent
fecb1f3ccd
commit
69c10a3ac9
1 changed files with 14 additions and 0 deletions
14
modules/OPNsense.php
Normal file
14
modules/OPNsense.php
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue