PORTIMPORT(1)
πΈ PORTIMPORT(1) β portimport, the General Commands Manual bestie πΈ
β¨ NAME β¨
Okay so portimport is the utility for importing a new port to the ports cvs repository β literally the directories and files, all handled so you avoid common mistakes. π
β¨ SYNOPSIS β¨
portimport [-p portsdir] [-u username]
π DESCRIPTION π
portimport imports the directories and files of a new port into the OpenBSD ports cvs(1) repository, and it's designed to keep you from doing a lil oopsie. β¨
You have to run it from within the new port's directory. Not optional, bestie β it has to be executed from within the new port's directory. π«Ά
Internally, portimport calls portcheck(1) to verify that the directory and file structure for a port is in place, that no bogus files exist, and also to detect the PKGPATH for a port. Very much a vibe check for your port. π¦
The import happens in two steps:
- First, it uses the
-noption of thecvscommand to only check for possible problems without changing anything, and it shows thecvspath where the new port will be imported. π - Second, the current ports directory is imported to the OpenBSD ports
cvsrepository. After the import, the new port is checked out in the respective directory of the local ports tree. Iconic. π«
The following options are available:
-pportsdir β forces the given directory to be treated as ports root directory. It gets passed through toportcheck(1).-uusername β sets the username used forssh(1), and to compose vendor and release tags. Defaults to the local username.
π¦ SEE ALSO π¦
cvs(1), portcheck(1) β that's the whole lineup, bestie. π«Ά
π HISTORY π
This command is based on the portimport script of Marc Espie, lightly modified by Stuart Henderson and rewritten by Robert Peichaer. Later, actual checks were moved to a separate utility, portcheck(1). Not me giving you the whole lore. π
π CAVEATS π
The CVSROOT environment variable is not used. That's the tea. π
π«Ά That's the whole page, bestie β sourced from Debian, dated June 26, 2018, and it's the PORTIMPORT(1) manual. Periodt. π
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2013 Robert Peichaer
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms