SPECS: vpnc.spec - suggestions by kuba staskiewicz <kuba@best.net....

undefine undefine at pld-linux.org
Tue Aug 9 04:02:36 CEST 2005


Author: undefine                     Date: Tue Aug  9 02:02:36 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- suggestions by kuba staskiewicz <kuba at best.net.pl>
- add directory /var/run/vpnc
- link /usr/bin/vpnc-script to /etc/vpnc/vpnc-script
- vpnc-script is bash script, not sh
- release 2

---- Files affected:
SPECS:
   vpnc.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/vpnc.spec
diff -u SPECS/vpnc.spec:1.7 SPECS/vpnc.spec:1.8
--- SPECS/vpnc.spec:1.7	Wed Jun 15 09:59:30 2005
+++ SPECS/vpnc.spec	Tue Aug  9 04:02:31 2005
@@ -3,12 +3,13 @@
 Summary(pl):	Klient VPN dla Cisco EasyVPN
 Name:		vpnc
 Version:	0.3.3
-Release:	1
+Release:	2
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://www.unix-ag.uni-kl.de/~massar/vpnc/%{name}-%{version}.tar.gz
 # Source0-md5:	e7518cff21326fe7eb9795b60c25ae6a
 Source1:	%{name}cfg
+Patch0:		%{name}-bash.patch
 URL:		http://www.unix-ag.uni-kl.de/~massar/vpnc/
 BuildRequires:	libgcrypt-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,6 +22,7 @@
 
 %prep
 %setup -q 
+%patch0 -p1
 
 %build
 %{__make} \
@@ -28,7 +30,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man8}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/%{name},%{_mandir}/man8,/var/run/%{name}}
 
 install %{name}		$RPM_BUILD_ROOT%{_bindir}
 install %{name}-*	$RPM_BUILD_ROOT%{_bindir}
@@ -36,6 +38,7 @@
 install pcf2vpnc	$RPM_BUILD_ROOT%{_bindir}
 install %{name}.conf	$RPM_BUILD_ROOT%{_sysconfdir}
 install %{name}.8	$RPM_BUILD_ROOT%{_mandir}/man8
+ln -sf %{_bindir}/vpnc-script $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -44,7 +47,9 @@
 %defattr(644,root,root,755)
 %doc ChangeLog README TODO
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/%{name}.conf
+%{_sysconfdir}/%{name}
 %attr(755,root,root) %{_bindir}/*
+%dir /var/run/%{name}
 %{_mandir}/man8/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -53,6 +58,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/08/09 02:02:31  undefine
+- suggestions by kuba staskiewicz <kuba at best.net.pl>
+- add directory /var/run/vpnc
+- link /usr/bin/vpnc-script to /etc/vpnc/vpnc-script
+- vpnc-script is bash script, not sh
+- release 2
+
 Revision 1.7  2005/06/15 07:59:30  misi3k
 - up to 0.3.3
 - rel 1 [STBR]
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/vpnc.spec?r1=1.7&r2=1.8&f=u




More information about the pld-cvs-commit mailing list