Checking out a single port

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Jan 25 03:13:03 PST 2004


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 
> FreeBSD. Can I
> get the files in
> /usr/ports/securty/pf
> without having to get all the files in other directories of 
> /usr/ports/security as well?

If you go to 

    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 
    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.default
    -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

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040125/7deccd74/attachment.bin


More information about the freebsd-questions mailing list