Make the "nbsd_20030105" import build.
This commit is contained in:
parent
a5e5d8a2c1
commit
c5fa1fb790
@ -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
|
||||
|
11
libexec/lukemftpd/nbsd2fbsd.h
Normal file
11
libexec/lukemftpd/nbsd2fbsd.h
Normal 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
3
libexec/lukemftpd/util.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
#include <libutil.h>
|
Loading…
x
Reference in New Issue
Block a user