Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
EAPI=7 |
4 |
EAPI=7 |
5 |
|
5 |
|
6 |
WANT_AUTOMAKE="1.15" |
6 |
# works with 1.16 |
|
|
7 |
# WANT_AUTOMAKE="1.15" |
7 |
|
8 |
|
8 |
inherit autotools flag-o-matic linux-info pam toolchain-funcs |
9 |
inherit autotools flag-o-matic linux-info pam toolchain-funcs |
9 |
|
10 |
|
Lines 11-22
Link Here
|
11 |
HOMEPAGE="http://www.squid-cache.org/" |
12 |
HOMEPAGE="http://www.squid-cache.org/" |
12 |
|
13 |
|
13 |
# Upstream patch ID for the most recent bug-fixed update to the formal release. |
14 |
# Upstream patch ID for the most recent bug-fixed update to the formal release. |
14 |
r= |
15 |
#r= |
15 |
#r=-20181117-r0022167 |
16 |
r=-20200825-rf4ade365f |
16 |
if [ -z "$r" ]; then |
17 |
if [ -z "$r" ]; then |
17 |
SRC_URI="http://www.squid-cache.org/Versions/v${PV%.*}/${P}.tar.xz" |
18 |
SRC_URI="http://www.squid-cache.org/Versions/v${PV%%.*}/${P}.tar.xz" |
18 |
else |
19 |
else |
19 |
SRC_URI="http://www.squid-cache.org/Versions/v${PV%.*}/${P}${r}.tar.bz2" |
20 |
SRC_URI="http://www.squid-cache.org/Versions/v${PV%%.*}/${P}${r}.tar.bz2" |
20 |
S="${S}${r}" |
21 |
S="${S}${r}" |
21 |
fi |
22 |
fi |
22 |
|
23 |
|
Lines 175-180
Link Here
|
175 |
# Bug #719662 |
176 |
# Bug #719662 |
176 |
(use ppc || use arm || use hppa) && append-libs -latomic |
177 |
(use ppc || use arm || use hppa) && append-libs -latomic |
177 |
|
178 |
|
|
|
179 |
# econf needs enable-dependency-tracking for proper Squid 5 build |
178 |
econf \ |
180 |
econf \ |
179 |
--sysconfdir=/etc/squid \ |
181 |
--sysconfdir=/etc/squid \ |
180 |
--libexecdir=/usr/libexec/squid \ |
182 |
--libexecdir=/usr/libexec/squid \ |
Lines 217-223
Link Here
|
217 |
$(use_enable wccp) \ |
219 |
$(use_enable wccp) \ |
218 |
$(use_enable wccpv2) \ |
220 |
$(use_enable wccpv2) \ |
219 |
${transparent} \ |
221 |
${transparent} \ |
220 |
${myconf} |
222 |
${myconf} \ |
|
|
223 |
--enable-dependency-tracking |
221 |
} |
224 |
} |
222 |
|
225 |
|
223 |
src_install() { |
226 |
src_install() { |