wu-ftpd/i386

wu-ftpd/i386

Post by Robert Leon Fel » Wed, 24 Apr 1996 04:00:00



Anybody know of a fix for wu-ftp under NetBSD/i386?
(Assuming what I have don't is not totally wrong that is ;-))

Below is what I had to do to get it to compile, when I install
it it runs but keeps exiting.
When you do an mget it gives you one file and the exits,
syslog reports :-

Apr 23 19:50:11 kayless ftpd[1926]: exiting on signal 11

The first file requested is delivered no problem but the
server just shuts down afterwards.

I've been told there is a patch for NetBSD, if anyone has
it please post it or mail me.

Below is what I've done, if it's a useless bodge please
let me know (gently).

========================================================
Edited src/config/config.bsd

Added NO_MALLOC_PROTO
Removed SETPROCTITLE

Edited src/makefiles/Makefile.bsd

CC = gcc
Added -O2 -m486 -pipe -fno-strength-reduce to CFLAGS
Added -lcrypt to LIBES

Edited src/ftpd.c
Changed
*realpath(char *pathname, char *result);
to
*realpath(const char *pathname, char *result);
(so it would match my /usr/include files)

Edited src/realpath.c
Changed the declaration for realpath there as well as above

I have no clue about this !

cc -O -DDEBUG   -c authuser.c
In file included from authuser.c:7:
/usr/include/arpa/inet.h:76: warning: `struct in_addr'
declared inside parameter list
/usr/include/arpa/inet.h:76: warning: its scope is only
this definition or declaration,
/usr/include/arpa/inet.h:76: warning: which is probably
not what you want.
/usr/include/arpa/inet.h:77: warning: `struct in_addr'
declared inside parameter list
/usr/include/arpa/inet.h:77: warning: parameter has incomplete type
/usr/include/arpa/inet.h:79: warning: parameter has incomplete type
/usr/include/arpa/inet.h:81: warning: parameter has incomplete type
cc -O -DDEBUG   -c ftw.c
rm -f libsupport.a
ar cq libsupport.a fnmatch.o strcasestr.o authuser.o ftw.o
ranlib libsupport.a
(Edited for line length)
==========================================================

I am using gcc2.7.2, i386/current (few weeks old), PCI/P100/scsi/32MB,
if you need specs ask but I doubt it.

To my resident guru, I know you said you'd mail me but I thought I'd
try to help myself.

--
rlf

 
 
 

wu-ftpd/i386

Post by Andrew Whead » Fri, 26 Apr 1996 04:00:00




Quote:>Anybody know of a fix for wu-ftp under NetBSD/i386?
>I've been told there is a patch for NetBSD, if anyone has
>it please post it or mail me.

You'll find an old patch on wipux2.wifo.uni-mannheim.de
under ports or packages somewhere, take a look.

--
The cost of living hasn't affected it's popularity. (Mark Twain)
current release=doc host=wipux2.wifo.uni-mannheim.de \ "NetBSD-current mirror"
hostbase=/mit/ftp/pub/NetBSD base=/usr prefix=/usr backup delete use-rel-suffix

 
 
 

wu-ftpd/i386

Post by Robert Leon Fel » Sat, 27 Apr 1996 04:00:00


Thanks to Waldi Ravens for the solution to this bit, moving

"#include <netinet/in.h>" above "#include <arpa/inet.h>" in
support/authuser.c was spot on!

The ftp server still will not serve multiple file requests
though.  It still give one file and the exits leaving a
nice little core dump behind.
===========================================================
: cc -O -DDEBUG   -c authuser.c
: In file included from authuser.c:7:
: /usr/include/arpa/inet.h:76: warning: `struct in_addr'
: declared inside parameter list
: /usr/include/arpa/inet.h:76: warning: its scope is only
: this definition or declaration,
: /usr/include/arpa/inet.h:76: warning: which is probably
: not what you want.
: /usr/include/arpa/inet.h:77: warning: `struct in_addr'
: declared inside parameter list
: /usr/include/arpa/inet.h:77: warning: parameter has incomplete type
: /usr/include/arpa/inet.h:79: warning: parameter has incomplete type
: /usr/include/arpa/inet.h:81: warning: parameter has incomplete type
: cc -O -DDEBUG   -c ftw.c
: rm -f libsupport.a
: ar cq libsupport.a fnmatch.o strcasestr.o authuser.o ftw.o
: ranlib libsupport.a
: (Edited for line length)
: ==========================================================

--
rlf

 
 
 

1. wu-ftpd instead of ftpd

ftpd always craps out - in fact, it no longer seems to function upon
restart, dunno why.  I'm thinking of switching to wu-ftpd, which I
believe I installed the from the ports collection, when I installed this
whole thing.  A whereis wu-ftpd finds it in usr/ports/.... I ran make
install but to no avail, what now?

TIA

Rick

2. tcp/ip

3. in.ftpd zombie problem with wu-ftpd on RH6

4. problems configuring redhat 4.1 with NCR 77C22E SVGA video

5. FreeBSD ftpd 6.0 vs wu-ftpd 2.4

6. I Need Help with DIP

7. Weirdness of solaris ftpd and wu-ftpd

8. sendmail-8.9.1-2.i386.rpm

9. wu-ftpd or pro-ftpd

10. ftpd default server vs wu-ftpd ?

11. ftpd missing and build wu-ftpd error!

12. wu-ftpd replacement for ftpd

13. ls -l in.ftpd or wu-ftpd ?