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

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

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


Revision 1.6 - (hide annotations) (download)
Sat May 7 07:06:17 2016 UTC (8 years, 6 months ago) by vip-ire
Branch: MAIN
Changes since 1.5: +7 -2 lines
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.1-6.sme
- TYpoe in en-us locale for the panel [SME: 9301]

1 vip-ire 1.6 # $Id: smeserver-openvpn-bridge.spec,v 1.5 2016/02/10 16:39:18 vip-ire Exp $
2 vip-ire 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     Summary: OpenVPN, a strong VPN solution build over SSL, pre-configured for bridge mode
6     %define name smeserver-openvpn-bridge
7     Name: %{name}
8     %define version 2.1
9 vip-ire 1.6 %define release 6
10 vip-ire 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: Networking/Remote access
14     Source: %{name}-%{version}.tar.xz
15    
16 vip-ire 1.2 Patch0: smeserver-openvpn-bridge-2.1-locale-2015-02-17.patch
17 vip-ire 1.3 Patch1: smeserver-openvpn-bridge-2.1-add_routes_for_s2s_virtual_ip.patch
18 vip-ire 1.5 Patch2: smeserver-openvpn-bridge-2.1-remove_obsolete_libpam_symlink.patch
19 vip-ire 1.6 Patch3: smeserver-openvpn-bridge-2.1-typo_in_en_locale.patch
20 vip-ire 1.2
21 vip-ire 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22     BuildArchitectures: noarch
23    
24     BuildRequires: e-smith-devtools
25    
26     Requires: e-smith-base
27     Requires: openvpn
28     Requires: smeserver-bridge-interface
29     Requires: perl(Net::OpenVPN::Manage)
30     Obsoletes: smeserver-openvpn-bridge-fws
31     Obsoletes: smeserver-openvpn-bridge.fws
32    
33     %description
34     This package contains all the needed scripts and templates
35     to have a full working openvpn server running in bridge mode.
36    
37     %changelog
38 vip-ire 1.6 * Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.1-6.sme
39     - TYpoe in en-us locale for the panel [SME: 9301]
40    
41 vip-ire 1.5 * Wed Feb 10 2016 Daniel Berteaud <daniel@firewall-services.com> 2.1-5.sme
42     - Remove obsolete libpam.so symlink so AutoReqProv do not add a dep on i686
43     pam
44    
45 vip-ire 1.4 * Mon Feb 8 2016 Daniel Berteaud <daniel@firewall-services.com> 2.1-4.sme
46     - Create /etc/openvpn/bridge/dev/urandom [SME: 9238]
47    
48 vip-ire 1.3 * Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.1-3.sme
49     - Add routes for s2s virtual IP
50    
51     * Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 2.1-2.sme
52 vip-ire 1.2 - Apply locale 2015-02-17 patch
53    
54 vip-ire 1.1 * Mon Nov 11 2013 Daniel B. <daniel@firewall-services.com> 2.1-1.sme
55     - Rebuild for SME9
56    
57     * Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 2.0-50.sme
58     - apply locale 2013-07-14 patch
59    
60     * Thu Jun 6 2013 Daniel B. <daniel@firewall-services.com> 2.0-49.sme
61     - Fix plugin directory for x86_64 [SME: 7658]
62    
63     * Fri Mar 22 2013 Daniel B. <daniel@firewall-services.com> 2.0-48.sme
64     - Fix spelling in en-us panel [SME: 7507]
65    
66     * Mon Oct 08 2012 Daniel B. <daniel@firewall-services.com> 2.0-47.sme
67     - Create a tmp dir (needed for openvpn 2.2.2)
68    
69     * Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.0-46.el6
70     - apply locale 2012-03-20 patch
71    
72     * Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.0-45.sme
73     - apply locale 2011-04-27 patch
74    
75     * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0-44.sme
76     - apply locale 2011-03-06 patch
77    
78     * Thu Feb 17 2011 Daniel B. <daniel@firewall-services.com> 2.0-43.sme
79     - Fix a typo in the panel [SME: 6509]
80    
81     * Tue Jan 25 2011 Daniel B. <daniel@firewall-services.com> 2.0-42.sme
82     - Stop disabling service on rpm removal (spec change only)
83    
84     * Tue Jan 25 2011 Daniel B. <daniel@firewall-services.com> 2.0-41.sme
85     - Add comp-lzo option back into client conf file
86    
87     * Tue Oct 26 2010 Daniel B. <daniel@firewall-services.com> 2.0-40.sme
88     - Add PassTOS DB key to enable/disable passtos
89     - Enhance routes push (work with s2s contrib)
90    
91     * Tue Oct 19 2010 Daniel B. <daniel@firewall-services.com> 2.0-39.sme
92     - templates cleanup
93     - DB prop to disable local networks routes push to client
94    
95     * Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 2.0-38.sme
96     - apply locale 2010-07-19 patc
97    
98     * Wed Jun 02 2010 Daniel B. <daniel@firewall-services.com> 2.0-37.sme
99     - apply locale 2010-06-02 patch
100     - use multilog timestamp
101    
102     * Wed May 12 2010 Daniel B. <daniel@firewall-services.com> 2.0-36.sme
103     - Comment the passtos option as it's not supported on Windows
104    
105     * Fri Apr 30 2010 Daniel B. <daniel@firewall-services.com> 2.0-35.sme
106     - add the passtos option
107     - push the comp-lzo option to the client
108     - apply locale 2010-04-29 patch
109    
110     * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0-34.sme
111     - apply locale 2010-03-02 patch
112    
113     * Wed Nov 18 2009 Daniel B. <daniel@firewall-services.com> 2.0-33.sme
114     - code cleanup
115    
116     * Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 2.0-32.sme
117     - apply locale 2009-11-17 patch
118     - Fix CRL update on event (openvpn-bridge-update)
119    
120     * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0-31.sme
121     - apply locale 2009-10-27 patch
122    
123     * Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 2.0-30.sme
124     - apply locale 2009-10-21 patch
125    
126     * Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 2.0-29.sme
127     - Put tls-client directive in client config file even when additional TLS
128     auth is disabled (required for the main TLS auth) [SME: 5495]
129     - apply locale 2009-09-28 patch
130    
131     * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0-28.sme
132     - apply locale 2009-08-24 patch
133    
134     * Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 2.0-27.sme
135     - apply locale 2009-07-22 patch
136    
137     * Thu Jun 25 2009 Daniel B. <daniel@firewall-services.com> 2.0-26.sme
138     - expand config and restart the service when local networks are added
139     or removed so the new routes are pushed
140    
141     * Tue May 26 2009 Daniel B. <daniel@firewall-services.com> 2.0-25.sme
142     - apply locale 2009-05-26 patch
143    
144     * Sun May 24 2009 Daniel B. <daniel@firewall-services.com> 2.0-24.sme
145     - apply locale 2009-05-24 patch
146    
147     * Thu Apr 30 2009 Daniel B. <daniel@firewall-services.com> 2.0-23.sme
148     - apply local 2009-04-30 patch
149    
150     * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0-22.sme
151     - apply locale 2009-04-27 patch
152    
153     * Tue Apr 14 2009 Daniel B. <daniel@firewall-services.com> [2.0-21]
154     - Fixe permissions on public directory (pub and ccd) which must be readable
155     by everyone (especially user nobody)
156    
157     * Sun Apr 12 2009 Daniel B. <daniel@firewall-services.com> [2.0-20]
158     - remove obsolete init scripts reset-openvpn and openvpn-bridge
159    
160     * Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [2.0-19]
161     - Do not add cipher directive in client configuration file if set to 'auto'
162    
163     * Wed Mar 11 2009 Daniel B. <daniel@firewall-services.com> [2.0-18]
164     - Compatibility with openvpn 2.1 (detect plugin dir location) [SME: 5060]
165    
166     * Mon Mar 09 2009 Daniel B. <daniel@firewall-services.com> [2.0-17]
167     - Add smeserver-bridge-interface as dependency
168     - Update spec description
169    
170     * Tue Mar 03 2009 SME Translation Server [2.0-16]
171     - apply locale 2009-03-03 patch
172    
173     * Tue Mar 03 2009 Jonathan Martens <smeserver-contribs@snetram.nl> [2.0-15]
174     - Fix some more errors in the en-us locale
175     - Remove tabs from SPEC file as some editors act weird with them, e.g. nano
176    
177     * Tue Mar 03 2009 Jonathan Martens <smeserver-contribs@snetram.nl> [2.0-14]
178     - Fix some grammar errors in the en-us locale
179    
180     * Tue Mar 03 2009 Jonathan Martens <smeserver-contribs@snetram.nl> [2.0-13]
181     - Fix a typo in the en-us locale
182    
183     * Tue Mar 03 2009 Shad L. Lords <slords@mail.com> [2.0-12]
184     - Fix xml language tag to be correct
185    
186     * Tue Mar 03 2009 Shad L. Lords <slords@mail.com> [2.0-11]
187     - Remove duplicate translations that break pootle
188    
189     * Tue Mar 03 2009 Shad L. Lords <slords@mail.com> [2.0-10]
190     - Rename locale/en to locale/en-us to pootle works
191    
192     * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [2.0-9]
193     - Apply locale patch fr 1
194     - Add e-smith-devtools as a build dependency
195    
196     * Thu Jan 29 2009 Daniel B. <daniel@firewall-services.com> [2.0-8]
197     - Fix an error with the creation of the db
198    
199     * Wed Jan 28 2009 Daniel B. <daniel@firewall-services.com> [2.0-7]
200     - Cleanly create openvpn-bridge db
201    
202     * Fri Jan 16 2009 Daniel B. <daniel@firewall-services.com> [2.0-6]
203     - Just warn if openvpn db is missing
204     - Fix certificates check
205     - Warn if bridge service isn't enabled
206     - Configure the CRL update URL
207    
208     * Mon Jan 12 2009 Daniel B. <daniel@firewall-services.com> [2.0-5]
209     - localization patch
210    
211     * Mon Dec 22 2008 Daniel B. <daniel@firewall-services.com> [2.0-4]
212     - Add validate_common_name routine
213    
214     * Wed Dec 19 2008 Daniel B. <daniel@firewall-services.com> [2.0-3]
215     - Added option configRequired (accept only certificate listed in the rules section)
216     - Clean config templates
217    
218     * Tue Dec 16 2008 Daniel B. <daniel@firewall-services.com> [2.0-2]
219     - Add missing pull directive in client config
220    
221     * Fri Dec 12 2008 Daniel B. <daniel@firewall-services.com> [2.0-1]
222     - Remove useless migrate fragment (now handled by the bridge package)
223    
224     * Thu Dec 04 2008 Daniel B. <daniel@firewall-services.com> [2.0-0]
225     - The bridge stuff is now in a separated rpm
226     - Restarting the service doesn't cut the InternalInterface
227     as the bridge isn't restarted
228     - Correct (truely this time) the bug with dhcpd looping
229     - Panel re-writen in FormMagick (much more simple now)
230     - Removed the certificate manager, now handled by phpki
231     - Real-time clients info using Net::OpenVPN::Manage
232     - Routes to local networks are pushed to clients
233    
234     * Tue Feb 06 2007 Daniel Berteaud <daniel@firewall-services.com>
235     - [1.1-1]
236     - Bugs fixes (repported by Stephan Braunstein)
237     - corrections in the en language
238    
239     * Tue Feb 06 2007 Daniel Berteaud <daniel@firewall-services.com>
240     - [1.1-0]
241     - panel enhancement
242     - little correction in the local file
243    
244     * Fri Dec 11 2006 Daniel Berteaud <daniel@firewall-services.com>
245     - [1.0-3]
246     - correction of permissions on startup and shutdown scripts
247     - little correction in the local file
248    
249     * Fri Dec 08 2006 Daniel Berteaud <daniel@firewall-services.com>
250     - [1.0-2]
251     - Added missing directory keys/bridge
252    
253     * Fri Dec 06 2006 Daniel Berteaud <daniel@firewall-services.com>
254     - [1.0-1]
255     - Removed useless parameters from the panel (tap, br and localInf)
256     - Added a stop script (k20openvpn-bridge)
257     - panel renamed to openvpn-bridge for futur compatibility
258    
259     %prep
260    
261     %setup -q -n %{name}-%{version}
262 vip-ire 1.2 %patch0 -p1
263 vip-ire 1.3 %patch1 -p1
264 vip-ire 1.5 %patch2 -p1
265 vip-ire 1.6 %patch3 -p1
266 vip-ire 1.1
267     %build
268     perl createlinks
269    
270     %{__mkdir_p} root/etc/openvpn/bridge/ccd
271     %{__mkdir_p} root/etc/openvpn/bridge/priv
272     %{__mkdir_p} root/etc/openvpn/bridge/pub
273     %{__mkdir_p} root/etc/openvpn/bridge/tmp
274 vip-ire 1.4 %{__mkdir_p} root/etc/openvpn/bridge/dev
275 vip-ire 1.1 %{__mkdir_p} root/var/log/openvpn-bridge
276    
277     %install
278     /bin/rm -rf $RPM_BUILD_ROOT
279     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
280     /bin/rm -f %{name}-%{version}-filelist
281     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
282     --file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \
283     --file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \
284     --dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \
285     --dir /etc/openvpn/bridge/pub 'attr(0755,root,root)' \
286     --dir /etc/openvpn/bridge/priv 'attr(0750,root,root)' \
287     --dir /etc/openvpn/bridge/ccd 'attr(0755,root,root)' \
288     --dir /etc/openvpn/bridge/tmp 'attr(0770,root,nobody)' \
289     --file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \
290     > %{name}-%{version}-filelist
291    
292     %files -f %{name}-%{version}-filelist
293     %defattr(-,root,root)
294    
295     %clean
296     rm -rf $RPM_BUILD_ROOT
297    
298     %post
299 vip-ire 1.4 if [ \! -c /etc/openvpn/bridge/dev/urandom ]; then
300     mknod -m 0444 /etc/openvpn/bridge/dev/urandom c 1 9
301     fi
302 vip-ire 1.1
303     %preun

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