Date: Sun, 1 May 2011 15:59:56 GMT From: Goran Lowkrantz <goran.lowkrantz@ismobile.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/156755: nullmailer package can't install as directory only create in ports install Message-ID: <201105011559.p41Fxu59025808@red.freebsd.org> Resent-Message-ID: <201105011600.p41G0Mpj086291@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105011559.p41Fxu59025808>