initial commit of file from CVS for smeserver-softethervpn-server on Sat Sep 7 21:05:40 AEST 2024
This commit is contained in:
parent
4d4fdafef9
commit
93c8a113fb
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
*.rpm
|
||||||
|
*.log
|
||||||
|
*spec-20*
|
||||||
|
*.tar.gz
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Makefile for source rpm: smeserver-softethervpn-server
|
||||||
|
# $Id: Makefile,v 1.1 2021/01/16 07:25:44 brianr Exp $
|
||||||
|
NAME := smeserver-softethervpn-server
|
||||||
|
SPECFILE = $(firstword $(wildcard *.spec))
|
||||||
|
|
||||||
|
define find-makefile-common
|
||||||
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||||
|
|
||||||
|
ifeq ($(MAKEFILE_COMMON),)
|
||||||
|
# attept a checkout
|
||||||
|
define checkout-makefile-common
|
||||||
|
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(MAKEFILE_COMMON)
|
16
README.md
16
README.md
@ -1,3 +1,15 @@
|
|||||||
# smeserver-softethervpn-server
|
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-softethervpn-server
|
||||||
|
|
||||||
SMEServer Koozali developed git repo for smeserver-softethervpn-server smecontribs
|
SMEServer Koozali developed git repo for smeserver-softethervpn-server smecontribs
|
||||||
|
|
||||||
|
## Wiki
|
||||||
|
<br />https://wiki.koozali.org/Softethervpn-server
|
||||||
|
|
||||||
|
## Bugzilla
|
||||||
|
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-softethervpn-server&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||||
|
*Once it has been checked, then this comment will be deleted*
|
||||||
|
<br />
|
||||||
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
|||||||
|
contribs10
|
38
createlinks
Normal file
38
createlinks
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
|
use esmith::Build::CreateLinks qw(:all);
|
||||||
|
|
||||||
|
# Start and stop links - SME9
|
||||||
|
#service_link_enhanced("vpnserver", "S87", "7");
|
||||||
|
|
||||||
|
#Add an update event - auto executed by yum on install etc.
|
||||||
|
$event="smeserver-softethervpn-server-update";
|
||||||
|
foreach my $file (qw(
|
||||||
|
/etc/systemd/system-preset/49-koozali.preset
|
||||||
|
/etc/raddb/mods-config/files/authorize
|
||||||
|
/etc/httpd/conf/httpd.conf
|
||||||
|
))
|
||||||
|
{
|
||||||
|
templates2events( $file, $event );
|
||||||
|
}
|
||||||
|
|
||||||
|
#action needed in case we have a systemd unit
|
||||||
|
event_link("systemd-default", $event, "10");
|
||||||
|
event_link("systemd-reload", $event, "50");
|
||||||
|
#action specific to this package
|
||||||
|
event_link("remoteaccess-update",$event, "30");
|
||||||
|
#services we need to restart
|
||||||
|
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
|
||||||
|
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/radiusd");
|
||||||
|
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/bridge");
|
||||||
|
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/vpnserver");
|
||||||
|
|
||||||
|
use esmith::Build::Backup qw(:all);
|
||||||
|
backup_includes($pkg, qw(
|
||||||
|
/usr/vpnserver/vpn_server.config
|
||||||
|
/usr/vpnserver/backup.vpn_server.config/
|
||||||
|
/usr/vpnserver/chain_certs/
|
||||||
|
/usr/vpnserver/packet_log/
|
||||||
|
/usr/vpnserver/security_log/
|
||||||
|
/usr/vpnserver/server_log/
|
||||||
|
));
|
@ -0,0 +1 @@
|
|||||||
|
1194,5555
|
@ -0,0 +1 @@
|
|||||||
|
1194,500,1701,4500
|
@ -0,0 +1 @@
|
|||||||
|
public
|
@ -0,0 +1 @@
|
|||||||
|
enabled
|
@ -0,0 +1 @@
|
|||||||
|
service
|
@ -0,0 +1,2 @@
|
|||||||
|
DEFAULT Auth-Type := LDAP
|
||||||
|
|
@ -0,0 +1,12 @@
|
|||||||
|
[Service]
|
||||||
|
EnvironmentFile=
|
||||||
|
ExecStart=
|
||||||
|
ExecStop=
|
||||||
|
EnvironmentFile=-/usr/vpnserver
|
||||||
|
ExecStart=/usr/bin/vpnserver start
|
||||||
|
ExecStop=/usr/bin/vpnserver stop
|
||||||
|
ReadWriteDirectories=-/usr/vpnserver
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sme-server.target
|
||||||
|
|
80
smeserver-softethervpn-server.spec
Normal file
80
smeserver-softethervpn-server.spec
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
%define version 4.34
|
||||||
|
%define release 9
|
||||||
|
|
||||||
|
Name: smeserver-softethervpn-server
|
||||||
|
Version: %{version}
|
||||||
|
Release: %{release}%{dist}
|
||||||
|
Summary: An Open-Source Free Cross-platform Multi-protocol VPN Program
|
||||||
|
|
||||||
|
Group: Applications/Internet
|
||||||
|
License: GPLv2
|
||||||
|
URL: http://www.softether.org/
|
||||||
|
Source0: smeserver-softethervpn-server-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: e-smith-devtools
|
||||||
|
Requires: smeserver-bridge-interface
|
||||||
|
Requires: softethervpn
|
||||||
|
Requires: e-smith-apache >= 2.6.0-14
|
||||||
|
Conflicts: smeserver-openvpn-bridge
|
||||||
|
AutoReqProv: no
|
||||||
|
|
||||||
|
%description
|
||||||
|
SoftEther VPN is one of the world's most powerful and easy-to-use multi-protocol VPN software. It runs on Windows, Linux, Mac, FreeBSD, and Solaris.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
rm -rf root/etc/e-smith/templates-custom
|
||||||
|
rm -rf root/etc/e-smith/templates/etc/raddb/users
|
||||||
|
|
||||||
|
%build
|
||||||
|
# Build symlinks
|
||||||
|
perl createlinks
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||||
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||||||
|
> %{name}-%{version}-%{release}-filelist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files -f %{name}-%{version}-%{release}-filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 4.34-9.sme
|
||||||
|
- Roll up patches and move to git repo [SME: 12338]
|
||||||
|
|
||||||
|
* Sat Sep 07 2024 BogusDateBot
|
||||||
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||||
|
by assuming the date is correct and changing the weekday.
|
||||||
|
|
||||||
|
* Mon Mar 06 2023 Jean-Philippe Pialasse <tests@pialasse.com> 4.34-8.sme
|
||||||
|
- update path for ldap/radius auth [SME: 12333]
|
||||||
|
- backup the configuration and logs [SME: 12334]
|
||||||
|
|
||||||
|
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-7.sme
|
||||||
|
- move template custom to core for https access on local only [SME: 11511]
|
||||||
|
|
||||||
|
* Mon Jan 25 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-6.sme
|
||||||
|
- Fix-Environment-in-service-file [SME: 11329]
|
||||||
|
|
||||||
|
* Sun Jan 24 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-5.sme
|
||||||
|
- Fix-vpnserver-path-in-service-file-override [SME: 11326]
|
||||||
|
|
||||||
|
* Sat Jan 23 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-4.sme
|
||||||
|
- Patch-Service-File-for-SME10 [SME: 11326]
|
||||||
|
|
||||||
|
* Sat Jan 16 2021 Brian Read <brianr@bjsystems.co.uk> %{version}-2.sme
|
||||||
|
- Initial import to SME10 tree [SME: 11326]
|
||||||
|
- Update-Createlinks-for-systemd
|
||||||
|
|
||||||
|
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 4.34.9744-1.sme
|
||||||
|
- initial release SME 9
|
||||||
|
|
Loading…
Reference in New Issue
Block a user