Skip to contentSkip to conversation

Version check in aclocal/kerberos.m5

DISCUSSION Steinar H. Gunderson 3 participants 4 messages Mar 30, 2008 – Mar 31, 2008 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

Does anyone know where the version check in aclocal/kerberos.m5 come from? I need to patch it (Debian's krb5-config --version gives a version like "1.6.3-beta1-debian", and it doesn't manage to strip away the -beta part), but it's not clear to me who upstream really is. (At least I've seen the code in several other projects.)

Any ideas?

/* Steinar */

Signature · 1 line
Homepage: http://www.sesse.net/

A message that is not in the archive (sent off-list or not yet received): 20080330103159.GA4003-6Z/[email protected]

#2 lore raw
Quoted 9 lines · Steinar H. Gunderson

Hi,

Does anyone know where the version check in aclocal/kerberos.m5 come from? I need to patch it (Debian's krb5-config --version gives a version like "1.6.3-beta1-debian", and it doesn't manage to strip away the -beta part), but it's not clear to me who upstream really is. (At least I've seen the code in several other projects.)

Any ideas?

Hello Steinar,
I'm not clear what you are looking to patch?

It should be possible to improve the parsing in aclocal/kerberos5.m4 to handle this situation. Is that what you are looking for?

In hindsight, it probably makes more sense to use the version number in aclocal/kerberos5.m4 to set feature-specific definitions rather than continue to pass along the parsed version number. (The version number is currently used to determine which method to use to tell the Kerberos library where to find the credentials.)

K.C.

A message that is not in the archive (sent off-list or not yet received): 4d569c330803310615n1eb6e911o1e09c3df2ee5a7e2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw
Quoted 5 lines · Kevin Coffman

Hello Steinar,
I'm not clear what you are looking to patch?

It should be possible to improve the parsing in aclocal/kerberos5.m4 to handle this situation. Is that what you are looking for?

Yes, that was my idea.

My question was: Does this code actually originate in nfs-utils, or does it come from somewhere else?

/* Steinar */

Signature · 1 line
Homepage: http://www.sesse.net/

A message that is not in the archive (sent off-list or not yet received): 20080331132926.GA10294-6Z/[email protected]

#6 lore raw
Quoted 11 lines · Steinar H. Gunderson
Quoted 5 lines · Kevin Coffman

Hello Steinar,
I'm not clear what you are looking to patch?

It should be possible to improve the parsing in aclocal/kerberos5.m4 to handle this situation. Is that what you are looking for?

Yes, that was my idea.

My question was: Does this code actually originate in nfs-utils, or does it come from somewhere else?

AFAIK, I am the only one to blame. There are other versions of configure tests for K5, but none that try to use the version number...