Make the "nbsd_20030105" import build.

This commit is contained in:
obrien 2003-01-06 03:03:53 +00:00
parent a5e5d8a2c1
commit c5fa1fb790
3 changed files with 18 additions and 1 deletions

View File

@ -4,15 +4,18 @@
MAINTAINER= obrien
LUKEMFTPD= ${.CURDIR}/../../contrib/lukemftpd
.PATH: ${LUKEMFTPD}/src
.PATH: ${LUKEMFTPD}/src ${LUKEMFTPD}/libnetbsd
PROG= lukemftpd
MAN= lukemftpd.8 ftpd.conf.5 ftpusers.5
MLINKS= ftpusers.5 ftpchroot.5
SRCS= cmds.c conf.c ftpd.c ftpcmd.y popen.c
SRCS+= strsuftoll.c
WFORMAT= 0
CFLAGS+= -include nbsd2fbsd.h
CFLAGS+= -I${.CURDIR} -I${LUKEMFTPD} -I${LUKEMFTPD}/src
CFLAGS+= -I${.CURDIR}/../..//lib/libc/stdtime
YFLAGS=
LDADD= -lcrypt -lutil

View File

@ -0,0 +1,11 @@
/* $FreeBSD$ */
/* XXX: Depend on our system headers protecting against multiple includes. */
#include <paths.h>
#undef _PATH_FTPUSERS
#include <pwd.h>
#define LOGIN_NAME_MAX MAXLOGNAME /* <sys/param.h> */
#define _DIAGASSERT(x)

3
libexec/lukemftpd/util.h Normal file
View File

@ -0,0 +1,3 @@
/* $FreeBSD$ */
#include <libutil.h>