/[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.1 - (show annotations) (download)
Mon Nov 11 17:36:16 2013 UTC (10 years, 11 months ago) by vip-ire
Branch: MAIN
* Mon Nov 11 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2-1.sme
- Rebuild for SME9

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

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