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

Contents of /rpms/smeserver-openvpn-bridge/contribs7/smeserver-openvpn-bridge.spec

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


Revision 1.5 - (show annotations) (download)
Tue Mar 3 16:02:16 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-openvpn-bridge-2_0-10_el4_sme
Changes since 1.4: +7 -2 lines
* Tue Mar 03 2009 Shad L. Lord <slords@mail.com> [2.0-10]
- Rename locale/en to locale/en-us to pootle works

1 # $Id: smeserver-openvpn-bridge.spec,v 1.4 2009/03/03 11:36:59 vip-ire Exp $
2 # 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.0
9 %define release 10
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: Networking/Remote access
14 Source: %{name}-%{version}.tar.gz
15
16 Patch0: smeserver-openvpn-bridge-2.0-remove_dup_migrate.patch
17 Patch1: smeserver-openvpn-bridge-2.0-pull.patch
18 Patch2: smeserver-openvpn-bridge-2.0-config_required.patch
19 Patch3: smeserver-openvpn-bridge-2.0-config_cleanup.patch
20 Patch4: smeserver-openvpn-bridge-2.0-add_rule.patch
21 Patch5: smeserver-openvpn-bridge-2.0-locale1.patch
22 #Patch6: smeserver-openvpn-bridge-2.0-openvpn_db.patch
23 Patch7: smeserver-openvpn-bridge-2.0-check_certs.patch
24 Patch8: smeserver-openvpn-bridge-2.0-check_bridge.patch
25 Patch9: smeserver-openvpn-bridge-2.0-configure_crl_url.patch
26 Patch10: smeserver-openvpn-bridge-2.0-check_certs.patch2
27 Patch11: smeserver-openvpn-bridge-2.0-create_openvpn_db.patch
28 Patch12: smeserver-openvpn-bridge-2.0-local_fr_1.patch
29 Patch13: smeserver-openvpn-bridge-2.0-fixtranslation.patch
30
31 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
32 BuildArchitectures: noarch
33
34 BuildRequires: e-smith-devtools
35
36 Requires: e-smith-base
37 Requires: openvpn
38 Requires: perl(Net::OpenVPN::Manage)
39 Obsoletes: smeserver-openvpn-bridge-fws
40 Obsoletes: smeserver-openvpn-bridge.fws
41
42 %description
43 This package contains all the needed scripts and templates
44 to have a full working openvpn server running in bridge mode.
45 The panel of the server manager has a certificate manager so you
46 won't have to generate them manually
47
48 %changelog
49 * Tue Mar 03 2009 Shad L. Lord <slords@mail.com> [2.0-10]
50 - Rename locale/en to locale/en-us to pootle works
51
52 * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> [2.0-9]
53 - Apply locale patch fr 1
54 - Add e-smith-devtools as a dependencie
55
56 * Thu Jan 29 2009 Daniel B. <daniel@firewall-services.com> [2.0-8]
57 - Fix an error with the creation of the db
58
59 * Wed Jan 28 2009 Daniel B. <daniel@firewall-services.com> [2.0-7]
60 - Cleanly create openvpn-bridge db
61
62 * Fri Jan 16 2009 Daniel B. <daniel@firewall-services.com> [2.0-6]
63 - Just warn if openvpn db is missing
64 - Fix certificates check
65 - Warn if bridge service isn't enabled
66 - Configure the CRL update URL
67
68 * Mon Jan 12 2009 Daniel B. <daniel@firewall-services.com> [2.0-5]
69 - localization patch
70
71 * Mon Dec 22 2008 Daniel B. <daniel@firewall-services.com> [2.0-4]
72 - Add validate_common_name routine
73
74 * Wed Dec 19 2008 Daniel B. <daniel@firewall-services.com> [2.0-3]
75 - Added option configRequired (accept only certificate listed in the rules section)
76 - Clean config templates
77
78 * Tue Dec 16 2008 Daniel B. <daniel@firewall-services.com> [2.0-2]
79 - Add missing pull directive in client config
80
81 * Fri Dec 12 2008 Daniel B. <daniel@firewall-services.com> [2.0-1]
82 - Remove useless migrate fragment (now handled by the bridge package)
83
84 * Thu Dec 04 2008 Daniel B. <daniel@firewall-services.com> [2.0-0]
85 - The bridge stuff is now in a separated rpm
86 - Restarting the service doesn't cut the InternalInterface
87 as the bridge isn't restarted
88 - Correct (truely this time) the bug with dhcpd looping
89 - Panel re-writen in FormMagick (much more simple now)
90 - Removed the certificate manager, now handled by phpki
91 - Real-time clients info using Net::OpenVPN::Manage
92 - Routes to local networks are pushed to clients
93
94 * Tue Feb 06 2007 Daniel Berteaud <daniel@firewall-services.com>
95 - [1.1-1]
96 - Bugs fixes (repported by Stephan Braunstein)
97 - corrections in the en language
98
99 * Tue Feb 06 2007 Daniel Berteaud <daniel@firewall-services.com>
100 - [1.1-0]
101 - panel enhancement
102 - little correction in the local file
103
104 * Fri Dec 11 2006 Daniel Berteaud <daniel@firewall-services.com>
105 - [1.0-3]
106 - correction of permissions on startup and shutdown scripts
107 - little correction in the local file
108
109 * Fri Dec 08 2006 Daniel Berteaud <daniel@firewall-services.com>
110 - [1.0-2]
111 - Added missing directory keys/bridge
112
113 * Fri Dec 06 2006 Daniel Berteaud <daniel@firewall-services.com>
114 - [1.0-1]
115 - Removed useless parameters from the panel (tap, br and localInf)
116 - Added a stop script (k20openvpn-bridge)
117 - panel renamed to openvpn-bridge for futur compatibility
118
119 %prep
120
121 %setup -q -n %{name}-%{version}
122 %patch0 -p1
123 %patch1 -p1
124 %patch2 -p1
125 %patch3 -p1
126 %patch4 -p1
127 %patch5 -p1
128 #%patch6 -p1
129 %patch7 -p1
130 %patch8 -p1
131 %patch9 -p1
132 %patch10 -p1
133 %patch11 -p1
134 %patch12 -p1
135 %patch13 -p1
136
137 %build
138 perl createlinks
139
140 %{__mkdir_p} root/etc/openvpn/bridge/ccd
141 %{__mkdir_p} root/etc/openvpn/bridge/priv
142 %{__mkdir_p} root/etc/openvpn/bridge/pub
143 %{__mkdir_p} root/var/log/openvpn-bridge
144
145 %install
146 /bin/rm -rf $RPM_BUILD_ROOT
147 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
148 /bin/rm -f %{name}-%{version}-filelist
149 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
150 --file /var/service/openvpn-bridge/run 'attr(0755,root,root)' \
151 --file /var/service/openvpn-bridge/log/run 'attr(0755,root,root)' \
152 --dir /var/log/openvpn-bridge 'attr(0750,smelog,smelog)' \
153 --file /usr/bin/ovpn-bridge-update-crl 'attr(0750,root,root)' \
154 > %{name}-%{version}-filelist
155
156 %files -f %{name}-%{version}-filelist
157 %defattr(-,root,root)
158
159 %clean
160 rm -rf $RPM_BUILD_ROOT
161
162
163 %post
164
165 %preun
166 if [ $1 -eq 0 ] ; then
167 /sbin/e-smith/db configuration setprop openvpn-bridge status disabled
168 sv d /service/openvpn-bridge
169 fi
170
171 true
172

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