Date: Fri, 17 Aug 2001 03:44:38 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Neil Blakey-Milner <nbm@mithrandr.moria.org> Cc: Kris Kennaway <kris@obsecurity.org>, Sheldon Hearn <sheldonh@starjuice.net>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Tools/scripts/mkptools mkppackage mkpbuild mkpinstall Message-ID: <20010817034438.B7431@xor.obsecurity.org> In-Reply-To: <20010817123800.A6396@mithrandr.moria.org>; from nbm@mithrandr.moria.org on Fri, Aug 17, 2001 at 12:38:00PM %2B0200 References: <200108170941.f7H9fIY97326@freefall.freebsd.org> <17709.998042781@axl.seasidesoftware.co.za> <20010817033021.A7431@xor.obsecurity.org> <20010817123800.A6396@mithrandr.moria.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Fri, Aug 17, 2001 at 12:38:00PM +0200, Neil Blakey-Milner wrote:
> On Fri 2001-08-17 (03:30), Kris Kennaway wrote:
> > > > Add mkppackage, which will create a "fake"-style package, but not
> > > > really. It doesn't try fake PREFIX and such to the build (it's not
> > > > really possible anyway yet), but it uses pkg_create's '-s' option to
> > > > pretend the package generated was installed in ${PREFIX}.
> > >
> > > Useful for, amongst other things, providing binary patch packages, yes?
> >
> > I'm not immediately sure how..I haven't needed anything like this for
> > the binary patch packages I've made so far.
>
> Well, that's because you're either installing it directly where it will
> live (ie, live on the filesystem)
Yes, security packages get installed to the relevant location in / :-)
I use a plist along the lines of this:
@cwd /
@srcdir /mnt/jail-4.3
@option preserve
kernel.GENERIC
modules/procfs.ko
modules/linprocfs.ko
I build and install the patched files in a jail, then package them up
from outside it.
Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE7fPWVWry0BWjoQKURAozMAJ4y5TEDSm/xAAvgkQUry6S5L/ukwACgx7C7
2EwEw+P3nm9TATKfZa9XGOY=
=Tud9
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010817034438.B7431>
