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

Annotation of /rpms/smeserver-openvpn-s2s/contribs9/smeserver-openvpn-s2s.spec

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


Revision 1.6 - (hide annotations) (download)
Wed Jul 1 21:55:55 2015 UTC (8 years, 10 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-openvpn-s2s-0_2-5_el6_sme
Changes since 1.5: +7 -2 lines
* Wed Jul 1 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-5.sme
- Apply smeserver-openvpn-s2s-0.2-locale-2015-07-01.patch [SME: 8967]

1 stephdl 1.6 # $Id: smeserver-openvpn-s2s.spec,v 1.5 2015/02/17 12:16:49 vip-ire Exp $
2 vip-ire 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     Summary: OpenVPN, a strong VPN solution built over SSL, for site to site tunnels
6     %define name smeserver-openvpn-s2s
7     Name: %{name}
8     %define version 0.2
9 stephdl 1.6 %define release 5
10 vip-ire 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: Networking/Remote access
14 vip-ire 1.2 Source: %{name}-%{version}.tar.xz
15 vip-ire 1.5
16 vip-ire 1.3 Patch0: smeserver-openvpn-s2s-0.2-use_verify_x509_name.patch
17 vip-ire 1.5 Patch1: smeserver-openvpn-s2s-0.2-locale-2015-02-17.patch
18 stephdl 1.6 Patch2: smeserver-openvpn-s2s-0.2-locale-2015-07-01.patch
19 vip-ire 1.5
20 vip-ire 1.1 BuildArchitectures: noarch
21    
22     BuildRequires: e-smith-devtools
23     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24    
25     Requires: e-smith-base
26     Requires: openvpn >= 2.1
27    
28     %description
29     This package contains all the needed scripts and templates
30     to run openvpn in client or server mode for site to site tunnels
31    
32     %changelog
33 stephdl 1.6 * Wed Jul 1 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.2-5.sme
34     - Apply smeserver-openvpn-s2s-0.2-locale-2015-07-01.patch [SME: 8967]
35    
36 vip-ire 1.5 * Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2-4.sme
37     - Apply locale 2015-02-17 patch
38    
39 vip-ire 1.4 * Thu Dec 18 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2-3.sme
40     - Create required (but unused) /etc/openvpn/s2s/tmp dir
41    
42 vip-ire 1.3 * Thu Nov 14 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2-2.sme
43     - Use verify-x509-name instead of tls-remote
44    
45 vip-ire 1.1 * Mon Nov 11 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2-1.sme
46     - Rebuild for SME9
47    
48     * Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.1-22.sme
49     - apply locale 2013-07-14 patch
50    
51     * Thu Oct 13 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-21.sme
52     - Apply locale 2011-10-13 patch
53    
54     * Thu Jun 2 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-20.sme
55     - Fix remote host description
56    
57     * Wed Jun 1 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-19.sme
58     - SNAT outbound connexions to use the local IP as source
59    
60     * Tue Apr 19 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-18.sme
61     - Reduce inactivity timeout
62    
63     * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 0.1-17.sme
64     - apply locale 2011-03-06 patch
65    
66     * Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-16.sme
67     - Stop disabling service on rpm removal (spec change only)
68    
69     * Tue Dec 7 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-15.sme
70     - Remove useless smb.conf template
71    
72     * Tue Dec 7 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-14.sme
73     - Fix type variable (thks M. Doerner)
74    
75     * Mon Nov 8 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-13.sme
76     - Apply locale 2010-11-08 patch
77    
78     * Thu Nov 4 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-12.sme
79     - Apply locale 2010-11-04 patch
80    
81     * Tue Nov 02 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-11.sme
82     - Remove the nice directive
83    
84     * Mon Oct 18 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-10.sme
85     - Expand smb.conf and restart samba services
86    
87     * Mon Oct 18 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-9.sme
88     - Fix typo in up script
89    
90     * Mon Oct 18 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-8.sme
91     - Various enhancement in templates
92     - Set wget timeout
93     - Fix crontab templates
94    
95     * Sun Oct 17 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-7.sme
96     - Implement CRL updates and verification
97     - Fix masq template
98    
99     * Sun Oct 17 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-6.sme
100     - Set VPN networks non removable
101    
102     * Sun Oct 17 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-5.sme
103     - Rename logrotate configuration file
104     - Add missingok to logrotate conf
105     - Support per configuration customization
106     - Add TLS auth support
107    
108     * Mon Oct 4 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-4.sme
109     - Fix adding routes in up script
110     - Log drop trafic
111     - Fix multiple net validation
112    
113     * Mon Oct 4 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-3.sme
114     - allow one-way VPN with AllowInbound prop
115    
116     * Mon Oct 4 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-3.sme
117     - Various fixes
118    
119     * Mon Oct 4 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-1.sme
120     - initiale release (based on work from Florian Dejan)
121    
122     %prep
123    
124     %setup -q -n %{name}-%{version}
125 vip-ire 1.3 %patch0 -p1
126 vip-ire 1.5 %patch1 -p1
127 stephdl 1.6 %patch2 -p1
128 vip-ire 1.1
129     %build
130     perl createlinks
131    
132     %{__mkdir_p} root/etc/openvpn/s2s/priv
133     %{__mkdir_p} root/etc/openvpn/s2s/pub
134 vip-ire 1.4 %{__mkdir_p} root/etc/openvpn/s2s/tmp
135 vip-ire 1.1 %{__mkdir_p} root/var/run/openvpn-s2s
136     %{__mkdir_p} root/var/log/openvpn-s2s
137    
138     %install
139     /bin/rm -rf $RPM_BUILD_ROOT
140     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
141     /bin/rm -f %{name}-%{version}-filelist
142     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
143     --dir /etc/openvpn/s2s/pub 'attr(0755,root,root)' \
144     --dir /etc/openvpn/s2s/priv 'attr(0750,root,root)' \
145 vip-ire 1.4 --dir /etc/openvpn/s2s/tmp 'attr(0750,root,root)' \
146 vip-ire 1.1 --dir /var/log/openvpn-s2s 'attr(0770,root,nobody)' \
147     --file /etc/openvpn/s2s/bin/up 'attr(4750,root,openvpn)' \
148     > %{name}-%{version}-filelist
149    
150     %files -f %{name}-%{version}-filelist
151     %defattr(-,root,root)
152    
153     %clean
154     rm -rf $RPM_BUILD_ROOT
155    
156    
157     %post
158    
159     %preun
160    

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