Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 392618 Details for
Bug 442874
net-proxy/http-replicator - local rsync server reports install flash player as wrong size
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
modify portage's default FETCHCOMMAND to supply new header
portage-unique-cache-name.patch (text/plain), 1.41 KB, created by
Matthew Ogilvie
on 2014-12-29 06:38:01 UTC
(
hide
)
Description:
modify portage's default FETCHCOMMAND to supply new header
Filename:
MIME Type:
Creator:
Matthew Ogilvie
Created:
2014-12-29 06:38:01 UTC
Size:
1.41 KB
patch
obsolete
>commit 507eddf597305bac7c8b5db3ad1d89a2f2a019cf >Author: Matthew Ogilvie <mmogilvi_gnto@miniinfo.net> >Date: Sun Dec 28 18:33:52 2014 -0700 > > add --header="X-unique-cache-name: $FILE" to default FETCHCOMMAND > > If a cache like http-replicator recognizes this header, then it > can use the ebuild-specified unique name instead of the filename > part of URL to cache the file, which works better if the URL > is not unique (changes over time, or is only unique in the > directory portion). For example, helps with caching > adobe-flash packages. > > See gentoo bug # 442874 > >diff --git a/cnf/make.globals b/cnf/make.globals >index 013c556..716be90 100644 >--- a/cnf/make.globals >+++ b/cnf/make.globals >@@ -36,8 +36,8 @@ RPMDIR="/usr/portage/rpm" > PORTAGE_TMPDIR="/var/tmp" > > # Fetching command (3 tries, passive ftp for firewall compatibility) >-FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" >-RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" >+FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" --header=\"X-unique-cache-name: \${FILE}\" \"\${URI}\"" >+RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" --header=\"X-unique-cache-name: \${FILE}\" \"\${URI}\"" > > FETCHCOMMAND_RSYNC="rsync -avP \"\${URI}\" \"\${DISTDIR}/\${FILE}\"" > RESUMECOMMAND_RSYNC="rsync -avP \"\${URI}\" \"\${DISTDIR}/\${FILE}\""
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 442874
:
329342
|
392616
| 392618 |
392620
|
393508
|
393512
|
393518
|
394206
|
394208
|
394210
|
428742
|
428792
|
429496
|
429522