Skip to content

littlelevi/portnap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Portnap

portnap is a simple replacement for the discontinued FreeBSD portsnap, acting as convinient git wrapper.

Tldr

portnap auto In most cases, it's all what you need.

Usage

Usage: portnap [path] <command> [branch]

Options

-p portsdir -- Location of ports tree (default: /usr/ports/)

Commands

auto -- Fetch updates, and either clone a new ports tree or update an existing tree.
fetch -- Same as auto but also allows you to select a specific branch.
Where the branch is in <yyyyQx> or <Qx> format.
switch -- Change ports tree branch, where the branch is in <yyyyQx> or <Qx> format.
help -- Print this help information.

Examples

portnap fetch Q3 -- Clone or pull ports tree from third quarter of current year.
portnap -p /usr/local/poudriere/acme/usr/ports auto -- Clone or pull ports tree to alternative directory.

Port repo

https://github.com/littlelevi/portnap-port/tree/main