diff options
author | steve <steve@FreeBSD.org> | 1999-12-27 02:15:15 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-27 02:15:15 +0000 |
commit | 746b5d337cbfed8a8d3482f84806701db8bc30bc (patch) | |
tree | a81a330916c7c86b04e545ad1fbdcdf430d73a0f /www/jesred/files | |
parent | 3c7b31c4a59c2318bf8af74acdea690bef46087d (diff) | |
download | FreeBSD-ports-746b5d337cbfed8a8d3482f84806701db8bc30bc.zip FreeBSD-ports-746b5d337cbfed8a8d3482f84806701db8bc30bc.tar.gz |
Adding jesred version 1.2pl1.
A redirector for Squid.
PR: 14869
Submitted by: Denis Shaposhnikov <dsh@wizard.vlink.ru>
Diffstat (limited to 'www/jesred/files')
-rw-r--r-- | www/jesred/files/patch-aa | 46 | ||||
-rw-r--r-- | www/jesred/files/patch-ab | 11 |
2 files changed, 57 insertions, 0 deletions
diff --git a/www/jesred/files/patch-aa b/www/jesred/files/patch-aa new file mode 100644 index 0000000..820af33 --- /dev/null +++ b/www/jesred/files/patch-aa @@ -0,0 +1,46 @@ +--- Makefile.orig Sat Jul 25 07:19:50 1998 ++++ Makefile Mon Nov 8 18:22:45 1999 +@@ -2,20 +2,20 @@ + # HINT: If you want to run the program on an UltraSPARC driven machine, + # I recommend to use Sun C-Compiler >= 4.0 or gcc >= 2.8.0 with + # optimization level >= 4 for best performance. +-CC=cc ++#CC=cc + +-INCLUDE = -I. +-LDFLAGS = ++#INCLUDE = -I. ++#LDFLAGS = + + # Compiler Options + +-AC_CFLAGS = -xO5 -mr -s -xcrossfile #-g -xsb # SUN cc >= 4.0 ++#AC_CFLAGS = -xO5 -mr -s -xcrossfile #-g -xsb # SUN cc >= 4.0 + #AC_CFLAGS = -O3 -s # SGI cc, AIX cc + #AC_CFLAGS = -O5 -s # GNU cc + + # extra Libraries ( we need this for inet_addr(char *) only ) + +-XTRA_LIBS = -lnsl # Solaris 2.x ++#XTRA_LIBS = -lnsl # Solaris 2.x + #XTRA_LIBS = # AIX 4.2, Linux 2.x.x, IRIX 5.x, 6.x + + # if you want to have the option, to enable debug message logging, +@@ -49,7 +49,7 @@ + # If jesred is compiled without -DUSE_ACCEL the ACCEL strings in the + # redirect rules are ignored, if there are some. + # +-# DEFS = -DUSE_ACCEL ++DEFS = -DUSE_ACCEL -DDEFAULT_PATH=\"${PREFIX}/etc/squid\" + + # That's it - no further changes should be necessary ;-) + # =========================================================================== +@@ -66,7 +66,7 @@ + CFILES = $(patsubst %.o,%.c,$(OBJS)) + + PROGS = jesred +-CFLAGS = $(AC_CFLAGS) $(INCLUDE) ++CFLAGS += $(AC_CFLAGS) $(INCLUDE) + LIBS = -L. $(XTRA_LIBS) + + .SUFFIXES: .o diff --git a/www/jesred/files/patch-ab b/www/jesred/files/patch-ab new file mode 100644 index 0000000..023f711 --- /dev/null +++ b/www/jesred/files/patch-ab @@ -0,0 +1,11 @@ +--- path.h.orig Sat Jul 25 03:03:13 1998 ++++ path.h Mon Nov 8 18:15:30 1999 +@@ -7,6 +7,8 @@ + + /* change this to the path, which contains your jesred.conf */ + ++#ifndef DEFAULT_PATH + #define DEFAULT_PATH "/local/squid/etc" ++#endif + + #endif |