bpkg-pkg-configure(1)

πŸ“¦
version 0.17.0 Β· 2 versions
, in fedora 43, fedora 44, nixos 26.05

πŸ’– bpkg-pkg-configure β€” configure package πŸ’–

okay bestie, welcome to the bpkg-pkg-configure(1) page, part of the bpkg manual ✨ this is the glow-up era of your packages, fr fr.


🌸 NAME 🌸

bpkg-pkg-configure β€” configure package πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

bpkg pkg-configure [options] [cfg-var...] pkg

πŸ¦‹ DESCRIPTION πŸ¦‹

so pkg-configure is the one that configures stuff. and it configures either:

  • the source code package you already unpacked (that's bpkg-pkg-unpack(1), bpkg-pkg-checkout(1) β€” you know, the whole unpack-and-checkout pipeline πŸ’…), or
  • a package that's already present in the system.

A source code package inherits all the common build2 configuration values you specified back when you created the configuration (bpkg-cfg-create(1)). and then β€” plot twist β€” you can pass it extra package-specific configuration variables through pkg-configure (cfg-var). it's giving customization. it's giving ✨personalized✨.

A system package gets specified with the sys:pkg[/ver] syntax. no cap. and here's the tea: if you don't give the package version (ver), it's considered unknown but still satisfying any dependency constraint. and that lil mystery version? displayed as *. iconic honestly ⭐


πŸ’… PKG-CONFIGURE OPTIONS πŸ’…

  • --directory|-d dir β€” pretend the configuration lives in dir instead of whatever the current working directory is. like a lil address change 🏠

🌈 COMMON OPTIONS 🌈

okay so these are the common options, summarised here with the full detailed version living over in bpkg-common-options(1). go read that for the director's cut 🎬

  • -v β€” print the essential underlying commands as they get executed. the highlight reel πŸŽ₯
  • -V β€” print all the underlying commands being executed. the full unedited footage 😭
  • --quiet|-q β€” run quietly, only printing error messages. shhh mode 🀫
  • --verbose level β€” set the diagnostics verbosity to level, somewhere between 0 and 6. pick your vibe check πŸ“Ά
  • --stdout-format format β€” the representation format used for printing to stdout. dress code for your output πŸ’…
  • --jobs|-j num β€” how many jobs to do in parallel. multitasking queen energy πŸ‘‘
  • --no-result β€” don't print the informational messages about the outcome of running a command or some of its parts. no commentary, just vibes πŸ™ˆ
  • --structured-result fmt β€” write the result of running a command in a structured form. organized bestie πŸ—‚οΈ
  • --progress β€” display progress indicators for long-lasting operations, like network transfers, building, etc. we love a loading bar πŸ“
  • --no-progress β€” suppress those progress indicators for long-lasting operations, like network transfers, building, etc. βœ‹
  • --diag-color β€” use color in diagnostics. pretty errors 🌸
  • --no-diag-color β€” don't use color in diagnostics. minimalism era 🀍
  • --build path β€” the build program used to build packages. your builder fr πŸ”¨
  • --build-option opt β€” an additional option to pass to the build program. extra lil note πŸ’Œ
  • --fetch path β€” the fetch program used to download resources. go get it πŸƒ
  • --fetch-option opt β€” an additional option to pass to the fetch program.
  • --fetch-timeout sec β€” the timeout for the fetch and fetch-like programs (for example, git). ⏰
  • --pkg-proxy url β€” the HTTP proxy server to use when fetching package manifests and archives from remote pkg repositories. middleman moment 🫢
  • --git path β€” the git program used to fetch git repositories.
  • --git-option opt β€” an additional common option to pass to the git program.
  • --sha256 path β€” the sha256 program used to calculate SHA256 sums. math but make it secure πŸ”
  • --sha256-option opt β€” an additional option to pass to the sha256 program.
  • --tar path β€” the tar program used to extract package archives. unzip era πŸ“¦
  • --tar-option opt β€” an additional option to pass to the tar program.
  • --openssl path β€” the openssl program used for crypto operations. πŸ”’
  • --openssl-option opt β€” an additional option to pass to the openssl program.
  • --auth type β€” types of repositories to authenticate. who goes there πŸ•΅οΈ
  • --trust fingerprint β€” trust a repository certificate with a SHA256 fingerprint. i trust you bestie 🀝
  • --trust-yes β€” assume the answer to all authentication prompts is yes. βœ…
  • --trust-no β€” assume the answer to all authentication prompts is no. ❌
  • --git-capabilities up=pc β€” protocol capabilities (pc) for a git repository URL prefix (up). leveling up your git game ⬆️
  • --pager path β€” the pager program used to show long text. for the long reads πŸ“–
  • --pager-option opt β€” an additional option to pass to the pager program.
  • --options-file file β€” read additional options from file. extra homework πŸ“
  • --default-options dir β€” the directory to load additional default options files from. πŸ—ƒοΈ
  • --no-default-options β€” don't load default options files. skip the defaults, we're going rogue πŸ™…
  • --keep-tmp β€” don't remove bpkg's temporary directory at the end of the command execution, and print its path at verbosity level 2 or higher. keep the receipts 🧾

✨ DEFAULT OPTIONS FILES ✨

want the overview of default options files? it's all in bpkg-default-options-files(1), go check it 🫢

for the pkg-configure command specifically, the search start directory is the configuration directory.

these options files get searched for in each directory, and if they're found, they're loaded in the order listed:

bpkg.options
bpkg-pkg-configure.options
🚨 and listen β€” these pkg-configure command options cannot be specified in the default options files: - --directory|-d

πŸ’€ BUGS πŸ’€

found a bug? send those bug reports to the users@build2.org mailing list. we take those fr fr πŸ“¬


Copyright (c) 2014-2024 the build2 authors.

Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License. slay, legally speaking πŸ’œ


and that's the whole page, bestie!! πŸŽ€ this lil rewrite rode in on bpkg 0.17.0, dated June 2024, and it's the bpkg-pkg-configure(1) manual through and through. mwah πŸ’‹ go configure something iconic πŸ¦‹βœ¨

πŸ“¦ where this page comes from