--- rpms/ipsvd/sme8/ipsvd.spec 2007/06/12 19:54:46 1.1 +++ rpms/ipsvd/sme8/ipsvd.spec 2007/11/08 19:27:37 1.5 @@ -1,12 +1,13 @@ Summary: internet protocol service daemons Name: ipsvd Version: 0.12.1 -Release: 1%{?dist} +Release: 5%{?dist} License: BSD style Group: System Enviornment/Daemons Url: http://smarden.org/ipsvd/ Source: %{name}-%{version}.tar.gz Source1: matrixssl-1-8-3-open.tar.gz +Patch0: matrix.decode.debug.patch BuildRequires: dietlibc BuildRoot: %{_tmppath}/%{name}-root %description @@ -33,6 +34,20 @@ from the runit package, or supervise fro ipsvd can be used to run services normally run by inetd, xinetd, or tcpserver. %changelog +* Sat Oct 6 2007 Charlie Brady 0.12.1-05 +- Remove extra debugging code. [SME: 3438] + +* Tue Oct 2 2007 Charlie Brady 0.12.1-04 +- Add more debugging of client hello parsing. [SME: 3438] + +* Fri Aug 17 2007 Charlie Brady 0.12.1-03 +- Send all debugging to stderr rather than stdout. +- Fix bug parsing SSL 3.0 client hello (if hello extensions are + included, as in Thunderbird 2). [SME: 3438] + +* Thu Aug 16 2007 Charlie Brady 0.12.1-02 +- Enable DEBUG during matrixssl build. + * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague @@ -111,6 +126,8 @@ ipsvd can be used to run services normal %setup -c -n %{name}-%{version} cp -v %{SOURCE1} net/%{name}-%{version}/src/matrixssl.tar.gz mkdir -p net/%{name}-%{version}/compile +perl -p -i -e 's:CC=../../compile:CC=../../compile -DDEBUG:' \ + net/%{name}-%{version}/src/Makefile.matrixssl ln -s matrixssl-1-8-3-open net/%{name}-%{version}/compile/matrixssl %build @@ -118,6 +135,13 @@ cd net/%{name}-%{version} echo 'diet -Os gcc -O2 -Wall' >src/conf-cc echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld ./package/compile +cd compile +#patch -p0 < %{PATCH0} +perl -p -i -e "s/printf.m/fprintf(stderr, m/" matrixssl/src/os/debug.c +perl -p -i -e "s/ssl.*TLS_MIN_VER .. c/c/" matrixssl/src/sslDecode.c +rm matrixssl.a sslio sslsvd +cd .. +./package/compile %install cd net/%{name}-%{version}