openbsd-ports/www/jesred/patches/patch-etc_jesred_conf
sturm ca4bae8577 - don't hardcode /etc, use SYSCONFDIR instead
- don't change SYSCONFDIR, use CONFDIR/SUBST_VARS instead and if neccessary
  use "CONFIGURE_STYLE=gnu old" and explicitly set --sysconfdir=${CONFDIR}
a few more to come...
2003-05-12 18:02:44 +00:00

26 lines
1019 B
Plaintext

$OpenBSD: patch-etc_jesred_conf,v 1.2 2003/05/12 18:02:45 sturm Exp $
--- etc/jesred.conf.orig Fri Aug 14 22:17:54 1998
+++ etc/jesred.conf Wed Aug 22 10:47:21 2001
@@ -1,17 +1,17 @@
# file with IP addresses, for which URL rewriting is [not] allowed
-allow = /local/squid/etc/redirect.acl
+allow = %%SYSCONFDIR%%/jesred/redirect.acl
# file with rules for URL rewriting
-rules = /local/squid/etc/redirect.rules
+rules = %%SYSCONFDIR%%/jesred/redirect.rules
# log file for general, error and debug messages (empty value or commenting
# this out disables logging)
-redirect_log = /local/squid/logs/redirect.log
+redirect_log = /var/squid/logs/redirect.log
# log file for URL rewrites (empty value or commenting this out disables
# logging of URL rewrites)
# Log file format: Timestamp Client/Ident URL RURL NO
-rewrite_log = /local/squid/logs/rewrite.log
+rewrite_log = /var/squid/logs/rewrite.log
# Debug mode: if set to yes and DEBUG option was compiled in, this enables
# debug logging to redirect_log