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

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

okay bestie, welcome to the manual page for Alien::Package::Slp β€” yes the title is literally abbreviated like that in the header (Alien:...ge::Slp(3pm)), no we don't know why, and yes it's a User Contributed Perl Documentation page, section 3pm. it's giving perl module, it's giving package-manager lore, and we're gonna get through it together. 🫢


✨ NAME ✨

Alien::Package::Slp β€” an object that represents a slp package. that's it, that's the whole name section, slay. πŸ’…


🌸 DESCRIPTION 🌸

so this is an object class that represents a slp package. it is derived from Alien::Package. think of it as the slp-flavored glow-up of the base class β€” same energy, slp-specific brain. 🧚


πŸ‘‘ CLASS DATA πŸ‘‘

the following data is global to the class, and it's used to describe the slp package format, which this class processes directly. no cap, this is the format lore right here.

  • footer_size β€” the complete sizeof(slpformat) straight from slp.h in the stampede package manager source. iconic source material honestly. ⭐
  • footer_packstring β€” this is the pack format string for the footer. quick translation bestie: A = space terminated character, I = unsigned integer. iykyk. πŸ’œ
  • footer_version β€” what package format are we up to now?? (and it's also the lowest one this is still compatible with.) so it's both the now and the floor, main character behavior. πŸ’…
  • archtrans β€” a translation table between architectures and the number that represents them in a slp package. arch names go in, numbers come out. πŸ¦‹
  • fieldlist β€” a list of all the fields in the order they appear in the footer. the footer's whole running order, periodt. πŸŽ€

πŸ“ FIELDS πŸ“

  • compresstype β€” holds the compression type used in the slp file. πŸ”₯
  • slpkgversion β€” holds the slp package format version of the slp file. ⭐

πŸ’… METHODS πŸ’…

  • checkfile β€” detect slp files by their extension. vibe check via filename, fr fr. πŸ”
  • install β€” install a slp. pass in the filename of the slp to install. 🫢
  • getfooter β€” pulls the footer out of the slp file and returns it. extraction era. ✨
  • scan β€” implements the scan method so it can read a slp file. πŸ‘‘
  • unpack β€” unpack a slp file. they can be compressed in various ways, depending on what's in the compresstype field. so like, check the field first bestie. πŸŽ€
  • build β€” build a slp. yes queen, construct. πŸ”₯

🌈 conffiles 🌈

set/get conffiles.

when the conffiles are set, the format used by slp (a colon-delimited list) is turned into the real list that is used internally. and when it's retrieved, the list gets changed back into slp's internal format. so it's a little translation round-trip every time, no biggie. πŸ’–

set/get copyright.

when the copyright is set, the number used by slp is changed into a textual description. and when the value is retrieved, it's changed back into a number. numbers ↔ words, the eternal flip. πŸ¦‹

⭐ arch ⭐

set/get arch.

when the arch is set, the number used by slp is changed into a textual description. and when the value is retrieved, it's changed back into a number. same deal as copyright, different field. πŸ’œ

πŸŽ€ release πŸŽ€

set/get release version.

when the release version is retrieved, it is converted to an unsigned integer, as is required by the slp package format. that's a requirement, not a suggestion β€” the format said what it said. πŸ’…


πŸ’– AUTHOR πŸ’–

Joey Hess <joey@kitenet.net>


okay so that's the whole page!! every flag, field, method and author credit is right there, nothing skipped, nothing invented. 🫢

and for the cute sign-off: this page is from perl v5.40.1, dated 2025-10-08, and it's part of the User Contributed Perl Documentation collection. bye bestie, go build some slp packages πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from