Carlo Marcelo Arenas Belon wrote:
>
> Hi
>
> is anybody in there working on a i386.rpm? for openssl-0.9.2b, i've just
> made a new spec from mine openssl-0.9.1c-3.i386.rpm
> (ftp://ftp.jmconsultores.com.pe/pub/linux/carenas/openssl/) but all the
> nolocal patches are broken...
Well, yes and no. But mostly no because all my linux redhat i386
boxes are running strange/incompatible libraries and would produce
incorrect dependancies.
Therefore, here's a piece of shell/sed script that does the nolocal
patching for me:
make INSTALLTOP=$buildroot install || exit 1
cd $buildroot/include && {
mkdir ssl;
for i in *.h; do
sed -e 's/\(#include[ ]*\)"\([^"]*\)"/\1<ssl\/\2>/' \
< $i > ssl/$i && rm $i;
done;
}
Note the '#include[ ]*' is meant to include [<space><tab>] but
in most cases just '#include *' would work equally well.
>
> i've rewritten nolocal patches and put them together but stills needs
> some work.
>
> also? i am wrong? or openssl-0.9.2b undoes previous security patch from
> openssl-0.9.1c? on bnrec patch?, is BN working ok now with recursion?
I can't tell you.
>
> i would like to kwnow if there is any other packager i could join forces
> to :)
>
I have a lot of crude material to be polished for packaging rpm's:
1. a build script that does:
- cvs checkout
- targzip the clean source tree
- patch shared library support into the main Makefile
- configure
- build shared libraries
- install shared libraries into /usr/lib
- make clean, all and test
- install into a local buildroot (shown above) and post-process include
2. a script that processes the CHANGES file to output rpm-spec
format for inclusion in the %changelog section
3. a 'dummy-source' specfile that just packages the resulting files
that are now in $buildroot and /usr/lib/lib{ssl,crypto}.so*
When 'make test' is skipped all of this can be converted into
a real rpm specfile. I'll probably try to do that in the next
few days. That would result in a source package that should
ideally rebuild without modification on intel, sparc, mips
and ppc as well.
--
Niels Poppe - org.net bv <[EMAIL PROTECTED]>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]