PORTIMPORT(1)

πŸ“¦ in nixpkgs unstable

🌸 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:

  1. First, it uses the -n option of the cvs command to only check for possible problems without changing anything, and it shows the cvs path where the new port will be imported. πŸ‘€
  2. Second, the current ports directory is imported to the OpenBSD ports cvs repository. After the import, the new port is checked out in the respective directory of the local ports tree. Iconic. πŸ’«

The following options are available:

  • -p portsdir β€” forces the given directory to be treated as ports root directory. It gets passed through to portcheck(1).
  • -u username β€” sets the username used for ssh(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