Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606994 - net-proxy/squid ebuild patch to support upstream patch releases and beta versions
Summary: net-proxy/squid ebuild patch to support upstream patch releases and beta vers...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2017-01-24 09:17 UTC by Vieri
Modified: 2019-02-24 10:52 UTC (History)
0 users

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


Attachments
gentoo patch file in FILESDIR (squid-4.0.17-gentoo.patch,2.52 KB, patch)
2017-01-24 09:18 UTC, Vieri
Details | Diff
squid ebuild patch (squid-3.5.23.ebuild.diff,5.89 KB, patch)
2017-01-24 09:18 UTC, Vieri
Details | Diff
patch to be applied to squid 3.5.26 ebuild (squid-3.5.27.ebuild.patch,1.26 KB, patch)
2017-09-29 08:34 UTC, Vieri
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vieri 2017-01-24 09:17:11 UTC
Upstream releases stable patched versions as well as beta and patched beta versions.

I'm attaching a patch for the latest Gentoo squid ebuild to support these versions.

I'm not sure the ebuild file name format for _p is correct but it "works for me".
The problem is that even if the official Gentoo docs state that it should be _pYYYYMMDD, the upstream release cycle can be faster and one can find more than one revision on the same day.

The advantage of applying the ebuild patch I propose is that you can then simply copy the following files:

squid-3.5.23_p2016122614129.ebuild
squid-4.0.17_beta.ebuild
squid-4.0.17_beta_p2017012214968.ebuild

and you can emerge any one of:

squid-3.5.23-20161226-r14129
squid-4.0.17
squid-4.0.17-20170122-r14968

I'm also attaching the FILESDIR gentoo patch for Squid 4.
Comment 1 Vieri 2017-01-24 09:18:00 UTC
Created attachment 461140 [details, diff]
gentoo patch file in FILESDIR
Comment 2 Vieri 2017-01-24 09:18:35 UTC
Created attachment 461142 [details, diff]
squid ebuild patch
Comment 3 Vieri 2017-09-29 08:34:13 UTC
Created attachment 496994 [details, diff]
patch to be applied to squid 3.5.26 ebuild

Upstream has changed the file format.
So now I'm attaching a new proposal. It's a simple patch for the 3.5 ebuild.
Known to work for squid 3.5.27 and 3.5.26.
Will not propose Squid 4 for now.
The patch relies on a new init script which can be found here:
https://bugs.gentoo.org/629066
Comment 4 Vieri 2017-11-09 13:23:11 UTC
Please take a look at this bug report too: https://bugs.gentoo.org/629066