Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2012 18:02:35 GMT
From:      Robert Simmons <rsimmons0@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/168386: Heimdal 1.5.2 port looking for krb5.conf in two separate places
Message-ID:  <201205271802.q4RI2Zhb038457@red.freebsd.org>
Resent-Message-ID: <201205271810.q4RIA15l002048@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         168386
>Category:       ports
>Synopsis:       Heimdal 1.5.2 port looking for krb5.conf in two separate places
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 27 18:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Robert Simmons
>Release:        9.0-RELEASE
>Organization:
>Environment:
>Description:
kadmind and kdc both look for krb5.conf in /usr/local/etc, but kpasswdd and kstash look for it in /etc.
>How-To-Repeat:
Install the port, then run kstash.  You get an error unless you have the krb5.conf file in /etc in addition to /usr/local/etc.  kstash is part of the server utilities, so it's conf file should be in /usr/local/etc.
>Fix:
Workaround: make a symlink from /usr/local/etc/krb5.conf to /etc/krb5.conf

A patch to fix the port is attached.

Patch attached with submission follows:

--- Makefile.old	2012-05-27 13:53:01.132516965 -0400
+++ Makefile	2012-05-27 13:54:13.928517659 -0400
@@ -7,7 +7,7 @@
 
 PORTNAME=	heimdal
 PORTVERSION=	1.5.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security ipv6
 MASTER_SITES=	http://www.h5l.org/dist/src/ \
 		http://ftp.pdc.kth.se/pub/heimdal/src/ \
@@ -39,7 +39,8 @@
 CONFIGURE_ARGS+=	--with-libintl=${LOCALBASE} \
 			--with-readline=${DESTDIR}/usr \
 			--enable-pthread-support \
-			--with-hdbdir=/var/db/${PORTNAME}
+			--with-hdbdir=/var/db/${PORTNAME} \
+			--sysconfdir=${LOCALBASE}/etc
 MAKE_ENV+=	INSTALL_CATPAGES=no
 
 INFO=		heimdal hx509


>Release-Note:
>Audit-Trail:
>Unformatted:



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