public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Kerberos questions
@ 2002-05-07 13:54 Dave Love
  2002-05-07 16:13 ` Jano Lukac
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Love @ 2002-05-07 13:54 UTC (permalink / raw
  To: gentoo-dev

Hello,

I've been slowly going through the packages I use and enabling
kerberos and skey support where possible (openssh, cyrus-sasl, 
etc.).  I'd like to submit the appropriate ebuild patches so 
this can end up in the base, but I have a questions about 
kerberos and dependencies first.


1. I've added/defined 3 new USE variables:  kerberos4, kerberos5 and 
skey.


2. Each version of kerberos can be provided by more than one
package, so I've created 2 new virtual packages by adding
PROVIDE lines as follows:

app-crypt/krb5 and app-crypt/heimdal:

 PROVIDE="virtual/kerberos5 virtual/kerberos4"

app-crypt/kth-krb:

 PROVIDE="virtual/kerberos4"


3. I've then started adding new dependencies for the various
utilities, such as cyrus-sasl:

dev/libs/cyrus-sasl/cyrus-sasl-1.5.27-r1.ebuild:

  DEPEND="... kerberos4? ( virtual/kerberos4 ) kerberos5? ( virtual/kerberos5 )"

  src_compile() {
    local myconf
    use kerberos4 && myconf="${myconf} --enable-krb4"
    use kerberos4 || myconf="${myconf} --disable-krb4"
    use kerberos5 && myconf="${myconf} --enable-gssapi"
    use kerberos5 || myconf="${myconf} --disable-gssapi"
    ...

Am I on the right track here?  It seems to work, but I want to
make certain I'm headed in the right direction before I go much
further.

Thanks,

 Dave Love



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-08 14:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-07 13:54 [gentoo-dev] Kerberos questions Dave Love
2002-05-07 16:13 ` Jano Lukac
2002-05-07 18:50   ` Dave Love
2002-05-07 23:15   ` jboyens
2002-05-08 13:51     ` Dave Love
2002-05-08 14:24       ` Thilo Bangert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox