Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 11:12:56 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Roop Nanuwa <roop@hqst.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Checking out a single port
Message-ID:  <20040125111256.GB5755@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <40137069.4090804@hqst.com>
References:  <40137069.4090804@hqst.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--QKdGvSO+nmPlgiQ/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jan 24, 2004 at 11:29:45PM -0800, Roop Nanuwa wrote:

> As an example, say I want to install OpenBSD's pf that's been ported to=
=20
> FreeBSD. Can I
> get the files in
> /usr/ports/securty/pf
> without having to get all the files in other directories of=20
> /usr/ports/security as well?

If you go to=20

    http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/pf/

and click on the 'Download this directory in tarball' link at the
bottom of the page, you'll get a nice little .tar.gz file containing:

    % tar -ztvf pf.tar.gz=20
    drwxr-xr-x nobody/wheel      0 Jan 25 11:09 2004 pf/
    -rw-r--r-- nobody/wheel   4255 Jan 13 20:41 2004 pf/Makefile
    -rw-r--r-- nobody/wheel     64 Jan 13 20:41 2004 pf/distinfo
    -rw-r--r-- nobody/wheel    606 Nov  9 16:00 2003 pf/pkg-descr
    -rw-r--r-- nobody/wheel   4225 Jun 26 19:04 2003 pf/pkg-install
    -rw-r--r-- nobody/wheel    403 Jun 26 17:20 2003 pf/pkg-message
    -rw-r--r-- nobody/wheel    840 Sep 28 14:27 2003 pf/pkg-plist
    drwxr-xr-x nobody/wheel      0 Jan 25 11:09 2004 pf/files/
    -rw-r--r-- nobody/wheel    258 Sep 28 14:27 2003 pf/files/patch-aa
    -rw-r--r-- nobody/wheel    324 Sep 28 14:27 2003 pf/files/patch-ab
    -rw-r--r-- nobody/wheel   3487 Sep 28 14:27 2003 pf/files/pf.conf.defau=
lt
    -rw-r--r-- nobody/wheel  22492 Sep 28 14:27 2003 pf/files/pf.os.default
    -rw-r--r-- nobody/wheel   1458 Jun 13 02:09 2003 pf/files/pf.sh.sample

You can unpack that directory anywhere on your system and use it to
make and install the port, so long as you have /usr/ports/Mk/ and
/usr/ports/distfiles/ and so forth in the usual places.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--QKdGvSO+nmPlgiQ/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAE6S4dtESqEQa7a0RAqcAAKCdmH6ekjojCn4+MJnyybeo/c5dvgCcCz+X
GRULUU59TM2dSRfkqylI1mI=
=YsLC
-----END PGP SIGNATURE-----

--QKdGvSO+nmPlgiQ/--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20040125111256.GB5755>