Lines 20-25
Link Here
|
20 |
SLOT="2" |
20 |
SLOT="2" |
21 |
IUSE="authdaemond berkdb crypt gdbm kerberos ldap mysql ntlm_unsupported_patch pam postgres sample srp ssl urandom" |
21 |
IUSE="authdaemond berkdb crypt gdbm kerberos ldap mysql ntlm_unsupported_patch pam postgres sample srp ssl urandom" |
22 |
|
22 |
|
|
|
23 |
# virtual/krb5 support |
24 |
use kerberos && KRB5_CONFIG="/usr/bin/krb5-config" |
25 |
|
26 |
|
23 |
RDEPEND="authdaemond? ( || ( >=net-mail/courier-imap-3.0.7 >=mail-mta/courier-0.46 ) ) |
27 |
RDEPEND="authdaemond? ( || ( >=net-mail/courier-imap-3.0.7 >=mail-mta/courier-0.46 ) ) |
24 |
berkdb? ( >=sys-libs/db-3.2 ) |
28 |
berkdb? ( >=sys-libs/db-3.2 ) |
25 |
gdbm? ( >=sys-libs/gdbm-1.8.0 ) |
29 |
gdbm? ( >=sys-libs/gdbm-1.8.0 ) |
Lines 89-98
Link Here
|
89 |
# Fix QA issues. |
93 |
# Fix QA issues. |
90 |
append-flags -fno-strict-aliasing |
94 |
append-flags -fno-strict-aliasing |
91 |
append-flags -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED |
95 |
append-flags -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED |
|
|
96 |
append-flags -I`krb5-config --cflags |sed -e's/^-I\([^ ]*\)\($\| .*$\)/\1/'` |
97 |
append_ldflags -L`krb5-config --libs |sed -e's/^-L\([^ ]*\)\($\| .*$\)/\1/'` |
92 |
|
98 |
|
93 |
# Java support. |
99 |
# Java support. |
94 |
use java && export JAVAC="${JAVAC} ${JAVACFLAGS}" |
100 |
use java && export JAVAC="${JAVAC} ${JAVACFLAGS}" |
95 |
|
101 |
|
96 |
local myconf="--enable-login --enable-ntlm --enable-auth-sasldb --disable-krb4 --disable-otp" |
102 |
local myconf="--enable-login --enable-ntlm --enable-auth-sasldb --disable-krb4 --disable-otp" |
97 |
myconf="${myconf} `use_with ssl openssl`" |
103 |
myconf="${myconf} `use_with ssl openssl`" |
98 |
myconf="${myconf} `use_with pam`" |
104 |
myconf="${myconf} `use_with pam`" |
Lines 102-107
Link Here
|
102 |
myconf="${myconf} `use_enable kerberos gssapi`" |
108 |
myconf="${myconf} `use_enable kerberos gssapi`" |
103 |
myconf="${myconf} `use_with mysql` `use_enable mysql`" |
109 |
myconf="${myconf} `use_with mysql` `use_enable mysql`" |
104 |
myconf="${myconf} `use_enable postgres`" |
110 |
myconf="${myconf} `use_enable postgres`" |
|
|
111 |
#myconf="${myconf} `--with-gss_impl=heimdal`" |
112 |
use kerberos && myconf="${myconf} --enable-gssapi=`${KRB5_CONFIG} --prefix |sed -e's/^-I\([^ ]*\)\($\| .*$\)/\1/'`" |
105 |
use postgres && myconf="${myconf} `use_with postgres pgsql $(pg_config --libdir)`" |
113 |
use postgres && myconf="${myconf} `use_with postgres pgsql $(pg_config --libdir)`" |
106 |
|
114 |
|
107 |
# Add srp USE (bug #81970). |
115 |
# Add srp USE (bug #81970). |