Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 15:11:55 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: Building Latest links etc.
Message-ID:  <55A90D2B.3050407@infracaninophile.co.uk>
In-Reply-To: <20150717141512.4a0a037e@raksha.tavi.co.uk>
References:  <20150717141512.4a0a037e@raksha.tavi.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55A90D2B.3050407>