summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authoritojun <itojun@NetBSD.org>2004-06-22 22:19:36 +0000
committeritojun <itojun@NetBSD.org>2004-06-22 22:19:36 +0000
commit9ec960c3515de83232ae1b0a0eb3dc160221d4b8 (patch)
treef078da853500fc47d945dfdf0047b52d6cc83504 /libexec
parent625efb199429782dd78b72f6994914076feca1f5 (diff)
add ftp-proxy from PF OpenBSD 3.5. adjust setlists
Diffstat (limited to 'libexec')
-rw-r--r--libexec/Makefile4
-rw-r--r--libexec/ftp-proxy/Makefile17
2 files changed, 19 insertions, 2 deletions
diff --git a/libexec/Makefile b/libexec/Makefile
index de9a6f20a6b..e80581a54c6 100644
--- a/libexec/Makefile
+++ b/libexec/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2004/06/22 19:10:48 jwise Exp $
+# $NetBSD: Makefile,v 1.47 2004/06/22 22:19:36 itojun Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93
.include <bsd.own.mk>
@@ -14,6 +14,6 @@ SUBDIR+= hpropd kadmind kpasswdd
.endif
# PF
-SUBDIR+=spamd spamd-setup
+SUBDIR+=spamd spamd-setup ftp-proxy
.include <bsd.subdir.mk>
diff --git a/libexec/ftp-proxy/Makefile b/libexec/ftp-proxy/Makefile
new file mode 100644
index 00000000000..b2be7907415
--- /dev/null
+++ b/libexec/ftp-proxy/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2004/06/22 22:19:36 itojun Exp $
+# $OpenBSD: Makefile,v 1.4 2003/11/20 23:23:09 avsm Exp $
+# @(#)Makefile 8.2 (Berkeley) 4/4/94
+
+PROG= ftp-proxy
+SRCS= ftp-proxy.c getline.c util.c
+MAN= ftp-proxy.8
+
+WARNS?= 2
+
+CPPFLAGS+=-DLIBWRAP
+LDADD+= -lwrap
+DPADD+= ${LIBWRAP}
+
+.include <bsd.prog.mk>
+
+.PATH: ${NETBSDSRCDIR}/dist/pf/libexec/ftp-proxy