/[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.8 - (hide annotations) (download)
Thu Feb 2 03:46:59 2017 UTC (7 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-openvpn-bridge-2_1-7_el6_sme
Changes since 1.7: +7 -2 lines
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.1-7.sme
- apply locale 2017-02-02.patch

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

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