packages: openssl/openssl.spec - rel 2 - moved libs and engines to /lib, op...

baggins baggins at pld-linux.org
Tue Nov 24 12:48:08 CET 2009


Author: baggins                      Date: Tue Nov 24 11:48:08 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2
- moved libs and engines to /lib, openssl is needed by heimdal, which is needed
  by rpcbind which must have all its libs on / in case of /usr over NFS

---- Files affected:
packages/openssl:
   openssl.spec (1.208 -> 1.209) 

---- Diffs:

================================================================
Index: packages/openssl/openssl.spec
diff -u packages/openssl/openssl.spec:1.208 packages/openssl/openssl.spec:1.209
--- packages/openssl/openssl.spec:1.208	Thu Nov 12 13:56:52 2009
+++ packages/openssl/openssl.spec	Tue Nov 24 12:48:02 2009
@@ -16,7 +16,7 @@
 Summary(uk.UTF-8):	Бібліотеки та утиліти для з'єднань через Secure Sockets Layer
 Name:		openssl
 Version:	0.9.8l
-Release:	1
+Release:	2
 License:	Apache-like
 Group:		Libraries
 Source0:	ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
@@ -214,7 +214,7 @@
 %{__perl} -pi -e 's#%{_prefix}/local/bin/perl#%{__perl}#g' \
 	`grep -l -r "%{_prefix}/local/bin/perl" *`
 
-sed -i -e 's|$prefix/lib/engines|%{_libdir}/engines|g' Configure
+sed -i -e 's|$prefix/lib/engines|/%{_lib}/engines|g' Configure
 
 %build
 touch Makefile.*
@@ -292,6 +292,7 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_libdir}/%{name}} \
 	$RPM_BUILD_ROOT{%{_mandir}/{pl/man1,man{1,3,5,7}},%{_datadir}/ssl} \
+	$RPM_BUILD_ROOT/%{_lib}/engines \
 	$RPM_BUILD_ROOT%{_pkgconfigdir}
 
 %{__make} install \
@@ -299,10 +300,10 @@
 	INSTALL_PREFIX=$RPM_BUILD_ROOT \
 	MANDIR=%{_mandir}
 
-install libcrypto.a libssl.a $RPM_BUILD_ROOT%{_libdir}
-install lib*.so.*.* $RPM_BUILD_ROOT%{_libdir}
-ln -sf libcrypto.so.*.* $RPM_BUILD_ROOT%{_libdir}/libcrypto.so
-ln -sf libssl.so.*.* $RPM_BUILD_ROOT%{_libdir}/libssl.so
+mv -f $RPM_BUILD_ROOT/%{_libdir}/engines/* $RPM_BUILD_ROOT/%{_lib}/engines
+mv -f $RPM_BUILD_ROOT/%{_libdir}/lib*.so.*.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libcrypto.*.*) $RPM_BUILD_ROOT%{_libdir}/libcrypto.so
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libssl.*.*) $RPM_BUILD_ROOT%{_libdir}/libssl.so
 
 %if "%{pld_release}" == "ti"
 ln -sf %{_var}/lib/%{name}/%{name}.cnf \
@@ -357,10 +358,10 @@
 %defattr(644,root,root,755)
 %doc CHANGES CHANGES.SSLeay LICENSE NEWS README doc/*.txt
 %doc doc/openssl_button.gif doc/openssl_button.html
-%attr(755,root,root) %{_libdir}/libcrypto.so.*.*.*
-%attr(755,root,root) %{_libdir}/libssl.so.*.*.*
-%dir %{_libdir}/engines
-%attr(755,root,root) %{_libdir}/engines/*.so
+%attr(755,root,root) /%{_lib}/libcrypto.so.*.*.*
+%attr(755,root,root) /%{_lib}/libssl.so.*.*.*
+%dir /%{_lib}/engines
+%attr(755,root,root) /%{_lib}/engines/*.so
 %if "%{pld_release}" == "ti"
 %dir %{_var}/lib/%{name}
 %dir %{_var}/lib/%{name}/certs
@@ -461,6 +462,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.209  2009/11/24 11:48:02  baggins
+- rel 2
+- moved libs and engines to /lib, openssl is needed by heimdal, which is needed
+  by rpcbind which must have all its libs on / in case of /usr over NFS
+
 Revision 1.208  2009/11/12 12:56:52  arekm
 - x86_64 asm fixes
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssl/openssl.spec?r1=1.208&r2=1.209&f=u



More information about the pld-cvs-commit mailing list