Alien:...:pkgsrc(3pm)

πŸ“¦ version 0.003, in fedora 43

πŸ’– Alien::Packages::Pkg_Info::pkgsrc πŸ’–

okay so bestie, welcome to Alien::Packages::Pkg_Info::pkgsrc β€” this lil cutie is part of the User Contributed Perl Documentation crew, and what she does is pull info straight outta NetBSD's portable pkgsrc. that's it. that's the gig. slay. ✨


🌸 ISA 🌸

she's got a whole family tree, and it's giving lineage:

Alien::Packages::Pkg_Info::pkgsrc
ISA Alien::Packages::Base

like yes, she is Alien::Packages::Pkg_Info::pkgsrc, and she also ISA Alien::Packages::Base. inherited the whole vibe from her parent, no cap. 🫢


πŸŽ€ SUBROUTINES/METHODS πŸŽ€

✨ usable ✨

returns true when the command pkg_info could be found in the path and pkg_info -V returns a valid release date.

so basically: two things gotta line up, or she's not usable. find the command, get a valid release date back. both or nothing, periodt. πŸ’…

πŸ¦‹ list_packages πŸ¦‹

returns the list of installed pkgsrc packages.

just the whole roster of what's installed. iconic. πŸ‘‘

πŸ“ list_fileowners πŸ“

returns the pkgsrc packages which have installed the specified file.

you hand her a file, she tells you which pkgsrc packages own it. very "who did this" energy, but make it helpful. πŸ”βœ¨


πŸ’œ AUTHOR πŸ’œ

Jens Rehsack, "<rehsack at cpan.org>" β€” give him his flowers, fr fr. 🌸


Copyright 2010 Jens Rehsack.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

two licenses, your choice bestie β€” pick whichever vibe you're on. 🫢

aaaand that's the whole page! perl v5.42.0, dated 2025-07-25, filed under Alien:...:pkgsrc(3pm). go forth and query your packages, queen πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from