Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jul 2014 23:15:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191644] New: mail/evolution and mail/evolution-exchange will not build on a system without Kerberos
Message-ID:  <bug-191644-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191644

            Bug ID: 191644
           Summary: mail/evolution and mail/evolution-exchange will not
                    build on a system without Kerberos
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: Normal
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: paul@dokas.name

Both mail/evolution and mail/evolution-exchange will not build on a system that
was built without kerberos.

I set the following in /etc/src.conf:

  WITHOUT_KERBEROS="TRUE"

Both of these ports (which are deps of various parts of Gnome) will attempt to
build Heimdahl

How-To-Repeat:
Build a system without kerberos and attempt to build either mail/evolution or
mail/evolution-exchange.

Fix:
Both packages require the same fix.  There is an extra check for NO_KERBEROS
that causes these ports to attempt to build heimdahl when no other kerberos is
present.


/usr/ports/mail/evolution # diff -c Makefile.orig Makefile
*** Makefile.orig    Sat Jul  5 17:46:20 2014
--- Makefile    Sat Jul  5 17:46:27 2014
***************
*** 70,76 ****
  RUN_DEPENDS+=    spamassassin:${PORTSDIR}/mail/spamassassin
  .endif

! .if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL) || defined(NO_KERBEROS)
  HEIMDAL_HOME?=        ${LOCALBASE}
  LIB_DEPENDS+=        libkrb5.so:${PORTSDIR}/security/heimdal
  CONFIGURE_ARGS+=    --with-krb5=${HEIMDAL_HOME} \
--- 70,76 ----
  RUN_DEPENDS+=    spamassassin:${PORTSDIR}/mail/spamassassin
  .endif

! .if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL)
  HEIMDAL_HOME?=        ${LOCALBASE}
  LIB_DEPENDS+=        libkrb5.so:${PORTSDIR}/security/heimdal
  CONFIGURE_ARGS+=    --with-krb5=${HEIMDAL_HOME} \



/usr/ports/mail/evolution-exchange # diff -c Makefile.orig Makefile
*** Makefile.orig    Sat Jul  5 17:46:39 2014
--- Makefile    Sat Jul  5 17:46:46 2014
***************
*** 39,45 ****

  .include <bsd.port.pre.mk>

! .if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL) || defined(NO_KERBEROS)
  HEIMDAL_HOME?=        ${LOCALBASE}
  LIB_DEPENDS+=           libkrb5.so:${PORTSDIR}/security/heimdal
  CONFIGURE_ARGS+=        --with-krb5=${HEIMDAL_HOME} \
--- 39,45 ----

  .include <bsd.port.pre.mk>

! .if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL)
  HEIMDAL_HOME?=        ${LOCALBASE}
  LIB_DEPENDS+=           libkrb5.so:${PORTSDIR}/security/heimdal
  CONFIGURE_ARGS+=        --with-krb5=${HEIMDAL_HOME} \

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191644-13>