From 83807ec50da2dec25df74073d007a33ae79d8bfd Mon Sep 17 00:00:00 2001 From: mlaier Date: Tue, 3 Jul 2007 12:46:08 +0000 Subject: Link pf 4.1 to the build: - move ftp-proxy from libexec to usr.sbin - add tftp-proxy - new altq mtag link Approved by: re (kensmith) --- usr.sbin/ftp-proxy/Makefile | 5 +++++ usr.sbin/ftp-proxy/Makefile.inc | 5 +++++ usr.sbin/ftp-proxy/ftp-proxy/Makefile | 18 ++++++++++++++++++ usr.sbin/ftp-proxy/libevent/Makefile | 25 +++++++++++++++++++++++++ 4 files changed, 53 insertions(+) create mode 100644 usr.sbin/ftp-proxy/Makefile create mode 100644 usr.sbin/ftp-proxy/Makefile.inc create mode 100644 usr.sbin/ftp-proxy/ftp-proxy/Makefile create mode 100644 usr.sbin/ftp-proxy/libevent/Makefile (limited to 'usr.sbin/ftp-proxy') diff --git a/usr.sbin/ftp-proxy/Makefile b/usr.sbin/ftp-proxy/Makefile new file mode 100644 index 0000000..67660c8 --- /dev/null +++ b/usr.sbin/ftp-proxy/Makefile @@ -0,0 +1,5 @@ +# $FreeBSD$ + +SUBDIR= libevent ftp-proxy + +.include diff --git a/usr.sbin/ftp-proxy/Makefile.inc b/usr.sbin/ftp-proxy/Makefile.inc new file mode 100644 index 0000000..5abb7c0 --- /dev/null +++ b/usr.sbin/ftp-proxy/Makefile.inc @@ -0,0 +1,5 @@ +# $FreeBSD$ + +LIBEVENT= ${.OBJDIR}/../libevent/libevent.a + +.include "../Makefile.inc" \ No newline at end of file diff --git a/usr.sbin/ftp-proxy/ftp-proxy/Makefile b/usr.sbin/ftp-proxy/ftp-proxy/Makefile new file mode 100644 index 0000000..773c25d --- /dev/null +++ b/usr.sbin/ftp-proxy/ftp-proxy/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../contrib/pf/ftp-proxy + +PROG= ftp-proxy +MAN= ftp-proxy.8 + +SRCS= ftp-proxy.c filter.c + +CFLAGS+= -I${.CURDIR}/../../../contrib/pf/libevent +CFLAGS+= -I${.CURDIR}/../../../sys/contrib/pf + +DPADD= ${LIBEVENT} +LDADD= ${LIBEVENT} + +WARNS?= 2 + +.include diff --git a/usr.sbin/ftp-proxy/libevent/Makefile b/usr.sbin/ftp-proxy/libevent/Makefile new file mode 100644 index 0000000..acc546f --- /dev/null +++ b/usr.sbin/ftp-proxy/libevent/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../contrib/pf/libevent + + +LIB= event +INTERNALLIB=yes +SRCS= buffer.c evbuffer.c event.c kqueue.c log.c poll.c select.c signal.c +HDRS= event.h + +CFLAGS+= -I${.CURDIR} \ + -DHAVE_CLOCK_GETTIME \ + -DHAVE_FCNTL_H \ + -DHAVE_POLL \ + -DHAVE_SELECT \ + -DHAVE_SETFD \ + -DHAVE_STDARG_H \ + -DHAVE_SYS_IOCTL_H \ + -DHAVE_SYS_TIME_H \ + -DHAVE_UNISTD_H \ + -DHAVE_VASPRINTF \ + -DHAVE_WORKING_KQUEUE \ + -DVERSION='"1.3b"' + +.include -- cgit v1.1