openbsd-ports/www/transproxy/patches/patch-Makefile
jasoni 7c9fa29eaa - add support for the new packet filter
- mark unbroken
- md5 -> distinfo
ok jakob@
2001-12-06 07:28:11 +00:00

24 lines
778 B
Plaintext

--- Makefile.orig Thu Aug 17 23:35:46 2000
+++ Makefile Fri Nov 30 13:24:09 2001
@@ -46,6 +46,9 @@ OPTIONS += -DLOG_TO_FILE_LINEBUFF
# BSD IPFILTER mechanism for fetching intended destination address.
#OPTIONS += -DIPFILTER
+# OpenBSD PF mechanism for fetching intended destination address.
+OPTIONS += -DOPENBSD_PF
+
# linux-2.4 iptables mechanism for fetching intended destination address.
#OPTIONS += -DIPTABLES
@@ -53,8 +56,8 @@ OPTIONS += -DLOG_TO_FILE_LINEBUFF
#OPTIONS += -DDO_DOUBLE_FORK
# Define these to enable tcp_wrappers. You can use the built-in ACLs instead though.
-#OPTIONS += -DTCP_WRAPPERS
-#LIBS += -lwrap
+OPTIONS += -DTCP_WRAPPERS
+LIBS += -lwrap
# You may need one or both of these to get a clean compile.
#OPTIONS += -DHAVE_PATHS_H