Lines 21-30
Link Here
|
21 |
LICENSE="GPL-2" |
21 |
LICENSE="GPL-2" |
22 |
SLOT="0" |
22 |
SLOT="0" |
23 |
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~mips" |
23 |
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~mips" |
24 |
IUSE="pam ldap ssl sasl snmp debug uclibc selinux underscores logrotate customlog zero-penalty-hit" |
24 |
IUSE="pam ldap ssl sasl snmp debug selinux underscores logrotate customlog zero-penalty-hit" |
25 |
|
25 |
|
26 |
RDEPEND="virtual/libc |
26 |
RDEPEND="pam? ( virtual/pam ) |
27 |
pam? ( >=sys-libs/pam-0.75 ) |
|
|
28 |
ldap? ( >=net-nds/openldap-2.1.26 ) |
27 |
ldap? ( >=net-nds/openldap-2.1.26 ) |
29 |
ssl? ( >=dev-libs/openssl-0.9.6m ) |
28 |
ssl? ( >=dev-libs/openssl-0.9.6m ) |
30 |
sasl? ( >=dev-libs/cyrus-sasl-1.5.27 ) |
29 |
sasl? ( >=dev-libs/cyrus-sasl-1.5.27 ) |
Lines 51-58
Link Here
|
51 |
helpers/basic_auth/*/Makefile.in |
50 |
helpers/basic_auth/*/Makefile.in |
52 |
|
51 |
|
53 |
if ! use debug ; then |
52 |
if ! use debug ; then |
54 |
mv configure.in configure.in.orig |
53 |
sed -i -e 's%LDFLAGS="-g"%LDFLAGS=""%' configure.in |
55 |
sed -e 's%LDFLAGS="-g"%LDFLAGS=""%' configure.in.orig > configure.in |
|
|
56 |
export WANT_AUTOCONF=2.1 |
54 |
export WANT_AUTOCONF=2.1 |
57 |
autoconf || die "autoconf failed" |
55 |
autoconf || die "autoconf failed" |
58 |
fi |
56 |
fi |
Lines 60-66
Link Here
|
60 |
|
58 |
|
61 |
src_compile() { |
59 |
src_compile() { |
62 |
# Support for uclibc #61175 |
60 |
# Support for uclibc #61175 |
63 |
if use uclibc; then |
61 |
if use elibc_uclibc; then |
64 |
local basic_modules="getpwnam,NCSA,SMB,MSNT,multi-domain-NTLM,winbind" |
62 |
local basic_modules="getpwnam,NCSA,SMB,MSNT,multi-domain-NTLM,winbind" |
65 |
else |
63 |
else |
66 |
local basic_modules="getpwnam,YP,NCSA,SMB,MSNT,multi-domain-NTLM,winbind" |
64 |
local basic_modules="getpwnam,YP,NCSA,SMB,MSNT,multi-domain-NTLM,winbind" |
Lines 87-93
Link Here
|
87 |
fi |
85 |
fi |
88 |
|
86 |
|
89 |
# Support for uclibc #61175 |
87 |
# Support for uclibc #61175 |
90 |
if use uclibc; then |
88 |
if use elibc_uclibc; then |
91 |
myconf="${myconf} --enable-storeio='ufs,diskd,aufs,null' " |
89 |
myconf="${myconf} --enable-storeio='ufs,diskd,aufs,null' " |
92 |
myconf="${myconf} --disable-async-io " |
90 |
myconf="${myconf} --disable-async-io " |
93 |
else |
91 |
else |
Lines 173-184
Link Here
|
173 |
doman helpers/basic_auth/LDAP/*.8 |
171 |
doman helpers/basic_auth/LDAP/*.8 |
174 |
dodoc helpers/basic_auth/SASL/squid_sasl_auth* |
172 |
dodoc helpers/basic_auth/SASL/squid_sasl_auth* |
175 |
|
173 |
|
176 |
insinto /etc/pam.d |
174 |
newpamd "${FILESDIR}/squid.pam-include" squid |
177 |
newins ${FILESDIR}/squid.pam squid |
175 |
newinitd "${FILESDIR}/squid.rc6" squid |
178 |
exeinto /etc/init.d |
176 |
newconfd "${FILESDIR}/squid.confd" squid |
179 |
newexe ${FILESDIR}/squid.rc6 squid |
|
|
180 |
insinto /etc/conf.d |
181 |
newins ${FILESDIR}/squid.confd squid |
182 |
if use logrotate; then |
177 |
if use logrotate; then |
183 |
insinto /etc/logrotate.d |
178 |
insinto /etc/logrotate.d |
184 |
newins ${FILESDIR}/squid-logrotate squid |
179 |
newins ${FILESDIR}/squid-logrotate squid |