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. 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. How-To-Repeat: Build a package of nullmailer nullmailer-1.05_2,1 and try to install using pkg_add.
Responsible Changed From-To: freebsd-ports-bugs->glarkin Fix synopsis and assign.
glarkin 2011-05-02 19:22:45 UTC FreeBSD ports repository Modified files: mail/nullmailer Makefile pkg-plist mail/nullmailer/files nullmailer.in Log: - Fixed package installation problems caused by missing ETCDIR [1] - Incorporated rc.d script patch [2] - Fixed incorrect use of @ignore in pkg-plist (it ignores the next file listed in pkg-plist, not the one on the same line as the directive) - Remove the me.sample file from ETCDIR - Bumped PORTREVISION PR: ports/156755 (based on) Submitted by: Goran Lowkrantz <goran.lowkrantz@ismobile.com> [1] Suggested by: dougb [2] Revision Changes Path 1.22 +3 -3 ports/mail/nullmailer/Makefile 1.5 +8 -2 ports/mail/nullmailer/files/nullmailer.in 1.9 +5 -4 ports/mail/nullmailer/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thank you!