<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 10/18/11 09:22, Lars Engels wrote:<br>
<span style="white-space: pre;">> Hi all,<br>
><br>
> attached you find a patch that allows one to download and
extract a<br>
> portjail from FreeBSD's mirrors.<br>
> It offers the user to build or download the portjail. Sample
output:<br>
><br>
> engels@pts/1 # portjail start<br>
> Error: The portjail is not yet installed! Please run
'portjail init' as root.<br>
> Do you want to run it now? [y|n] y<br>
> Do you like to download a pre-compiled base jail from a
FreeBSD mirror via<br>
> FTP/HTTP or do you like to build one from source? Enter d for
download or<br>
> b for build from source: [d/b] d<br>
><br>
> You may enter a mirror server manually, else <a class="moz-txt-link-abbreviated" href="ftp://ftp.freebsd.org">ftp.freebsd.org</a>
is used: ftp4.de.freebsd.org<br>
><br>
> Which protocol do you want to use? [ftp/http] http<br>
><br>
> - 100% of 53 MB 224 kBps 00m00s<br>
><br>
> Portjail setup finished! Please run 'portjail start' to
enable the jail.<br>
><br>
> Total time : 4:18.46s<br>
> CPU utilisation (percentage) : 18.5%<br>
><br>
><br>
> As you can see, this was 4:18 minutes with 224kBps, much
faster than building the portjail<br>
> from scratch. :)<br>
><br>
> I have only tested it on amd64, please also test it on i386.<br>
><br>
> Cheers<br>
> Lars<br>
><br>
><br>
> _______________________________________________<br>
> Testing mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:Testing@lists.pcbsd.org">Testing@lists.pcbsd.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.pcbsd.org/mailman/listinfo/testing">http://lists.pcbsd.org/mailman/listinfo/testing</a></span><br>
<br>
Lars,<br>
<br>
Take a look here:<br>
<br>
<a class="moz-txt-link-freetext" href="http://trac.pcbsd.org/browser/pcbsd/current/system-overlay/usr/local/share/pcbsd/scripts/portjail.sh">http://trac.pcbsd.org/browser/pcbsd/current/system-overlay/usr/local/share/pcbsd/scripts/portjail.sh</a><br>
<br>
I added something similar recently, which fetches the world
environment from the PC-BSD mirrors. Your patch looks more in-depth
though, allowing source builds if the user wants it. Can you re-gen
it from the current version in SVN?<br>
<br>
- -- <br>
Kris Moore<br>
PC-BSD Software<br>
iXsystems<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.18 (FreeBSD)<br>
Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a><br>
<br>
iQEcBAEBAgAGBQJOnbwZAAoJEH/cIgwwV3zX1PcIAJovAvNvdzXa/KkRHMitcK4s<br>
OJnMtEm6YX8rGlQDdXPNwRPW1yWocIYV38hwIKopfxt2xoXu0EqoxjvPJDIiftBF<br>
fZB5pqEwP4C1UsWqYCD2wEwuPWCxLdJf0/LzWWO/BCEgztdnHspKLumGPgUAMAPw<br>
YabHsodZRiJgsCTHbCZb+iBMqa8gUlY1hYDc0C20qUV35F9cBiD42XLVeUh/EC8N<br>
szYpoQv0RtoH/oZPtu7gh6hM+sy++Va8BYU28pCRcj+/aiW44hg5H9J3onhKtJ9U<br>
WBc2IUtUWrQDYNkA1K9ofclDnNpf0GoqEjAlkkElksEMtByNQCndt22tGP44WoM=<br>
=fLne<br>
-----END PGP SIGNATURE-----<br>
<br>
</body>
</html>