1 |
Hello, |
2 |
|
3 |
I've been slowly going through the packages I use and enabling |
4 |
kerberos and skey support where possible (openssh, cyrus-sasl, |
5 |
etc.). I'd like to submit the appropriate ebuild patches so |
6 |
this can end up in the base, but I have a questions about |
7 |
kerberos and dependencies first. |
8 |
|
9 |
|
10 |
1. I've added/defined 3 new USE variables: kerberos4, kerberos5 and |
11 |
skey. |
12 |
|
13 |
|
14 |
2. Each version of kerberos can be provided by more than one |
15 |
package, so I've created 2 new virtual packages by adding |
16 |
PROVIDE lines as follows: |
17 |
|
18 |
app-crypt/krb5 and app-crypt/heimdal: |
19 |
|
20 |
PROVIDE="virtual/kerberos5 virtual/kerberos4" |
21 |
|
22 |
app-crypt/kth-krb: |
23 |
|
24 |
PROVIDE="virtual/kerberos4" |
25 |
|
26 |
|
27 |
3. I've then started adding new dependencies for the various |
28 |
utilities, such as cyrus-sasl: |
29 |
|
30 |
dev/libs/cyrus-sasl/cyrus-sasl-1.5.27-r1.ebuild: |
31 |
|
32 |
DEPEND="... kerberos4? ( virtual/kerberos4 ) kerberos5? ( virtual/kerberos5 )" |
33 |
|
34 |
src_compile() { |
35 |
local myconf |
36 |
use kerberos4 && myconf="${myconf} --enable-krb4" |
37 |
use kerberos4 || myconf="${myconf} --disable-krb4" |
38 |
use kerberos5 && myconf="${myconf} --enable-gssapi" |
39 |
use kerberos5 || myconf="${myconf} --disable-gssapi" |
40 |
... |
41 |
|
42 |
Am I on the right track here? It seems to work, but I want to |
43 |
make certain I'm headed in the right direction before I go much |
44 |
further. |
45 |
|
46 |
Thanks, |
47 |
|
48 |
Dave Love |