From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 11 16:40:13 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B582106567F for ; Fri, 11 May 2012 16:40:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EF0688FC16 for ; Fri, 11 May 2012 16:40:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4BGeCPP005988 for ; Fri, 11 May 2012 16:40:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4BGeCWO005987; Fri, 11 May 2012 16:40:12 GMT (envelope-from gnats) Resent-Date: Fri, 11 May 2012 16:40:12 GMT Resent-Message-Id: <201205111640.q4BGeCWO005987@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, Ryan Steinmetz Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0071D1065670 for ; Fri, 11 May 2012 16:31:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id DF7338FC08 for ; Fri, 11 May 2012 16:31:13 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q4BGVDXW075219 for ; Fri, 11 May 2012 16:31:13 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q4BGVDlo075217; Fri, 11 May 2012 16:31:13 GMT (envelope-from nobody) Message-Id: <201205111631.q4BGVDlo075217@red.freebsd.org> Date: Fri, 11 May 2012 16:31:13 GMT From: Ryan Steinmetz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/167803: [patch] Fix mail/opendkim whenever WITH_FILTER is not specified X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2012 16:40:13 -0000 >Number: 167803 >Category: ports >Synopsis: [patch] Fix mail/opendkim whenever WITH_FILTER is not specified >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 11 16:40:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ryan Steinmetz >Release: >Organization: Rochester Institute of Technology >Environment: >Description: If mail/opendkim is built WITHOUT_FILTER, installation will fail due to a logic error in post-install: test -z "/usr/ports/mail/opendkim/work/doc" || build-aux/install-sh -c -d "/usr/ports/mail/opendkim/work/doc" install -o root -g wheel -m 444 FEATURES KNOWNBUGS LICENSE LICENSE.Sendmail RELEASE_NOTES.Sendmail '/usr/ports/mail/opendkim/work/doc' /usr/bin/strip: '/usr/local/sbin/opendkim': No such file *** Error code 1 Stop in /usr/ports/mail/opendkim. *** Error code 1 Stop in /usr/ports/mail/opendkim. >How-To-Repeat: Build/install mail/opendkim without FILTER selected in OPTIONS. >Fix: Apply the attached patch. Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/opendkim/Makefile,v retrieving revision 1.15 diff -u -r1.15 Makefile --- Makefile 10 Apr 2012 09:20:44 -0000 1.15 +++ Makefile 11 May 2012 16:27:29 -0000 @@ -141,7 +141,7 @@ .endif post-install: -.if !defined(WITH_DEBUG) +.if !defined(WITH_DEBUG) && defined(WITH_FILTER) && !defined(WITHOUT_FILTER) @${STRIP_CMD} ${PREFIX}/sbin/opendkim .endif @${MKDIR} ${PREFIX}/etc/mail >Release-Note: >Audit-Trail: >Unformatted: