From owner-freebsd-ports@FreeBSD.ORG Wed Apr 10 08:03:00 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 58AEE355; Wed, 10 Apr 2013 08:03:00 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ia0-x22d.google.com (mail-ia0-x22d.google.com [IPv6:2607:f8b0:4001:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 259F5B18; Wed, 10 Apr 2013 08:03:00 +0000 (UTC) Received: by mail-ia0-f173.google.com with SMTP id h37so170260iak.32 for ; Wed, 10 Apr 2013 01:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=R9atmcoFZT6Bu62hWeS8TNDT2N1fCS1G5cpEqzUx4Ak=; b=GsYGWBvkIeGTNgCR/3VlFiJGKzBBj4+yletOSlmWhqIccoK+AWYzJfSnrFiCRyeWja Q/HlY7GA467BOH5VGvndTlVsCXmY2nYZ7QfWkTihxsWL5H95+2R5XpX73k1RemWyC/HJ nhLooQqAqsu3UoCvTr40zEHkAJiOhJjcSY14PeNrUXQqEeT1vN+aWBXMXrJhPAQCysxv CWgVLXWA5Uea3Xsh304b1uNahcoYXhUJ9nV/14dh0qo1RXkIiGriqkjV4EaEKJbct9E/ ZVYtrzv4NeSYCPo9ort5ww2WVV7FytFml5Qx9Bwr3FcrrrPqKIMlduy3mTQqO+GjyVKO bslA== X-Received: by 10.50.197.170 with SMTP id iv10mr12265929igc.62.1365580979885; Wed, 10 Apr 2013 01:02:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.58.52 with HTTP; Wed, 10 Apr 2013 01:02:29 -0700 (PDT) In-Reply-To: <20130410061331.GA74304@ithaqua.etoilebsd.net> References: <20130330034028.0f8cefc8@bsd64.grem.de> <5156C0D9.50909@FreeBSD.org> <20130330142320.38010126@bsd64.grem.de> <20130408103118.67ea695a@bsd64.grem.de> <20130409205950.677a6812@bsd64.grem.de> <20130410061331.GA74304@ithaqua.etoilebsd.net> From: Chris Rees Date: Wed, 10 Apr 2013 09:02:29 +0100 Message-ID: Subject: Re: www/nginx pkg-plist + pkgng (detectable?) To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List , Michael Gmelin X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2013 08:03:00 -0000 On 10 April 2013 07:13, Baptiste Daroussin wrote: > On Tue, Apr 09, 2013 at 08:59:50PM +0200, Michael Gmelin wrote: >> On Tue, 9 Apr 2013 19:43:15 +0100 >> Chris Rees wrote: >> >> >> > >> > No, it's a bug in pkgng; it should respect @cwd. >> > > > No it is not. > > While i agree with pkgng that should repect @cwd (it surely does) > > There is nothing written anywhere that will waranty you that the @exec line will > be parsed in order ro prepend @cwd path to a path you provide. the only thing > doing that is %D. > > A user MUST add %D and have complete path in @exec lines > > In fact in that case it works by chance becauce of how pkg_install treat plist. Am I misunderstanding the meaning of "current working directory"? When mkdir is called, it should create the directory in @cwd. pkg_install's behaviour is correct here, and pkgng's is not. Chris