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

Contents 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.3 - (show annotations) (download)
Thu Nov 14 17:50:53 2013 UTC (10 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-openvpn-s2s-0_2-2_el6_sme
Changes since 1.2: +7 -3 lines
* Thu Nov 14 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2-2.sme
- Use verify-x509-name instead of tls-remote

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

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