From owner-freebsd-pkg@FreeBSD.ORG Sat Mar 8 06:00:55 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 BF6E53C1 for ; Sat, 8 Mar 2014 06:00:55 +0000 (UTC) Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 819CED67 for ; Sat, 8 Mar 2014 06:00:55 +0000 (UTC) Received: by mail-qg0-f44.google.com with SMTP id a108so14321952qge.3 for ; Fri, 07 Mar 2014 22:00:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=xwwBWdVLuSs+K0YHrTlKHxqfXgbbWkdm2IjxeRExoEE=; b=TzTXAbiT9OCxhykp8AtRZTX/vqo0Nc/v12YFf6l6C7QA8XA8STifCqRsSDwBQo+n8k w82a4laSbeAWApwmC0j+5oywWsQCNgzMaTD51bFGGKZiBNNi12G40G4/t58ucyu63ooi /PBn3+Rllw4iWhENCv06JF7rCGZQsrwC4lvfxJ1VD650A12UJbJp+LqoVLfvCw7F+YJC gRRiubRnLoYj1NMj6lnv1NNCHgjZSAjoJmQQ0vbMbTzHbbP5hgwNO8dsjQ7CanTCf3E4 CjihlBDnbs/KbaoxvRyLazWrXUNFRkdPrzSC7Fy3QreqMCLN3nHZEl82LyOkEqefTa5o keyg== MIME-Version: 1.0 X-Received: by 10.224.60.71 with SMTP id o7mr26276108qah.38.1394258454776; Fri, 07 Mar 2014 22:00:54 -0800 (PST) Received: by 10.229.199.71 with HTTP; Fri, 7 Mar 2014 22:00:54 -0800 (PST) Date: Fri, 7 Mar 2014 20:00:54 -1000 Message-ID: Subject: pkg create hello world From: John Daley To: freebsd-pkg@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 08 Mar 2014 06:00:55 -0000 Hi, I need to move a package from bsd9 to bsd10. Since pkg-create went away, I am trying to build the tarball with 'pkg create', using 'pkg help create' as my guide. I've tried plists, +MTREE_DIRS and specifying 'dir' 'file', 'dirs' and 'files' in the +MANIFEST file. Whatever I do, when I run my pkg command, e.g.: pkg create -o /tmp/xx -f tar -m $PWD/mani it creates a tar file in /tmp/xx with just the +MANIFEST and +MTREE_DIRS in it, but no content and no hints what might be the problem. Can someone post a very simple set of metadata files and pkg create command that work? That would be extremely useful, like a 'hello world' of package creation ;) I'm under a deadline so any pointers would be appreciated. btw, I'm using: FreeBSD 10.0-RELEASE #0 r260789 and pkg -v 1.2.6, if that matters. thanks, -johnd