Re: ipsvd-0.12.0 available
Csillag Tamas <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <20060204164230.GD23479@digitus> |
Hi
On 02/04, Charlie Brady wrote:
>
> On Fri, 3 Feb 2006, Gerrit Pape wrote:
>
> >Hi, a new test package of ipsvd is available through
> >
> >http://smarden.org/ipsvd/
>
> Doesn't build for me, using matrixssl-1-7-3-open.tar.gz. I'll dig deeper.
>
> gzip -dc matrixssl.tar.gz |tar xf -
> sed -e 's/#define USE_MULTITHREADING/#undef USE_MULTITHREADING/' \
> <matrixssl/src/matrixConfig.h >matrixConfig.h && \
> mv -f matrixConfig.h matrixssl/src/matrixConfig.h
> touch matrixssl
> ./compile sslio.c
> sslio.c:1: warning: -malign-loops is obsolete, use -falign-loops
> sslio.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
> sslio.c:1: warning: -malign-functions is obsolete, use -falign-functions
> sslio.c:3:23: matrixSsl.h: No such file or directory
> In file included from sslio.c:21:
> ssl_io.h:19: error: syntax error before '*' token
> ssl_io.h:19: warning: type defaults to `int' in declaration of `ssl'
> ssl_io.h:19: warning: data definition has no type or storage class
> ssl_io.h:20: error: syntax error before '*' token
> ssl_io.h:20: warning: type defaults to `int' in declaration of `keys'
> ssl_io.h:20: warning: data definition has no type or storage class
> make[1]: *** [sslio.o] Error 1
> make[1]: Leaving directory
> `/home/charlieb/mezzanine/ipsvd/build.mezz/BUILD/ipsvd-0.12.0/net/ipsvd-0.12.0/compile'
> make: *** [default] Error 2
Yes you are right. It does not compile out-of-the box, but here is a
trivial patch.
--
During the million-dollar BIND 9 rewrite, Paul Vixie characterized the
original BIND code as 'sleazeware produced in a drunken fury by a
bunch of U C Berkeley grad students.'
-- D.J. Bernstein
CSILLAG Tamas (cstamas) - http://digitus.itk.ppke.hu/~cstamas
matrix-path.patch
(text/plain, 733 B)
diff -Nur ipsvd-0.12.0/src/sslio.c ipsvd-0.12.0.fix/src/sslio.c --- ipsvd-0.12.0/src/sslio.c 2006-02-03 21:26:55.000000000 +0100 +++ ipsvd-0.12.0.fix/src/sslio.c 2006-02-04 17:32:50.207656243 +0100 @@ -1,6 +1,6 @@ #include <sys/types.h> #include <unistd.h> -#include "matrixSsl.h" +#include "matrixssl/matrixSsl.h" #include "uidgid.h" #include "prot.h" #include "error.h" diff -Nur ipsvd-0.12.0/src/ssl_io.h ipsvd-0.12.0.fix/src/ssl_io.h --- ipsvd-0.12.0/src/ssl_io.h 2006-02-03 21:26:55.000000000 +0100 +++ ipsvd-0.12.0.fix/src/ssl_io.h 2006-02-04 17:34:21.230850110 +0100 @@ -1,6 +1,6 @@ #ifndef SSL_IO_H #define SSL_IO_H -#include "matrixSsl.h" +#include "matrixssl/matrixSsl.h" #include "uidgid.h" char id[FMT_ULONG];