SPECS: openvpn.spec - package pull-resolv-conf files; rel 3

glen glen at pld-linux.org
Sat Nov 10 15:19:19 CET 2007


Author: glen                         Date: Sat Nov 10 14:19:19 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package pull-resolv-conf files; rel 3

---- Files affected:
SPECS:
   openvpn.spec (1.128 -> 1.129) 

---- Diffs:

================================================================
Index: SPECS/openvpn.spec
diff -u SPECS/openvpn.spec:1.128 SPECS/openvpn.spec:1.129
--- SPECS/openvpn.spec:1.128	Tue Sep 18 13:14:07 2007
+++ SPECS/openvpn.spec	Sat Nov 10 15:19:14 2007
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 %define		snap	rc4
-%define		_rel	2
+%define		_rel	3
 Summary:	VPN Daemon
 Summary(pl.UTF-8):	Serwer VPN
 Name:		openvpn
@@ -80,6 +80,9 @@
 %patch0 -p1
 %patch1 -p1
 
+mv plugin/auth-pam/README README.auth-pam
+mv plugin/down-root/README README.down-root
+
 %build
 %{__aclocal}
 %{__autoheader}
@@ -117,9 +120,9 @@
 cp -a easy-rsa/2.0/{build-*,clean-all,inherit-inter,list-crl,revoke-full,sign-req} $RPM_BUILD_ROOT%{_datadir}/easy-rsa
 cp -a easy-rsa/2.0/pkitool $RPM_BUILD_ROOT%{_sbindir}
 
-#
-cp -f plugin/auth-pam/README README.auth-pam
-cp -f plugin/down-root/README README.down-root
+# we use cp -a, not to pull /bin/bash dependency
+cp -a contrib/pull-resolv-conf/client.down $RPM_BUILD_ROOT%{_libdir}/%{name}
+cp -a contrib/pull-resolv-conf/client.up $RPM_BUILD_ROOT%{_libdir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -143,6 +146,8 @@
 %attr(755,root,root) %{_sbindir}/openvpn
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %dir %{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}/client.down
+%attr(755,root,root) %{_libdir}/%{name}/client.up
 %dir %{_libdir}/%{name}/plugins
 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
 %{_mandir}/man?/*
@@ -171,6 +176,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.129  2007/11/10 14:19:14  glen
+- package pull-resolv-conf files; rel 3
+
 Revision 1.128  2007/09/18 11:14:07  glen
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openvpn.spec?r1=1.128&r2=1.129&f=u



More information about the pld-cvs-commit mailing list