Alien:...ge::Pkg(3pm)

πŸ’– Alien::...ge::Pkg(3pm) πŸ’–

okay bestie, welcome to the Alien::Package::Pkg page β€” this is one of the User Contributed Perl Documentation girlies, and she is so specific about what she does. buckle up πŸŽ€


✨ NAME ✨

Alien::Package::Pkg β€” an object that represents a Solaris pkg package. yes, that kind of pkg. the Solaris kind. she's niche and she knows it πŸ’…


🌸 DESCRIPTION 🌸

This is an object class that represents a pkg package, as used in Solaris. It is derived from Alien::Package. so like… she's the Solaris-flavoured child class, got it? family tree matters here 🫢


πŸ¦‹ CLASS DATA πŸ¦‹

scripttrans

Translation table between canoical script names and the names used in pkg's. (yes, "canoical" β€” that's literally what the original says, i'm not fixing it, i'm just reporting the vibes 😭)


πŸ‘‘ METHODS πŸ‘‘

  • init β€” This class needs the Solaris pkginfo and kgtrans tools to work. no tools, no service, periodt.
  • converted_name β€” Convert name from something debian-like to something that the Solaris constraints will handle (i.e. 9 chars max). nine. characters. MAX. she is not flexible about this πŸ’€
  • checkfile β€” Detect pkg files by their contents. sniffing out the real ones by what's inside, not by the name tag πŸ”
  • install β€” Install a pkg with pkgadd. Pass in the filename of the pkg to install. so like, hand her the filename, she handles the rest ✨
  • scan β€” Scan a pkg file for fields.
  • unpack β€” Unpack pkg.
  • prep β€” Adds a populated install directory to the build tree.
  • build β€” Build a pkg.

🌈 AUTHOR 🌈

Mark Hershberger <mah@everybody.org> β€” icon, legend, wrote the whole thing πŸ‘‘


that's the whole page bestie, every flag, every method, every crumb of detail β€” nothing dropped, nothing invented πŸ’…

signing off: this beauty is running on perl v5.40.1 and the page is dated 2025-10-08 β€” same manual, same name, just with way better energy now πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from