ports/50445: /usr/ports/mail/openwebmail installs into wrong dirs
Alex Chen
dhchen at elearning.nsysu.edu.tw
Sun Mar 30 06:00:30 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list