Changeset 24106

Show
Ignore:
Timestamp:
10/20/09 12:10:09 (5 weeks ago)
Author:
broder
Message:

Testing installability in maybe-krb4-config didn't work either, so
instead let's examine the version of kerberos-configs that's available
ot us.

Location:
trunk/debathena/meta/maybe-krb4-config/debian
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/debathena/meta/maybe-krb4-config/debian/changelog

    r24105 r24106  
    22 
    33  * Because we already have packages depending on krb4-config, it's always 
    4     going to be in apt's cache. A better question is whether or not we can 
    5     install the package. 
     4    going to be in apt's cache. Instead of trying to test for that, just 
     5    use the version number of krb4-config's source package to figure out 
     6    if it's still around. 
    67 
    78 -- Evan Broder <broder@mit.edu>  Tue, 20 Oct 2009 11:45:50 -0400 
  • trunk/debathena/meta/maybe-krb4-config/debian/rules

    r24105 r24106  
    33include /usr/share/cdbs/1/rules/debhelper.mk 
    44 
    5 HAVE_KRB4_CONFIG = $(shell apt-get install -qqs krb4-config >/dev/null 2>&1 && echo yes) 
     5KERBEROS_CONFIGS_VERSION = $(shell apt-cache showsrc kerberos-configs | grep-dctrl -n -s Version '' | head -n1) 
     6HAVE_KRB4_CONFIG = $(shell dpkg --compare-versions "$(KERBEROS_CONFIGS_VERSION)" lt '2.1~' && echo yes) 
    67 
    78ifneq ($(HAVE_KRB4_CONFIG),)