1 | Name: vpnc |
---|
2 | Version: 0.5.3 |
---|
3 | Release: 3%{?_dist_release} |
---|
4 | |
---|
5 | Summary: IPSec VPN client compatible with Cisco equipment |
---|
6 | Summary(ja): Cisco 機器互換の IPSec VPN クライアント |
---|
7 | |
---|
8 | Group: Applications/Internet |
---|
9 | License: GPLv2+ |
---|
10 | URL: http://www.unix-ag.uni-kl.de/~massar/vpnc/ |
---|
11 | Source0: http://www.unix-ag.uni-kl.de/~massar/vpnc/%{name}-%{version}.tar.gz |
---|
12 | Source1: generic-vpnc.conf |
---|
13 | Source2: vpnc.consolehelper |
---|
14 | Source3: vpnc-disconnect.consolehelper |
---|
15 | Source4: vpnc.pam |
---|
16 | Source5: vpnc-helper |
---|
17 | Patch2: vpnc-0.5.3-cloexec.patch |
---|
18 | Patch3: vpnc-0.5.1-dpd.patch |
---|
19 | |
---|
20 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
21 | |
---|
22 | BuildRequires: libgcrypt-devel > 1.1.90 |
---|
23 | Requires: iproute |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | |
---|
28 | %description |
---|
29 | A VPN client compatible with Cisco's EasyVPN equipment. |
---|
30 | |
---|
31 | Supports IPSec (ESP) with Mode Configuration and Xauth. Supports only |
---|
32 | shared-secret IPSec authentication, 3DES, MD5, and IP tunneling. |
---|
33 | |
---|
34 | %package consoleuser |
---|
35 | Summary: Allows console user to run the VPN client directly |
---|
36 | Summary(ja): コンソールユーザに直接VPNクライアントの実行許可を与える |
---|
37 | Group: Applications/Internet |
---|
38 | Requires: vpnc = %{version}-%{release} |
---|
39 | Requires: usermode |
---|
40 | |
---|
41 | %description consoleuser |
---|
42 | Allows the console user to run the IPSec VPN client directly without |
---|
43 | switching to the root account. |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q |
---|
47 | %patch2 -p1 -b .cloexec |
---|
48 | %patch3 -p1 -b .dpd |
---|
49 | |
---|
50 | %build |
---|
51 | CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="$RPM_OPT_FLAGS -pie" make PREFIX=/usr |
---|
52 | |
---|
53 | %install |
---|
54 | rm -rf $RPM_BUILD_ROOT |
---|
55 | make install DESTDIR="$RPM_BUILD_ROOT" PREFIX=/usr |
---|
56 | rm -f $RPM_BUILD_ROOT%{_bindir}/pcf2vpnc |
---|
57 | chmod 0644 pcf2vpnc |
---|
58 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/pcf2vpnc.1 |
---|
59 | chmod 0644 $RPM_BUILD_ROOT%{_mandir}/man8/vpnc.8 |
---|
60 | install -m 0600 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/vpnc/default.conf |
---|
61 | mkdir -p $RPM_BUILD_ROOT%{_var}/run/vpnc |
---|
62 | touch $RPM_BUILD_ROOT%{_var}/run/vpnc/pid \ |
---|
63 | $RPM_BUILD_ROOT%{_var}/run/vpnc/defaultroute \ |
---|
64 | $RPM_BUILD_ROOT%{_var}/run/vpnc/resolv.conf-backup |
---|
65 | install -Dp -m 0644 %{SOURCE2} \ |
---|
66 | $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/vpnc |
---|
67 | install -Dp -m 0644 %{SOURCE3} \ |
---|
68 | $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/vpnc-disconnect |
---|
69 | install -Dp -m 0644 %{SOURCE4} \ |
---|
70 | $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/vpnc |
---|
71 | install -Dp -m 0644 %{SOURCE4} \ |
---|
72 | $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/vpnc-disconnect |
---|
73 | install -m 0755 %{SOURCE5} \ |
---|
74 | $RPM_BUILD_ROOT%{_sbindir}/vpnc-helper |
---|
75 | mkdir -p $RPM_BUILD_ROOT%{_bindir} |
---|
76 | ln -sf consolehelper $RPM_BUILD_ROOT%{_bindir}/vpnc |
---|
77 | ln -sf consolehelper $RPM_BUILD_ROOT%{_bindir}/vpnc-disconnect |
---|
78 | rm -f $RPM_BUILD_ROOT%{_datadir}/doc/vpnc/COPYING |
---|
79 | |
---|
80 | %clean |
---|
81 | rm -rf $RPM_BUILD_ROOT |
---|
82 | |
---|
83 | %files |
---|
84 | %defattr(-,root,root) |
---|
85 | %doc README COPYING pcf2vpnc pcf2vpnc.1 |
---|
86 | |
---|
87 | %dir %{_sysconfdir}/vpnc |
---|
88 | %config(noreplace) %{_sysconfdir}/vpnc/vpnc-script |
---|
89 | %config(noreplace) %{_sysconfdir}/vpnc/default.conf |
---|
90 | %{_sbindir}/vpnc |
---|
91 | %{_bindir}/cisco-decrypt |
---|
92 | %{_sbindir}/vpnc-disconnect |
---|
93 | %{_mandir}/man8/vpnc.* |
---|
94 | %{_mandir}/man1/cisco-decrypt.* |
---|
95 | %dir %{_var}/run/vpnc |
---|
96 | %ghost %verify(not md5 size mtime) %{_var}/run/vpnc/pid |
---|
97 | %ghost %verify(not md5 size mtime) %{_var}/run/vpnc/defaultroute |
---|
98 | %ghost %verify(not md5 size mtime) %{_var}/run/vpnc/resolv.conf-backup |
---|
99 | |
---|
100 | %files consoleuser |
---|
101 | %defattr(-,root,root) |
---|
102 | %config(noreplace) %{_sysconfdir}/security/console.apps/vpnc* |
---|
103 | %config(noreplace) %{_sysconfdir}/pam.d/vpnc* |
---|
104 | %{_bindir}/vpnc* |
---|
105 | %{_sbindir}/vpnc-helper |
---|
106 | |
---|
107 | %changelog |
---|
108 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.3-3 |
---|
109 | - rebuild with VineSeed environment |
---|
110 | |
---|
111 | * Fri Aug 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.3-2 |
---|
112 | - rebuild with VineSeed environment |
---|
113 | |
---|
114 | * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.3-1 |
---|
115 | - initial build for Vine Linux |
---|
116 | |
---|
117 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-3 |
---|
118 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
119 | |
---|
120 | * Thu Nov 20 2008 Tomas Mraz <tmraz@redhat.com> - 0.5.3-2 |
---|
121 | - upgrade to new version |
---|
122 | - fix race in vpnc-cleanup (#465315) |
---|
123 | |
---|
124 | * Thu Jul 24 2008 Tomas Mraz <tmraz@redhat.com> - 0.5.1-6 |
---|
125 | - do not modify domain in resolv.conf (#446404) |
---|
126 | - clean up modified resolv.conf on startup (#455899) |
---|
127 | |
---|
128 | * Sat Apr 5 2008 Michal Schmidt <mschmidt@redhat.com> - 0.5.1-5 |
---|
129 | - vpnc-script: fix 'ip link ...' syntax. |
---|
130 | |
---|
131 | * Thu Apr 3 2008 Tomas Mraz <tmraz@redhat.com> - 0.5.1-4 |
---|
132 | - drop autogenerated perl requires (#440304) |
---|
133 | - compute MTU based on default route device (#433846) |
---|
134 | |
---|
135 | * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.1-3 |
---|
136 | - Autorebuild for GCC 4.3 |
---|
137 | |
---|
138 | * Tue Nov 13 2007 Tomas Mraz <tmraz@redhat.com> - 0.5.1-2 |
---|
139 | - try to make DPD less sensitive (#345281) |
---|
140 | |
---|
141 | * Thu Sep 20 2007 Tomas Mraz <tmraz@redhat.com> - 0.5.1-1 |
---|
142 | - upgrade to latest upstream |
---|
143 | |
---|
144 | * Mon Sep 3 2007 Tomas Mraz <tmraz@redhat.com> - 0.4.0-4 |
---|
145 | - fix long standing bug causing problems on x86_64 (#232565) now for real |
---|
146 | |
---|
147 | * Wed Aug 22 2007 Tomas Mraz <tmraz@redhat.com> - 0.4.0-3 |
---|
148 | - license tag fix |
---|
149 | |
---|
150 | * Tue Mar 20 2007 Tomas Mraz <tmraz@redhat.com> - 0.4.0-2 |
---|
151 | - -fstack-protector miscompilation on x86_64 is back (#232565) |
---|
152 | |
---|
153 | * Mon Feb 26 2007 Tomas Mraz <tmraz@redhat.com> - 0.4.0-1 |
---|
154 | - upgrade to new upstream version |
---|
155 | |
---|
156 | * Wed Jan 17 2007 Tomas Mraz <tmraz@redhat.com> - 0.3.3-15 |
---|
157 | - do not overwrite personalized vpnc scripts (#195842) |
---|
158 | - we must not allow commandline options to vpnc when run through consolehelper |
---|
159 | |
---|
160 | * Wed Jan 17 2007 Tomas Mraz <tmraz@redhat.com> - 0.3.3-14 |
---|
161 | - add consoleuser subpackage (#160571) |
---|
162 | - fix permissions on manpage (#222578) |
---|
163 | |
---|
164 | * Tue Nov 7 2006 Tomas Mraz <tmraz@redhat.com> - 0.3.3-13 |
---|
165 | - don't leak socket fds |
---|
166 | |
---|
167 | * Tue Sep 12 2006 Tomas Mraz <tmraz@redhat.com> - 0.3.3-12 |
---|
168 | - drop hoplimit from ip route output (#205923) |
---|
169 | - let's try enabling -fstack-protector again, seems to work now |
---|
170 | |
---|
171 | * Thu Sep 7 2006 Tomas Mraz <tmraz@redhat.com> - 0.3.3-11 |
---|
172 | - rebuilt for FC6 |
---|
173 | |
---|
174 | * Wed Jun 7 2006 Tomas Mraz <tmraz@redhat.com> 0.3.3-9 |
---|
175 | - drop the -fstack-protector not -f-stack-protector |
---|
176 | |
---|
177 | * Tue May 30 2006 Tomas Mraz <tmraz@redhat.com> 0.3.3-8 |
---|
178 | - drop -fstack-protector from x86_64 build (workaround for #172145) |
---|
179 | - make rekeying a little bit better |
---|
180 | |
---|
181 | * Thu Mar 9 2006 Tomas Mraz <tmraz@redhat.com> 0.3.3-7 |
---|
182 | - add basic rekeying support (the patch includes NAT keepalive support |
---|
183 | by Brian Downing) |
---|
184 | - dropped disconnect patch (solved differently) |
---|
185 | |
---|
186 | * Wed Feb 15 2006 Tomas Mraz <tmraz@redhat.com> 0.3.3-6 |
---|
187 | - rebuild with new gcc |
---|
188 | |
---|
189 | * Tue Jan 24 2006 Tomas Mraz <tmraz@redhat.com> 0.3.3-5 |
---|
190 | - send the disconnect packet properly (patch by Laurence Moindrot) |
---|
191 | |
---|
192 | * Thu Sep 22 2005 Tomas Mraz <tmraz@redhat.com> 0.3.3-4 |
---|
193 | - improve compatibility with some Ciscos |
---|
194 | |
---|
195 | * Wed Jun 15 2005 Tomas Mraz <tmraz@redhat.com> 0.3.3-3 |
---|
196 | - improve fix_ip_get_output in vpnc-script (#160364) |
---|
197 | |
---|
198 | * Mon May 30 2005 Tomas Mraz <tmraz@redhat.com> 0.3.3-2 |
---|
199 | - package /var/run/vpnc and ghost files it can contain (#159015) |
---|
200 | - add /sbin /usr/sbin to the path in vpnc-script (#159099) |
---|
201 | |
---|
202 | * Mon May 16 2005 Tomas Mraz <tmraz@redhat.com> 0.3.3-1 |
---|
203 | - new upstream version |
---|
204 | |
---|
205 | * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
206 | - rebuilt |
---|
207 | |
---|
208 | * Wed Jan 05 2005 Warren Togami <wtogami@redhat.com> 0.3.2-3 |
---|
209 | - Fix 64bit |
---|
210 | |
---|
211 | * Thu Dec 23 2004 Warren Togami <wtogami@redhat.com> 0.3.2-2 |
---|
212 | - make PIE (davej) |
---|
213 | |
---|
214 | * Mon Dec 20 2004 Warren Togami <wtogami@redhat.com> 0.3.2-1 |
---|
215 | - 0.3.2 |
---|