net/sslh: style updates and sync
This commit is contained in:
parent
7f918905ad
commit
f10d2cf8df
2
LICENSE
2
LICENSE
|
@ -39,6 +39,7 @@ Copyright (c) 2017-2021 Michael Muenz <m.muenz@gmail.com>
|
|||
Copyright (c) 2021 Nicola Pellegrini
|
||||
Copyright (c) 2022 Nikolaj Brinch Jørgensen
|
||||
Copyright (c) 2021 Nim G
|
||||
Copyright (c) 2022 Patrik Kernstock <patrik@kernstock.net>
|
||||
Copyright (c) 2004-2012 Scott Ullrich <sullrich@gmail.com>
|
||||
Copyright (c) 2010 Seth Mos <seth.mos@dds.nl>
|
||||
Copyright (c) 2008 Shrew Soft Inc. <mgrooms@shrew.net>
|
||||
|
@ -49,6 +50,7 @@ Copyright (c) 2020 Tobias Boehnert
|
|||
Copyright (c) 2022 Wouter Deurholt
|
||||
Copyright (c) 2010 Yehuda Katz
|
||||
Copyright (c) 2015 YoungJoo.Kim <vozltx@gmail.com>
|
||||
Copyright (c) 2022 agh1467 <agh1467@protonmail.com>
|
||||
Copyright (c) 2020 devNan0 <nan0@nan0.dev>
|
||||
All rights reserved.
|
||||
|
||||
|
|
|
@ -62,6 +62,7 @@ net/realtek-re -- Realtek re(4) vendor driver
|
|||
net/relayd -- Relayd Load Balancer
|
||||
net/shadowsocks -- Secure socks5 proxy
|
||||
net/siproxd -- Siproxd is a proxy daemon for the SIP protocol
|
||||
net/sslh -- sslh configuration front-end (development only)
|
||||
net/tayga -- Tayga NAT64
|
||||
net/udpbroadcastrelay -- Control ubpbroadcastrelay processes
|
||||
net/upnp -- Universal Plug and Play Service
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PLUGIN_NAME= sslh
|
||||
PLUGIN_VERSION= 0.1
|
||||
PLUGIN_DEVEL= yes
|
||||
PLUGIN_COMMENT= sslh configuration front-end
|
||||
PLUGIN_DEPENDS= sslh
|
||||
PLUGIN_MAINTAINER= agh1467@protonmail.com
|
||||
PLUGIN_NAME= sslh
|
||||
PLUGIN_VERSION= 0.1
|
||||
PLUGIN_DEVEL= yes
|
||||
PLUGIN_COMMENT= sslh configuration front-end
|
||||
PLUGIN_DEPENDS= sslh
|
||||
PLUGIN_MAINTAINER= agh1467@protonmail.com
|
||||
|
||||
.include "../../Mk/plugins.mk"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Copyright (C) 2022 agh1467@protonmail.com
|
||||
* Copyright (C) 2022 agh1467 <agh1467@protonmail.com>
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
|
@ -73,5 +73,4 @@ class ServiceController extends ApiMutableServiceControllerBase
|
|||
* @var string $internalServiceName
|
||||
*/
|
||||
protected static $internalServiceName = 'sslh';
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Copyright (C) 2022 agh1467@protonmail.com
|
||||
* Copyright (C) 2022 agh1467 <agh1467@protonmail.com>
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
Copyright (C) 2022 agh1467@protonmail.com
|
||||
Copyright (C) 2022 agh1467 <agh1467@protonmail.com>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
@ -46,19 +46,16 @@ class SettingsController extends \OPNsense\Base\IndexController
|
|||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
|
||||
// Set environment variables for within the Volt templates.
|
||||
$this->view->setVars(
|
||||
[
|
||||
// Set environment variables for within the Volt templates.
|
||||
$this->view->setVars([
|
||||
'plugin_name' => 'sslh',
|
||||
'api_name' => 'sslh',
|
||||
'this_form' => $this->getForm('settings'),
|
||||
// controllers/OPNsense/Sslh/forms/settings.xml
|
||||
]
|
||||
);
|
||||
]);
|
||||
|
||||
// pick the template as the next view to render
|
||||
$this->view->pick('OPNsense/Sslh/settings');
|
||||
// views/OPNsense/Sslh/settings.volt
|
||||
// pick the template as the next view to render
|
||||
$this->view->pick('OPNsense/Sslh/settings');
|
||||
// views/OPNsense/Sslh/settings.volt
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
Copyright (C) 2022 agh1467@protonmail.com
|
||||
Copyright (C) 2022 agh1467 <agh1467@protonmail.com>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{##
|
||||
#
|
||||
# OPNsense® is Copyright © 2014 – 2018 by Deciso B.V.
|
||||
# This file is Copyright © 2022 agh1467@protonmail.com
|
||||
{#
|
||||
# Copyright (c) 2014-2018 Deciso B.V.
|
||||
# Copyright (c) 2022 agh1467 <agh1467@protonmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without modification,
|
||||
|
@ -24,9 +23,9 @@
|
|||
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#}
|
||||
#}
|
||||
|
||||
{##
|
||||
{#
|
||||
# This is the template for the settings page.
|
||||
#
|
||||
# This is the main page for this plugin.
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{##
|
||||
#
|
||||
# OPNsense® is Copyright © 2014 – 2018 by Deciso B.V.
|
||||
# This file is Copyright © 2022 agh1467@protonmail.com
|
||||
{#
|
||||
# Copyright (c) 2014-2018 Deciso B.V.
|
||||
# Copyright (c) 2022 agh1467 <agh1467@protonmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without modification,
|
||||
|
@ -24,7 +23,7 @@
|
|||
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#}
|
||||
#}
|
||||
|
||||
{#- /usr/local/etc/sslh.conf -#}
|
||||
{% set plugin_name = 'sslh' %}
|
||||
|
|
Loading…
Reference in New Issue