-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
faithd using libevent (http://www.monkey.org/~provos/libevent/)
- still forks for every client - OOB data does not work well - ftp not touched at all
- Loading branch information
itojun
committed
Jun 11, 2002
1 parent
07f9556
commit db19eb1
Showing
10 changed files
with
2,571 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright (c) 1996 WIDE Project. All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modifications, are permitted provided that the above copyright notice | ||
# and this paragraph are duplicated in all such forms and that any | ||
# documentation, advertising materials, and other materials related to | ||
# such distribution and use acknowledge that the software was developed | ||
# by the WIDE Project, Japan. The name of the Project may not be used to | ||
# endorse or promote products derived from this software without | ||
# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' | ||
# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT | ||
# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
# A PARTICULAR PURPOSE. | ||
|
||
.if exists(${.CURDIR}/../Makefile.opsys) | ||
.include "${.CURDIR}/../Makefile.opsys" | ||
.endif | ||
|
||
BINDIR= ${PREFIX}/sbin | ||
PROG= faithd | ||
SRCS= faithd.c tcp.c ftp.c prefix.c | ||
|
||
# libevent 0.4 | ||
SRCS+= event.c select.c | ||
|
||
.if (${OPSYS} != "NetBSD") | ||
CFLAGS+= -I${.CURDIR} | ||
CFLAGS+= -DHAVE_SELECT | ||
.else | ||
CPPFLAGS+= -I${.CURDIR} -DHAVE_SELECT | ||
.endif | ||
LDADD+= -lutil | ||
DPADD+= ${LIBUTIL} | ||
NOMAN=yes | ||
#.if (${OPSYS} != "NetBSD") | ||
#MAN8= faithd.8 | ||
#.else | ||
#MAN= faithd.8 | ||
#.endif | ||
|
||
.include <bsd.prog.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.