Compare commits
4 Commits
1.0-21
...
1_0-24_el8
| Author | SHA1 | Date | |
|---|---|---|---|
| bd88797db8 | |||
| 03a5304866 | |||
| 12516e2505 | |||
| f053c60040 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
||||
*.log
|
||||
*spec-20*
|
||||
*.0.tgz
|
||||
*.0.tar.xz
|
||||
|
||||
@@ -6,7 +6,14 @@ SMEServer Koozali developed git repo for smeserver-wireguard smecontribs
|
||||
<br />https://wiki.koozali.org/Wireguard
|
||||
|
||||
## Bugzilla
|
||||
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-wireguard&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||
Show list of outstanding bugs:
|
||||
[All](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&classification=Contribs&component=smeserver-wireguard&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
|
||||
[Confirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=CONFIRMED&classification=Contribs&component=smeserver-wireguard&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
|
||||
[Unconfirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&classification=Contribs&component=smeserver-wireguard&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
|
||||
[Need Info](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=NEEDINFO&classification=Contribs&component=smeserver-wireguard&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
|
||||
[In Progress](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=IN_PROGRESS&classification=Contribs&component=smeserver-wireguard&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
|
||||
[Verified](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=VERIFIED&classification=Contribs&component=smeserver-wireguard&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
|
||||
[Resolved](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=RESOLVED&classification=Contribs&component=smeserver-wireguard&list_id=105781&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&product=SME+Contribs&query_format=advanced)
|
||||
|
||||
## Description
|
||||
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use esmith::Build::CreateLinks qw(:all);
|
||||
|
||||
panel_link("webhosting", "manager");
|
||||
|
||||
for my $event (qw(
|
||||
webhosting-modify smeserver-webhosting-update
|
||||
))
|
||||
{
|
||||
#we can avoid those 2 as we are tricking ourself as ibay-modify and it will do those and php
|
||||
#templates2events("/etc/httpd/conf/httpd.conf", $event);
|
||||
#safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
|
||||
event_link("webhosting-php-expand", $event, "05");
|
||||
event_link("webhosting-php-adjust", $event, "90");
|
||||
}
|
||||
$event="smeserver-webhosting-update";
|
||||
event_link("navigation-conf", $event, "70");
|
||||
# for smeserver-manager
|
||||
safe_symlink('restart', "root/etc/e-smith/events/$event/services2adjust/smanager");
|
||||
event_link('navigation2-conf', "$event", '80');
|
||||
event_link('routes2-conf', "$event", '80');
|
||||
event_link('locales2-conf', "$event", '80');
|
||||
@@ -23,11 +23,10 @@ use SrvMngr qw( theme_list init_session is_normal_password );
|
||||
use esmith::ConfigDB;
|
||||
use Net::IP;
|
||||
|
||||
our $adb = esmith::AccountsDB->open() || die "Couldn't open accounts DB\ndb";
|
||||
our $cdb = esmith::ConfigDB->open() || die "Couldn't open config DB\n";
|
||||
our $wdb = esmith::ConfigDB->open('wireguard') || esmith::ConfigDB->create('wireguard');
|
||||
our $ndb = esmith::NetworksDB->open_ro || die "Error opening networks DB\n";
|
||||
|
||||
my $adb;
|
||||
my $cdb;
|
||||
my $wdb;
|
||||
my $ndb;
|
||||
|
||||
sub main {
|
||||
|
||||
@@ -35,6 +34,8 @@ sub main {
|
||||
$c->app->log->info($c->log_req);
|
||||
|
||||
my %wrg_datas = ();
|
||||
$wdb = esmith::ConfigDB->open('wireguard') || esmith::ConfigDB->create('wireguard');
|
||||
|
||||
my $title = $c->l('wrg_FORM_TITLE');
|
||||
|
||||
$wrg_datas{'trt'} = 'LST';
|
||||
@@ -74,6 +75,11 @@ sub do_display {
|
||||
my $title = $c->l('wrg_FORM_TITLE');
|
||||
my $modul = '';
|
||||
|
||||
$adb = esmith::AccountsDB->open() || die "Couldn't open accounts DB\ndb";
|
||||
$cdb = esmith::ConfigDB->open() || die "Couldn't open config DB\n";
|
||||
$wdb = esmith::ConfigDB->open('wireguard') || esmith::ConfigDB->create('wireguard');
|
||||
#$ndb = esmith::NetworksDB->open_ro || die "Error opening networks DB\n";
|
||||
|
||||
$wrg_datas{'trt'} = $trt;
|
||||
|
||||
if ( $trt eq 'QRC' ) {
|
||||
@@ -140,6 +146,11 @@ sub do_action {
|
||||
my $result = '';
|
||||
my $res = '';
|
||||
|
||||
$adb = esmith::AccountsDB->open() || die "Couldn't open accounts DB\ndb";
|
||||
$cdb = esmith::ConfigDB->open() || die "Couldn't open config DB\n";
|
||||
$wdb = esmith::ConfigDB->open('wireguard') || esmith::ConfigDB->create('wireguard');
|
||||
$ndb = esmith::NetworksDB->open_ro || die "Error opening networks DB\n";
|
||||
|
||||
if ( $trt eq 'QRC' ) {
|
||||
# NEVER
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
% content_for 'module' => begin
|
||||
<div id='module' class='module wireguard-panel'>
|
||||
|
||||
% if ($config->{debug} == 1) {
|
||||
% if (config->{debug} == 1) {
|
||||
<p>
|
||||
%= dumper $c->current_route
|
||||
%= dumper $wrg_datas
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
%define release 21
|
||||
%define release 24
|
||||
%define version 1.0
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: smeserver-wireguard
|
||||
Version: %{version}
|
||||
@@ -11,14 +12,14 @@ License: GPL
|
||||
URL: https://wiki.koozali.org/Wireguard
|
||||
Source0: smeserver-wireguard-1.0.tar.xz
|
||||
|
||||
BuildRequires: e-smith-devtools
|
||||
BuildRequires: smeserver-devtools
|
||||
Requires: wireguard-tools
|
||||
Requires: kmod-wireguard
|
||||
Requires: smeserver-release >= 10
|
||||
Requires: qrencode
|
||||
Requires: perl-Net-Netmask
|
||||
Requires: e-smith-base >= 5.8.1-2
|
||||
Requires: e-smith-lib >= 2.6.0-15
|
||||
Requires: smeserver-base >= 5.8.1-2
|
||||
Requires: smeserver-lib >= 2.6.0-15
|
||||
|
||||
AutoReqProv: no
|
||||
|
||||
@@ -36,7 +37,7 @@ This package provides the Koozali SME SERVER configuration for controlling WireG
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
perl createlink
|
||||
perl createlinks
|
||||
|
||||
|
||||
%install
|
||||
@@ -60,6 +61,16 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Sep 24 2025 Brian Read <brianr@koozali.org> 1.0-24.sme
|
||||
- Sort out access to DB vis a vis caching [SME: 13168]
|
||||
|
||||
* Mon Sep 22 2025 Brian Read <brianr@koozali.org> 1.0-23.sme
|
||||
- add debuginfo define to suppress it [SME: 13168]
|
||||
- Fix config call in layout [SME: 13168]
|
||||
|
||||
* Sun Sep 08 2024 Brian Read <brianr@koozali.org> 1.0-22.sme
|
||||
- Map e-smith package names to smeserver
|
||||
|
||||
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 1.0-21.sme
|
||||
- Roll up patches and move to git repo [SME: 12338]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user