[WBEL-devel] Re: openssl security update needed

Joe Little jlittle@cs.stanford.edu
Fri, 19 Mar 2004 15:04:33 -0800


--Apple-Mail-11-498541762
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=ISO-8859-1;
	delsp=yes;
	format=flowed

seeing that RHEL doesn't support anything below i586, and targets =20
packages for i686, I would have just used that target.

Second, one should now have to build out those directories. The =20
rpm-build package handles that for you.

Finally, you can edit the .spec file to change organization, distro, =20
etc. before building...


On Mar 19, 2004, at 2:48 PM, Rich McCue wrote:

>  This has been an interesting exercise for me.=A0 I believe that I =
have =20
> successfully
>  built the RPMS for the openssl patch. I've installed the updated rpms =
=20
> on my test
>  server, and ssl seems to be functioning just fine.=A0=A0 The only =20
> difference is that
>  when I go into webmin and look at the package, the vendor displayed =20=

> is:
>  "(none)"=A0 rather than "whiteboxlinux.org".=A0 For those who are =20
> intested I'll outline
>  how I went about building the rpms (for those who know more than I do =
=20
> on
>  the list, I welcome feedback as this is the first time I've done =20
> this).
>
>  1. entered the following commands (I found them on a web site some =20=

> where):
>
>  =A0=A0 mkdir -p --verbose ~/rpms/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
>  =A0=A0 mkdir -p --verbose ~/rpms/RPMS/{i386,noarch}
>  =A0=A0 echo "%_topdir $HOME/rpms" > ~/.rpmmacros
>
>  2. Downloaded the updated src.rpm
>  =A0=A0
>  =A0=A0 wget =20
> http://ftp.redhat.com/pub/redhat/linux/updates/enterprise/3AS/en/os/=20=

> SRPMS/openssl-0.9.7a-33.4.src.rpm
>
>  3. Installed openssl-0.9.7a-33.4.src.rpm using the following command:
>
>  =A0=A0 rpm -i openssl-0.9.7a-33.4.src.rpm
>
>  4. navigated to ~/rpms/SPECS/ and then issue the following commands:
>
>  =A0=A0 rpmbuild -ba --target i386 openssl.spec
>  =A0=A0 rpmbuild -ba --target i486 openssl.spec
>  =A0=A0 rpmbuild -ba --target i586 openssl.spec
>  =A0=A0 rpmbuild -ba --target i686 openssl.spec
>  =A0=A0 rpmbuild -ba --target athlon openssl.spec
>
>  =A0=A0 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 =
=20
> differently.
>
>  If anyone is interested, I can make the files available (I'm just =20
> finishing the i586 rpm now).
>
>
> --=20
> Rich McCue
>  UVic Faculty of Law
>  ph: 250.472.4716
> www.law.uvic.ca
>

--Apple-Mail-11-498541762
Content-Transfer-Encoding: quoted-printable
Content-Type: text/enriched;
	charset=ISO-8859-1

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:


<excerpt> This has been an interesting exercise for me.=A0 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.=A0=A0 The only
difference is that=20

 when I go into webmin and look at the package, the vendor displayed
is:

 "(none)"=A0 rather than "whiteboxlinux.org".=A0 For those who are
intested I'll outline=20

 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):


 =A0=A0 mkdir -p --verbose ~/rpms/{BUILD,RPMS,SOURCES,SPECS,SRPMS}

 =A0=A0 mkdir -p --verbose ~/rpms/RPMS/{i386,noarch}

 =A0=A0 echo "%_topdir $HOME/rpms" > ~/.rpmmacros


 2. Downloaded the updated src.rpm

 =A0=A0=20

 =A0=A0 wget
=
<color><param>0000,0000,EEEE</param>http://ftp.redhat.com/pub/redhat/linux=
/updates/enterprise/3AS/en/os/SRPMS/openssl-0.9.7a-33.4.src.rpm</color>


 3. Installed openssl-0.9.7a-33.4.src.rpm using the following command:


 =A0=A0 rpm -i openssl-0.9.7a-33.4.src.rpm


 4. navigated to ~/rpms/SPECS/ and then issue the following commands:


 =A0=A0 rpmbuild -ba --target i386 openssl.spec

 =A0=A0 rpmbuild -ba --target i486 openssl.spec

 =A0=A0 rpmbuild -ba --target i586 openssl.spec

 =A0=A0 rpmbuild -ba --target i686 openssl.spec

 =A0=A0 rpmbuild -ba --target athlon openssl.spec


 =A0=A0 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).



--=20

<bold>Rich McCue</bold>

 UVic Faculty of Law

 ph: 250.472.4716

<color><param>0000,0000,EEEE</param>www.law.uvic.ca</color>


</excerpt>=

--Apple-Mail-11-498541762--