ports/168386: Heimdal 1.5.2 port looking for krb5.conf in two separate places
Robert Simmons
rsimmons0 at gmail.com
Sun May 27 18:10:01 UTC 2012
>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:
More information about the freebsd-ports-bugs
mailing list