FreeBSD Bugzilla – Attachment 6622 Details for
Bug 14869
New port: www/jsred (redirector for Squid Object Cache)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.94 KB, created by
dsh
on 1999-11-14 09:40:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
dsh
Created:
1999-11-14 09:40:01 UTC
Size:
5.94 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># jesred/ ># jesred/Makefile ># jesred/files ># jesred/files/md5 ># jesred/pkg ># jesred/pkg/PLIST ># jesred/pkg/COMMENT ># jesred/pkg/DESCR ># jesred/patches ># jesred/patches/patch-aa ># jesred/patches/patch-ab ># jesred/patches/patch-ac ># >echo c - jesred/ >mkdir -p jesred/ > /dev/null 2>&1 >echo x - jesred/Makefile >sed 's/^X//' >jesred/Makefile << 'END-of-jesred/Makefile' >X# New ports collection makefile for: jesred >X# Version required: 1.2.pl1 >X# Date created: Mon Nov 8 17:42:20 MSK 1999 >X# Whom: dsh@vlink.ru >X# >X# $Id$ >X# >X >XDISTNAME= jesred-1.2pl1 >XCATEGORIES= www >XMASTER_SITES= http://ivs.cs.uni-magdeburg.de/~elkner/webtools/src/ >X >XMAINTAINER= dsh@vlink.ru >X >XRUN_DEPENDS= squid:${PORTSDIR}/www/squid22 >X >Xdo-install: >X ${INSTALL_PROGRAM} ${COPY} ${WRKSRC}/jesred ${PREFIX}/libexec >X ${SED} "s!%%PREFIX%%!${PREFIX}!" < ${WRKSRC}/etc/jesred.conf \ >X > ${WRKSRC}/etc/jesred.conf.sample >X ${INSTALL_DATA} ${WRKSRC}/etc/jesred.conf.sample ${PREFIX}/etc/squid >X ${INSTALL_DATA} ${COPY} ${WRKSRC}/etc/redirect.acl \ >X ${PREFIX}/etc/squid/redirect.acl.sample >X ${INSTALL_DATA} ${COPY} ${WRKSRC}/etc/redirect.rules \ >X ${PREFIX}/etc/squid/redirect.rules.sample >X @[ -f ${PREFIX}/etc/squid/jesred.conf ] || \ >X ${CP} ${PREFIX}/etc/squid/jesred.conf.sample \ >X ${PREFIX}/etc/squid/jesred.conf >X >X.include <bsd.port.mk> >END-of-jesred/Makefile >echo c - jesred/files >mkdir -p jesred/files > /dev/null 2>&1 >echo x - jesred/files/md5 >sed 's/^X//' >jesred/files/md5 << 'END-of-jesred/files/md5' >XMD5 (jesred-1.2pl1.tar.gz) = 8d7009e0700996dbc28540d1a8f7c36d >END-of-jesred/files/md5 >echo c - jesred/pkg >mkdir -p jesred/pkg > /dev/null 2>&1 >echo x - jesred/pkg/PLIST >sed 's/^X//' >jesred/pkg/PLIST << 'END-of-jesred/pkg/PLIST' >Xetc/squid/jesred.conf.sample >X@exec [ -f %B/jesred.conf ] || /bin/cp %B/%f %B/jesred.conf >Xetc/squid/redirect.acl.sample >Xetc/squid/redirect.rules.sample >Xlibexec/jesred >END-of-jesred/pkg/PLIST >echo x - jesred/pkg/COMMENT >sed 's/^X//' >jesred/pkg/COMMENT << 'END-of-jesred/pkg/COMMENT' >XA redirector for Squid. >END-of-jesred/pkg/COMMENT >echo x - jesred/pkg/DESCR >sed 's/^X//' >jesred/pkg/DESCR << 'END-of-jesred/pkg/DESCR' >XJesred is a very fast and highly configurable redirector for the Squid >XInternet Object Cache. It was derived from Chris Foote's and Wayne >XPiekarski's Squirm 1.0 betaB and some code from Squid itself, but is >Xabout 2-3x faster than the original version and has some additional >Xfeatures. >X >XWWW: http://ivs.cs.uni-magdeburg.de/~elkner/webtools/jesred/ >X >X-- Denis Shaposhnikov >Xdsh@vlink.ru >END-of-jesred/pkg/DESCR >echo c - jesred/patches >mkdir -p jesred/patches > /dev/null 2>&1 >echo x - jesred/patches/patch-aa >sed 's/^X//' >jesred/patches/patch-aa << 'END-of-jesred/patches/patch-aa' >X--- Makefile.orig Sat Jul 25 07:19:50 1998 >X+++ Makefile Mon Nov 8 18:22:45 1999 >X@@ -2,20 +2,20 @@ >X # HINT: If you want to run the program on an UltraSPARC driven machine, >X # I recommend to use Sun C-Compiler >= 4.0 or gcc >= 2.8.0 with >X # optimization level >= 4 for best performance. >X-CC=cc >X+#CC=cc >X >X-INCLUDE = -I. >X-LDFLAGS = >X+#INCLUDE = -I. >X+#LDFLAGS = >X >X # Compiler Options >X >X-AC_CFLAGS = -xO5 -mr -s -xcrossfile #-g -xsb # SUN cc >= 4.0 >X+#AC_CFLAGS = -xO5 -mr -s -xcrossfile #-g -xsb # SUN cc >= 4.0 >X #AC_CFLAGS = -O3 -s # SGI cc, AIX cc >X #AC_CFLAGS = -O5 -s # GNU cc >X >X # extra Libraries ( we need this for inet_addr(char *) only ) >X >X-XTRA_LIBS = -lnsl # Solaris 2.x >X+#XTRA_LIBS = -lnsl # Solaris 2.x >X #XTRA_LIBS = # AIX 4.2, Linux 2.x.x, IRIX 5.x, 6.x >X >X # if you want to have the option, to enable debug message logging, >X@@ -49,7 +49,7 @@ >X # If jesred is compiled without -DUSE_ACCEL the ACCEL strings in the >X # redirect rules are ignored, if there are some. >X # >X-# DEFS = -DUSE_ACCEL >X+DEFS = -DUSE_ACCEL -DDEFAULT_PATH=\"${PREFIX}/etc/squid\" >X >X # That's it - no further changes should be necessary ;-) >X # =========================================================================== >X@@ -66,7 +66,7 @@ >X CFILES = $(patsubst %.o,%.c,$(OBJS)) >X >X PROGS = jesred >X-CFLAGS = $(AC_CFLAGS) $(INCLUDE) >X+CFLAGS += $(AC_CFLAGS) $(INCLUDE) >X LIBS = -L. $(XTRA_LIBS) >X >X .SUFFIXES: .o >END-of-jesred/patches/patch-aa >echo x - jesred/patches/patch-ab >sed 's/^X//' >jesred/patches/patch-ab << 'END-of-jesred/patches/patch-ab' >X--- path.h.orig Sat Jul 25 03:03:13 1998 >X+++ path.h Mon Nov 8 18:15:30 1999 >X@@ -7,6 +7,8 @@ >X >X /* change this to the path, which contains your jesred.conf */ >X >X+#ifndef DEFAULT_PATH >X #define DEFAULT_PATH "/local/squid/etc" >X+#endif >X >X #endif >END-of-jesred/patches/patch-ab >echo x - jesred/patches/patch-ac >sed 's/^X//' >jesred/patches/patch-ac << 'END-of-jesred/patches/patch-ac' >X--- etc/jesred.conf.orig Sat Aug 15 08:17:54 1998 >X+++ etc/jesred.conf Mon Nov 8 18:54:12 1999 >X@@ -1,17 +1,17 @@ >X # file with IP addresses, for which URL rewriting is [not] allowed >X-allow = /local/squid/etc/redirect.acl >X+allow = %%PREFIX%%/etc/squid/redirect.acl.sample >X >X # file with rules for URL rewriting >X-rules = /local/squid/etc/redirect.rules >X+rules = %%PREFIX%%/etc/squid/redirect.rules.sample >X >X # log file for general, error and debug messages (empty value or commenting >X # this out disables logging) >X-redirect_log = /local/squid/logs/redirect.log >X+redirect_log = %%PREFIX%%/squid/logs/redirect.log >X >X # log file for URL rewrites (empty value or commenting this out disables >X # logging of URL rewrites) >X # Log file format: Timestamp Client/Ident URL RURL NO >X-rewrite_log = /local/squid/logs/rewrite.log >X+rewrite_log = %%PREFIX%%/squid/logs/rewrite.log >X >X # Debug mode: if set to yes and DEBUG option was compiled in, this enables >X # debug logging to redirect_log >END-of-jesred/patches/patch-ac >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 14869
: 6622