Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 16:04:02 +0200
From:      Marko =?UTF-8?B?Q3VwYcSH?= <marko.cupac@mimar.rs>
To:        freebsd-ports@freebsd.org
Subject:   Re: Building Latest links etc.
Message-ID:  <20150717160402.6f405190@efreet>
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
On Fri, 17 Jul 2015 14:15:12 +0100
Bob Eager <rde@tavi.co.uk> 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?
>=20
> Thanks

If you need to maintain custom packages for more than 5 systems then
poudriere is the way to go:
https://www.freebsd.org/doc/handbook/ports-poudriere.html

I have also written 'works for me' detailed howto (in Sebian though):
https://www.mimar.rs/sysadmin/2015/poudriere-na-freebsd-10-1

Regards,
--=20
Marko Cupa=C4=87
https://www.mimar.rs/



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