Monday, December 10, 2018

Re: UPDATE: cvsweb chroot flavour

Sorry, this doesn't really seem useful to have in ports.

Having a flavour of a web app like this implies that things will "just
work", typically it involves static builds of libraries etc if needed, and
setting up the package to install files inside the chroot automatically.

In the case of cvsweb there's still a bunch of work to do - copying across
perl binaries, cvs+related binaries, perl modules, libraries, ld.so (as per
the README) - and remembering to keep them up to date - fixing up the paths
as done in this diff is a tiny part (and isn't even really needed, you can
get the same effect by just adding a symlink "mkdir -p /var/www/var; ln -s
.. /var/www/var/www").


--
Sent from a phone, apologies for poor formatting.

On 10 December 2018 09:49:53 Kristaps Dzonsons <kristaps@bsd.lv> wrote:

> Enclosed is a patch to the cvsweb port to add a new flavour, "chroot".
> This configures the script (and its default configuration) to run in the
> /var/www chroot.
>
> By default, the flavour is "unsafe", which uses the existing way of
> referring to /var/www/whatever.
>
> Best,
>
> Kristaps

No comments:

Post a Comment