1 |
# $Id: smeserver-openvpn-s2s.spec,v 1.9 2017/12/02 06:28:56 cvsuser Exp $ |
# $Id: smeserver-openvpn-s2s.spec,v 1.1 2021/02/04 16:21:25 brianr Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
6 |
%define name smeserver-openvpn-s2s |
%define name smeserver-openvpn-s2s |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.2 |
%define version 0.2 |
9 |
%define release 8 |
%define release 9 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
18 |
Patch2: smeserver-openvpn-s2s-0.2-locale-2015-07-01.patch |
Patch2: smeserver-openvpn-s2s-0.2-locale-2015-07-01.patch |
19 |
Patch3: smeserver-openvpn-s2s-0.2-fix_daemon_id_validation.patch |
Patch3: smeserver-openvpn-s2s-0.2-fix_daemon_id_validation.patch |
20 |
Patch4: smeserver-openvpn-s2s-0.2-locale-2017-12-02.patch |
Patch4: smeserver-openvpn-s2s-0.2-locale-2017-12-02.patch |
21 |
|
Patch5: smeserver-openvpn-s2s-0.2-Alter-for-systemd-startup.patch |
22 |
|
|
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
|
|
33 |
to run openvpn in client or server mode for site to site tunnels |
to run openvpn in client or server mode for site to site tunnels |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-9.sme |
37 |
|
- Initial import to SME10 [SME: 11337] |
38 |
|
- Alter-for-systemd-startup |
39 |
|
|
40 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 0.2-8.sme |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 0.2-8.sme |
41 |
- apply locale 2017-12-02 patch |
- apply locale 2017-12-02 patch |
42 |
|
|
143 |
%patch2 -p1 |
%patch2 -p1 |
144 |
%patch3 -p1 |
%patch3 -p1 |
145 |
%patch4 -p1 |
%patch4 -p1 |
146 |
|
%patch5 -p1 |
147 |
|
|
148 |
%build |
%build |
149 |
perl createlinks |
perl createlinks |
158 |
%install |
%install |
159 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
160 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
161 |
|
/bin/chmod +x $RPM_BUILD_ROOT/usr/sbin/systemd/openvpn-s2s |
162 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
163 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
164 |
--dir /etc/openvpn/s2s/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/s2s/pub 'attr(0755,root,root)' \ |
171 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
172 |
%defattr(-,root,root) |
%defattr(-,root,root) |
173 |
|
|
174 |
|
|
175 |
%clean |
%clean |
176 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
177 |
|
|