Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32674 Details for
Bug 50872
Proxy cache suited for Gentoo packages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
config file patch for gentoo
http-replicator-2.0-conf-gentoo-patch (text/plain), 3.56 KB, created by
Tom P.
on 2004-06-04 20:17:14 UTC
(
hide
)
Description:
config file patch for gentoo
Filename:
MIME Type:
Creator:
Tom P.
Created:
2004-06-04 20:17:14 UTC
Size:
3.56 KB
patch
obsolete
>--- /http-replicator-2.0/http-replicator-2.0-orig/http-replicator.conf 2004-05-01 12:16:06.000000000 -0500 >+++ /http-replicator-2.0/http-replicator.conf 2004-05-23 20:26:05.000000000 -0500 >@@ -1,3 +1,40 @@ >+# ************README-Gentoo Http-Replicator ******************* >+# The defaults in Http-Replicator have been changed to work with the >+# default Gentoo install and shouldn't have to be changed. The only >+# changes required to activate Http-Replicator are in /etc/make.conf >+# on the clients and the server itself. >+# >+# Find the Default fetch command section in /etc/make.conf. If you are >+# already using one of the alternate fetch commands, apply the changes >+# to your section. Http-Replicator does not support "continued" downloads. >+# >+# Make the following changes: >+# >+# 1. Add http_proxy="http://YourProxyHere.com:8080" Line >+# replacing YourProxyHere.com with your proxy hostname or IP address. >+# 2. Uncomment (remove the leading '#') from RESUMECOMMAND >+# 3. Remove the -c from the RESUMECOMMAND and replace -P \${DISTDIR} with -O \${DISTDIR}/\${FILE} >+# >+# It will look like this when complete: >+# >+# Default fetch command (5 tries, passive ftp for firewall compatibility) >+# http_proxy="http://YourMirrorHere.com:8080" >+# #FETCHCOMMAND="$PROXY /usr/bin/wget -t 5 --passive-ftp \${URI} -P \${DISTDIR}" >+# RESUMECOMMAND="$PROXY /usr/bin/wget -t 5 --passive-ftp \${URI} -O \${DISTDIR}/\${FILE}" >+# >+# execute: >+# /etc/init.d/http-replicator start >+# to run http-replicator. >+# execute: >+# rc-update add http-replicator default >+# to make http-replicator start at boot >+# execute: >+# /usr/bin/repcacheman >+# frequently (/etc/cron.daily) to delete >+# dup files and add new files to the cache >+# >+# ************END README-Gentoo Http-Replicator ******************* >+ > # This is the configuration file for the replicator proxy server. > # Settings from this file will apply to the server in daemon mode and also to the cache cleaner script, if used. > # >@@ -14,32 +51,32 @@ > # * flat: save files in a single directory > # * debug: crash on exceptions > >-FLAGS = [] >+FLAGS = ['static','flat'] > > # For security reasons the hosts for which access to the proxy is granted should be specified in the [IP] list. > # A '?' can be used as wildcard for a single digit and a '*' for a multiple digits. > # For example '10.0.?.*' grants access from 10.0.1.25 but not from 10.0.15.25. > >-IP = ['127.0.0.1'] >+IP = ['127.0.0.1','192.168.*.*','10.*.*.*'] > > # The proxy server can be monitored via telnet on port [TELNET]. > # This is disabled by entering a zero value. > # Otherwise make sure the port is available or replicator will not start. > >-TELNET = 8081 >+TELNET = 0 > > # The process user id is set to [USER]. > # The daemon must be started as root because no other user can change into another. > # Not even [USER] can change into itself! > >-USER = 'proxy' >+USER = 'portage' > > # All cached files ar saved in directory [DIR]. > # The [USER] should of course have write permission in this directory. > # Where in this directory the files are actually put depends on if the server is in flat mode. > # By default the entire directory structure is copied. > >-DIR = '/home/cache' >+DIR = '/var/cache/http-replicator' > > # The process id of the running process is saved in [PID]. > # As this is done before changing into [USER], write permission for [USER] for this file is not needed. >@@ -56,4 +93,5 @@ > # For example a value of one will delete all versions but the most recent. > # The script is disabled by setting this value to zero. > >+# Not implemented in Gentoo yet! > KEEP = 2
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 50872
:
31285
|
31286
|
31288
|
31289
|
31393
|
31571
|
31572
|
31573
|
32673
|
32674
|
32675
|
32676
|
32677
|
37148
|
43011
|
43012
|
43013
|
43014