# # 01-Nov-03 amo Install LPRng-3.8.22 # 30-Jul-04 amo Install LPRng-3.8.27 # 24-Jul-06 amo Download LPRng-3.8.28.tgz # # http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO.html # # http://www.lprng.com/LPRng.html # http://lprng.sourceforge.net/LPRng-Reference-Multipart/ # # http://www.lprng.com/DISTRIB/LPRng/LPRng-3.8.28.tgz http://www.lprng.com/DISTRIB/LPRngTool/LPRngTool-1.3.2.tgz # # http://www.lprng.com/downloads.html ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-3.8.22.tgz # # # /sbin/lpd -V # LPRng-3.8.28 # # # Config files # ------------ # /etc/printcap # /etc/lpd/lpd.conf # /etc/lpd/lpd.perms # # cd /usr/local/src # tar zxvpf /opt/Src/LPR/LPRng-3.8.[22,27,28].tgz # cd LPRng-3.8.[22,27,28] # ./configure # make # make check # make install # # /usr/local/etc/lpd # ================== # -rw-r--r-- 1 root root 2315 2006-07-31 20:57 lpd # -rw-r--r-- 1 root root 21398 2006-07-31 20:57 lpd.conf # -rw-r--r-- 1 root root 21398 2006-07-31 20:57 lpd.conf.sample # -rw-r--r-- 1 root root 11445 2006-07-31 20:57 lpd.perms # -rw-r--r-- 1 root root 11445 2006-07-31 20:57 lpd.perms.sample # -rw-r--r-- 1 root root 2315 2006-07-31 20:57 lpd.sample # # /usr/local/bin # ============== # lrwxrwxrwx 1 root root 4 2006-07-31 20:57 cancel -> lprm* # lrwxrwxrwx 1 root root 3 2006-07-31 20:57 lp -> lpr* # -rwsr-xr-x 1 root root 467016 2006-07-31 20:57 lpq* # -rwsr-xr-x 1 root root 480008 2006-07-31 20:57 lpr* # -rwsr-xr-x 1 root root 463560 2006-07-31 20:57 lprm* # -rwsr-xr-x 1 root root 469204 2006-07-31 20:57 lpstat* # # /usr/local/sbin # ============== # -rwxr-xr-x 1 root root 483432 2006-07-31 20:57 checkpc* # -rwsr-xr-x 1 root root 467988 2006-07-31 20:57 lpc* # -rwxr-xr-x 1 root root 471080 2006-07-31 20:57 lpd* # -rwxr-xr-x 1 root root 24323 2006-07-31 20:57 lprng_certs* # -rwxr-xr-x 1 root root 1011 2006-07-31 20:57 lprng_index_certs* # # # Move old lp binaries aside # -------------------------- # mv /usr/sbin/lpc /usr/sbin/lpc.Slack # mv /usr/sbin/lpc-cups /usr/sbin/lpc-cups.Slack # mv /usr/sbin/lpmove /usr/sbin/lpmove.Slack # mv /usr/sbin/lpinfo /usr/sbin/lpinfo.Slack # mv /usr/sbin/lpadmin /usr/sbin/lpadmin.Slack # # # Additional Checks # ----------------- # # mv /usr/lib/lpd /usr/lib/lpd.old # # pushd /etc ; ln -s ../usr/local/etc/lpd . # pushd /etc ; ln -s ../usr/local/etc/printcap . # # ls -la /var/spool/lpd/lp # # # strings lpd | grep lpd.conf # # chmod 644 /usr/local/etc/printcap # chmod 644 /usr/local/etc/lpd.conf # chmod 644 /usr/local/etc/lpd.perms # # # /etc/rc.d/rc.lprng stop -- stop it fist # # /usr/local/sbin/lpd -F -D1 # # checkpc -f -V # # # # # # http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-11.html # # # For testing purposes when LPRng is compiled with the -DGET_ENV option # LPRng uses the value of the LPD_CONF environment variable as the path to the lpd.conf file. # # # This is a security loophole, and should not be used when running SETUID ROOT or as ROOT. # # # Fix the syntax of the ( 3.8.27 ) lpd script # -------------------------------------------- # /usr/local/etc/lpd/lpd # # # End of file