Subject: WU-FTPd
To: None <port-mac68k@NetBSD.ORG>
From: Chris Mason <cmason@nando.net>
List: port-mac68k
Date: 08/02/1996 14:46:32
Has anyone ported WU-FTPd to MacBSD?? There is no NetBSD port. I've
included a couple (generic) config files below. Any suggestions??
Thanks
-c
############config.neb
#define HAVE_SYMLINK
#define BSD
#undef HAVE_DIRENT
#undef HAVE_D_NAMLEN
#define HAVE_FLOCK
#undef HAVE_FTW
#undef HAVE_GETCWD
#define HAVE_GETDTABLESIZE
#undef HAVE_PSTAT
#define HAVE_ST_BLKSIZE
#undef HAVE_SYSINFO
#define HAVE_UT_UT_HOST
#define HAVE_VPRINTF
#define OVERWRITE
#undef REGEX
#define SETPROCTITLE
#undef SHADOW_PASSWORD
#define UPLOAD
#undef USG
#include <malloc.h>
#include <stdlib.h>
#include <unistd.h>
#ifndef FACILITY
#define FACILITY LOG_DAEMON
#endif
typedef void SIGNAL_TYPE;
#include "../config.h"
-----
###########Makefile.neb
CC = cc
IFLAGS = -I.. -I../support
LFLAGS = -L../support
CFLAGS = -O -DDEBUG ${IFLAGS} ${LFLAGS}
LIBES = -lsupport
LIBC = /lib/libc.a
LINTFLAGS=
LKERB = -lauth -lckrb -lkrb -ldes
MKDEP = ../util/mkdep
SRCS = ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c access.c extensions.c \
realpath.c acl.c private.c authenticate.c conversions.c hostacc
OBJS = ftpd.o ftpcmd.o glob.o logwtmp.o popen.o vers.o access.o extensions.o \
realpath.o acl.o private.o authenticate.o conversions.o hostaco
all: ftpd ftpcount ftpshut ckconfig
ftpcount: ftpcount.c pathnames.h
${CC} ${CFLAGS} -o $@ ftpcount.c vers.o ${LIBES}
ftpshut: ftpshut.c pathnames.h
${CC} ${CFLAGS} -o $@ ftpshut.c vers.o ${LIBES}
ftpd: ${OBJS} ${LIBC}
${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBES}
ckconfig: ckconfig.c
${CC} ${CFLAGS} -o $@ ckconfig.c
index: index.o ${LIBC}
${CC} -Bstatic -o $@ index.o
vers.o: ftpd.c ftpcmd.y
sh newvers.sh
${CC} ${CFLAGS} -c vers.c
clean:
rm -f ${OBJS} ftpd ftpcmd.c ftpshut ftpshut.o ftpcount ftpcount.o
rm -f core index index.o ckconfig ckconfig.o
cleandir: clean
rm -f tags .depend
depend: ${SRCS}
${MKDEP} ${CFLAGS} ${SRCS}
lint: ${SRCS}
lint ${CFLAGS} ${LINTFLAGS} ${SRCS}
tags: ${SRCS}
ctags ${SRCS}
_____________________________________________________________________
|Christopher Mason -- cmason@nyx.net cmason@nando.net cmason@cmu.edu|
|"You can always count on a murderer for a fancy prose style."-Nabokov|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~