Date: Sun, 30 Mar 2003 13:56:04 +0800 (CST) From: Alex Chen <dhchen@elearning.nsysu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/50445: /usr/ports/mail/openwebmail installs into wrong dirs Message-ID: <20030330055604.5C7CC5E5B@elearning.nsysu.edu.tw> Resent-Message-ID: <200303300600.h2U60RNp061086@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 50445 >Category: ports >Synopsis: /usr/ports/mail/openwebmail installs into wrong dirs >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 29 22:00:26 PST 2003 >Closed-Date: >Last-Modified: >Originator: Alex Chen >Release: FreeBSD 4.8-RC i386 >Organization: >Environment: System: FreeBSD elearning.nsysu.edu.tw 4.8-RC FreeBSD 4.8-RC #7: Sat Mar 29 13:28:07 CST 2003 root@elearning.nsysu.edu.tw:/usr/obj/usr/src/sys/KM i386 >Description: /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) >How-To-Repeat: cd /usr/ports/mail/openwebmail && make install >Fix: The following fix should work: --- Makefile~ Sun Mar 30 11:58:57 2003 +++ Makefile Sun Mar 30 13:46:28 2003 @@ -78,8 +78,8 @@ .endif 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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030330055604.5C7CC5E5B>