From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 30 03:40:16 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1D3716A412 for ; Sat, 30 Sep 2006 03:40:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 136D243D49 for ; Sat, 30 Sep 2006 03:40:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8U3eFua070924 for ; Sat, 30 Sep 2006 03:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8U3eFQd070923; Sat, 30 Sep 2006 03:40:15 GMT (envelope-from gnats) Resent-Date: Sat, 30 Sep 2006 03:40:15 GMT Resent-Message-Id: <200609300340.k8U3eFQd070923@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Shaun Amott Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51AE516A47C for ; Sat, 30 Sep 2006 03:31:02 +0000 (UTC) (envelope-from shaun@inerd.com) Received: from dione.picobyte.net (host-212-158-207-124.bulldogdsl.com [212.158.207.124]) by mx1.FreeBSD.org (Postfix) with SMTP id 8D10643D5D for ; Sat, 30 Sep 2006 03:31:01 +0000 (GMT) (envelope-from shaun@inerd.com) Received: from charon.picobyte.net (charon.picobyte.net [IPv6:2001:4bd0:201e::fe03]) by dione.picobyte.net (Postfix) with ESMTP for ; Sat, 30 Sep 2006 04:30:59 +0100 (BST) Message-Id: <1159587059.20473@charon.picobyte.net> Date: Sat, 30 Sep 2006 04:30:59 +0100 From: Shaun Amott To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/103837: [PATCH] mail/dovecot fails to compile in GSSAPI support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Shaun Amott List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Sep 2006 03:40:16 -0000 >Number: 103837 >Category: ports >Synopsis: [PATCH] mail/dovecot fails to compile in GSSAPI support >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 30 03:40:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Shaun Amott >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: >Description: Dovecot silently fails to find and enable GSSAPI support, despite the the fact the GSSAPI OPTION was selected. >How-To-Repeat: - Enable GSSAPI support. - Build and install Dovecot. - Find that GSSAPI auth doesn't work. >Fix: --- dovecot.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/mail/dovecot/Makefile,v retrieving revision 1.52 diff -u -r1.52 Makefile --- Makefile 24 Sep 2006 12:31:29 -0000 1.52 +++ Makefile 30 Sep 2006 03:26:51 -0000 @@ -8,7 +8,7 @@ PORTNAME= dovecot DISTVERSION= 1.0.rc7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail ipv6 MASTER_SITES= http://www.dovecot.org/releases/ @@ -106,6 +106,13 @@ CONFIGURE_ARGS+= --disable-ipv6 .endif +post-patch: +.if defined(WITH_GSSAPI) + @${REINPLACE_CMD} -e 's,,,' \ + ${WRKSRC}/src/auth/mech-gssapi.c \ + ${WRKSRC}/configure +.endif + post-build: @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \ ${WRKSRC}/dovecot-example.conf --- dovecot.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: