Re: [WBEL-devel] Re: openssl security update needed
Joe Little <[email protected]> Fri, 19 Mar 2004 15:04:33 -0800
| Newsgroups | gmane.linux.whitebox.devel |
|---|---|
| Message-ID | <[email protected]> |
seeing that RHEL doesn't support anything below i586, and targets
packages for i686, I would have just used that target.
Second, one should now have to build out those directories. The
rpm-build package handles that for you.
Finally, you can edit the .spec file to change organization, distro,
etc. before building...
On Mar 19, 2004, at 2:48 PM, Rich McCue wrote:
> This has been an interesting exercise for me. I believe that I have
> successfully
> built the RPMS for the openssl patch. I've installed the updated rpms
> on my test
> server, and ssl seems to be functioning just fine. The only
> difference is that
> when I go into webmin and look at the package, the vendor displayed
> is:
> "(none)" rather than "whiteboxlinux.org". For those who are
> intested I'll outline
> how I went about building the rpms (for those who know more than I do
> on
> the list, I welcome feedback as this is the first time I've done
> this).
>
> 1. entered the following commands (I found them on a web site some
> where):
>
> mkdir -p --verbose ~/rpms/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
> mkdir -p --verbose ~/rpms/RPMS/{i386,noarch}
> echo "%_topdir $HOME/rpms" > ~/.rpmmacros
>
> 2. Downloaded the updated src.rpm
>
> wget
> http://ftp.redhat.com/pub/redhat/linux/updates/enterprise/3AS/en/os/
> SRPMS/openssl-0.9.7a-33.4.src.rpm
>
> 3. Installed openssl-0.9.7a-33.4.src.rpm using the following command:
>
> rpm -i openssl-0.9.7a-33.4.src.rpm
>
> 4. navigated to ~/rpms/SPECS/ and then issue the following commands:
>
> rpmbuild -ba --target i386 openssl.spec
> rpmbuild -ba --target i486 openssl.spec
> rpmbuild -ba --target i586 openssl.spec
> rpmbuild -ba --target i686 openssl.spec
> rpmbuild -ba --target athlon openssl.spec
>
> The files are put in the respective directories under ~/rpms/RPMS/
>
> Again, please let me know if you see anything that I should have done
> differently.
>
> If anyone is interested, I can make the files available (I'm just
> finishing the i586 rpm now).
>
>
> --
> Rich McCue
> UVic Faculty of Law
> ph: 250.472.4716
> www.law.uvic.ca
>