From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 1 16:00:22 2011 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 BBF9E1065672 for ; Sun, 1 May 2011 16:00:22 +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 6F1678FC13 for ; Sun, 1 May 2011 16:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p41G0MVY086292 for ; Sun, 1 May 2011 16:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p41G0Mpj086291; Sun, 1 May 2011 16:00:22 GMT (envelope-from gnats) Resent-Date: Sun, 1 May 2011 16:00:22 GMT Resent-Message-Id: <201105011600.p41G0Mpj086291@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, Goran Lowkrantz Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AFA3106564A for ; Sun, 1 May 2011 15:59:57 +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 59C0F8FC13 for ; Sun, 1 May 2011 15:59:57 +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 p41FxuDk025812 for ; Sun, 1 May 2011 15:59:56 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p41Fxu59025808; Sun, 1 May 2011 15:59:56 GMT (envelope-from nobody) Message-Id: <201105011559.p41Fxu59025808@red.freebsd.org> Date: Sun, 1 May 2011 15:59:56 GMT From: Goran Lowkrantz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/156755: nullmailer package can't install as directory only create in ports install 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: Sun, 01 May 2011 16:00:22 -0000 >Number: 156755 >Category: ports >Synopsis: nullmailer package can't install as directory only create in ports install >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: Sun May 01 16:00:22 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Goran Lowkrantz >Release: FreeBSD 8.2-STABLE >Organization: isMobuile AB >Environment: FreeBSD midgard.glz.hidden-powers.com 8.2-STABLE FreeBSD 8.2-STABLE #97: Sat Apr 2 18:50:40 CEST 2011 root@midgard.glz.hidden-powers.com:/usr/obj/usr/src/sys/SERVER amd64 >Description: pkg_add of a nullmailer package create from current ports failes with Creating "/usr/local/etc/nullmailer/me.sample". ./+INSTALL: cannot create /usr/local/etc/nullmailer/me.sample: No such file or directory pkg_add: install script returned error status This is due to the fact that the etc/nullmailer directory is create with a Makefile command in post-install: @${INSTALL_DATA} -c ${FILESDIR}/remotes.sample ${PREFIX}/etc/nullmailer/ During package installation this line is not executed so when the installation script runs it fails with the above error. >How-To-Repeat: Build a package of nullmailer nullmailer-1.05_2,1 and try to install using pkg_add. >Fix: Either add a line mkdir -p %%PREFIX%%/etc/nullmailer to the pkg-install.in file or change the way the remote.samples is included in the package. >Release-Note: >Audit-Trail: >Unformatted: