/[smecontribs]/rpms/smeserver-openvpn-s2s/contribs10/smeserver-openvpn-s2s.spec
ViewVC logotype

Diff of /rpms/smeserver-openvpn-s2s/contribs10/smeserver-openvpn-s2s.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by brianr, Thu Feb 4 16:21:25 2021 UTC Revision 1.2 by brianr, Fri Feb 5 12:17:48 2021 UTC
# Line 1  Line 1 
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    
# Line 6  Summary: OpenVPN, a strong VPN solution Line 6  Summary: OpenVPN, a strong VPN solution
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
# Line 18  Patch1: smeserver-openvpn-s2s-0.2-locale Line 18  Patch1: smeserver-openvpn-s2s-0.2-locale
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    
# Line 32  This package contains all the needed scr Line 33  This package contains all the needed scr
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    
# Line 138  to run openvpn in client or server mode Line 143  to run openvpn in client or server mode
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
# Line 152  perl createlinks Line 158  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)' \
# Line 164  perl createlinks Line 171  perl createlinks
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    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed