GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PORTCVSWEB (1)

NAME

portcvsweb - a tool to instantly browse a history via CVSweb or FreshPorts.org

CONTENTS

Synopsis
Description
Options
Examples Of Freshports Mode
Environment
See Also
Authors
Bugs

SYNOPSIS

portcvsweb [-qv] [pkgname_glob] | [ports_glob] | [file] | [directory] | [cvs_module_alias] | [dead port] portcvsweb -F [-qv] [ --datespec [= DATESPEC] ] [pkgname_glob] | [ports_glob] | [file] | [directory] | [cvs_module_alias] | [dead port] portcvsweb -h -| --help

DESCRIPTION

The portcvsweb command invokes the first available web browser in w3m, lynx, links, firefox, mozilla and netscape (or the ones listed in BROWSER if set) to view the CVS history of a given port, file, directory, or module via the CVSweb or FreshPorts.org. If no file is given, the current directory is assumed.

To detect which repository the file/directory belongs and what revision it is, portcvsweb reads the CVS/* files if found, or scans the given file for a CVS tag. If the file does not contain a CVS tag, it scans the Makefile in the directory. If yet there is no Makefile in the directory, it moves up through the directory hierarchy until it finds one.

If the given path does not exist in the first place, portcvsweb assumes it should be under the ports tree, which assumption allows specifying a deleted ports directory/file.

Currently portcvsweb recognizes
.Fx ,
.Nx and
.Ox tags, and the one whichever comes first is used.

OPTIONS

The following command line arguments are supported:

pkgname_glob
portorigin_glob
  Pick the first port that matched the given pattern. See pkg_glob(1) and portorigin_glob(1) for details and concrete examples.

file
directory
  Pick the file or the directory if it exists.
cvs_module_alias
dead port
  recognizes these too.

-h
--help
  Show help and exit.

-F
--freshports
  FreshPorts mode. View CVS history via FreshPorts.org instead of CVSweb.

--datespec-Xo [=DATESPEC]
  (FreshPorts mode only) View the commit of the day specified by DATESPEC via FreshPorts. When DATESPEC is omittied, view the commits of today. When DATESPEC is a negative value, view the commits of DATESPEC days before.

-q
--noconfig
  Do not read the configuration file - $PREFIX/etc/pkgtools.conf.

-v
--verbose
  Turn on verbose output.

EXAMPLES OF FRESHPORTS MODE

When invoked with -F option, view CVS history via FreshPorts.org instead of CVSweb.

    % portcvsweb -F

    => http://www.FreshPorts.org/

    % portcvsweb -F japanese/kterm

    => http://www.FreshPorts.org/japanese/kterm

When --datespec is also supplied, view the commits of specified day.

    % portcvsweb -F --datespec=0405

    => http://www.FreshPorts.org/date.php?date=2005/04/05

    % portcvsweb -F --datespec=04/05

    => http://www.FreshPorts.org/date.php?date=2005/04/05

    % portcvsweb -F --datespec=20030405

    => http://www.FreshPorts.org/date.php?date=2003/04/05

    % portcvsweb -F --datespec=2003/04/05

    => http://www.FreshPorts.org/date.php?date=2003/04/05

    % portcvsweb -F --datespec=2003-04-05

    => http://www.FreshPorts.org/date.php?date=2003/04/05

Without DATESPEC , view the commits of today.

    % date -u

    Sun Jan 1 03:47:59 UTC 2006

    % portcvsweb -F --datespec

    => http://www.FreshPorts.org/date.php?date=2006/01/01

When DATESPEC is a negative value, view the commits of DATESPEC days before.

    % portcvsweb -F --datespec=-3

    => http://www.FreshPorts.org/date.php?date=2005/12/29

ENVIRONMENT

BROWSER
  Alternative WWW browser. Default is "w3m:lynx:links:firefox:mozilla:netscape".

SEE ALSO

pkgtools.conf(5), ports(7)

AUTHORS


.An Akinori MUSHA Aq knu@iDaemons.org

BUGS

Since a
.Nx or
.Ox tag does not contain a path component, when portcvsweb detects a
.Nx or
.Ox tag but there is no CVS/* files in the directory, it assumes that it belongs to
.Nx pkgsrc or
.Ox ports.
Search for    or go to Top of page |  Section 1 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.