DH_INSTALLXSP(1)

πŸ“¦
version 4.2 Β· 3 versions
, in ubuntu jammy

πŸ’– DH_INSTALLXSP β€” bestie's guide to host files πŸ’–

okay so this is dh_installxsp(1), a page from the User Contributed Perl Documentation corner of the world, and it's lowkey one of those little debhelper gremlins that does exactly one job and does it slay. let's get into it 🫢


✨ NAME ✨

dh_installxsp β€” install host files into /etc/xsp/conf.d and /etc/mono-server/conf.d

like. that's the whole vibe. it drops your host files where XSP and mono-server go looking for them. πŸ’…


✨ SYNOPSIS ✨

dh_installxsp [debhelper options] [--name=name] [-V version(s)]

that's it, that's the whole incantation. ✨


✨ DESCRIPTION ✨

so, dh_installxsp is a debhelper program, and what it does is install host configuration files into /etc/xsp4/conf.d and /etc/mono-server4/conf.d β€” those are the spots for XSP 4, no cap. πŸ¦‹

the way this works is genuinely iconic: if xsp 4 is installed, or will be installed, then when xsp starts up it automatically starts the daemon with the host file. like it just. does it. for you. periodt. πŸ‘‘

the files it looks at are debian/package.hostxsp4 β€” those are the ones used for XSP 4. πŸ“

okay bestie, listen, this part matters: in the debian/rules file, dh_installxsp needs to be called before dh_installdeb. why? so the files are properly marked as conffiles, which keeps the lintian warnings away. otherwise? the files created in /etc/ need to be marked as conffiles yourself. so just. call it in the right order. do it for me. πŸ™ˆ

✨ OPTIONS ✨

  • --name=name β€” look for files named debian/package.hostxsp4 and install them as /etc/xsp4/conf.d/package/hostfile. 🌸
  • -V version(s) β€” installs the files for XSP 4.0, i.e. -V 4. and if you don't specify this version (or you just hand it a bare -V with nothing after it), it only installed files for XSP 4. πŸ’œ

✨ SEE ALSO ✨

  • debhelper(7) β€” go read it, it's the whole ecosystem πŸ’«

also, this program is a part of mono-utils. 🧚


✨ AUTHOR ✨

originally written by Pablo Fischer <pablo@pablo.com.mx>. then modified by Dylan R. E. Moonfire <debian@mfgames.com> to handle XSP and XSP 2 installation. and then modified by Jo Shields <directhex@apebox.org> to drop XSP and add XSP 4. the character development is real πŸ˜­πŸ’–


that's the whole page, bestie β€” perl v5.32.1, dated 2021-08-30, and that's the DH_INSTALLXSP(1) footer doing its little bow at the end. mwah. πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from