As a worst-case scenario, you could always just compile your own version of openssl as an RPM for your system, and then rpm -ihv.
EDIT: Starting with the source file (.tar.gz), here's what you want to do:
1) Create a new directory to house the RPM hierarchy.
# mkdir -p myopenssl/BUILD myopenssl/RPMS myopenssl/SOURCES myopenssl/SPECS myopenssl/SRPMS
2) Go into the SOURCES directory, and download your source openssl.tar.gz
# cd myopenssl/SOURCES
# mv openssl.tar.gz myopenssl/SOURCES/
3) Create a spec file that provides the necessary metadata (you will need to verify all the values are correct)
--- spec ----
%define _topdir /home/user/myopenssl
%define name openssl
%define release 0
%define version x.x
%define buildroot %{_topdir}/%{name}-%{version}-root
BuildRoot: %{buildroot}
Summary: openssl
License: GPL
Name: %{name}
Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.gz
Prefix: /usr
Group: Development/Tools
%description
Special build of openssl for centos.
%prep
%setup -q
%build
./configure
make
%install
make install prefix=$RPM_BUILD_ROOT/usr
%files
%defattr(-,root,root)
/usr/local/bin/openssl
%doc %attr(0444,root,root) /usr/local/share/man/man1/openssl.1
4) After you have a spec file, use the rpmbuild command to build your RPM
# rpmbuild -v -bb --clean myopenssl/SPECS/openssl.spec
5) Your RPM is built at this point... use the following command to look at the contents:
# rpm -Vp RPMS/i386/myopenssl.i386.rpm
6) To install it, run the following as root:
# rpm -ihv myopenssl.i386.rpm
Hope this helps!
You're attempting to upgrade the package provided by the distribution. Often, distributions will not change the version but backport security fixes, which is done to maintain a more stable environment. As major revision changes can affect the operation of software, they typically will only be done between major revisions of the distribution.
If you want to run the latest PHP, you'll likely have to create your own package, locate a third party package, or compile from source making your own build standard.
Based on the output provided, it's reasonable to assume you're running the latest version of PHP available for the current distribution you're running.
It looks like the CentOS wiki has a walkthrough for updating to 5.2 using the development repo.
Best Answer
Some packages are held by more than one repository. The
priorities
plugin choose packages from the highest-priority repository, excluding duplicate entries from other repos.