From owner-freebsd-ports@freebsd.org Fri Jul 17 14:12:12 2015 Return-Path: Delivered-To: freebsd-ports@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 47E299A4A63 for ; Fri, 17 Jul 2015 14:12:12 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BAF2E1C56 for ; Fri, 17 Jul 2015 14:12:11 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t6HEC2RR029750 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 17 Jul 2015 15:12:03 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t6HEC2RR029750 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1437142323; bh=xB1FckqpRb5OTukizWSn0emY4SrQANXHHOpRklB8N+Y=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Fri,=2017=20Jul=202015=2015:11:55=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-ports@ freebsd.org|Subject:=20Re:=20Building=20Latest=20links=20etc.|Refe rences:=20<20150717141512.4a0a037e@raksha.tavi.co.uk>|In-Reply-To: =20<20150717141512.4a0a037e@raksha.tavi.co.uk>; b=Ke1xegfGmurfHEfBMV/uvRcHX7SCx/ECAOMneHf5lQqyl2gp8+dJRQzddTWgtrAoe aY6X5ZU7RMCOhHGfFTsy2HE1RzU2436x5caY98dm01Owi9+z4Tzocv8JjK+QJ0rxtg bL78bZzZdgpJkQHEhyZmTHjw90SBmgeCPXmNe54w= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be zero-gravitas.local Message-ID: <55A90D2B.3050407@infracaninophile.co.uk> Date: Fri, 17 Jul 2015 15:11:55 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: Building Latest links etc. References: <20150717141512.4a0a037e@raksha.tavi.co.uk> In-Reply-To: <20150717141512.4a0a037e@raksha.tavi.co.uk> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rmsLSBU7ReJMduLAQbPWbtwDNnkSD4Nv9" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2015 14:12:12 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rmsLSBU7ReJMduLAQbPWbtwDNnkSD4Nv9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/07/17 14:15, Bob Eager wrote: > This is the scenario. I build all packages locally (a number have > special configs). This is done on one machine, which is then the > repository for 'pkg install'. >=20 > So far so good. >=20 > I now want to update the ports. I see how to do this using portmaster, > and how to generate packages on the package server. >=20 > But...how do I use portmaster on the 'slave' machines, using the > packages I built? I can ask it to use a local directory, and NFS mount > the main package directory on the package server. But portmaster > requires the Latest directory, symlinks, etc. My manual build didn't > add those originally. >=20 > Is there an easy way of building all the symlinks required by > portmaster? I can see how to regenerate Latest, but portmaster asks for= > other stuff according to the manual page. I know portmaster -g will do > this but that won't do the existing packages. >=20 > Is there a script somewhere, or am I over complicating things? You don't need to use portmaster on the slave machines. Just create a repository from the packages you've built on your primary machine -- which is basically done by runnig 'pkg repo' in the directory where you've put all the pkg tarballs. Export that directory somehow -- either via a webserver or by NFS mounting it on the clients or some other way. Set up a repo.conf on your clients so they will use that repo, and then use pkg(8) to install the packages on your client machines= =2E Even better: rather than using portmaster, try poudriere instead, which will help you automate a large chunk of that -- it will build all the packages which are out of date or otherwise need refreshing and automatically add them to your repo with just one command. Cheers, Matthew --rmsLSBU7ReJMduLAQbPWbtwDNnkSD4Nv9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJVqQ0yXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnEF0P/RimYCBEetcHeXwYH7cIWWtd eN156r4p19ZVzD2IFdBMcjIXsNTBIagqVvzoz5D2/sKZ+AXjcdDM5oVOX2qjh2Ux HrcXgFmE5sygOdet3ErFtbh5qX9jiq5dfvrJmPoPkzfto9TqTwZN0rDagaW2ewSx +HsxvKhVKvkSQjjcyYxP5umHzMG6YotBMiXgIos1yhDNIOmD5v6c2T8dNjGDc6dX 05RL441AFj0RPLVQsIRjbadQ87n8zOs5dDgOsq2EaBWbe3erVRyeOtLHRy5GJ6ee 5KhkKNyAHMWb4oXCKQXZSCltb/LbQb9B9MWZEdxShv8mC3pAOmvD/zWPcK7wgq0/ rKn3qd/PgyN1GN+/Qz0bknmXz0XS/yXHMXq8KbQigKEI9yAUC+w+VvI/7GFornIV jDYLW0VbHjJ43sfpmlK3jyUSsVwgql9gpc71toJauqnW+iPpERKV6y2SS2vKx0aR 8hwz4HlT6NongfaUl0r7EAMVsrFiHefLiKfscnupaFVt02p+xkJJOD3rU/JUtTGA AtnBKC60dk9KcVHcxPyMsOj1k5oGVqNvCGTsZljsiXCBGDaWyAPfpLTyEcjD+XAV OG8Lwg29H7wsmYwFxcmwoYzSV+qk+2z45xCDhSxPzSeIwBUFv8LH8ErOnbqbctvN CVjg67aaeOAVrXEc+vgf =CkKu -----END PGP SIGNATURE----- --rmsLSBU7ReJMduLAQbPWbtwDNnkSD4Nv9--