From owner-freebsd-ports@FreeBSD.ORG Sun May 27 19:33:11 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BCA7106564A for ; Sun, 27 May 2012 19:33:11 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.49.45]) by mx1.freebsd.org (Postfix) with ESMTP id E55588FC08 for ; Sun, 27 May 2012 19:33:10 +0000 (UTC) Received: by syn.atarininja.org (Postfix, from userid 1001) id 6B0EB5C45; Sun, 27 May 2012 15:33:09 -0400 (EDT) Date: Sun, 27 May 2012 15:33:09 -0400 From: Wesley Shields To: Robert Simmons Message-ID: <20120527193309.GC38274@atarininja.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: joerg.pulz@frm2.tum.de, freebsd-ports@freebsd.org Subject: Re: More Heimdal 1.5.2 port problems X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2012 19:33:11 -0000 On Sun, May 27, 2012 at 01:58:23PM -0400, Robert Simmons wrote: > On Sat, May 26, 2012 at 3:22 PM, Robert Simmons wrote: > > I've found another problem with the port. > > > > kadmind and kdc both look for krb5.conf in /usr/local/etc, but > > kpasswdd and kstash look for it in /etc. ?This can be fixed with a > > symlink, but I feel like that's not the best solution. ?Ultimately, > > all the heimdal utilities and daemons should be looking in the same > > location for krb5.conf, correct? > > > > I don't see any flags for kstash or kpasswdd to change where they look > > for krb5.conf. > > > > I'm going to go back and compile it from source again and see if there > > is another configure flag that is missing from the port. > > I've attached a patch for this problem. Please review it and make > sure this is the right way to fix the problem. > --- 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 You want to use PREFIX instead of LOCALBASE for sysconfdir. PREFIX is where the port will install into, LOCALBASE is where the dependencies will be looked for. It's almost always the case that PREFIX is the same as LOCALBASE but we should support them being different. Otherwise the patch looks sane to me. Awaiting Joerg's input before I commit. Thanks again! -- WXS