rpms/openssl/devel openssl-0.9.8g-shlib-version.patch, NONE, 1.1 openssl.spec, 1.100, 1.101

Tomas Mraz (tmraz) fedora-extras-commits at redhat.com
Fri Jan 25 16:44:43 UTC 2008


Author: tmraz

Update of /cvs/pkgs/rpms/openssl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22842

Modified Files:
	openssl.spec 
Added Files:
	openssl-0.9.8g-shlib-version.patch 
Log Message:
* Thu Jan 24 2008 Tomas Mraz <tmraz at redhat.com> 0.9.8g-4
- merge review fixes (#226220)
- adjust the SHLIB_VERSION_NUMBER to reflect library name (#429846)


openssl-0.9.8g-shlib-version.patch:

--- NEW FILE openssl-0.9.8g-shlib-version.patch ---
diff -up openssl-0.9.8g/crypto/opensslv.h.shlib-version openssl-0.9.8g/crypto/opensslv.h
--- openssl-0.9.8g/crypto/opensslv.h.shlib-version	2007-12-13 17:57:40.000000000 +0100
+++ openssl-0.9.8g/crypto/opensslv.h	2008-01-25 17:10:13.000000000 +0100
@@ -83,7 +83,7 @@
  * should only keep the versions that are binary compatible with the current.
  */
 #define SHLIB_VERSION_HISTORY ""
-#define SHLIB_VERSION_NUMBER "0.9.8"
+#define SHLIB_VERSION_NUMBER "0.9.8g"
 
 
 #endif /* HEADER_OPENSSLV_H */


Index: openssl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openssl/devel/openssl.spec,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- openssl.spec	13 Dec 2007 17:16:43 -0000	1.100
+++ openssl.spec	25 Jan 2008 16:44:05 -0000	1.101
@@ -22,7 +22,9 @@
 Summary: The OpenSSL toolkit
 Name: openssl
 Version: 0.9.8g
-Release: 3%{?dist}
+Release: 4%{?dist}
+# We remove certain patented algorithms from the openssl source tarball
+# with the hobble-openssl script which is included below.
 Source: openssl-%{version}-usa.tar.bz2
 Source1: hobble-openssl
 Source2: Makefile.certificate
@@ -41,6 +43,7 @@
 Patch4: openssl-0.9.8a-enginesdir.patch
 Patch5: openssl-0.9.8a-no-rpath.patch
 Patch6: openssl-0.9.8b-test-use-localhost.patch
+Patch7: openssl-0.9.8g-shlib-version.patch
 # Bug fixes
 Patch21: openssl-0.9.8b-aliasing-bug.patch
 Patch22: openssl-0.9.8b-x509-name-cmp.patch
@@ -105,6 +108,7 @@
 %patch4 -p1 -b .enginesdir
 %patch5 -p1 -b .no-rpath
 %patch6 -p1 -b .use-localhost
+%patch7 -p1 -b .shlib-version
 
 %patch21 -p1 -b .aliasing-bug
 %patch22 -p1 -b .name-cmp
@@ -193,6 +197,10 @@
 # Patch33 must be patched after tests otherwise they will fail
 patch -p1 -b -z .ca-dir < %{PATCH33}
 
+if ! iconv -f UTF-8 -t ASCII//TRANSLIT CHANGES >/dev/null 2>&1 ; then
+	iconv -f ISO-8859-1 -t UTF-8 -o CHANGES.utf8 CHANGES && \
+		mv -f CHANGES.utf8 CHANGES
+fi
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
 # Install OpenSSL.
@@ -266,7 +274,7 @@
 pushd $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
 for i in *.pc ; do
 	sed 's,^libdir=${exec_prefix}/lib,libdir=${exec_prefix}/%{_lib},g' \
-	    $i >$i.tmp && \
+		$i >$i.tmp && \
 	cat $i.tmp >$i && \
 	rm -f $i.tmp
 done
@@ -283,11 +291,11 @@
 # can have both a 32- and 64-bit version of the library, and they each need
 # their own correct-but-different versions of opensslconf.h to be usable.
 install -m644 %{SOURCE10} \
-   $RPM_BUILD_ROOT/%{_prefix}/include/openssl/opensslconf-${basearch}.h
+	$RPM_BUILD_ROOT/%{_prefix}/include/openssl/opensslconf-${basearch}.h
 cat $RPM_BUILD_ROOT/%{_prefix}/include/openssl/opensslconf.h >> \
-   $RPM_BUILD_ROOT/%{_prefix}/include/openssl/opensslconf-${basearch}.h
+	$RPM_BUILD_ROOT/%{_prefix}/include/openssl/opensslconf-${basearch}.h
 install -m644 %{SOURCE9} \
-   $RPM_BUILD_ROOT/%{_prefix}/include/openssl/opensslconf.h
+	$RPM_BUILD_ROOT/%{_prefix}/include/openssl/opensslconf.h
 %endif
 
 %ifarch %{optimize_arches}
@@ -360,6 +368,10 @@
 %postun -p /sbin/ldconfig
 
 %changelog
+* Thu Jan 24 2008 Tomas Mraz <tmraz at redhat.com> 0.9.8g-4
+- merge review fixes (#226220)
+- adjust the SHLIB_VERSION_NUMBER to reflect library name (#429846)
+
 * Thu Dec 13 2007 Tomas Mraz <tmraz at redhat.com> 0.9.8g-3
 - set default paths when no explicit paths are set (#418771)
 - do not add tls extensions to client hello for SSLv3 (#422081)
@@ -816,7 +828,7 @@
 - add backport of Ben Laurie's patches for OpenSSL 0.9.6d
 
 * Wed Jul 17 2002 Nalin Dahyabhai <nalin at redhat.com> 0.9.6b-23
-- own %{_datadir}/ssl/misc
+- own {_datadir}/ssl/misc
 
 * Fri Jun 21 2002 Tim Powers <timp at redhat.com>
 - automated rebuild




More information about the fedora-extras-commits mailing list