From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 1 11:40:18 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 540BB16A420 for ; Tue, 1 Nov 2005 11:40:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0EAF43D55 for ; Tue, 1 Nov 2005 11:40:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jA1BeGug059965 for ; Tue, 1 Nov 2005 11:40:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA1BeGvS059964; Tue, 1 Nov 2005 11:40:16 GMT (envelope-from gnats) Resent-Date: Tue, 1 Nov 2005 11:40:16 GMT Resent-Message-Id: <200511011140.jA1BeGvS059964@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, Dmitry Morozovsky Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A04616A41F for ; Tue, 1 Nov 2005 11:37:59 +0000 (GMT) (envelope-from marck@woozle.rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88D8943D46 for ; Tue, 1 Nov 2005 11:37:58 +0000 (GMT) (envelope-from marck@woozle.rinet.ru) Received: from woozle.rinet.ru (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.3/8.13.3) with ESMTP id jA1BbvnG046528 for ; Tue, 1 Nov 2005 14:37:57 +0300 (MSK) (envelope-from marck@woozle.rinet.ru) Received: (from marck@localhost) by woozle.rinet.ru (8.13.3/8.13.3/Submit) id jA1Bbv4E046527; Tue, 1 Nov 2005 14:37:57 +0300 (MSK) (envelope-from marck) Message-Id: <200511011137.jA1Bbv4E046527@woozle.rinet.ru> Date: Tue, 1 Nov 2005 14:37:57 +0300 (MSK) From: Dmitry Morozovsky To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/88321: mail/pine4 could not be built under non-seperuser X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Morozovsky List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 11:40:18 -0000 >Number: 88321 >Category: ports >Synopsis: mail/pine4 could not be built under non-seperuser >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 01 11:40:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dmitry Morozovsky >Release: FreeBSD 4-STABLE i386 >Organization: Cronyx Plus LLC (RiNet ISP) >Environment: System: FreeBSD 4-STABLE, 5-STABLE >Description: mail/pine4 distfile contains non-writable files, which prevents patches from applying, when port is to be built by non-root. >How-To-Repeat: > cd /usr/ports/mail/pine4 > make patch BATCH=1 ... ===> Applying FreeBSD patches for pine-4.64 cannot create /lh/ports/mail/pine4/work/pine4.64/imap/src/osdep/unix/Makefile: permission denied *** Error code 2 >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/pine4/Makefile,v retrieving revision 1.83 diff -u -r1.83 Makefile --- Makefile 29 Oct 2005 07:13:28 -0000 1.83 +++ Makefile 1 Nov 2005 11:37:18 -0000 @@ -67,6 +67,9 @@ PATCH_DIST_ARGS+= -E --quiet -d ${PATCH_WRKSRC} -p1 .endif +pre-patch: + @${CHMOD} -R u+w ${WRKSRC} + post-patch: # Do this here because the maildir patch also modifies this file @${CP} ${WRKSRC}/imap/src/osdep/unix/Makefile \ >Release-Note: >Audit-Trail: >Unformatted: