From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 29 22:00:28 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66C2437B401 for ; Sat, 29 Mar 2003 22:00:28 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41C1443FAF for ; Sat, 29 Mar 2003 22:00:27 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2U60RNS061087 for ; Sat, 29 Mar 2003 22:00:27 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2U60RNp061086; Sat, 29 Mar 2003 22:00:27 -0800 (PST) Resent-Date: Sat, 29 Mar 2003 22:00:27 -0800 (PST) Resent-Message-Id: <200303300600.h2U60RNp061086@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Chen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 389FF37B401 for ; Sat, 29 Mar 2003 21:56:12 -0800 (PST) Received: from mail.nsysu.edu.tw (mail.nsysu.edu.tw [140.117.11.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C89343F93 for ; Sat, 29 Mar 2003 21:56:11 -0800 (PST) (envelope-from dhchen@elearning.nsysu.edu.tw) Received: from elearning.nsysu.edu.tw (unknown [140.117.41.182]) by mail.nsysu.edu.tw (Postfix) with ESMTP id D70F7901FF for ; Sun, 30 Mar 2003 13:56:07 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by elearning.nsysu.edu.tw (Postfix) with ESMTP id E9CAF5E56 for ; Sun, 30 Mar 2003 13:56:09 +0800 (CST) Received: from elearning.nsysu.edu.tw ([127.0.0.1]) by localhost (elearning.nsysu.edu.tw [127.0.0.1:10024]) (amavisd-new) with SMTP id 20775-08 for ; Sun, 30 Mar 2003 13:56:04 +0800 (CST) Received: by elearning.nsysu.edu.tw (Postfix, from userid 1013) id 5C7CC5E5B; Sun, 30 Mar 2003 13:56:04 +0800 (CST) Message-Id: <20030330055604.5C7CC5E5B@elearning.nsysu.edu.tw> Date: Sun, 30 Mar 2003 13:56:04 +0800 (CST) From: Alex Chen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50445: /usr/ports/mail/openwebmail installs into wrong dirs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alex Chen List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2003 06:00:30 -0000 >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: