From owner-freebsd-ports@FreeBSD.ORG Tue Mar 4 14:33:24 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A57F65E1 for ; Tue, 4 Mar 2014 14:33:24 +0000 (UTC) Received: from piggulke.himolde.no (piggulke.hiMolde.no [158.38.95.34]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2AF29CE9 for ; Tue, 4 Mar 2014 14:33:23 +0000 (UTC) Received: from SIL1 (158.38.83.8) by Piggulke.himolde.no (158.38.95.36) with Microsoft SMTP Server id 14.2.347.0; Tue, 4 Mar 2014 15:30:56 +0100 X-TM-IMSS-Message-ID: <02ab5c5e00000562@SIL1> Received: from harr.himolde.no ([158.38.68.20]) by SIL1 ([158.38.83.8]) with ESMTP (TREND IMSS SMTP Service 7.1) id 02ab5c5e00000562 ; Tue, 4 Mar 2014 15:30:56 +0100 Received: from harr.himolde.no (harr.himolde.no [127.0.0.1]) by harr.himolde.no (8.13.1/8.13.1) with ESMTP id s24EUre3023067 for ; Tue, 4 Mar 2014 15:30:53 +0100 Received: (from nordhaug@localhost) by harr.himolde.no (8.13.1/8.13.1/Submit) id s24EUq3g023066 for freebsd-ports@freebsd.org; Tue, 4 Mar 2014 15:30:52 +0100 Date: Tue, 4 Mar 2014 15:30:52 +0100 From: "Hans F. Nordhaug" To: Subject: Staging - set owner/group/mode in pkg-plist for empty directory Message-ID: <20140304143052.GA22995@hiMolde.no> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-TM-AS-Product-Ver: IMSS-7.1.0.1524-7.5.0.1017-20544.006 X-TM-AS-User-Approved-Sender: Yes X-TMASE-MatchedRID: OfK0GumwL1JQs1SN7/4/ILiMC5wdwKqdF43xkw8RMy1F+YXPIqAdvvIi NrevlIam93obhardiX7FbudnTqOCNmy36MnQs0AzW7gz/Gbgpl74uJ1REX4MHWHtZs6e3ZMHXNO 00UXE46KLEQoBBtBWKVoTs6AJOrHoZrvC5RH77wv4vYawCsCC2vp70sHw22glaiomzGaeAvCP69 GtyiSD5chUcd8VqVOlSjLlYugtawpoMCLywE0ygdAtbEEX0MxBxEHRux+uk8h+ICquNi0WJPEVh EzgUnpUZIU2Si2QbyYZAlz9VGglcqchgKx1gNNWftwZ3X11IV0= X-IMSS-DKIM-White-List: No X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 14:33:24 -0000 Hi, I'm trying to add staging to the Piwik port (at the same time as updating to the new 2.1.0 release). AFAIK it's not possible to set owner/group/mode for a directory in pkg-plist, only for files. Is that correct? Piwik comes with an empty tmp directory that needs to be writable by the webserver. Using CHMOD naivly in the post-install target doesn't work. What is the correct work-around? Regards, Hans PS! I can't test the port anymore with porttools ("port test"). I always get: ------- [...] ===> Building package for piwik-2.1.0 Creating package /usr/ports/www/piwik/work/piwik-2.1.0.tbz Registering depends:. pkg_create: couldn't resolve path for prefix: /tmp/piwik-2.1.0: No such file or directory *** [do-package] Error code 1 Stop in /usr/ports/www/piwik. *** [package] Error code 1 Stop in /usr/ports/www/piwik. ===> Error running make package [...] ------- Is this a known issue? I haven't upgraded to pkgng yet.