porgrc(5)

πŸ“¦ version 0.10, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– porgrc(5) β€” the glow-up config file πŸ’–

okay bestie, so porgrc is literally the configuration file for porg. yes, that porg β€” the source code package organizer, aka porg(8). this page is its manual, and it's giving "system-wide settings" energy. let's get into it 🫢


✨ SYNOPSIS ✨

/etc/porgrc

that's it. that's the whole vibe. one path. iconic. πŸ‘‘


🌸 DESCRIPTION 🌸

porgrc is the system-wide configuration file for porg(8), the source code package organizer. no cap. that's the job. πŸ’…


πŸŽ€ SYNTAX πŸŽ€

the file is made of two things: comments and key-value pairs. that's the whole menu, girl.

  • Comments live on their own separate lines and start with a # symbol. that's the only way to comment, periodt.
  • Key-value pairs look exactly like this:
key=value

where key contains no whitespace and no equal signs, and value is all of the text after the equal sign, until (but not including) the ending newline. so yeah, everything up to the line break. πŸ™ˆ

and here's a lil detail that's lowkey important: the name of key is case insensitive. like, INCLUDE, include and INcludE are all equivalent. same key, different font. slay. ✨


πŸ’… OPTIONS πŸ’…

here are all the options you can set. the equivalent command line options (if any exist) are listed in brackets, so you can match them up:

  • logdir [-L|--logdir] β€” the base porg logs directory. default is /var/lib/porg. environment variables like $HOME are expanded at runtime, so go wild. 🌈
  • include [-I|--include] β€” a colon-separated list of paths to scan when logging the installation of a package. default is /. shell wildcards are allowed in the paths β€” see PATH MATCHING below for the deets. πŸ¦‹
  • exclude [-E|--exclude] β€” a colon-separated list of paths to skip when logging the installation of a package. default is /tmp:/dev:/proc:/sys:/run. shell wildcards are allowed in the paths β€” again, see PATH MATCHING below. πŸ’€
  • remove_skip [-e|--skip] β€” a colon-separated list of paths to skip when removing a package. default is '' β€” which means all logged files are removed. shell wildcards are allowed in the paths, and yes, see PATH MATCHING below. πŸ”₯

🌟 PATH MATCHING 🌟

the variables include, exclude and remove_skip all accept a colon-separated list of paths, and each one of those paths may contain shell-like wildcards: *, ? and [..].

files get matched against each of those paths, following the standard shell-like expansion β€” but with one exception, and it's a big one:

If a path in the list does not contain any wildcard, and it is a directory, it matches any file within that directory.

so no wildcard needed for directories. she just knows. 🧚


πŸ“ FILES πŸ“

  • /etc/porgrc β€” active configuration file (the one that's actually doing something πŸ’…)
  • /usr/share/porg/porgrc β€” sample configuration file (the inspo board πŸŽ€)

πŸ‘‘ AUTHOR πŸ‘‘

Written by David Ricart (http://porg.sourceforge.net)


πŸ”— SEE ALSO πŸ”—

porg(8), porgball(8)


and that's the whole page, bestie!! this was porg 0.10, dated 17 May 2016 β€” go forth and configure, you absolute main character. mwah πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ«Ά

πŸ“¦ where this page comes from