Re: ipsvd-0.10.0 available

Charlie Brady <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <Pine.LNX.4.44.0501151747340.2774-100000@e-smith.charlieb.ott.istop.com>
On Sat, 15 Jan 2005, Gerrit Pape wrote:

> Hi, a new test package of ipsvd is available
> 
>  http://smarden.org/ipsvd/
> 
> This version introduces client support to the sslio program to have it
> run under tcpclient.  The logging of sslio, especially for ssl warnings
> and errors, has been improved, and the documentation updated.

Seems to have a build problem on FC3 (matrix 1.2 and 1.2.2):

...
touch matrixssl
rm -f matrixSsl.h
ln -s matrixssl/matrixSsl.h matrixSsl.h
./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
./compile sslerror_str.c
sslerror_str.c:1: warning: -malign-loops is obsolete, use -falign-loops
sslerror_str.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
sslerror_str.c:1: warning: -malign-functions is obsolete, use 
-falign-functions
sslerror_str.c:1:23: matrixSsl.h: No such file or directory
sslerror_str.c: In function `sslerror_str':
sslerror_str.c:6: error: `SSL_ALERT_CLOSE_NOTIFY' undeclared (first use in 
this function)
sslerror_str.c:6: error: (Each undeclared identifier is reported only once
sslerror_str.c:6: error: for each function it appears in.)
sslerror_str.c:7: error: `SSL_ALERT_UNEXPECTED_MESSAGE' undeclared (first 
use in this function)
sslerror_str.c:8: error: `SSL_ALERT_BAD_RECORD_MAC' undeclared (first use 
in this function)
sslerror_str.c:9: error: `SSL_ALERT_DECOMPRESSION_FAILURE' undeclared 
(first use in this function)
sslerror_str.c:10: error: `SSL_ALERT_HANDSHAKE_FAILURE' undeclared (first 
use in this function)
sslerror_str.c:11: error: `SSL_ALERT_NO_CERTIFICATE' undeclared (first use 
in this function)
sslerror_str.c:12: error: `SSL_ALERT_BAD_CERTIFICATE' undeclared (first 
use in this function)
sslerror_str.c:13: error: `SSL_ALERT_UNSUPPORTED_CERTIFICATE' undeclared 
(first use in this function)
sslerror_str.c:14: error: `SSL_ALERT_CERTIFICATE_REVOKED' undeclared 
(first use in this function)
sslerror_str.c:15: error: `SSL_ALERT_CERTIFICATE_EXPIRED' undeclared 
(first use in this function)
sslerror_str.c:16: error: `SSL_ALERT_CERTIFICATE_UNKNOWN' undeclared 
(first use in this function)
sslerror_str.c:17: error: `SSL_ALERT_ILLEGAL_PARAMETER' undeclared (first 
use in this function)
make[1]: *** [sslerror_str.o] Error 1
make[1]: Leaving directory 
`/home/charlieb/rpms/BUILD/ipsvd-0.10.0/net/ipsvd-0.10.0/compile'
make: *** [default] Error 2
...

Here's the build section of my spec file (which I can provide, if you're 
interested in bundling it):

...
%prep
%setup -c -n %{name}-%{version} -a 1
cp -v %{SOURCE2} net/%{name}-%{version}/src/matrixssl.tar.gz

%build
mv djbdns-pd-1.05 net/%{name}-%{version}
cd net/%{name}-%{version}
cd djbdns-pd-1.05
make libdjbdns.a
cd ..
echo 'diet -Os gcc -O2 -Wall' >src/conf-cc
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld
./package/compile

%install
cd  net/%{name}-%{version}
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
for i in $(cat package/commands compile/command.linux)
do
install command/$i $RPM_BUILD_ROOT/%{_bindir}
done
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
#install man/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
install man/*.8 $RPM_BUILD_ROOT/%{_mandir}/man8

%clean
...

---
Charlie
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.