Package: suck
Version: 4.3.2-5
Severity: normal

The suck package in Debian Etch contains a non SSL enabled rpost
(see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=173282 -
seems like it was not really fixed or was broken again).

Standard rpost, using a non-existent host just to test if
rpost does accept the option -z:
| [EMAIL PROTECTED]:~$ /usr/bin/rpost test.example.com -z
| Invalid argument: -z, ignoring
| Using Port 119
| test.example.com: Could not get host information: Success

Downloading the package and trying to compile rpost:
| cd /temp
| apt-get build-dep suck
| apt-get source suck
| cd suck-4.3.2/
| ./configure

| [EMAIL PROTECTED]:/tmp/suck-4.3.2$ make rpost
| gcc -c -O2 -DHAVE_LIBSSL  -I. -I.   -DHAVE_CONFIG_H 
-DSUCK_VERSION=\"4.3.2.1\"    makephrases.c 
| makephrases.c: In function ‘main’:
| makephrases.c:123: warning: incompatible implicit declaration of built-in 
function ‘exit’
| gcc -c -O2 -DHAVE_LIBSSL  -I. -I.   -DHAVE_CONFIG_H 
-DSUCK_VERSION=\"4.3.2.1\"    suck_phrases.c 
| gcc -c -O2 -DHAVE_LIBSSL  -I. -I.   -DHAVE_CONFIG_H 
-DSUCK_VERSION=\"4.3.2.1\"    rpost_phrases.c 
| gcc -c -O2 -DHAVE_LIBSSL  -I. -I.   -DHAVE_CONFIG_H 
-DSUCK_VERSION=\"4.3.2.1\"    test_phrases.c 
| gcc -c -O2 -DHAVE_LIBSSL  -I. -I.   -DHAVE_CONFIG_H 
-DSUCK_VERSION=\"4.3.2.1\"    both_phrases.c 
| gcc -c -O2 -DHAVE_LIBSSL  -I. -I.   -DHAVE_CONFIG_H 
-DSUCK_VERSION=\"4.3.2.1\"    lmove_phrases.c 
| gcc   -o makephrases makephrases.o suck_phrases.o rpost_phrases.o 
test_phrases.o both_phrases.o lmove_phrases.o -lnsl  
| ./makephrases phrases.h
| Created phrases.h
| gcc -c -O2 -DHAVE_LIBSSL  -I. -I.   -DHAVE_CONFIG_H 
-DSUCK_VERSION=\"4.3.2.1\"    both.c 
! gcc -c -O2  -I. -I.   -DHAVE_CONFIG_H -DSUCK_VERSION=\"4.3.2.1\"      rpost.c
| gcc     -o rpost both.o both_phrases.o rpost.o rpost_phrases.o -lnsl    -lssl
| rpost.o: In function `parse_filter_args':
| rpost.c:(.text+0x4a1): warning: the use of `tmpnam' is dangerous, better use 
`mkstemp'

As you can see, rpost is *not* compiled with -DHAVE_LIBSSL as it should be; 
from the source:
[rpost.c]
| #ifdef HAVE_LIBSSL
|                         case 'z': /* use SSL */
|                                 myargs->do_ssl = TRUE;
|                                 myargs->portnr = DEFAULT_SSL_PORT;
|                                 break;
| #endif

As my knowledge of make files and the like is .. um ... rather limited, I'm not 
sure how
you would fix that correctly; a "works-for-me" fix was to manually change the 
Makefile,
changing
| rpost.o: rpost.c
|         $(CC) -c $(CFLAGS) $(DBZ_GCC_FLAGS) $(CPPFLAGS) $(DEFS) $(PERL_DEFS) 
$(PERL_INC_LOC) $<
to
| rpost.o: rpost.c
|         $(CC) -c $(CFLAGS) $(SSL_DEFS) $(DBZ_GCC_FLAGS) $(CPPFLAGS) $(DEFS) 
$(PERL_DEFS) $(PERL_INC_LOC) $<

Now rpost *does* have SSL_

| [EMAIL PROTECTED]:/tmp/suck-4.3.2$ ./rpost test.example.com -z
| Using Port 563
| test.example.com: Could not get host information: Success

I hope that makes some sense ... *scratch*

-thh

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages suck depends on:
ii  libc6                  2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii  libssl0.9.8            0.9.8c-4etch3     SSL shared libraries

Versions of packages suck recommends:
ii  perl                        5.8.8-7etch3 Larry Wall's Practical Extraction 

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to