source: projects/specs/trunk/v/vpnc/vpnc-vl.spec @ 9144

Revision 9144, 7.2 KB checked in by inagaki, 8 years ago (diff)

2014-12-11 Ryoichi INAGAKI <ryo1@…>

  • cryptsetup, gwenhywfar, vpnc: rebuilt


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