prxs(8)

πŸ’– prxs(8) β€” PRoFTPD EXtensionS Tool πŸ’–

okay bestie, sit down, we're learning prxs(8) today and honestly? it's giving build system but make it cute. this is the proFTPD Extension tool, and yes the manual name is literally right there in the title, i said what i said. πŸŽ€


✨ SYNOPSIS ✨

pxrs [options] [actions] mod-custom.c

pxrs -c -i -d mod_custom.c

prxs -c -i -D USE_CUSTOM -I /path/to/custom/include -L
/path/to/custom/lib -l custom mod_custom.c

🌸 DESCRIPTION 🌸

this page is here to walk you through compiling stuff with prxs. that's the whole vibe. πŸ’…

prxs is the program that compiles and installs third-party modules from source code as DSO modules for your installed proftpd. literally building your little add-ons and slotting them in. iconic behaviour, no notes. πŸ¦‹


πŸ”₯ ACTIONS πŸ”₯

these are the actions, aka the what are we even doing today menu. pick your fighter:

  • -c, --compile β€” compiles the listed .c source files into a proftpd DSO module. turning your code into a real thing, slay. ✨
  • -i, --install β€” installs a compiled proftpd DSO module into the directory where proftpd expects to find loadable DSO modules. it goes in the right spot so proftpd can find it, we love a tidy queen. πŸ’–
  • -d, --clean β€” removes any generated files, returning the build directory to clean state. basically the "reset the room before mom comes home" action. 🧹

πŸ’… OPTIONS πŸ’…

these options describe the type of operation to be performed. yes, the manpage says that for both sections, we're not fighting it, we're just relaying the message. 🫢

  • -n, --name β€” tells prxs the name of the module being compiled. by default, prxs determines the module name from the list of .c files listed, expecting to see a "mod_name.c" file. so like, name it right and it figures itself out, periodt. πŸ‘‘
  • -D key β€” passes these macros through to the compilation step.
  • -D key=value β€” same deal but with a value attached. ⚠️ note that the space before the key is important. like, do not delete that space, it's load-bearing, fr fr.
  • -I includedir β€” specify additional include file search directories. ⚠️ note that the space before the directory is important.
  • -L libdir β€” specify additional library file search directories. ⚠️ note that the space before the directory is important.
  • -l library β€” specify additional libraries for linking. ⚠️ note that the space before the library name is important.
bestie the theme here is: THE SPACE MATTERS. every single one of -D, -I, -L, -l wants a space before its argument. do not squish them together, do not pass go, do not collect $200. πŸ™ˆ

πŸ‘‘ AUTHORS πŸ‘‘

the Proftpd team. see http://www.proftpd.org/ for information. shoutout to the whole team, main character energy across the board. 🌟


Copyright (C) 2008-2009 TJ Saunders <tj@castaglia.org>.

this program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. πŸ’œ


πŸ“ NOTES πŸ“

manual page written for Debian GNU/Linux and/or derivatives by Mahyuddin Susanto <udienz@ubuntu.com>, March 2011. πŸ’Œ


aaaand that's the whole page, you're officially certified in prxs. this page is from prxs(8) and it's dated March 11, 2011 β€” a vintage, honestly, and it still ate. go compile something cute. πŸŽ€βœ¨πŸ¦‹