Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 15:51:50 +0200
From:      Barbara Guida <barbara.freebsd@gmail.com>
To:        gnome@FreeBSD.org
Subject:   Re: databases/evolution-data-server: option helper for kerberos
Message-ID:  <535BB9F6.4060705@gmail.com>
In-Reply-To: <535A89A6.5020805@gmail.com>
References:  <535A63BD.5020202@gmail.com> <535A89A6.5020805@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Barbara Guida wrote:
> Barbara Guida wrote:
>> Hi, I'm trying to upgrade evolution-data-server, but I'm
>> receiving an error during configure phase.
> 
>> I think that, according to bsd.options.mk, the following line is 
>> not correct: KERBEROS_CONFIGURE_WITH=	--with-krb5=/usr as it
>> should be: KERBEROS_CONFIGURE_WITH=	krb5=/usr else it should get
>> expanded as something like --with---with-krb5
> 
>> And also fixing the helper it can't be used because making config
>>  without kerberos should result in --without-krb5=/usr which
>> causes configure error.
> 
>> So I think that this part should be reverted as in the attached 
>> patch.
> 
> 
>> Regards Barbara
> 
> 
> Here's the result of all possible combinations:
> 
> Original with kerberos --enable-static --enable-gnome-keyring=yes
> --with-openldap=yes --with-libdb=/usr/local --with---with-krb5=/usr
> --without-weather --localstatedir=/usr/local/share
> --with-html-dir=/usr/local/share/doc --disable-gtk-doc 
> --with-gconf-source=xml:merged:/usr/local/etc/gconf/gconf.xml.defaults
>
> 
- --prefix=/usr/local
> configure: WARNING: unrecognized options: --with---with-krb5 
> Result: Kerberos 5:		no
> 
> Original without kerberos --enable-static
> --enable-gnome-keyring=yes --with-openldap=yes 
> --with-libdb=/usr/local --without---with-krb5=/usr
> --without-weather --localstatedir=/usr/local/share
> --with-html-dir=/usr/local/share/doc --disable-gtk-doc 
> --with-gconf-source=xml:merged:/usr/local/etc/gconf/gconf.xml.defaults
>
> 
- --prefix=/usr/local
> Result: configure: error: invalid package name: --with-krb5=/usr
> 
> Patched with kerberos --enable-static --enable-gnome-keyring=yes
> --with-openldap=yes --with-libdb=/usr/local --without-weather
> --with-krb5=/usr --localstatedir=/usr/local/share
> --with-html-dir=/usr/local/share/doc --disable-gtk-doc 
> --with-gconf-source=xml:merged:/usr/local/etc/gconf/gconf.xml.defaults
>
> 
- --prefix=/usr/local
> Result: Kerberos 5:		yes (Heimdal)
> 
> Patched without kerberos --enable-static --enable-gnome-keyring=yes
> --with-openldap=yes --with-libdb=/usr/local --without-weather 
> --localstatedir=/usr/local/share
> --with-html-dir=/usr/local/share/doc --disable-gtk-doc 
> --with-gconf-source=xml:merged:/usr/local/etc/gconf/gconf.xml.defaults
>
> 
- --prefix=/usr/local
> Result: Kerberos 5:		no
> 
> Regards Barbara
> 

According to the above tests, PORTREVISION should be bumped, otherwise
in the firse case the result as not as expected (checked KERBEROS->no
kerberos).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJTW7n2AAoJECfdb9Y99fdQeIsIALCUz3E2dkyhL6SfQzI/csAJ
AM27IVhnflWfKJgBrrQMjuH8h+DSml03NqUD4fhpMzQsXK/FaXLaP9AzxmTXB6ry
OCw8gXTYF0q8bMTcTxXyt7MK2qVho3t8h+wJqorDyudVm8zKwiMk+FDlwP8VDwI6
42SvWmLve1GKf3vg/+AEx6B4Naa6mAe0xLfaF5oWn4rHs5J0ckS2pDanBHIzKIQp
mbXdnYDmgNqoANDICfgYin4V2680mBvnDkWKwqjW+q7GMFRBaTFAR5dOdDwKUZUF
xytJzcUlk4RzpaEYgcVNzahv/PyTA1MSgCOh+9VTysNwTTjWTtLwvSExHkiz7bk=
=6ZAI
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?535BB9F6.4060705>