Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186487 - net-proxy/http-replicator repcacheman script is broken
Summary: net-proxy/http-replicator repcacheman script is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal
Assignee: Maurice van der Pot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-24 16:54 UTC by Jakob Truelsen
Modified: 2007-08-06 17:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
new repcacheman (repcacheman.patch,3.68 KB, patch)
2007-07-24 16:56 UTC, Jakob Truelsen
Details | Diff
new ebuild (http-replicator-3.0-r1.ebuild,1.76 KB, patch)
2007-07-24 16:58 UTC, Jakob Truelsen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jakob Truelsen 2007-07-24 16:54:30 UTC
the repcacheman script is broken and seems to have been in a long while.. it expects to find MD5 digests in the files/ folder.. But portage has long since moved to having *other* digests in the Manifest file..


Reproducible: Always

Steps to Reproduce:

Actual Results:  
fails to import anything

Expected Results:  
import nonecorrupted files
Comment 1 Jakob Truelsen 2007-07-24 16:56:20 UTC
Created attachment 125887 [details, diff]
new repcacheman

This patch fixes the above mentioned issues with the repcacheman
Comment 2 Jakob Truelsen 2007-07-24 16:58:22 UTC
Created attachment 125888 [details, diff]
new ebuild

One could copy the old ebuild, changing only the number... But there is *no* reason checking for a version of portage from ~2004 :)
Comment 3 Jeff 2007-07-31 17:20:42 UTC
(In reply to comment #1)
> Created an attachment (id=125887) [edit]
> new repcacheman
> 
> This patch fixes the above mentioned issues with the repcacheman
> 

How exactly to apply this patch?

TIA
Comment 4 Jakob Truelsen 2007-08-01 08:58:34 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Created an attachment (id=125887) [edit]
> > new repcacheman
> > 
> > This patch fixes the above mentioned issues with the repcacheman
> > 
> 
> How exactly to apply this patch?
> 
> TIA
> 
Like always... Do

cd /usr/portage/net-proxy/http-replicator/
wget  "http://bugs.gentoo.org/attachment.cgi?id=125887&action=view" -O tmppatch
patch -p0 < tmppatch
mv files/http-replicator-3.0-repcacheman-0.33 files/http-replicator-3.0-repcacheman-0.34

And that should do the trick.. There is as always a bunch of other wayes to apply the patch...
Comment 5 Maurice van der Pot (RETIRED) gentoo-dev 2007-08-06 17:51:27 UTC
I committed a new revision of http-replicator that includes a new version of repcacheman (0.44) that was sent to me by the original author.

Thanks for the report.