Lines 6-13
EAPI="2"
Link Here
|
6 |
|
6 |
|
7 |
inherit eutils pam toolchain-funcs |
7 |
inherit eutils pam toolchain-funcs |
8 |
|
8 |
|
9 |
RESTRICT="test" # check if test works in next bump |
|
|
10 |
|
11 |
DESCRIPTION="A full-featured web proxy cache" |
9 |
DESCRIPTION="A full-featured web proxy cache" |
12 |
HOMEPAGE="http://www.squid-cache.org/" |
10 |
HOMEPAGE="http://www.squid-cache.org/" |
13 |
SRC_URI="http://www.squid-cache.org/Versions/v3/3.1/${P/_beta}.tar.gz" |
11 |
SRC_URI="http://www.squid-cache.org/Versions/v3/3.1/${P/_beta}.tar.gz" |
Lines 15-21
SRC_URI="http://www.squid-cache.org/Vers
Link Here
|
15 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
16 |
SLOT="0" |
14 |
SLOT="0" |
17 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
15 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
18 |
IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux icap-client logrotate \ |
16 |
IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux test icap-client logrotate \ |
19 |
mysql postgres sqlite \ |
17 |
mysql postgres sqlite \ |
20 |
zero-penalty-hit \ |
18 |
zero-penalty-hit \ |
21 |
pf-transparent ipf-transparent kqueue \ |
19 |
pf-transparent ipf-transparent kqueue \ |
Lines 34-40
COMMON_DEPEND="caps? ( >=sys-libs/libcap
Link Here
|
34 |
DEPEND="${COMMON_DEPEND} |
32 |
DEPEND="${COMMON_DEPEND} |
35 |
sys-devel/automake |
33 |
sys-devel/automake |
36 |
sys-devel/autoconf |
34 |
sys-devel/autoconf |
37 |
sys-devel/libtool" |
35 |
sys-devel/libtool |
|
|
36 |
test? ( dev-util/cppunit )" |
38 |
RDEPEND="${COMMON_DEPEND} |
37 |
RDEPEND="${COMMON_DEPEND} |
39 |
samba? ( net-fs/samba ) |
38 |
samba? ( net-fs/samba ) |
40 |
mysql? ( dev-perl/DBD-mysql ) |
39 |
mysql? ( dev-perl/DBD-mysql ) |
Lines 58-65
pkg_setup() {
Link Here
|
58 |
|
57 |
|
59 |
src_prepare() { |
58 |
src_prepare() { |
60 |
epatch "${FILESDIR}"/${PN}-3-capability.patch |
59 |
epatch "${FILESDIR}"/${PN}-3-capability.patch |
61 |
epatch "${FILESDIR}"/${P}-gentoo.patch |
60 |
epatch "${FILESDIR}"/${PN}-3.1.0.9_beta-gentoo.patch |
62 |
epatch "${FILESDIR}"/${P}-invconv.patch |
61 |
epatch "${FILESDIR}"/${PN}-3.1.0.9_beta-invconv.patch |
63 |
|
62 |
|
64 |
# eautoreconf breaks lib/libLtdl/libtool script |
63 |
# eautoreconf breaks lib/libLtdl/libtool script |
65 |
./bootstrap.sh || die "autoreconf failed" |
64 |
./bootstrap.sh || die "autoreconf failed" |