Date: Fri, 16 Sep 2011 11:44:50 +0200 From: =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= <lukasz@wasikowski.net> To: "Klaus T. Aehlig" <aehlig@linta.de> Cc: freebsd-ports@freebsd.org Subject: Re: overlays Message-ID: <4E731A92.1050700@wasikowski.net> In-Reply-To: <20110916062452.GA57167@curry.linta.de> References: <1315864556.1747.103.camel@xenon> <20110912190558.641a3219@seibercom.net> <20110912230943.GD33455@guilt.hydra> <4E6E99BC.4050909@missouri.edu> <1315905051.1747.208.camel@xenon> <4E6F8A50.9060205@gmx.de> <1315942042.1747.258.camel@xenon> <4E6FD71D.9010207@gmx.de> <20110914181553.f6d31b0f.cjr@cruwe.de> <4E722F3F.3030606@wasikowski.net> <20110916062452.GA57167@curry.linta.de>
next in thread | previous in thread | raw e-mail | index | archive | help
W dniu 2011-09-16 08:24, Klaus T. Aehlig pisze: > Now I'm really curios what magic device gentoo has. Once thing I > most appreciate about FreeBSD is how flexible it is in precisely > this manner. [...] > Could you please elaborate, which additional features gentoo's overlay > system brings on top of that? Simplicity. I'm not familiar with FreeBSD's way of doing overlays, quick googling and quick testing may be not enough to say anything in that matter, so I'll just describe how I do it in Gentoo. I've got ca. 70 Gentoo servers and I want my own portage overlay. So I've set up svn server with my ports. Each of 70 servers has a script in /etc/portage/postsync.d which retrives my ports from svn server during the synchronization of portage tree. Each server have a line in /etc/make.conf: PORTDIR_OVERLAY=/some/local/directory Let's say I've wrote a new ebuild for a new category, for example: my-category/my-port/my-port-1.0.ebuild. Now I have to do prepare it for "shipping", so: cd my-category/my-port && ebuild my-port-1.0.ebuild digest && svn ci That's all, after next portage update (via emerge --sync) I'll end with up-to-date official portage tree and up-to-date my overlay. Ports from my overlay will work with emerge out of the box (checking for new USE flags, checking if port needs updating, etc.) Summarize: Enable overlay: - one simple script in postsync.d - one line in make.conf Prepare port for tree: - one command to make ebuild - one command to commit it to svn Sync and install/update: - one command to update portage tree on each server - one command to install/update port(s) How would it look like on FreeBSD? -- best regards Lukasz Wasikowski
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E731A92.1050700>