From owner-freebsd-ports@freebsd.org Mon Feb 19 20:06:31 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50E27F1FFF6 for ; Mon, 19 Feb 2018 20:06:31 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A37AD68B31 for ; Mon, 19 Feb 2018 20:06:29 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from [192.168.100.156] ([87.139.233.65]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MU1MP-1fE1XW0yQb-00Qnm4; Mon, 19 Feb 2018 21:06:27 +0100 Subject: Re: 6100 subdirectories in /usr/ports/devel! To: FreeBSD ports list References: <20171228203634.GK99670@rancor.immure.com> <5A4557E8.70907@grosbein.net> <5A455A04.4090100@grosbein.net> <20171228211639.GL99670@rancor.immure.com> From: olli hauer Cc: "Dan Mahoney (Gushi)" Reply-To: FreeBSD ports list Message-ID: <42bb81af-dae6-1edc-090e-b1cfce00f1d3@gmx.de> Date: Mon, 19 Feb 2018 21:06:26 +0100 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-8859-15 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:Z5LXo47dTA2DjJtULmPKPFYzqFrlA2P3ZHk9qNpBZJWYU+5g8tZ dbnK0MvkXSHTE+ew/r5NVJbmmWApmDxpoUmjfd64l6KHBXQQLdVSfNMNsNhnORn2ot8NmJp Awu7lt+pLCQGghiK0JyAJJyvIfgP5N2IAQlr8klrlTlmObeUpWNm1RBnaUqwl5w7sLGpAzL tmhXzjKG30RrZ9i4wA92Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:g6GVuldTEaE=:qD6QByMbnP/XA+g6GAqP7I 9De9Uku1g9V+4fI54Kia8Ns8e5ZoQoSLEGUSInUyigA/ZM4bXt2kOcJzBuhRCce+meeYdH4ul nTi9QE5rDSHgNg28bB5a9nvoVaLphxLP0rMiM5/9khS/BzF05s4h29LPK1dggmeQGNY5kjHEB 1mGQKXcSBqnkrbjNcIG8kGYRxlYJk21EUhVK+zyZGeoHl7m4mXq91706jiYomRpwkdTxiiTIU 23bdCz+yXGv4J624kcSrJ4Lf+GjXd8V97u0tjQ/Ps1iaZlVwmthuHBJuDWUJHNsNwg2uL6Net cJP4lrRiyX7UIYpbv2wqjML8quf9yUwIUxmvlCyG1Z/FnQfHht033nfPklD4KutmLoub9SR6F UAS5TvsaVZluGMMJNfUTsbn4xfUV7+1Nnd9YGyj2j+XdjFrMVTSgPCwEjr3QP1I0E9FI6LYdx nZUTTGH5EIqLn5rOHuVOQ2z49djrROMmVzZJUys0j+p23AWzzRebD+HZN93GQaBPd3y3aTmxL vT04IQhqGEEqnHIOOwmMwTnb/5073isgvwVpXC3C4h72B+mrW4bkaxkd6kb0i2WzOwL4j+bzE s7pfv3pNlQsPkllc3BIulED/VU7gw6POAsqW7E1KxjWvejEchOVb0Qnd5A80CRze+qo8QLvle PX7QF7qv21BDo3LHyWJ9p2dfyxj13Dg4DvOCclkkva9XTy15SxiiDs6MatEWcduwxKyoXKOiH geDfmxkr0FQaMFt8t3tmQFkpqA0t0ClOYq3O0Mv8GK83tQfF++uisW6+tn96oO3xU5hDJKdVg 3aaunooUQP2PHuhEWoEIirVcCApgl9arKoFKkQ62KJzuuNrlpI= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 20:06:31 -0000 On 2018-02-19 17:25, Dan Mahoney (Gushi) wrote: > On Mon, 19 Feb 2018, blubee blubeeme wrote: ... > > For those of us requiring a perl module on a bunch of machines, we don't have a good mechanism (outside of ports/pkg/poudriere) to build those modules and get them out.  One of the things pkgng lacks is the old ports "make pkg" function -- in order to build an installable package, you pretty much must be running poudriere. > No, with pkgng you have several ways to create a package from a port. On a system where the port is installed: $ mkdir -p $space/packages//All $ cd $space/packages $ pkg create -o $space/packages/All -x p5* # optional if you want to distribute your packages create the pkg indexes $ pkg repo . Now you have a repo with all your p5* packages, change "-x p5" to "-a" and you have a repo with all installed package, see man pkg-create(8) If you want to create a package directly in the directory of the port $ mkdir -p $space/packages/All $ sysrc -f /etc/make.conf PACKAGES="$space/packages" $ cd $PORT $ make package Now you have one package in $space/packages/All and one in $PORT/work/pkg