22809242 Removal of the libcurl.so.3 links breaks applications s11u3-sru
authorYiteng Zhang <yiteng.zhang@oracle.com>
Thu, 03 Mar 2016 16:51:26 -0800
branchs11u3-sru
changeset 5545 4ba4c8209739
parent 5543 ca76268614fb
child 5551 6d32c82eb4f5
22809242 Removal of the libcurl.so.3 links breaks applications
components/curl/curl.p5m
--- a/components/curl/curl.p5m	Thu Mar 03 09:56:28 2016 -0800
+++ b/components/curl/curl.p5m	Thu Mar 03 16:51:26 2016 -0800
@@ -53,11 +53,19 @@
 file path=usr/include/curl/stdcheaders.h
 file path=usr/include/curl/typecheck-gcc.h
 link path=usr/lib/$(MACH64)/libcurl.so target=libcurl.so.4.4.0
+# Retain a symbolic link from libcurl.so.3 to libcurl.so.4.4.0 for
+# applications that are still linked against it in S11.
+# According to the current curl maintainer, Daniel Stenberg, "We bumped the
+# soname because we removed support for third party ftp transfers. That's a
+# feature that is very rarely used so very few people or applications
+# actually suffered anything at all when going from 3 to 4".
+link path=usr/lib/$(MACH64)/libcurl.so.3 target=libcurl.so.4.4.0
 link path=usr/lib/$(MACH64)/libcurl.so.4 target=libcurl.so.4.4.0
 file path=usr/lib/$(MACH64)/libcurl.so.4.4.0
 file path=usr/lib/$(MACH64)/llib-lcurl.ln
 file path=usr/lib/$(MACH64)/pkgconfig/libcurl.pc
 link path=usr/lib/libcurl.so target=libcurl.so.4.4.0
+link path=usr/lib/libcurl.so.3 target=libcurl.so.4.4.0
 link path=usr/lib/libcurl.so.4 target=libcurl.so.4.4.0
 file path=usr/lib/libcurl.so.4.4.0
 file path=usr/lib/llib-lcurl