From owner-freebsd-pkg@FreeBSD.ORG Tue Jun 17 23:46:49 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38AAB957 for ; Tue, 17 Jun 2014 23:46:49 +0000 (UTC) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A5572C4A for ; Tue, 17 Jun 2014 23:46:48 +0000 (UTC) Received: from localhost (mail.ixsystems.com [10.2.55.1]) by mail.iXsystems.com (Postfix) with ESMTP id 8568476B6B for ; Tue, 17 Jun 2014 16:46:48 -0700 (PDT) Received: from mail.iXsystems.com ([10.2.55.1]) by localhost (mail.ixsystems.com [10.2.55.1]) (maiad, port 10024) with ESMTP id 90248-03-4 for ; Tue, 17 Jun 2014 16:46:48 -0700 (PDT) Received: from kruse-242.1.ixsystems.com (kruse-242.1.ixsystems.com [10.2.1.242]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id 601E076B3A for ; Tue, 17 Jun 2014 16:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ixsystems.com; s=newknight0; t=1403048796; bh=wxsSJxGqhZS5fJRFeBxtCxuf4caIJVSMG1BUcRUNCq0=; h=From:Subject:Date:To; b=Dwpsd45emNeS3NJisd25hFst5crrb39kzo7KYuUD6AWcfqDyOg66JCfrPd31EmtQd HsjQMwkldJQ9rzX4N7c4JJGZcrKqqE51qDRLw0hSSflsavBhfgX+82So7Tyc85CHAU mlevQnnobv/XaIRRTnu7TEcQRlM3Ri0kjzvVH4/g= From: Sean Fagan Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Directories aren't included? Message-Id: <44A7EDED-DA81-4C03-91F4-8BEF3241FE1F@ixsystems.com> Date: Tue, 17 Jun 2014 16:46:05 -0700 To: freebsd-pkg@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) X-Mailer: Apple Mail (2.1878.2) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2014 23:46:49 -0000 Given this manifest file: { "name" : "mypkg", "version" : "1.0", "origin" : "system/test", "comment" : "foo", "maintainer" : "me", "prefix" : "/", "www" : "http://www.example.com/", "licenselogic" : "single", "desc" : "bar", "dirs" : { "./dir1", "./dir1/dir2", }, "files" : { "./dir1/test_file" : "-", }, } and this layout: dir1 ./dir1: dir2 test_file ./dir1/dir2: The tar file it creates does not have "dir2" in it: tar tvf badpkg-1.0.txz=20 -rw-r--r-- 0 root wheel 214 Dec 31 1969 +COMPACT_MANIFEST -rw-r--r-- 0 root wheel 310 Dec 31 1969 +MANIFEST -rw-r--r-- 0 sef sef 29 Jun 17 16:17 ./dir1/test_file In other words, it is not adding empty directories to the package. Am I creating it incorrectly? If I put "./dir2" in the "files" section, it puts it in the tarball, but = I'm not sure that is correct. This is pkg 1.2.7_2; I have't tried with a newer version yet, for which = I apologise. Sean.