From owner-freebsd-questions@freebsd.org Thu Jul 28 20:05:46 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92E4DBA7F93 for ; Thu, 28 Jul 2016 20:05:46 +0000 (UTC) (envelope-from andrewjameswood@ymail.com) Received: from nm19-vm4.bullet.mail.ir2.yahoo.com (nm19-vm4.bullet.mail.ir2.yahoo.com [212.82.96.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EABAA19A3 for ; Thu, 28 Jul 2016 20:05:45 +0000 (UTC) (envelope-from andrewjameswood@ymail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1469736176; bh=71OmnncXADcPvD/30L3+voZlW6w2ZIQi6XIHa7S98Cc=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject; b=nd7hYIJZepGqujaRTC5lCAOS0Xs1neJewMCBAijbY/hRrrojHYnyZS1zfUPBA7+mqaabKbqqI1xN10ybRS+IDKay8X+b/20BkAZMRkTdsxHXyBCFTodKBTlcfuZlZaPSHk4IOljvXiCgkeE6w2dKasSGrbtoWoIFj3YspDQmIGuNbIaxXvn6jfyhr5Yu9Uw7rw3fY0ggvVD/Sq2o/t4o0OfqPZhXtfvI7bxwFsemUk/5kzb6jg9G3g7XQbozQRgvyqnCofacTpDd040dv08L7iTlvzfiznABLFsEQrlKyGH+mi/TcKqeQXiD69Lq6HixuiaEj1uR1IJ9C3gYDNjw7g== Received: from [212.82.98.48] by nm19.bullet.mail.ir2.yahoo.com with NNFMP; 28 Jul 2016 20:02:56 -0000 Received: from [46.228.39.84] by tm1.bullet.mail.ir2.yahoo.com with NNFMP; 28 Jul 2016 20:02:56 -0000 Received: from [127.0.0.1] by smtp121.mail.ir2.yahoo.com with NNFMP; 28 Jul 2016 20:02:56 -0000 X-Yahoo-Newman-Id: 523667.79485.bm@smtp121.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: XWul_WAVM1nedUPzHcpQOX8tNDgP_DUvhwOmGMTH1ZhUgo1 4t3A_qi7M1qEayWd1s94UhRfbo1e7AljlrbJRFpek7yjTE3DQKoB89Dxgkw8 02TrJwDAMxcf.ZDvoMsJEwUcolhpZRV2s_4KeMw3plFvtDTZNFnAKAzO.dh0 76pGd1MdFQ9mf09G88Py3tgwgugVxA9QtFHHs1SITxysyICucFuZOxpzdc20 TgZORXYgchEXHSGnhXRS4df.Uu9GJGDgTRGEZJav5wUozKCYzMY2ipjXmFcM VqTq.Kc8GaGDzhegHPDzQUNcUUCHVwVC65N5a.KnDl5cnEca0xouXKGCsrfr Nyo7Js97lDm2E36UjR8O8Uxh03CRY69qcJ47bPIo5quRpyqCsUVaqV.9cINb PhKvkfycxMd3J2tzGX.O5MOHyoW0oapLeXUCKr2aaRB.Dtsq5QrLHLlQhSjM 0mCJMEIk7guM6B0EQ.gkAqZB.pus0ZEAfH_6NjpY.L4LyUlsCJFVL3..47mz uAO7X.5PCCY9.y8SN3T8nCwWlomsaLHWxoizYYA87FZ5YDtZkzMvoMzlSD9C PUAusbyRd4POfU8pU1Q-- X-Yahoo-SMTP: lyMebeuswBAKXlSCZ4_eELrg31ykJBp.BALgvdbr.jksrQi8VqI- Subject: Re: Creating a pkg To: freebsd-questions@freebsd.org References: <981a28ca-09a4-995b-fee3-55d4a6dc5fb3@ymail.com> From: Andrew Wood Message-ID: <889eda92-91ce-ecd0-3426-97b688093102@ymail.com> Date: Thu, 28 Jul 2016 21:02:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2016 20:05:46 -0000 On 28/07/16 17:47, Matthew Seaman wrote: > Try: > > version: "0.3"; Thanks Matthew, quoting the version number works, for some reason it insists on that even though everything else can be unquoted. >> 2. As my program is Python & shell scripts and is therefore platform >> independent can I use arch: all ? > That would be: > > abi = "FreeBSD:10:*"; > arch = "freebsd:10:*"; > > (assuming you're running FreeBSD 10.x) You will need both abi and arch > settings, although for a pure Python package they don't really add much > value to the package. > Does that mean I can't create an all architecture package that will work on FreeBSD 11 when it comes out, I would have to create a separate package for future versions of FreeBSD? Can I also clarify how I specify which files to put in the package and where I want them put on the target system during installation? Can I package up everything in a directory with dir: {/path: 'sha256hash'}; ? That only takes one path though, is that the target path or the local path on my machine? How does the prefix value fit in? What if I want to put files in several places? Thanks Andrew