Add pfSense
This commit is contained in:
parent
5bdb3ead24
commit
4845cf3cdb
1 changed files with 15 additions and 0 deletions
15
modules/PfSense.php
Normal file
15
modules/PfSense.php
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class PfSense extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Electric Sheep Fencing', 'pfSense', 'https://www.pfsense.org/download/');
|
||||||
|
$this->patch->setBranch('Community Edition');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch_json('https://api.github.com/repos/pfsense/pfsense/tags'))
|
||||||
|
return $this->parse_json('name');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue