/usr/ports/mail/openwebmail installs into wrong dirs The program files should install into /usr/local/www/cgi-bin/openwebmail, but Makefile installs them into /usr/local/www/cgi-bin/openwebmail/openwebmail, and it causes the installation fail(cannot chmod to openwebmail/etc/session) Fix: The following fix should work: do-install: - @${CP} -R ${WRKSRC}/cgi-bin/openwebmail ${OWCGIDIR} - @${CP} -R ${WRKSRC}/data/openwebmail ${OWDATADIR} + @${CP} -R ${WRKSRC}/cgi-bin/openwebmail/ ${OWCGIDIR} + @${CP} -R ${WRKSRC}/data/openwebmail/ ${OWDATADIR} @${CHOWN} -R root:mail ${OWCGIDIR} @${CHMOD} 0770 ${OWCGIDIR}/etc/sessions ${OWCGIDIR}/etc/users @${CHMOD} 4755 ${OWCGIDIR}/openwebmail*pl--k05UvgmPsXb9x1AgKgC9YVWQmx4nkaD5X2PBOlFxs8YW2InH Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile~ Sun Mar 30 11:58:57 2003 +++ Makefile Sun Mar 30 13:46:28 2003 @@ -78,8 +78,8 @@ .endif How-To-Repeat: cd /usr/ports/mail/openwebmail && make install
Responsible Changed From-To: freebsd-ports-bugs->leeym Over to maintainter.
State Changed From-To: open->closed No, it's **NOT** a bug itself. You should remove previously installed files and directories, and then install new port. However, if this patch will help you, I'll commit it anyway.