openbsd-ports/www/transproxy/patches/patch-aa
1998-06-18 06:22:53 +00:00

43 lines
870 B
Plaintext

*** Makefile.orig Thu Apr 30 20:25:32 1998
--- Makefile Thu Jun 18 13:09:00 1998
***************
*** 15,24 ****
# PAY_THE_PENALTY Slow down if they don't use proxy directly.
#
! OPTIONS=-DDNS_LOOKUPS #-DUSELESS_DNS_LOOKUPS
CC=gcc
! CFLAGS=-O2 -m486 -Wall $(OPTIONS)
LDFLAGS=-s
LIBS= #-lresolv
--- 15,24 ----
# PAY_THE_PENALTY Slow down if they don't use proxy directly.
#
! OPTIONS+= -DDNS_LOOKUPS -DIPFILTER #-DUSELESS_DNS_LOOKUPS
CC=gcc
! CFLAGS=-O2 -Wall $(OPTIONS)
LDFLAGS=-s
LIBS= #-lresolv
***************
*** 26,32 ****
RM=rm -f
INSTALL=install -c -o bin -g bin -m 555
! TARGETNAME=in.tproxyd
tproxy: tproxy.o
$(CC) $(LDFLAGS) tproxy.o -o $@ $(LIBS)
--- 26,32 ----
RM=rm -f
INSTALL=install -c -o bin -g bin -m 555
! TARGETNAME=tproxy
tproxy: tproxy.o
$(CC) $(LDFLAGS) tproxy.o -o $@ $(LIBS)